JPS6398766A - Document creation processing device - Google Patents
Document creation processing deviceInfo
- Publication number
- JPS6398766A JPS6398766A JP61244645A JP24464586A JPS6398766A JP S6398766 A JPS6398766 A JP S6398766A JP 61244645 A JP61244645 A JP 61244645A JP 24464586 A JP24464586 A JP 24464586A JP S6398766 A JPS6398766 A JP S6398766A
- Authority
- JP
- Japan
- Prior art keywords
- format data
- initial value
- item
- data
- area
- 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
Landscapes
- Document Processing Apparatus (AREA)
Abstract
Description
本発明は、文書作成装置における変更された0式データ
を項目別に初期値へ復元させる装置に関する。The present invention relates to a device for restoring changed 0-format data to initial values for each item in a document creation device.
従来、文書作成装置は、トップマージン、ボトムマージ
ン、レフトマージン、ライトマージン、ラインスペース
、キャラクタピッチ、キーボードスイッチ、ページレン
グス、タブストップ等の書式データを設定する機能を有
しており、この設定された書式データに従って入力デー
タを処理して印刷するものである。その書式データの初
期値は記憶されており、新規に文書を作成する場合には
、その文書の書式データは、先ず記憶されている初期値
に設定される。そして、書式データを初期値から変更し
たい場合には、項目別に所望の数値に設定し直すことが
できる。Conventionally, document creation devices have functions for setting format data such as top margin, bottom margin, left margin, right margin, line space, character pitch, keyboard switch, page length, tab stop, etc. The input data is processed and printed according to the specified format data. The initial values of the format data are stored, and when a new document is created, the format data of the document is first set to the stored initial values. If you want to change the format data from the initial value, you can reset the format data to the desired value for each item.
ところが、従来の装置では、設定し直された書式データ
を初期値に戻す場合に、書式データの全項目を初期値に
戻すことはできても、必要な項目のみを選択的に初期値
に戻すことはできなかった。
このため、必要な項目のみを初期値に戻すには、その項
目の初期値を改めてV&認した上で、その初期値を手入
力により設定しなければならなかった。
たとえば、初期値に設定されているレフトマージンとラ
イトマージンを途中の行から変更し、数頁のデータの入
力後にまた初期値に戻したいという場合がある。この場
合に初期値を忘れてしまうと、書式データの初期値の表
示操作を行ってその初期値を調べた後、レフトマージン
とライトマージンをその初期値に新しく設定するという
操作が必要となる。
このように、従来の装置では書式データを項目別に初期
値に戻すことができないため、使用性が良くないという
問題があった。However, with conventional devices, when restoring format data that has been reset to its initial value, although it is possible to restore all items of the format data to their initial values, it is not possible to selectively restore only the necessary items to their initial values. I couldn't do that. Therefore, in order to return only the necessary items to their initial values, it is necessary to verify the initial value of the item again and then manually set the initial value. For example, you may want to change the left margin and right margin, which are set to initial values, from a line in the middle, and then return them to the initial values after inputting several pages of data. In this case, if you forget the initial values, you will need to display the initial values of the format data, check the initial values, and then set the left margin and right margin to their new initial values. As described above, the conventional apparatus has a problem in that it is not easy to use because it is not possible to restore the format data to the initial value for each item.
本発明は、上記の問題点を解決するために成されたもの
であり、その目的とするところは、書式データを項目別
にその初期値に自動的に復元させ、装置の使用性を改善
することである。The present invention has been made to solve the above problems, and its purpose is to automatically restore format data to its initial value for each item and improve the usability of the device. It is.
上記問題点を解決するための発明の構成は、複数の項目
からなる書式データを設定し、その書式データに従って
文書を作成する文書作成処理装置において、前記書式デ
ータの初期値を記憶する初期値記憶手段と、前記書式デ
ータを設定し直す書式データ設定手段と、前記書式デー
タ設定手段により設定し直された項目のデータを個別に
前記初期値記憶手段に記憶されている対応する項目の初
期値に戻す初期値復帰手段とを具備したことである。The structure of the invention for solving the above problems is that, in a document creation processing device that sets format data consisting of a plurality of items and creates a document according to the format data, an initial value memory that stores the initial value of the format data is provided. means, a format data setting means for resetting the format data, and data of the items reset by the format data setting means individually to the initial values of the corresponding items stored in the initial value storage means. The invention also includes means for returning initial values.
書式データは、最初は、初期値記憶手段に記憶された初
期値に設定されており、作成される文書に応じて、書式
データ設定手段により初期値と異なる値に設定し直すこ
とができる。また、初期値復帰手段により、一旦設定し
直された書式データは項目別に、初期値記憶手段に記憶
されている対応する項目の初期値に戻すことができる。
したがって、書式データを項目別にその初期値へ自動復
元することが可能となる。The format data is initially set to the initial value stored in the initial value storage means, and can be reset to a value different from the initial value by the format data setting means depending on the document to be created. Moreover, the format data once reset can be returned to the initial value of the corresponding item stored in the initial value storage means for each item by the initial value restoration means. Therefore, it is possible to automatically restore format data to its initial value for each item.
以下、本発明を具体的な実施例に基づいて説明する。第
1図は、本発明の具体的な一実施例に係るワードプロセ
ッサの構成を示したブロックダイヤグラムである。リー
ドオンリーメモリ(以下rROMJという。)2には、
文書作成のためのCPUIの処理手順を指令するプログ
ラムが記憶されている。RAM3には、作成された文書
データを記憶するテキストメモリ31と書式データを記
憶する書式データ領域32と書式データの初期値を記憶
する初期値領域33と、割り込み処理の開始時に、その
直前の処理状態へ復帰するために必要な各データが格納
される復帰データ領域34等が形成されている。CPU
1には、データバス、アドレスバス、制御バス(図中
、一括して符号12で示されている)が接続されており
、そのバス12には、インタフェース4が接続され、そ
れには文字・記号コード、ファンクションコードを出力
するキーボード5が接続されいる。これらのコードは、
キーボード5に設けられている各文字・記号キーや各フ
ァンクションキー等の押下により出力される。また、バ
ス12には、画面駆動装は6が接続され、それには、入
力された文字・記号等を表示するディスプレイ7が接続
されている。
同様に、バス12には、文書を印刷するプリンタ9がプ
リンタ駆動装置8を介して接続されており、また文書デ
ータを外部記憶媒体であるフロッピィディスク11に保
存させるためのディスク駆動装置10が接続されている
。
次に本装置の作用を説明する。
本装置が文書作成モードに設定されると、初期値領域3
3に記憶されている書式データの初期値が読出され、書
式データ領域32に書式データの初期値が設定される。
そして、キーボード5のキーが打鍵されるごとに、キー
ボード5から入力された文字・記号コード、ファンクシ
ョンコードが読取られテキストメモリ31に記憶される
。
ここで、文書作成開始後に書式データを変更したい場合
には、書式データ変更メニューキー53を押下する。こ
の書式データ変更メニューキー53が押下されると、c
puiは男性実行中のブロダラムのアドレスやCPU
1に関連する各レジスタの状態等をはじめとする、現在
の処理状態に復帰するために必要な各データをRAM3
の復帰データ領域34へ格納し、第2図に示すフローチ
ャートに従って処理を実行する。ステップ100では現
時点で書式データ領域32に設定されている書式データ
がディスプレイ7に第3図に示す形式で表示される。こ
こで、割り込み処理開始時、即ち書式データ変更メニュ
ーキー53が押下された時点の処理は文書作成処理であ
って、コントロール(CTRL)キー52の押下により
文書作成の続行が可能となることを示すメツセージ“C
TRL forロローCUMCNT ”が表示される。
項目1.はトップマージン位置とボトムマージン位置の
書式データであり、コンマの左の数値がトップマージン
位置を示し、コンマの右の数値がボトムマージン位置を
示す。
項目2.はレフトマージン位置とライトマージン位置の
書式データであり、コンマの左の数値がレフトマージン
位置を示し、コンマの右の数値がライトマージン位置を
示す。この場合には、レフトマージン位置は0カラム目
に、ライトマージン位置は117カラム目に設定されて
いる。項目3.は行間の書式データであり、この場合に
は行間176インチが指定されており、その他176イ
ンチを1行として、1.5行、2行、3行と指定できる
。項目4、は文字ピッチの書式データであり、この場合
には10文字/インチが指定されており、その他12文
字/インチ、15文字/インチが指定できる。項目5、
はキーボードスイッチの書式データであり、使用される
ディジーホイールにより1.2.3のデータが指定でき
る。1は通常、2はインターナショナル、3はシンボル
のディジーホイールである。
項目6.は1頁の行数の書式データである。項目7゜は
タブ停止位置の書式データであり、複数のタブ停止位置
がカラム数で設定できる。
次にステップ102でキーボード5は入力可能状態とさ
れ、キーボード5から入力されたデータが読み取られる
。次にステップ104で、入力されたデータが書式デー
タの修正項目を選択する項目選択データであるか否かが
判定される。本実施例ではディスプレイ7に表示された
書式の項目のうち、修正したい項目へカーソルをカーソ
ルキー54の操作により移動した後、ファンクションの
実行を指令するリターン(RETIIRN )キー55
を押下することにより項目選択データが入力される。こ
こで、項目選択データであると判定された場合にはステ
ップ106へ移行し、その入力された項目選択データに
基づき書式データの内の修正項目が決定される。
修正項目が決定されると、ステップ108で、その選択
された修正項目のタイトルと書式データが反転表示され
、その後のステップでその修正項目の書式データの変更
が可能となる。ステップ110では、キーボード5はデ
ータの入力可能状態とされ、キーボード5から入力され
たデータが読み取られる。次にステップ112で入力デ
ータが書式データを初期値へ復元することを指令する+
キーコードか否かが判定され、+キーコードである場合
には、ステップ114でその修正項目の初期値が初期値
領域33から検索される。そして、ステップ116で書
式データ領域32に設定されている書式データの内、そ
の修正項目に対応する書式データがステップ114で検
索されただ初期値に書換えられる。そして、CPUIの
処理はステップ100に戻り、書換えられ新しく設定さ
れた書式データがディスプレイ7に表示される。その後
、ステップ102で書式データの次の修正項目の選択が
可能な状態となる。このようにして、設定された文書デ
ータを項目別に、その初期値に復元することができる。
一方、修正項目の決定後にキーボード5の操作により変
更したい新たな書式データが入力された場合には、ステ
ップ112の判定がN口となり、ステップ118へ移行
する。ここで1、新たな書式データの入力は、新たな書
式データの値に対応する数字キーの押下に続いてリター
ンキーを押下することにより行われる。ステップ118
では入力データが書式データか否かが判定され、書式デ
ータと判定されるとステップ120で、書式データ領域
32に設定されている書式データの内、その修正項目に
対応する書式データがステップ110で入力された新た
な書式データに古換えられる。そして、CPU1の処理
はステップ100に戻り、書換えられ新しく設定された
書式データがディスプレイ7に表示される。その後、ス
テップ102で書式データの次の修正項目の選択が可能
な状態となる。このようにして、設定された古式データ
を項目別に、所望の数値に書換えることができる。
尚、ステップ118で入力データが書式データでないと
判定された場合には、ステップ122へ移行して入力デ
ータを無効にするとともに警告音を所定時間出力するエ
ラー処理の後、ステップ110へ移行して、再度、修正
項目の書式データの変更が可能な状態となる。
また、ステップ102で入力されたデータが項目選択デ
ータでないと判定された場合には、ステップ124へ移
行してコントロール(CTRL)キー52の押下による
コントロールコードか否かが判定される。コントロール
コードである場合には、ステップ126へ移行し、復帰
データ領域34の各データに基づいてこの書式データ変
更プログラムから呼び出し元のプログラムにリターンす
る。本実施例では、文書作成開始後に書式データ変更メ
ニューキー53を押下して書式データの変更を行ってい
るので、コントロールキー52の押下により、書式デー
タ変更メニューキーの押下直前の画面へ復帰し、文書作
成の続行が可能となる。また、コントロールコードでな
いときは、ステップ128で入力データを無効にすると
ともに警告音を一定時間出力するエラー処理の後ステッ
プ102へ戻り、再度、データの入力待ち状態となる。
尚、書式データの初期値は、初期書式データメニューキ
ー56が押下されることにより、第3図と同様な書式デ
ータの設定画面を表示させ、前述と同様な処理により任
意の値に予め設定しておく。
上記したように、修正項目を選択して項目別に書式デー
タを変更することができる。そして、書式データを特に
初期値に戻す場合には、修正項目を選択して初期値に戻
すことを指令するだけで、項目別にその初期値を自動復
元することができる。The present invention will be described below based on specific examples. FIG. 1 is a block diagram showing the configuration of a word processor according to a specific embodiment of the present invention. The read-only memory (hereinafter referred to as rROMJ) 2 includes:
A program that instructs the CPUI processing procedure for document creation is stored. The RAM 3 includes a text memory 31 for storing created document data, a format data area 32 for storing format data, an initial value area 33 for storing the initial value of the format data, and, at the start of interrupt processing, the immediately preceding process. A return data area 34 and the like are formed in which various data necessary for returning to the state are stored. CPU
A data bus, an address bus, and a control bus (indicated collectively by the reference numeral 12 in the figure) are connected to the bus 1, and an interface 4 is connected to the bus 12. A keyboard 5 is connected to output codes and function codes. These codes are
It is output by pressing each character/symbol key or each function key provided on the keyboard 5. Further, a screen driving device 6 is connected to the bus 12, and a display 7 for displaying input characters, symbols, etc. is connected thereto. Similarly, a printer 9 for printing documents is connected to the bus 12 via a printer drive device 8, and a disk drive device 10 for storing document data on a floppy disk 11, which is an external storage medium, is also connected to the bus 12. has been done. Next, the operation of this device will be explained. When this device is set to document creation mode, initial value area 3
The initial value of the format data stored in 3 is read out, and the initial value of the format data is set in the format data area 32. Each time a key on the keyboard 5 is pressed, the character/symbol code and function code input from the keyboard 5 are read and stored in the text memory 31. If the user wishes to change the format data after starting document creation, the format data change menu key 53 is pressed. When this format data change menu key 53 is pressed, c
pui is the address and CPU of the male running brodarum
Each data necessary to return to the current processing state, including the state of each register related to 1, is stored in RAM3.
The data is stored in the recovery data area 34 of , and the process is executed according to the flowchart shown in FIG. At step 100, the format data currently set in the format data area 32 is displayed on the display 7 in the format shown in FIG. Here, it is shown that the process at the start of the interrupt process, that is, when the format data change menu key 53 is pressed, is a document creation process, and document creation can be continued by pressing the control (CTRL) key 52. Message "C"
"TRL for Roro CUMCNT" is displayed. Item 1 is the format data for the top margin position and bottom margin position, the number to the left of the comma indicates the top margin position, and the number to the right of the comma indicates the bottom margin position. Item 2 is the format data for the left margin position and right margin position, the number to the left of the comma indicates the left margin position, and the number to the right of the comma indicates the right margin position.In this case, the left margin position is set to the 0th column, and the right margin position is set to the 117th column.Item 3 is the line spacing format data, and in this case, a line spacing of 176 inches is specified, and the other 176 inches are set as one line. , 1.5 lines, 2 lines, and 3 lines can be specified.Item 4 is the format data of the character pitch, in this case 10 characters/inch is specified, and other 12 characters/inch and 15 characters/inch are specified. Inches can be specified. Item 5.
is the keyboard switch format data, and data 1.2.3 can be specified depending on the daisy wheel used. 1 is normal, 2 is international, and 3 is the symbol daisy wheel. Item 6. is the format data of the number of lines on one page. Item 7° is format data for tab stop positions, and multiple tab stop positions can be set by the number of columns. Next, in step 102, the keyboard 5 is enabled for input, and data input from the keyboard 5 is read. Next, in step 104, it is determined whether the input data is item selection data for selecting a correction item for format data. In this embodiment, after moving the cursor to the item to be modified among the format items displayed on the display 7 by operating the cursor keys 54, a return (RETIIRN) key 55 is pressed to command execution of the function.
By pressing , item selection data is input. Here, if it is determined that it is item selection data, the process moves to step 106, and correction items in the format data are determined based on the inputted item selection data. When the correction item is determined, the title and format data of the selected correction item are highlighted in step 108, and the format data of the correction item can be changed in the subsequent step. In step 110, the keyboard 5 is brought into a state in which data can be input, and data input from the keyboard 5 is read. Next, in step 112, the input data instructs the format data to be restored to its initial value.
It is determined whether or not it is a key code, and if it is a + key code, the initial value of the correction item is retrieved from the initial value area 33 in step 114. Then, in step 116, among the format data set in the format data area 32, the format data corresponding to the correction item is retrieved in step 114 and rewritten to the initial value. Then, the CPUI process returns to step 100, and the rewritten and newly set format data is displayed on the display 7. Thereafter, in step 102, the next modification item of the format data can be selected. In this way, the set document data can be restored to its initial value for each item. On the other hand, if new format data to be changed is input by operating the keyboard 5 after the correction items have been determined, the determination at step 112 is N, and the process moves to step 118. Here, 1. Input of new format data is performed by pressing a numeric key corresponding to the value of the new format data and then pressing a return key. Step 118
Then, it is determined whether the input data is format data or not. If it is determined that the input data is format data, in step 120, the format data corresponding to the correction item among the format data set in the format data area 32 is selected in step 110. It will be replaced by the new format data that was input. Then, the process of the CPU 1 returns to step 100, and the rewritten and newly set format data is displayed on the display 7. Thereafter, in step 102, the next modification item of the format data can be selected. In this way, the set old-fashioned data can be rewritten into desired numerical values for each item. If it is determined in step 118 that the input data is not format data, the process proceeds to step 122, where the input data is invalidated and an error process is performed in which a warning sound is output for a predetermined period of time, and then the process proceeds to step 110. , the format data of the correction item can be changed again. If it is determined in step 102 that the input data is not item selection data, the process moves to step 124 and it is determined whether the input data is a control code caused by pressing the control (CTRL) key 52 or not. If it is a control code, the process moves to step 126, and the format data changing program returns to the calling program based on each data in the return data area 34. In this embodiment, the format data is changed by pressing the format data change menu key 53 after the start of document creation, so when the control key 52 is pressed, the screen returns to the screen immediately before the format data change menu key was pressed. It is now possible to continue document creation. If it is not a control code, the process returns to step 102 after an error process in which the input data is invalidated and a warning sound is output for a certain period of time in step 128, and the process waits for data input again. The initial value of the format data can be preset to an arbitrary value by pressing the initial format data menu key 56 to display a format data setting screen similar to that shown in FIG. I'll keep it. As described above, format data can be changed for each item by selecting correction items. In particular, when format data is to be returned to its initial value, the initial value can be automatically restored for each item by simply selecting a correction item and instructing it to be returned to its initial value.
本発明は、書式データを項目別に初期値記憶手段に記憶
されている対応する項目の初期値に戻す初期値復帰手段
を有しているので、修正を必要とする項目を選択して、
その項目の書式データのみを操作者が初期値を記憶して
いなくてもその初期値に自動的に復元させることができ
る。したがって、装置の操作性が向上する。The present invention has an initial value restoration means that restores the format data item by item to the initial value of the corresponding item stored in the initial value storage means.
Only the format data of that item can be automatically restored to its initial value even if the operator does not remember the initial value. Therefore, the operability of the device is improved.
第1図は本発明の具体的な一実施例に係るワードプロセ
ッサの構成を示したブロックダイヤグラム。第2図は同
実施例装置で使用されたCPUの処理手順を示したフロ
ーチャート。第3図は書式データの表示形式を示した画
面の構成図である。
51・・−・・・・+キー 52・・・・CTRL
キー 53・・・書式データ変更メニューキー
54・・・・RBTURNキーFIG. 1 is a block diagram showing the configuration of a word processor according to a specific embodiment of the present invention. FIG. 2 is a flowchart showing the processing procedure of the CPU used in the device of the embodiment. FIG. 3 is a configuration diagram of a screen showing the display format of format data. 51...-...+key 52...CTRL
Key 53...Format data change menu key
54...RBTURN key
Claims (1)
タに従って文書を作成する文書作成処理装置において、 前記書式データの初期値を記憶する初期値記憶手段と、 前記書式データを設定し直す書式データ設定手段と、 前記書式データ設定手段により設定し直された項目のデ
ータを個別に前記初期値記憶手段に記憶されている対応
する項目の初期値に戻す初期値復帰手段と を備えたことを特徴とする文書作成処理装置。[Scope of Claim] A document creation processing device that sets format data consisting of a plurality of items and creates a document according to the format data, comprising: an initial value storage unit that stores an initial value of the format data; a format data setting means for resetting, and an initial value restoring means for individually restoring the data of the items reset by the format data setting means to the initial values of the corresponding items stored in the initial value storage means. A document creation processing device characterized by comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61244645A JPS6398766A (en) | 1986-10-15 | 1986-10-15 | Document creation processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61244645A JPS6398766A (en) | 1986-10-15 | 1986-10-15 | Document creation processing device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS6398766A true JPS6398766A (en) | 1988-04-30 |
Family
ID=17121827
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61244645A Pending JPS6398766A (en) | 1986-10-15 | 1986-10-15 | Document creation processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6398766A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS63254557A (en) * | 1987-04-11 | 1988-10-21 | Sharp Corp | Character processor |
| EP0733993A3 (en) * | 1995-03-22 | 1997-11-05 | Kabushiki Kaisha Toshiba | A method of and apparatus for issuing portable storage mediums |
-
1986
- 1986-10-15 JP JP61244645A patent/JPS6398766A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS63254557A (en) * | 1987-04-11 | 1988-10-21 | Sharp Corp | Character processor |
| EP0733993A3 (en) * | 1995-03-22 | 1997-11-05 | Kabushiki Kaisha Toshiba | A method of and apparatus for issuing portable storage mediums |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS60189568A (en) | Information processor | |
| JPS60241156A (en) | Word processor | |
| JPH04256117A (en) | information processing equipment | |
| JPH08335152A (en) | Document processing device | |
| JP2700001B2 (en) | Character data output device | |
| JP2555036B2 (en) | Character string input device | |
| JP2743838B2 (en) | Input device | |
| JPH07129295A (en) | Character input device | |
| KR950006824B1 (en) | Back tap control method in electronic typewriter | |
| JP2899103B2 (en) | Information processing apparatus and method | |
| JPH0346056A (en) | Document generation device | |
| JPH0512276A (en) | Document processor | |
| JPH0227416A (en) | Data setting device | |
| JPS63273158A (en) | Document preparing device | |
| JPH10187325A (en) | Data input device | |
| JPH0546155A (en) | Ruled line setting mechanism of information processing device | |
| JPH03256166A (en) | Display data processing device | |
| JPS61151595A (en) | Electronic appliance | |
| JPS6336365A (en) | Japanese language processor | |
| JPH05158604A (en) | Key input device | |
| JPH04149632A (en) | document creation device | |
| JPS61231594A (en) | text editing device | |
| JPH0486910A (en) | Key input device | |
| JPH04287159A (en) | Word processor having automatic character string arranging function | |
| JPS63111567A (en) | Document processor |