JPH07141363A - Document editing method - Google Patents

Document editing method

Info

Publication number
JPH07141363A
JPH07141363A JP5312771A JP31277193A JPH07141363A JP H07141363 A JPH07141363 A JP H07141363A JP 5312771 A JP5312771 A JP 5312771A JP 31277193 A JP31277193 A JP 31277193A JP H07141363 A JPH07141363 A JP H07141363A
Authority
JP
Japan
Prior art keywords
document
document data
stored
data
version number
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
JP5312771A
Other languages
Japanese (ja)
Inventor
Fumihiko Yoshihisa
史彦 吉久
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP5312771A priority Critical patent/JPH07141363A/en
Publication of JPH07141363A publication Critical patent/JPH07141363A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To enable an operator to see a document before update even after updating the stored document by adding discrimination information for distinction between document data before editing and that after editing to these data to store them while preserving original document data before editing at the time of reading out and editing stored document data to store edited document data again. CONSTITUTION:A CPU 10 discriminates whether document data stored in a document memory 14 is a new document or not. When it is discriminated that this document data is not a new document, that is, it is an edited document, the latest version number under the present directory in a document file disk 18 is retrieved, and the version number obtained by (the latest version number) +1 and the date counted by a clock 22 are added to present document data in the document memory 14, and this data is additionally stored correspondingly to the present directory in the document file disk 18. That is, the new version is generated, and document data having the old version number is preserved as it is. Thus, it is stored in the document file disk 18.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ワードプロセッサやパ
ーソナルコンピュータ等の文書作成・編集機能を持つ文
書データ処理装置に於ける文書編集方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document editing method in a document data processing apparatus having a document creating / editing function such as a word processor and a personal computer.

【0002】[0002]

【従来の技術】近年、パーソナルコンピュータのアプリ
ケーションとしてあるいは専用機として供給されるワー
ドプロセッサを使用して文書を作成し、印刷出力するこ
とが多くなってきている。また、この作成した文書は、
ハードディスクやフロッピーディスクといった文書ファ
イルディスクに記憶しておくことができるもので、この
記憶の際には、その文書ファイル名や版数、日付等の識
別情報が付加されて記憶される。そして、後でこの識別
情報を目安として記憶した文書を選択的に読み出し、編
集処理を行って、再度印刷や記憶ができるようになって
いる。
2. Description of the Related Art In recent years, documents are often created and printed out using a word processor supplied as an application of a personal computer or as a dedicated machine. Also, this created document is
It can be stored in a document file disk such as a hard disk or a floppy disk. At the time of this storage, identification information such as the document file name, version number and date is added and stored. Then, the document stored by using the identification information as a guide can be selectively read out, edited, and printed or stored again.

【0003】[0003]

【発明が解決しようとする課題】ところで、この種の文
書データ処理装置では、文書ファイルディスクに記憶さ
れた文書を読出して編集し、文書ファイル名を変更する
ことなくその編集済みの文書を再記憶する場合、つまり
更新する場合には、無条件に上記識別情報としての版数
がアップし、編集済みの即ち最終の版数の文書のみが保
存されるようになっている。
By the way, in this type of document data processing apparatus, a document stored in a document file disk is read and edited, and the edited document is re-stored without changing the document file name. When doing so, that is, when updating, the version number as the identification information is unconditionally increased, and only the edited or final version document is saved.

【0004】そのため、前の版数の文書に遡って内容が
見たい場合が生じても、それを見ることができなかっ
た。
Therefore, even if there is a case where the user wants to view the contents retroactively to the previous version of the document, he / she cannot see the contents.

【0005】本発明の課題は、記憶文書を更新した場合
に於いても、更新前の文書を見ることができるようにす
ることである。
An object of the present invention is to make it possible to view a document before updating even when a stored document is updated.

【0006】[0006]

【課題を解決するための手段】本発明の手段は次の通り
である。文書データを記憶し、この記憶した文書データ
を読出して編集し、この編集した文書データを再記憶さ
せる際に、元の編集前の文書データを保存しつつ、それ
ら編集前及び後の文書データに対して互いを区別するた
めの識別情報を付加して記憶する。
The means of the present invention are as follows. When document data is stored, the stored document data is read and edited, and the edited document data is stored again, the original unedited document data is saved, and the original document data and the edited document data are saved. On the other hand, identification information for distinguishing each other is added and stored.

【0007】[0007]

【作用】本発明の手段の作用は次の通りである。文書フ
ァイルディスク等に記憶した文書データを読出して編集
した後、この編集した文書データを再記憶させる際に、
元の編集前の文書データを保存しつつ、それら編集前及
び後の文書データに対して互いを区別するための識別情
報、例えば版数を付加して記憶する。従って、同一文書
の異なる版数の文書データを記憶しておき、上記識別情
報により更新つまり編集前の文書を検索して読出すこと
ができるので、所望の更新前の文書を見ることができる
ようになる。
The operation of the means of the present invention is as follows. After reading the document data stored in the document file disk etc. and editing it, when re-storing the edited document data,
While storing the original unedited document data, identification information for distinguishing the original and post-edited document data from each other, for example, a version number is added and stored. Therefore, it is possible to store the document data of different versions of the same document and to search and read the document before updating, that is, the document before editing by the above identification information, so that the desired document before updating can be viewed. become.

【0008】[0008]

【実施例】以下、本発明の一実施例を、図1乃至図5を
参照して説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to FIGS.

【0009】図2は本発明の一実施例の文書編集方法の
適用された文書データ処理装置の構成を示すブロック図
で、図中の参照番号10は全体の制御を行うCPUであ
る。12は文書作成や編集の際の文字入力のための文字
数字キーや各種処理の指示入力を行うための各種指示キ
ーを持つ入力部であり、14は作成中又は編集中の文書
データが記憶される文書メモリである。16は文書メモ
リ14に記憶されている文書データを表示する表示部で
あり、18は作成又は編集された文書データを記憶する
文書ファイルディスクである。20は入力部12からの
操作に応じて文書データを作成して文書メモリ14に記
憶し、また文書メモリ14に記憶されている文書データ
の編集処理を行う編集部であり、22は日時を計時する
ための時計である。
FIG. 2 is a block diagram showing the configuration of a document data processing apparatus to which the document editing method of one embodiment of the present invention is applied. Reference numeral 10 in the figure is a CPU for controlling the whole. Reference numeral 12 is an input unit having character / numerical keys for inputting characters when creating or editing a document and various instruction keys for performing various processing instruction inputs. Reference numeral 14 is for storing document data being created or edited. It is a document memory. Reference numeral 16 is a display unit for displaying the document data stored in the document memory 14, and reference numeral 18 is a document file disk for storing the created or edited document data. An editing unit 20 creates document data according to an operation from the input unit 12 and stores the document data in the document memory 14, and edits the document data stored in the document memory 14, and 22 denotes a time and date. It is a clock to do.

【0010】CPU10は、文書ファイルディスク18
に記憶された文書データを文書メモリ14に読出し、ま
た編集済みの文書データを文書メモリ14から文書ファ
イルディスク18に書き込ませる。そして、文書データ
を文書ファイルディスク18に書き込む際には、時計2
2より現在日時を読出して、文書データに対応させて識
別情報の一つとしてその日時を書き込む。
The CPU 10 has a document file disk 18
The document data stored in the document memory 14 is read to the document memory 14, and the edited document data is written from the document memory 14 to the document file disk 18. When writing the document data to the document file disk 18, the clock 2
The current date and time is read from 2, and the date and time is written as one of the identification information in association with the document data.

【0011】次に、このような構成に於ける動作を説明
する。
Next, the operation in such a configuration will be described.

【0012】まず、文書データの記憶動作について、図
1のフローチャートを参照して説明する。即ち、入力部
12の不図示の「文書保存」キーが操作されると、CP
U10は、文書メモリ14に記憶している文書データが
新規文書のものであるかどうか判断し(ステップS1
1)、新規文書であれば入力部12からの文書名の入力
を受け付ける(ステップS12)。そして、この入力文
書名をディレクトリ名として文書ファイルディスク18
にディレクトリを作成し(ステップS13)、初期版数
と時計22で計時されている日付とを文書メモリ14の
現在文書データに付加して、文書ファイルディスク18
の現在ディレクトリに記憶する(ステップS14)。
First, the operation of storing document data will be described with reference to the flowchart of FIG. That is, when the "save document" key (not shown) of the input unit 12 is operated, the CP
U10 determines whether the document data stored in the document memory 14 is a new document (step S1).
1) If the document is a new document, the input of the document name from the input unit 12 is accepted (step S12). Then, using this input document name as the directory name, the document file disk 18
A directory is created in step S13, the initial version number and the date measured by the clock 22 are added to the current document data in the document memory 14, and the document file disk 18
In the current directory (step S14).

【0013】一方、上記ステップS11で新規文書でな
い、つまり編集文書と判断された場合には、図3の
(A)に示すような版数指定画面16Aを表示部16に
表示する(ステップS15)。ここで、「Y」が選択さ
れると(入力部12の「Y」キーと「リターン」キーが
操作されると)、文書ファイルディスク18の現在ディ
レクトリ下での最新版数を検索し(ステップS16)、
(最新版数+1)の版数と時計22で計時されている日
付とを文書メモリ14の現在文書データに付加して、文
書ファイルディスク18の現在ディレクトリに対応付け
て追加記憶する(ステップS17)。つまり、新しい版
数を作り出し、古い版数の文書データは前のままの内容
で保存する。これにより、図4に示すように文書ファイ
ルディスク18に記憶される。つまり、1つの文書は1
つのディレクトリに対応し、その下にそれぞれの版数の
文書データを格納する構造となる。
On the other hand, if it is determined in step S11 that the document is not a new document, that is, an edited document, a version number designation screen 16A as shown in FIG. 3A is displayed on the display section 16 (step S15). . Here, when "Y" is selected (when the "Y" key and "return" key of the input unit 12 are operated), the latest version number under the current directory of the document file disk 18 is searched (step S16),
The version number (latest version number + 1) and the date counted by the clock 22 are added to the current document data in the document memory 14 and additionally stored in association with the current directory of the document file disk 18 (step S17). . In other words, a new version number is created and the document data of the old version number is saved with the same contents as before. As a result, it is stored in the document file disk 18 as shown in FIG. That is, one document is one
The structure corresponds to one directory, and the document data of each version is stored under that directory.

【0014】また、上記版数指定画面16Aが表示され
ている状態で、「N」が選択されと、(入力部12の
「N」キーと「リターン」キーが操作されると)、文書
ファイルディスク18に於ける現在ディレクトリ下での
最新版数の文書データを、文書メモリ14の編集文書デ
ータの内容で更新する(ステップS18)。つまり、読
出していた文書データを直接更新し、前の内容は保存さ
れない。
When "N" is selected in the state where the version number designation screen 16A is displayed (when the "N" key and the "return" key of the input unit 12 are operated), the document file is displayed. The latest version of the document data in the current directory on the disk 18 is updated with the contents of the edited document data in the document memory 14 (step S18). That is, the read document data is directly updated, and the previous contents are not saved.

【0015】次に、図5のフローチャートを参照して、
文書データの読み出し処理を説明する。即ち、入力部1
2の不図示の「文書読出」キーの操作により、CPU1
0は、文書ファイルディスク18から全文書名を読出し
て(ステップS21)、図3の(B)に示すような一覧
表示画面16Bを表示部16により表示する(ステップ
S22)。そして、入力部12の不図示のカーソル移動
キー操作により指定の文書名にカーソルが移動された後
(ステップS23)、不図示の「リターン」キーが操作
されると、カーソルで指定した文書名をディレクトリと
する最新版数の文書データを文書ファイルディスク18
から文書メモリ14に読出し(ステップS24)、その
文書メモリ14の内容を表示部16により表示する(ス
テップS25)。
Next, referring to the flowchart of FIG.
The process of reading the document data will be described. That is, the input unit 1
By operating a "read document" key (not shown)
0 reads all the document names from the document file disk 18 (step S21), and displays the list display screen 16B as shown in FIG. 3B on the display unit 16 (step S22). Then, after the cursor is moved to the designated document name by the cursor movement key operation (not shown) of the input unit 12 (step S23), when the "return" key (not shown) is operated, the document name designated by the cursor is changed. Document file disk 18 for the latest version of document data used as a directory
To the document memory 14 (step S24), and the contents of the document memory 14 are displayed on the display unit 16 (step S25).

【0016】一方、一覧表示画面16B上で指定文書名
にカーソルが合わされた後、入力部12の不図示の「版
数読出」キーが操作されると、CPU10は、カーソル
で指定された文書名をディレクトリとする全ての版数を
文書ファイルディスク18から読み出し(ステップS2
6)、図3の(B)に示すような版数一覧表示画面16
Cを表示部16に表示する(ステップS27)。そし
て、入力部12の不図示のカーソル移動キー操作により
指定の版数にカーソルが移動された後(ステップS2
8)、不図示の「リターン」キーが操作されると、カー
ソルで指定した版数に対応する文書データを文書ファイ
ルディスク18から文書メモリ14に読出し(ステップ
S29)、その文書メモリ14の内容を表示部16によ
り表示する(ステップS25)。つまり、ある文書の特
定の版数を読出したい時には、その文書にカーソルを合
わせて「版数読出」キーを押すと、版数の一覧が表示さ
れるので、その中から選択する。
On the other hand, when the cursor is moved to the designated document name on the list display screen 16B and the "read version number" key (not shown) of the input unit 12 is operated, the CPU 10 causes the CPU 10 to designate the document name designated by the cursor. Read all the version numbers with the directory as the directory from the document file disk 18 (step S2
6), the version number list display screen 16 as shown in FIG.
C is displayed on the display unit 16 (step S27). Then, after the cursor is moved to a designated version number by operating a cursor movement key (not shown) of the input unit 12 (step S2
8) When the "return" key (not shown) is operated, the document data corresponding to the version number designated by the cursor is read from the document file disk 18 into the document memory 14 (step S29), and the contents of the document memory 14 are read. It is displayed by the display unit 16 (step S25). That is, when it is desired to read out a specific version number of a document, when the cursor is moved to the document and the "version number read" key is pressed, a list of version numbers is displayed.

【0017】以上のように、版数指定を行った時、それ
以前の版数の文書を自動的に保存できるようにし、しか
もその記憶の際に、同一文書名を持つ文書データに対し
て版数や編集日時等の識別情報を付加するようにしてい
るので、この識別情報により同一文書名の文書データで
あっても編集前の文書データを検索して読出すことがで
き、所望の更新前の文書を見ることができるようにな
る。
As described above, when the version number is designated, it is possible to automatically save the document of the version number before that, and at the time of storing it, the version of the document data having the same document name is stored. Since the identification information such as the number and the editing date and time is added, even if the document data having the same document name can be searched and read out by this identification information, the document data before the editing can be read and the desired pre-updated document data can be read. You will be able to see the document.

【0018】[0018]

【発明の効果】本発明によれば、記憶文書を更新した場
合に於いても、更新前の文書を見ることができるように
なる。
According to the present invention, even when a stored document is updated, the document before the update can be viewed.

【0019】即ち、前の版数の文書を保存する手段を設
けたので、もし前の版数に遡る必要が生じた時にも対応
することができる。
That is, since the means for storing the document of the previous version number is provided, it is possible to deal with the case where it is necessary to go back to the previous version number.

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

【図1】一実施例に於ける文書記憶動作のフローチャー
トである。
FIG. 1 is a flowchart of a document storage operation according to an embodiment.

【図2】一実施例の文書編集方法が適用された文書デー
タ処理装置のブロック構成図である。
FIG. 2 is a block configuration diagram of a document data processing device to which a document editing method according to an embodiment is applied.

【図3】(A)は版数指定画面を示す図であり、(B)
は版数読出キーの押下に応じた文書名一覧表示画面から
版数一覧表示画面への表示の変遷を示す図である。
FIG. 3A is a diagram showing a version number designation screen, and FIG.
FIG. 9 is a diagram showing a transition of display from the document name list display screen to the version number list display screen in response to pressing of the version number read key.

【図4】文書ファイルディスクに於ける文書のディレク
トリ構造を示す図である。
FIG. 4 is a diagram showing a directory structure of a document on a document file disc.

【図5】一実施例に於ける文書読み出し動作のフローチ
ャートである。
FIG. 5 is a flowchart of a document reading operation according to an embodiment.

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

10…CPU、12…入力部、14…文書メモリ、16
…表示部、18…文書ファイルディスク、20…編集
部、22…時計。
10 ... CPU, 12 ... Input unit, 14 ... Document memory, 16
... Display section, 18 ... Document file disk, 20 ... Editing section, 22 ... Clock.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 文書データを記憶し、 この記憶した文書データを読出して編集し、 この編集した文書データを再記憶させる際に、元の編集
前の文書データを保存しつつ、それら編集前及び後の文
書データに対して互いを区別するための識別情報を付加
して記憶する、 ことを特徴とする文書編集方法。
1. When storing document data, reading and editing the stored document data, and re-storing the edited document data, while preserving the original document data before editing, A document editing method, characterized in that identification information for distinguishing each other from subsequent document data is added and stored.
JP5312771A 1993-11-19 1993-11-19 Document editing method Pending JPH07141363A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5312771A JPH07141363A (en) 1993-11-19 1993-11-19 Document editing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5312771A JPH07141363A (en) 1993-11-19 1993-11-19 Document editing method

Publications (1)

Publication Number Publication Date
JPH07141363A true JPH07141363A (en) 1995-06-02

Family

ID=18033223

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5312771A Pending JPH07141363A (en) 1993-11-19 1993-11-19 Document editing method

Country Status (1)

Country Link
JP (1) JPH07141363A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10269206A (en) * 1997-01-21 1998-10-09 Pfu Ltd Document text generating processor, and its program storage medium
CN100375016C (en) * 2003-02-28 2008-03-12 微软公司 Method for managing file replication in applications

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10269206A (en) * 1997-01-21 1998-10-09 Pfu Ltd Document text generating processor, and its program storage medium
CN100375016C (en) * 2003-02-28 2008-03-12 微软公司 Method for managing file replication in applications

Similar Documents

Publication Publication Date Title
JPH07141363A (en) Document editing method
JP3508446B2 (en) Function instruction method
JP3793876B2 (en) Information display device and information display processing program
JPH06309367A (en) Electronic reading system with bookmarker function
JP3077158B2 (en) Document editing processor
JP2588210B2 (en) Help guide method
JP2558692B2 (en) Document file device
JPH06325094A (en) Electronic book device
JPH04148370A (en) Document processor
JPH0470962A (en) Data processor
JPH07508364A (en) Method and apparatus for storing and displaying documents
JPH0636529A (en) Cd-i reproducing device
JPH0237466A (en) Information processing system
JP2798777B2 (en) Word processor
JPH0785089A (en) Character processing device
JPH0916305A (en) Command retrieving device
JPH06266766A (en) Document retrieving device
JPH0546155A (en) Ruled-line setting mechanism of information processor
JPH07287711A (en) Document preparing device and picture inputting method therefor
JPH06162001A (en) Document processor with handwriting input function
JPH10187325A (en) Data inputting device
JPH0528145A (en) Retrieval/deletion and blank processing method for word processor
JPH06162003A (en) Document processor with handwriting input function
JPH07200590A (en) Method for setting hierarchized style and definition registration method therefor
JPH04105111A (en) Keyboard