JPH0239365A - Document preparing device - Google Patents

Document preparing device

Info

Publication number
JPH0239365A
JPH0239365A JP63190250A JP19025088A JPH0239365A JP H0239365 A JPH0239365 A JP H0239365A JP 63190250 A JP63190250 A JP 63190250A JP 19025088 A JP19025088 A JP 19025088A JP H0239365 A JPH0239365 A JP H0239365A
Authority
JP
Japan
Prior art keywords
document
buffer
flag
editing
warning
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
JP63190250A
Other languages
Japanese (ja)
Inventor
Takeshi Inagaki
稲垣 健
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.)
Toshiba Corp
Toshiba Software Engineering Corp
Original Assignee
Toshiba Corp
Toshiba Software Engineering Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp, Toshiba Software Engineering Corp filed Critical Toshiba Corp
Priority to JP63190250A priority Critical patent/JPH0239365A/en
Publication of JPH0239365A publication Critical patent/JPH0239365A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To avoid such an inconvenient case where an edited document is inadvertently erased by providing a document editing flag register which shows that the document which is not stored in a recording device is stored in a document buffer. CONSTITUTION:A document editing part 12 judges that the key input shows a document editing process instruction and then turns on the flag of a document editing flag register 13. Then the part 12 applies an editing process to a document buffer 11. In case it is judged that the key input instructs the storage of the document data within the buffer 11, the flag of the register 13 is turned off. Then the part 12 stores the document data into the buffer 11. Furthermore if the key input shows the erasion of the contents of the buffer 11, a document calling part 14 judges whether the flag of the register 13 is kept on or not. If so, a signal is sent to a warning part 16 and a warning message is displayed on a display device 17.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、作成文書の保護を行なう文書作成装置に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial Application Field) The present invention relates to a document creation device that protects created documents.

(従来の技術) 従来の文書作成装置において、−旦作成された文書は文
書の消去が行なわれるまでバッテリでバックアップされ
たRAM (文書バッファ)に残しておける。しかし、
例えば現在作成中のまだ保存されていない文書に代えて
他の文書を呼出す場合などに他の文書を選択して呼出し
た時点で文書バッファにそれまで書込まれていた始めの
文書は保存されないままに消去され、新たに呼出した文
書が文書バッファに書込まれることとなる。
(Prior Art) In a conventional document creation device, a document once created can remain in a battery-backed RAM (document buffer) until the document is deleted. but,
For example, when you call up another document instead of the currently created document that has not been saved, when you select and call up the other document, the first document that has been written to the document buffer will remain unsaved. The newly recalled document will be written to the document buffer.

(発明が解決しようとする課題) 上記のようにあえて文書の保存を指定する以外の場合で
、作成した文書が警告なく消去されてしまうということ
があった。
(Problem to be Solved by the Invention) In cases other than intentionally specifying document preservation as described above, there have been cases in which a created document is deleted without warning.

本発明は上記のような実情に鑑みてなされたもので、編
集した文書を不用意に消去してしまうことのない文書作
成装置を提供することを目的とする。
The present invention has been made in view of the above-mentioned circumstances, and it is an object of the present invention to provide a document creation device that does not inadvertently erase edited documents.

[発明の構成] (課題を解決するための手段及び作用)本発明は、文書
の新規作成、構成、追加等の編集がなされたままで、フ
ロッピーディスク装置等の記録装置には保存されていな
い文書が文書バッファに記憶されていることを示す文書
編集フラグレジスタを設け、この文書編集フラグレジス
タのフラグに応じて文書バッファ内の文書を消去する状
況になったときにこれを警告し、不用意に編集文書を消
去してしまうことを防止するようにしたものである。
[Structure of the Invention] (Means and Effects for Solving the Problems) The present invention is directed to documents that have been edited, such as newly created, configured, added, etc., and are not stored in a recording device such as a floppy disk drive. A document editing flag register is provided to indicate that the document is stored in the document buffer, and a warning is issued when the document in the document buffer is to be deleted according to the flag in the document editing flag register. This is to prevent the edited document from being deleted.

(実施例) 以下図面を参照して本発明の一実施例を説明する。(Example) An embodiment of the present invention will be described below with reference to the drawings.

第1図は本発明による文書作成装置の一部回路構成を示
すもので、11は作成または編集された文書を一時的に
記憶する文書バッファ、12は文書バッファ11に対し
て直接編集処理を行なう文書編集部、13は文書バッフ
ァ11に記憶される文書の内容が文書編集部12によっ
て編集されたものか否かを示す文書編集フラグを保持す
る文書編集フラグレジスタ、14はこの文書編集フラグ
レジスタ13の保持内容に応じて文書の呼出しを判断す
る文書呼出し部、15は文書バッファ11に記憶されて
いる文書データを外部記憶装置であるフロッピーディス
ク装置(図示せず)に保存させるための文書保存部、1
6は編集された文書バッファ11の内容を保存しないま
まに消去してしまうことの警告メツセージを発生する警
告部、17は文書編集処理の結果及び警告部16による
警告メツセージを表示出力する表示装置、18は指示さ
れた処理により上記文書編集部12、文書呼出し部14
及び文書保存部15のいずれかを選択して動作を実行さ
せる処理分岐部18である。
FIG. 1 shows a partial circuit configuration of a document creation device according to the present invention, where 11 is a document buffer that temporarily stores a created or edited document, and 12 is a document buffer that directly edits the document buffer 11. a document editing section; 13, a document editing flag register that holds a document editing flag indicating whether the content of the document stored in the document buffer 11 has been edited by the document editing section 12; 14, a document editing flag register 13; 15 is a document storage unit that stores the document data stored in the document buffer 11 in a floppy disk device (not shown), which is an external storage device. ,1
6 is a warning unit that generates a warning message that the contents of the edited document buffer 11 will be deleted without being saved; 17 is a display device that displays and outputs the result of the document editing process and the warning message from the warning unit 16; 18 is the document editing section 12 and the document calling section 14 according to the instructed processing.
and a processing branching unit 18 that selects either one of the document storage unit 15 and executes an operation.

上記のような構成にあって、その動作は次のようになる
With the above configuration, its operation is as follows.

第2図は文書編集中の処理内容を示すもので、これは第
1図では図示しなかったキーボードからの入力に対応し
て実行されるものである。
FIG. 2 shows the contents of processing during document editing, which is executed in response to input from the keyboard, which is not shown in FIG.

キーボードによるキー人力がなされると、文書編集部1
2はそのキー人力に対し、まずステップS01に示すよ
うに文書編集の処理命令であるか否か判断する。判断結
果がYESとなった場合は、文書バッファ11に記憶さ
れている文書データの内容を編集処理によって変更する
こととなり、文書消去の際に警告が必要となるので、続
いてステップSO2で文書編集部12が文書編集フラグ
レジスタ13のフラグをオンとする。そして、その後に
ステップS03に示す如くキー人力に対応した実際の編
集処理を文書編集部12が文書バッファ11に対して行
ない、以上でこの動作を終了する。
When a key is pressed manually from the keyboard, the document editing section 1
Step 2 first determines whether or not the key input is a document editing processing command as shown in step S01. If the determination result is YES, the contents of the document data stored in the document buffer 11 will be changed by editing processing, and a warning will be required when deleting the document, so the document will be edited in step SO2. The unit 12 turns on the flag in the document editing flag register 13. Thereafter, as shown in step S03, the document editing section 12 performs actual editing processing on the document buffer 11 corresponding to the key human power, and this operation is thus completed.

また、上記ステップSQLでキー人力が文書編集の処理
命令ではないと判断された場合、次にステップSO4に
進み、今度はキー人力が文書バッファ11内の文書デー
タの保存を指示するものであるか否か判断される。ここ
で保存を指示するものであると判断されると、次にステ
ップSO5に進んで文書保存部15が文書消去の警告が
必要ないものとして文書編集フラグレジスタ13をオフ
にする。その後、ステップ806でキー人力に対応した
実際の保存処理を文書編集部12が文書バッファ11に
対して行ない、以上でこの動作を終了する。
If it is determined in the above step SQL that the key input is not a document editing processing command, the process proceeds to step SO4, and this time whether the key input is an instruction to save the document data in the document buffer 11? It will be judged whether or not. If it is determined that storage is instructed, then the process proceeds to step SO5, where the document storage section 15 turns off the document editing flag register 13, assuming that a document deletion warning is not necessary. Thereafter, in step 806, the document editing section 12 performs actual storage processing on the document buffer 11 corresponding to the key manual power, and this operation is thus completed.

さらに、上記ステップSO4でキー人力が文書保存の処
理命令でもないと判断された場合、キー人力は文書呼出
し、全文削除、マルチウィンドウ解除等の文書バッファ
11内容を消去する処理であるものとして、次にステッ
プS07に進む。ステップS07では、文書編集フラグ
レジスタ13のフラグがオンとなっているか否かを文書
呼出し部14が読出して判断するもので、オンである場
合は文書呼出し部■4から警告部16へ信号が送出され
る。この時、文書編集部12から警告部16へは例えば
「作成中の文書は保存されていません」等の警告メツセ
ージのデータが送られるもので、警告部16ではこのメ
ツセージデータと文書呼出し部14からの信号とにより
、ステップSO8に示すように表示装置17に警告メツ
セージを発生表示させる。この警告表示に続き、ステッ
プSO9で取消しを指示するキー人力があったか判断す
る。キー人力があった場合は、ユーザーが文書バッファ
11の内容を消去したくない場合であるので、何もせず
、この動作処理を終了する。ユーザーはこの取消しの指
示の後に−H文書バッファll内の文書データを保存し
、その後に再び初めのキー人力を行なえばよい。文書デ
ータの保存が行なわれた場合にはフラグレジスタ13の
フラグはオフにリセットされる。また、取消しを指示す
るキー人力がなかった場合は、ユーザーが警告を認識し
た上で消去してよいと判断したこととなるので、次にス
テップ510に進んで文書バッファ11内の文書データ
の消去処理を行ない、この動作処理を終了した上で、初
めのキー人力に従った処理を行なう。
Furthermore, if it is determined in step SO4 that the key input is not a document storage processing command, the key input is assumed to be a process for deleting the contents of the document buffer 11, such as document recall, full text deletion, and multi-window cancellation. The process then proceeds to step S07. In step S07, the document retrieval unit 14 reads and determines whether or not the flag in the document edit flag register 13 is on. If it is on, a signal is sent from the document retrieval unit 4 to the warning unit 16. be done. At this time, data of a warning message such as "The document being created has not been saved" is sent from the document editing section 12 to the warning section 16. A warning message is generated and displayed on the display device 17 as shown in step SO8. Following this warning display, it is determined in step SO9 whether there is a key human power to instruct cancellation. If there is a key input, this means that the user does not want to erase the contents of the document buffer 11, so nothing is done and this operation process ends. After issuing this cancellation instruction, the user can save the document data in the -H document buffer 11, and then perform the initial keystroke again. When the document data is saved, the flag in the flag register 13 is reset to OFF. If there is no key to instruct the cancellation, this means that the user has recognized the warning and has determined that it is OK to delete the document data.The process then proceeds to step 510 to delete the document data in the document buffer 11. After completing the operation process, the process according to the initial key input is performed.

なお、上記ステップSO7で文書呼出し部14により文
書編集フラグレジスタ13のフラグがオンではなくオフ
であると判断された場合は、文書バッファ11に記憶さ
れている文書データが編集等の処理を受けておらず、警
告のメツセージ表示の必要がないと判断されて直接ステ
ップSIOに進む。そしてステップSLOで文書バッフ
ァ11内の文書データの消去処理を行ない、この動作処
理を終了した上で、初めのキー人力に従った処理を行な
う。
Note that if the document calling unit 14 determines in step SO7 that the flag in the document edit flag register 13 is not on but off, the document data stored in the document buffer 11 has not been subjected to editing or other processing. Therefore, it is determined that there is no need to display a warning message, and the process directly proceeds to step SIO. Then, in step SLO, the document data in the document buffer 11 is erased, and after this operation process is completed, the process according to the initial key input is performed.

なお、上記実施例では文書バッファll内に記憶されて
いる文書データの消去の警告を表示装置17での表示出
力により行なっているがこれに限るものではなく、他に
例えば報音によって警告するようにしてもよい。
Note that in the above embodiment, a warning to delete the document data stored in the document buffer 11 is issued by display output on the display device 17, but the present invention is not limited to this. You can also do this.

[発明の効果コ 以上詳記した如く本発明によれば、文書の新規作成、構
成、追加等の編集により、フロッピーディスク装置等の
記録装置には保存されていない文書が文書バッファに記
憶されている場合を示す文書編集フラグレジスタを設け
、この文書編集フラグレジスタのフラグに応じて文書バ
ッファ内の文書を消去する際にユーザーに対して警告を
発生するようにしたので、文書の編集後にその文書の保
存処理を行なったか否かを必ず報知し、不用意に編集文
書を消去してしまうことを防止することのできる文書作
成装置を提供することが可能となる。
[Effects of the Invention] As detailed above, according to the present invention, by editing a document by creating a new one, configuring it, adding it, etc., a document that has not been saved in a recording device such as a floppy disk device is stored in the document buffer. A document editing flag register is provided to indicate when the document is being edited, and a warning is issued to the user when deleting a document in the document buffer according to the flag in the document editing flag register. It is possible to provide a document creation device that can always notify whether or not the storage process has been performed, and can prevent the edited document from being inadvertently deleted.

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

図面は本発明の一実施例を示すもので、第1図は回路構
成を示すブロック図、第2図はキー人力に対する処理内
容を示すフローチャートである。 11・・・文書バッファ、12・・・文書編集部、13
・・・文書編集フラグレジスタ、14・・・文書呼出し
部、15・・・文書保存部、16・・・警告部、17・
・・表示装置、18・・・処理分岐部。 出願人代理人 弁理士 鈴 江 武 彦第1図
The drawings show one embodiment of the present invention, and FIG. 1 is a block diagram showing the circuit configuration, and FIG. 2 is a flowchart showing the processing contents for key human power. 11... Document buffer, 12... Document editing section, 13
...Document edit flag register, 14...Document calling section, 15...Document storage section, 16...Warning section, 17.
. . . Display device, 18 . . . Processing branch unit. Applicant's agent Patent attorney Takehiko Suzue Figure 1

Claims (1)

【特許請求の範囲】 文書バッファ内の文書データが作成編集動作の対象とな
ったときオンされ、文書保存が行なわれたときオフされ
るフラグを記憶する文書編集フラグレジスタと、 文書バッファ内の文書データを消去する状況になったと
きに上記文書編集フラグレジスタの内容をチェックする
手段と、 このチェック手段の結果フラグがオンであったとき上記
文書データがまだ保存されていないことを示す警告を発
する警告発生手段と を具備したことを特徴とする文書作成装置。
[Scope of Claims] A document edit flag register that stores a flag that is turned on when document data in the document buffer is subject to a creation/edit operation and turned off when the document is saved; and a document in the document buffer. A means for checking the contents of the document editing flag register when data is to be deleted, and a warning indicating that the document data has not been saved yet is issued when the resultant flag of this checking means is on. A document creation device characterized by comprising a warning generating means.
JP63190250A 1988-07-29 1988-07-29 Document preparing device Pending JPH0239365A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63190250A JPH0239365A (en) 1988-07-29 1988-07-29 Document preparing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63190250A JPH0239365A (en) 1988-07-29 1988-07-29 Document preparing device

Publications (1)

Publication Number Publication Date
JPH0239365A true JPH0239365A (en) 1990-02-08

Family

ID=16255009

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63190250A Pending JPH0239365A (en) 1988-07-29 1988-07-29 Document preparing device

Country Status (1)

Country Link
JP (1) JPH0239365A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6341109B1 (en) 1999-02-05 2002-01-22 Nec Corporation Defective area replacement method and information writing/reading device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6341109B1 (en) 1999-02-05 2002-01-22 Nec Corporation Defective area replacement method and information writing/reading device

Similar Documents

Publication Publication Date Title
JPH0239365A (en) Document preparing device
JPS6259819B2 (en)
JPS61101870A (en) Documentation device
JPH06231128A (en) Document processor and method thereof
JP2933222B2 (en) Document processing device
JPS6319049A (en) File capacity display system
JPH0644240A (en) Cutting and pasting system
JPH02228726A (en) Picture processing device
JPH04168569A (en) Generation managing system for document file
JPH01111261A (en) Document editing device
JPH0218609A (en) Changing device for key operating procedure
JPH07319853A (en) Document processor
JPH0687242B2 (en) Text processor
JPS60140468A (en) Document formation editor
JPH0432321A (en) Selective call radio receiver with display function
JPH05143415A (en) Document preparing device
JPH03296867A (en) Device for editing image
JPS63177249A (en) Text display system for text display editing device of editor
JPS6320559A (en) Document processor
JPH04354052A (en) Character processor
JPH0512282A (en) Document preparing device
JPH03110666A (en) Document processor
JPH0462661A (en) Word processor
JPH0531187B2 (en)
JPH02297272A (en) Sentence restoring device for word processor