JPH0452860A - Character processor - Google Patents
Character processorInfo
- Publication number
- JPH0452860A JPH0452860A JP2157012A JP15701290A JPH0452860A JP H0452860 A JPH0452860 A JP H0452860A JP 2157012 A JP2157012 A JP 2157012A JP 15701290 A JP15701290 A JP 15701290A JP H0452860 A JPH0452860 A JP H0452860A
- Authority
- JP
- Japan
- Prior art keywords
- document
- stored
- heading
- storage means
- character
- 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)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野]
本発明は、複数のファイルを扱うことができる文字処理
装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a character processing device that can handle a plurality of files.
[従来の技術]
一般的に、文字処理装置では、補助記憶装置に文書ファ
イルを文書ファイル名をつけて格納する。補助記憶装置
に格納された文書ファイルは、文書ファイル名で識別さ
れている。[Prior Art] Generally, in a character processing device, a document file is stored in an auxiliary storage device with a document file name assigned thereto. Document files stored in the auxiliary storage device are identified by document file names.
このため、オペレータは、その文書の内容が文書名から
簡単に推測できるように、文書ファイル名を工夫してつ
けている。For this reason, operators carefully name document files so that the contents of the document can be easily guessed from the document name.
また、文書ファイル名は通常は数文字以内という制約が
あるため、文書ファイル名とは別に、ファイルに対して
メモを格納することができるものもある。Additionally, since document file names are usually limited to a few characters or less, some devices allow memos to be stored in files in addition to document file names.
[発明が解決しようとしている課題]
しかしながら、文書ファイル名でその文書の内容を表現
するには、やはり文字数上の制約が避けられない。また
、メモをつける場合は、メモを新たに作成して、記入す
る手間が発生する。という問題がある。[Problems to be Solved by the Invention] However, in order to express the content of a document using a document file name, there is an unavoidable restriction on the number of characters. Furthermore, when adding a memo, it is time consuming to create and fill in a new memo. There is a problem.
〔課題を解決するための手段1
上記課題を解決するために、本発明文字処理装置は、文
書を記憶する内部記憶手段と、文書を記憶する外部記憶
手段と、文書中の所定の形式の文字列を、該文書の文書
名と共に記憶する第3の記憶手段と、前記内部記憶手段
に記憶されている文書を編集するための編集手段と、該
編集手段によって、前記所定の形式の文字列が作成・修
正されたときに、前記第3の記憶手段の記憶内容を対応
して更新する更新手段と、文字を表示するための表示手
段と、前記所定の文字列を一覧表示することを指示する
指示手段と、該指示を受けたときに、前記第3の記憶手
段に記憶された前記所定の形式の文字列を当該文字列が
含まれる文書の文書名と対応付けて前記表示手段に一覧
表示するように制御する制御手段と、前記内部記憶手段
に記憶されている文書の文書名を記憶する文書名記憶手
段と、該文書名記憶に記憶された文書名と、前記第3の
記憶手段に記憶された文書名とを比較する比較手段と、
前記一覧表示された所定の文字列中の所望の文字列を指
定して、当該文字列の含まれる文書の表示を指示する第
2の指示手段と、該第2の指示手段の指示を受けて、前
記第3の記憶手段に記憶された文書名に基づいて、指定
された文字列に対応する文書を表示する際に、前記比較
手段によって一致した文書名に対しては、内部記憶手段
に記憶された文書を表示し、不一致であった文書名に対
しては、その文書を外部記憶手段より呼び出して、表示
するように制御する第2の制御手段とを備える。[Means for Solving the Problems 1] In order to solve the above problems, the character processing device of the present invention has an internal storage means for storing documents, an external storage means for storing documents, and a character processing device for storing characters in a predetermined format in a document. a third storage means for storing the string along with the document name of the document; an editing means for editing the document stored in the internal storage means; and the editing means stores the character string in the predetermined format. an updating means for correspondingly updating the stored contents of the third storage means when created or modified; a display means for displaying characters; and an instruction to display a list of the predetermined character strings. an instruction means, and upon receiving the instruction, displaying a list of character strings in the predetermined format stored in the third storage means on the display means in association with document names of documents containing the character strings; a document name storage means for storing the document name of the document stored in the internal storage means; a document name storage means for storing the document name stored in the document name storage; a comparison means for comparing the stored document name;
a second instruction means for specifying a desired character string among the predetermined character strings displayed in the list and instructing display of a document containing the character string; and upon receiving an instruction from the second instruction means; , when displaying a document corresponding to a specified character string based on the document name stored in the third storage means, for the document name that matches by the comparison means, the document name is stored in the internal storage means. and a second control means for displaying a document whose name has been mismatched, and for controlling the document name to be retrieved from an external storage means and displayed.
[作用]
本発明によれば、文書中の所定の形式の文字列を、該文
書の文書名と共に記憶する手段を設けることにより、所
定の形式の文字列、例えば見出しの一覧表示を指示した
ときに、内部記憶手段のみならず、外部の補助記憶手段
に記憶されている文書中の見出しも表示させるようにし
、更にその兇出しを指定することによって、その見出し
を含む文書の表示を、その文書がどこに記憶されている
かを意識することなく行なえるようにしたものである。[Operation] According to the present invention, by providing a means for storing character strings in a predetermined format in a document together with the document name of the document, when an instruction is given to display a list of character strings in a predetermined format, for example, headings. By displaying not only the internal storage means but also the headings in the documents stored in the external auxiliary storage means, and specifying the opening, the display of the document containing the headings can be changed to that document. This allows you to do this without being aware of where it is stored.
[実施例] 第1図は本発明の全体構成の一例である。[Example] FIG. 1 is an example of the overall configuration of the present invention.
図示の構成において、CPUは、マイクロプロセッサで
あり、文字処理のための演算、論理判断等を行ない、ア
ドレスバスAB、コントロールバスCB、データバスD
Bを介して、それらのバスに接続された各構成要素を制
御する。In the illustrated configuration, the CPU is a microprocessor that performs calculations, logical judgments, etc. for character processing, and uses an address bus AB, a control bus CB, and a data bus D.
B to control each component connected to those buses.
また、アドレスバスABは、マイクロプロセッサCPU
の制御の対象とする構成要素を指示するアドレス信号を
転送する。コントロールバスCBはマイクロプロセッサ
CPUの制御の対象とする各構成要素のコントロール信
号を転送して印加する。データバスDBは各構成機器相
互間のデータの転送を行なう。Further, the address bus AB is connected to the microprocessor CPU.
Transfers an address signal indicating the component to be controlled by the controller. The control bus CB transfers and applies control signals for each component to be controlled by the microprocessor CPU. The data bus DB transfers data between each component device.
次にROMは、読出し専用の固定メモリであり、第7図
〜第9図につき後述するマイクロプロセッサCPUによ
る制御の手順等を記憶させてお(。Next, the ROM is a read-only fixed memory, and stores control procedures and the like by the microprocessor CPU, which will be described later with reference to FIGS. 7 to 9.
またRAMは、lワード16ビツトの構成の書込み可能
のランダムアクセスメモリであって、各構成要素からの
各種データの一時記憶に用いる。The RAM is a writable random access memory of 1 word and 16 bits, and is used for temporary storage of various data from each component.
TITLEDATは見出しデータであり、後述する文書
バッファTB’UFに蓄えられた文字列のうち、見出し
部分を蓄えて行くことにより、装置に記憶される文書に
関して、その見出し部分を、文書名と共に、記憶するた
めのメモリである。TITLEDAT is heading data, and by storing the heading part of the character strings stored in the document buffer TB'UF, which will be described later, the heading part is stored together with the document name for the document stored in the device. It is a memory for
TBUFは文書バッファであり、キーボードKBより入
力された文書情報を蓄えるためのメモリである。TBUF is a document buffer, which is a memory for storing document information input from the keyboard KB.
TBUFNAMEは、文書バッファTBUFに蓄えられ
ている文書の文書名を蓄えるバッファである。文書名は
、1文字につき2バイトで表し、ここでは11文字まで
格納することができるものとする。文字はJISXO2
08コードを使用し、文字が格納されていない領域には
Oが埋められている。TBUFNAME is a buffer that stores the document name of the document stored in the document buffer TBUF. The document name is represented by 2 bytes per character, and here it is assumed that up to 11 characters can be stored. Characters are JISXO2
08 code is used, and areas where no characters are stored are filled with O's.
iは変数で、見出しデータの中のある見出しを指すため
に、先頭の見出しから何番目であるかを表わす順位が格
納される。i is a variable, and in order to point to a certain heading in the heading data, a rank representing the number from the first heading is stored.
KBはキーボードであって、アルファベットキー、ひら
がなキー、カタカナキー等の文字記号人カキ−1及び、
編集キー、見出し編集キーの本文字処理装置の有する各
種機能の実行を指示するための各種のファンクションキ
ーを備えている。KB is a keyboard with character symbols such as alphabet keys, hiragana keys, katakana keys, etc.
It is provided with various function keys for instructing the execution of various functions of this character processing device, such as an edit key and a heading edit key.
DISKは文書データなどを記憶するための補助記憶装
置で、作成された文書の保存を行ない、保存された文書
はキーボードの指示により、必要な時呼び出される。The DISK is an auxiliary storage device for storing document data, etc., and stores created documents, and the stored documents can be called up when necessary by instructions from the keyboard.
CRはカーソルレジスタであり、その内容は、CPUに
より読み書きできる。後述するCRTコントローラCR
TCは、このカーソルレジスタORに蓄えられたアドレ
スに対する表示装置CRT上の位置にカーソルを表示す
る。CR is a cursor register, the contents of which can be read and written by the CPU. CRT controller CR (described later)
TC displays a cursor at the position on the display device CRT corresponding to the address stored in this cursor register OR.
DBUFは表示用バッファメモリで、TBUFやT’I
TLEDATに蓄えられた文字情報等のパターンを蓄え
る。DBUF is a display buffer memory, and TBUF and T'I
Stores patterns such as character information stored in TLEDAT.
CRTコントローラCRTCは、カーソルレジスタCR
及び表示バッファDBUFに蓄えられた内容を表示装置
CRTに表示する役割を担う。The CRT controller CRTC has a cursor register CR.
It also plays the role of displaying the contents stored in the display buffer DBUF on the display device CRT.
また、CRTは陰極線管等を用いた表示装置であり、そ
の表示装置CRTにおけるドツト構成のパターンおよび
カーソルの表示をCRTコントローラで制御する。Further, a CRT is a display device using a cathode ray tube or the like, and the display of a dot configuration pattern and a cursor on the display device CRT is controlled by a CRT controller.
さらに、CGはキャラクタジェネレータであって、表示
装置CRTに表示する文字、記号のパターンを記憶する
ものである。Furthermore, CG is a character generator that stores patterns of characters and symbols to be displayed on the display device CRT.
かかる各構成要素からなる本発明文字処理装置において
は、キーボードKBからの各種の入力に応じて作動する
ものであって、キーボードKBからの人力が供給される
と、まず、インタラブド信号がマイクロプロセッサCP
Uに送られ、そのマイクロプロセッサCPUがROM内
に記憶しである各種の制御信号を読出し、それらの制御
信号に従って、各種の制御が行なわれる。The character processing device of the present invention, which is composed of each of these components, operates in response to various inputs from the keyboard KB, and when human power is supplied from the keyboard KB, an interwoven signal is first sent to the microprocessor CP.
The microprocessor CPU reads various control signals stored in the ROM, and various controls are performed in accordance with these control signals.
第2図から第4図までは、本発明における画面表示の例
である。2 to 4 are examples of screen displays according to the present invention.
第2図は、文書編集画面の一例である。この状態では、
キー人力に応じて、文字処理装置の各処理が行われる。FIG. 2 is an example of a document editing screen. In this state,
Each process of the character processing device is performed according to key human power.
例えば、文字キーの入力が行われたときには、その文字
が画面上に表示される。For example, when a character key is input, the character is displayed on the screen.
第2図の状態で、「見出し編集キー」が入力されると、
第3図のような、見出し一覧表示画面が表示される。When the "Heading Edit Key" is input in the state shown in Figure 2,
A heading list display screen as shown in FIG. 3 is displayed.
第3図の画面では、記憶されている全文書の全ての見出
しが一覧表示される。各見出しの右側には、その見出し
が存在する文書の文書ファイル名が表示される。また、
特にその見出しが存在する文書が、現在文書バッファT
BUF上に存在するときには、その文書ファイル名は編
み掛は等の文字修飾が施されて、他と区別可能に表示さ
れる。The screen shown in FIG. 3 displays a list of all headings of all stored documents. The document file name of the document in which the heading exists is displayed on the right side of each heading. Also,
In particular, if the document in which the heading exists is currently in the document buffer T
When the document file name exists on the BUF, the document file name is decorated with characters such as knitting and so on, so that it can be distinguished from others.
第3図では、「だから「走れメロス」は恥かしい」から
「青島幸男へのラブレター」までの見出しを持つ文章は
、文書ファイル名「世間はスラ1」なる文書中にあり、
この文書が文書バッファTBUF上に存在することを意
味している。In Figure 3, sentences with headings ranging from ``That's why 'Run, Meros' is embarrassing'' to ``A love letter to Yukio Aoshima'' are in a document with the document file name ``Sekai wa Sura 1.''
This means that this document exists on the document buffer TBUF.
第3図の状態で、カーソルが移動され、「実行キー」が
入力されると、カーソルで指示されている見出しが存在
する文書を編集可能な状態にすることができる。When the cursor is moved in the state shown in FIG. 3 and the "execute key" is input, the document containing the heading indicated by the cursor can be made editable.
第4図は、第3図の状態で「実行キー」が入力されたた
め、「創作「西伊豆の逆さ婆」」が存在する文書「世間
はスラ、4」が編集できるようになった状態を示してい
る。Figure 4 shows a state in which the document ``Sekai wa Sura, 4'' in which ``Creation ``The Upside Down Babe of Nishiizu'' exists can now be edited because the ``execute key'' was input in the state shown in Figure 3. ing.
第5図は、本発明における見出しデータTITLEDA
Tの構成を示した図である。FIG. 5 shows the heading data TITLEDA in the present invention.
It is a figure showing the composition of T.
見出しデータTITLEDATは、見出し文字列Fと文
書名Fとの組み合わせをルコードとしたデータ構造であ
る。そして、文言バッファTBUFに存在する見出しが
更新される度に、見出しデータも一緒に更新される。The heading data TITLEDAT has a data structure in which a combination of a heading character string F and a document name F is used as a code. Each time the heading existing in the wording buffer TBUF is updated, the heading data is also updated.
見出し文字列Fば、見出しの文字列を格納するフィール
ドであり、1文字2バイトで64文字分のデータが、J
ISX0208コードを使用して格納される。文字が格
納されていない領域はOか埋められている。Heading string F is a field that stores the heading string, and the data for 64 characters (each character is 2 bytes) is stored in J.
Stored using ISX0208 code. Areas where no characters are stored are filled with O's.
文書名Fは、文書名を格納するフィールドであり、1文
字2バイトで11文字分のデータが、JISXO208
コードを使用して格納される。Document name F is a field that stores the document name, and the data for 11 characters (1 character, 2 bytes) is JISXO208
Stored using code.
文字が格納されていない領域は0が埋められている。Areas where no characters are stored are filled with 0's.
見出しデータのレコードは、先頭から詰められて格納さ
れており、最終レコードの次のアドレスには、0FFh
が格納されていて、見出しデータの終端を検出すること
ができる。Header data records are packed and stored from the beginning, and the address following the last record is 0FFh.
is stored, and the end of the heading data can be detected.
第6図は本発明における文書バッファTBUFに格納さ
れる文書データの構成を示す図である。FIG. 6 is a diagram showing the structure of document data stored in the document buffer TBUF in the present invention.
第6図(a)は、文書バッファTBUFがいくつかの行
データに区分されて格納されていることを示す。各行デ
ータに対して文書座標が割り付けられ、例えば、1行目
のデータを指示するときは文書座標のY座標をy=lと
設定するものとする。FIG. 6(a) shows that the document buffer TBUF is stored divided into several lines of data. Document coordinates are assigned to each line of data, and for example, when specifying the first line of data, the Y coordinate of the document coordinates is set to y=l.
各行データの長さは固定であり、1行128バイトで構
成される。The length of each line data is fixed, and each line consists of 128 bytes.
第6図(b)は、各行データの構造を示す図である。行
データは64個の文字データより構成される。各文字デ
ータに対して文書座標が割り付けられ、例えば、1文字
目のデータを指示するときは、文書座標のX座標をx=
1と設定するものとする。各文字データの長さは固定で
あり、1文字2バイトで構成される。FIG. 6(b) is a diagram showing the structure of each row of data. The line data consists of 64 character data. Document coordinates are assigned to each character data. For example, when specifying the first character data, the X coordinate of the document coordinates is x =
It shall be set to 1. The length of each character data is fixed, and each character consists of 2 bytes.
文字データにはJISXO208コードを使用し、文書
データ中で文字が格納されていない領域にはOが埋めら
れている。また、JISXO208コードのほかに、み
ずから定義した見出しの先頭に入力する見出し記号コー
ドも使用されている。文書データのうち、見出し記号コ
ードで始まる1行の文字列は見出し文字列として通常の
文字とは区別して処理される。The JISXO208 code is used for the character data, and O's are filled in areas where no characters are stored in the document data. In addition to the JISXO208 code, a heading symbol code that is entered at the beginning of a heading that you define is also used. In the document data, a character string in one line starting with a heading symbol code is processed as a heading character string to be distinguished from normal characters.
第6図fc)は文書データTBUFの文字の格納例であ
る。ここでは、見出し記号コードとして、II’ y
J+が使用されている。FIG. 6 fc) is an example of storing characters of document data TBUF. Here, the heading symbol code is II' y
J+ is used.
第7図から第9図までは、本発明における見出し一覧表
示処理等の各処理を説明するフローチャートである。7 to 9 are flowcharts illustrating each process such as the heading list display process in the present invention.
上述の実施例の動作をフローチャートに従って説明する
。The operation of the above embodiment will be explained according to a flowchart.
第7図は、処理全体のフローチャートである。FIG. 7 is a flowchart of the entire process.
ステップ57−1では、キーボードよりキーが押下され
、割り込みが発生するのを待つ。キーが人力されると、
ステップ57−2により、キーの種類に応じてステップ
57−3.57−4のいずれかのステップに分岐する。In step 57-1, a key is pressed on the keyboard and waits for an interrupt to occur. When the key is manually pressed,
At step 57-2, the process branches to either step 57-3 or 57-4 depending on the type of key.
ステップ57−3は「見出し編集キー」が押下されたと
きの処理であり、見出しデータTITLEDATに格納
されている内容を画面に表示する等の処理を行う。Step 57-3 is a process performed when the "headline edit key" is pressed, and processes such as displaying the contents stored in the headline data TITLEDAT on the screen are performed.
ステップ57−4は「見出し編集キー」以外のキー(例
えば文字キーや、カーソル移動キー)を入力した場合の
処理であり、同種の文字処理装置において一般に行なわ
れている処理であり、公知であるので特に記述しない。Step 57-4 is a process that is performed when a key other than the "heading edit key" (for example, a character key or a cursor movement key) is input, and is a process that is generally performed in the same type of character processing device and is a well-known process. Therefore, I will not specifically describe it.
第8図は本発明における見出し編集処理(ステップS7
−3)を詳細化したフローチャートである。FIG. 8 shows the heading editing process (step S7) in the present invention.
-3) is a detailed flowchart.
ステップ58−1は、見出しデータTITLEDATを
更新する処理である。文書バッファTBUF中の文書の
編集時において、文書中の見出しに対しても何らかの編
集操作を加えることができる。そこで、この編集の実行
に応じて、見出しデータTITLEDATを更新する。Step 58-1 is a process of updating the headline data TITLEDAT. When editing a document in the document buffer TBUF, some editing operations can also be applied to headings in the document. Therefore, the heading data TITLEDAT is updated in accordance with the execution of this editing.
この処理は次のように行なわれる。先ず、見比しデータ
T ITLEDATのレコードのうち、文書名FがTB
AFNAMEに格納されている文書名と同じレコードを
全て削除し、次に、文書バッファTBUFに格納されて
いる文書中から見出し文字列を見出し記号によって抽出
し、TBUFNAMEに格納されている文書名と共に見
出しデータTITLEDATに格納する。This process is performed as follows. First, among the records of comparison data TITLEDAT, the document name F is TB.
Delete all records with the same document name stored in AFNAME, then extract the heading string from the document stored in the document buffer TBUF using the heading symbol, and add the heading along with the document name stored in TBUFNAME. Store in data TITLEDAT.
ステップ58−2は、見出しを、見出しの存在する文書
名と共に画面に一覧表示する処理である。表示した結果
は、第3図のようになる。このとき、見出しを指定した
り、書き換えたりするために画面上にカーソルが表示さ
れる。また、表示される文書名のうち、TBUFNAM
Eに格納されている文書名と同じ文書名については、通
常の表示とは異なり、網掛は等の文字修飾が施されて表
示される。これは、文書バッファTBUF上にその文書
が、その見出しを含んで存在することを意味する。Step 58-2 is a process of displaying a list of headings on the screen together with the names of documents in which the headings exist. The displayed results are as shown in Figure 3. At this time, a cursor is displayed on the screen to specify or rewrite the heading. Also, among the displayed document names, TBUFNAM
A document name that is the same as the document name stored in E is displayed with character modification such as shaded area, etc., unlike the normal display. This means that the document including its heading exists on the document buffer TBUF.
次に、ステップ58−3において、キーボードよりキー
が押下され、割り込みが発生するのを待つ。キーが入力
されると、ステップ58−4により、キーの種類に応じ
て58−5、S8−10、S8−11のいずれかのステ
ップに分岐する。Next, in step 58-3, a key is pressed on the keyboard and waits for an interrupt to occur. When a key is input, the process branches from step 58-4 to steps 58-5, S8-10, and S8-11 depending on the type of key.
ステップ58−5は「実行キー」が押下されたときの処
理である。Step 58-5 is a process performed when the "execute key" is pressed.
カーソル位置の見出しが存在する文書を編集したいとき
に、「実行キー」が入力される。When a user wants to edit a document containing a heading at the cursor position, the "execute key" is input.
ステップ58−5では、TBUFに蓄えられている文書
の文書名TBUFNAMEと、見出し一覧表示画面上の
カーソルの位置する見出し文字列の右側に表示されてい
る文書名とを、比較する。In step 58-5, the document name TBUFNAME of the document stored in TBUF is compared with the document name displayed on the right side of the heading character string where the cursor is located on the heading list display screen.
比較の結果、一致しないときには、RAM上には目的の
文書が存在しないので、処理をステップ58−6に進め
る。一致したときには、RAM上に目的の文書が存在す
るので、ステップ−88−8に進む。As a result of the comparison, if there is no match, the target document does not exist on the RAM, and the process proceeds to step 58-6. If they match, the target document exists on the RAM, so the process advances to step -88-8.
一方、目的の文書がRAM上にないときは、先ず、ステ
ップ58−6において、現在RAM上に存在する文書を
、TBUFNAMEに格納されている文書名を文書ファ
イル名として、補助記憶装置DISKに保存し、続いて
、ステップ58−7で、補助記憶装置DISKより目的
の文書ファイルを呼び出す処理を行う。呼び出す文書フ
ァイルは、見出し表示画面上でカーソルで指示された見
出し文字列の右側に表示されている文書名を持つ文書フ
ァイルである。文書ファイルが呼び出されると、呼び出
された文書名がTBUFNAMEに格納される。On the other hand, if the target document is not on the RAM, first, in step 58-6, the document currently existing on the RAM is saved in the auxiliary storage device DISK with the document name stored in TBUFNAME as the document file name. Then, in step 58-7, the process of calling the target document file from the auxiliary storage device DISK is performed. The document file to be called is the document file whose name is displayed on the right side of the heading character string indicated by the cursor on the heading display screen. When a document file is called, the name of the called document is stored in TBUFNAME.
ステップ58−6の文書の保存、及び、ステップ58−
7の文書の呼出しが正常に終了すると、ステップ58−
8に進む。Saving the document in step 58-6 and step 58-
7 is successfully completed, step 58-
Proceed to step 8.
ステップ88−8は、見出し文字列書換え処理である。Step 88-8 is a heading character string rewriting process.
入力されたキーに対応する文字コードを見出しデータT
ITLEDATの該当するレコードの該当する位置に挿
入して格納する。該当するレコードとは、見出し一覧表
示画面上でカーソルの位置する見出しである。入力され
たキーが削除キーのときには、1文字削除して、文字列
を詰める処理を行なう。The character code corresponding to the input key is displayed as header data T.
Insert and store at the appropriate position of the applicable record in ITLEDAT. The corresponding record is the heading where the cursor is located on the heading list display screen. When the input key is a delete key, one character is deleted and the character string is filled in.
ステップ58−9は、文書データ書換え処理である。入
力されたキーに対応する文字コードを文書バッファTB
UFの該当する位置に挿入する。Step 58-9 is document data rewriting processing. The character code corresponding to the input key is stored in the document buffer TB.
Insert it into the appropriate position of UF.
入力されたキーが削除キーのときには、1文字削除して
、文字列を詰める処理を行なう。When the input key is a delete key, one character is deleted and the character string is filled in.
ステップS8−10は、見出しデータ作成処理である。Step S8-10 is a heading data creation process.
補助記憶装置DISKに格納されている各文書ファイル
の文書データから、見出し文字列を抽出し、見出しデー
タT ITLEDATに格納する。先ず、補助記憶装置
DISKに格納されている文書ファイルを1つ、文書バ
ッファTBUFに呼び出す。文書ファイルを呼び出すと
、TBUFNAMEに呼び出した文書名を格納する。次
に、文書バッファTBUFに格納されている文書中から
見出し文字列を抽出し、TBUFNAMEに格納されて
いる文書名と共に見出しデータTITLEDATに格納
する。この処理を補助記憶装置DISKに存在する文書
ファイルに対して、必要なだけ繰り返して行なう。A heading character string is extracted from the document data of each document file stored in the auxiliary storage device DISK and stored in heading data TITLEDAT. First, one document file stored in the auxiliary storage device DISK is called into the document buffer TBUF. When a document file is called, the name of the called document is stored in TBUFNAME. Next, a heading character string is extracted from the document stored in the document buffer TBUF and stored in heading data TITLEDAT together with the document name stored in TBUFNAME. This process is repeated as many times as necessary for document files existing in the auxiliary storage device DISK.
ステップS8−11は、実行キー、文字キー、削除キー
以外のキーが人力されたときの処理であり、通常の文字
処理装置において一般に行なわれてる書であるので、そ
の内容は特に記述しない。Step S8-11 is a process performed when a key other than the execution key, character key, or delete key is pressed manually, and is commonly performed in a normal character processing device, so its contents will not be particularly described.
第9図は、本発明における見出し一覧表示処理(ステッ
プS8−2)を詳細化したフローチャートである。FIG. 9 is a detailed flowchart of the heading list display process (step S8-2) in the present invention.
ステップ59−1は、タイトル文字を画面に表示する処
理である。この例では、第3図の1行目に表示されてい
るように、「見出し」と「文書名」との2つを表示する
。表示とはデータをパターンに展開し、表示バッファに
出力するという通常広く行われている処理である。Step 59-1 is a process of displaying title characters on the screen. In this example, two items, ``heading'' and ``document name,'' are displayed as shown in the first line of FIG. 3. Display is a commonly used process of developing data into a pattern and outputting it to a display buffer.
ステップ59−2は、変数iを初期化する処理である。Step 59-2 is a process of initializing variable i.
先頭の見出しから表示するために、変数iに1を代入す
る。In order to display from the first heading, 1 is assigned to the variable i.
ステップ89−3は、見出しデータT I TLEDA
Tのi番目の見出しが存在するかどうかをチエツクして
、場合に応じて分岐する処理である。Step 89-3 includes the heading data T I TLEDA.
This is a process that checks whether the i-th heading of T exists or not, and branches depending on the situation.
見出しデータのi番目の先頭にro F F hJが格
納されているときには、これ以降の見出し文字列は存在
しないので、見出し一覧表示処理を終了する。When ro F F hJ is stored at the beginning of the i-th heading data, there are no subsequent heading character strings, so the heading list display process ends.
見出しデータのi番目の先頭にrOFFhJ以外のコー
ドが格納されているときには、見出し文字列が存在する
ので、処理をステップ59−4に進める。If a code other than rOFFhJ is stored at the beginning of the i-th heading data, a heading character string exists, and the process proceeds to step 59-4.
ステップ89−4は、見出しデータのi番目の見出し文
字列Fに格納された文字列を表示する処理である。表示
とはデータをパターンに展開し、表示バッファに出力す
るという通常広(行われている処理である。Step 89-4 is a process of displaying the character string stored in the i-th heading character string F of the heading data. Display is a process that is commonly performed by developing data into patterns and outputting them to a display buffer.
ステップ59−5は、見出しデータのi番目の文書名F
に格納された文字列を表示する処理である。ステップ5
9−4で表示した見出し文字列の右側に表示する。Step 59-5 is the i-th document name F of the heading data.
This is the process of displaying the string stored in . Step 5
It is displayed on the right side of the heading character string displayed in 9-4.
ステップ59−6は、TBUFに蓄えられている文書に
対する文書名TBUFNAMEと、見出しデータのi番
目の文書名Fに格納された文字列とを比較する処理であ
る。比較の結果、一致するときには、処理をステップ5
9−7に進める。不一致のときには、処理をステップ5
9−8に進める。Step 59-6 is a process of comparing the document name TBUFNAME of the document stored in TBUF with the character string stored in the i-th document name F of the heading data. If the comparison results in a match, the process goes to step 5.
Proceed to 9-7. If there is a mismatch, the process goes to step 5.
Proceed to 9-8.
ステップ59−7は、文字修飾処理である。ステップ5
9−5で表示した文書名に、網掛は等の文字修飾を施す
処理である。したがって、TBUFに蓄えられている見
出しの文書名が文字修飾されることになる。Step 59-7 is character modification processing. Step 5
This is a process of modifying the document name displayed in step 9-5 with characters such as shading. Therefore, the document name of the heading stored in the TBUF is modified with characters.
ステップ59−8は、変数iを更新する処理である。次
に格納されている見出しにアクセスするために、変数i
をインクリメントし、処理をステップ59−3に進める
。Step 59-8 is a process of updating variable i. To access the heading stored next, use the variable i
is incremented, and the process proceeds to step 59-3.
本実施例においては、文書中に存在する見出しを例に説
明したが、本発明は、見出しに限定する必要はなく、例
えば、所定のキーワード、文書の書き出しの部分とする
こともできる。すなわち、文書データの一部分で、他の
部分と区別可能な形式のものであれば、本発明の主旨を
損なわずに、適用可能となる。Although the present embodiment has been described using an example of a heading existing in a document, the present invention does not need to be limited to headings, and may be used, for example, as a predetermined keyword or the beginning part of a document. That is, the present invention can be applied to any portion of document data that has a format that can be distinguished from other portions without detracting from the spirit of the present invention.
〔発明の効果]
以上説明したように、本発明によれば、文書ファイルを
、見出し等の文書の一部分で管理できるため、文書にフ
ァイル名をつけて保存する際に、内容を表すメモなどを
新たに作成して付加するような工夫をしなくても、文書
の内容を簡単に示すことができるようになる。[Effects of the Invention] As explained above, according to the present invention, a document file can be managed using parts of the document such as headings, so when saving a document with a file name, it is possible to save a document with a memo indicating the contents. It becomes possible to easily indicate the contents of a document without creating or adding new information.
更に、これにより、その文書を呼び出す等の処理を行わ
なくても、文書ファイルに記述されている内容が容易に
理解できるようになった。Furthermore, this makes it possible to easily understand the contents written in a document file without having to carry out processing such as calling up the document.
また、見出し等の文字列を指定して文書を呼び出す際に
、その文書がどの記憶部に記憶されているかを、操作者
が意識せずに実行できる。Furthermore, when calling up a document by specifying a character string such as a heading, the operator can do so without being aware of which storage unit the document is stored in.
第1図は、本発明1実施例における文字処理装置のブロ
ック構成図、
第2図は、文書編集画面の例を示す図、第3図は、見出
し表示画面の例を示す図、第4図は、文書呼出し後の文
書編集画面例を示す図、
第5図は、見出しデータの構成例を示す図、第6図(a
)〜(c)は、文書データの構成例を示す図、
第7図は、全体の処理のフローチャート、第8図は、見
出し編集全体の処理のフローチャート、
第9図は、見出し一覧表示処理のフローチャートである
。
CPU ・・・マイクロプロセッサROM
・・・固定メモリ
RAM ・・・ランダムアクセスメモリDI
SK ・・・補助記憶装置KB
・・・キーボード
CR・・・カーソルレジスタ
DBUF ・・・表示バッファCRT
・・・表示装置
CRTC・・・表示コントローラ
CG ・・・キャラクタジェネレータTI
TLEDAT・・・見出しデータ
TBUF ・・・文書バッファTBUFNAM
E・・・文書名
第4図
ヒ
見出し文字列F(64文字)
→文書名F(11文字)月
第5図
第6図
(a)
文字データ
x=1
x=2
x=3
X=64
第6図
(b)
第7図
格納例
第6図
(c−)
第8図FIG. 1 is a block diagram of a character processing device according to a first embodiment of the present invention; FIG. 2 is a diagram showing an example of a document editing screen; FIG. 3 is a diagram showing an example of a heading display screen; FIG. 5 is a diagram showing an example of the document editing screen after document recall, FIG. 5 is a diagram showing an example of the structure of heading data, and FIG.
) to (c) are diagrams showing an example of the structure of document data, FIG. 7 is a flowchart of the overall processing, FIG. 8 is a flowchart of the entire heading editing process, and FIG. 9 is a heading list display processing flowchart. It is a flowchart. CPU...Microprocessor ROM
...Fixed memory RAM ...Random access memory DI
SK...Auxiliary storage device KB
...Keyboard CR...Cursor register DBUF ...Display buffer CRT
...Display device CRTC...Display controller CG...Character generator TI
TLEDAT...Heading data TBUF...Document buffer TBUFNAM
E... Document name Figure 4 Heading character string F (64 characters) → Document name F (11 characters) Month Figure 5 Figure 6 (a) Character data x=1 x=2 x=3 X=64 Figure 6 (b) Figure 7 Storage example Figure 6 (c-) Figure 8
Claims (2)
記憶する第3の記憶手段と、 前記内部記憶手段に記憶されている文書を編集するため
の編集手段と、 該編集手段によって、前記所定の形式の文字列が作成・
修正されたときに、前記第3の記憶手段の記憶内容を対
応して更新する更新手段と、文字を表示するための表示
手段と、 前記所定の文字列を一覧表示することを指示する指示手
段と、 該指示を受けたときに、前記第3の記憶手段に記憶され
た前記所定の形式の文字列を当該文字列が含まれる文書
の文書名と対応付けて前記表示手段に一覧表示するよう
に制御する制御手段と、前記内部記憶手段に記憶されて
いる文書の文書名を記憶する文書名記憶手段と、 該文書名記憶に記憶された文書名と、前記第3の記憶手
段に記憶された文書名とを比較する比較手段と、 前記一覧表示された所定の文字列中の所望の文字列を指
定して、当該文字列の含まれる文書の表示を指示する第
2の指示手段と、 該第2の指示手段の指示を受けて、前記第3の記憶手段
に記憶された文書名に基づいて、指定された文字列に対
応する文書を表示する際に、前記比較手段によって一致
した文書名に対しては、内部記憶手段に記憶された文書
を表示し、不一致であった文書名に対しては、その文書
を外部記憶手段より呼び出して、表示するように制御す
る第2の制御手段を有することを特徴とする文字処理装
置。(1) Internal storage means for storing documents; External storage means for storing documents; Third storage means for storing a character string in a predetermined format in a document together with the document name of the document; and the internal storage means. an editing means for editing a document stored in the means; and a character string in the predetermined format created and created by the editing means.
updating means for updating the stored content of the third storage means when the content is modified; display means for displaying characters; and instruction means for instructing to display a list of the predetermined character strings. and, upon receiving the instruction, display a list of character strings in the predetermined format stored in the third storage means on the display means in association with document names of documents containing the character strings. a control means for controlling a document name stored in the internal storage means; a document name storage means for storing a document name of a document stored in the internal storage means; a second instruction means for specifying a desired character string among the predetermined character strings displayed in the list and instructing display of documents containing the character string; When displaying a document corresponding to a designated character string based on the document name stored in the third storage means in response to an instruction from the second instruction means, a document matched by the comparison means is displayed. a second control means for displaying the document stored in the internal storage means for the name of the document; and for controlling the document name that does not match, calling the document from the external storage means and displaying the document; A character processing device characterized by having:
比較手段によって文書名が不一致であったときに、その
文書を外部記憶手段より呼び出すのに先立って、その時
点で内部記憶手段に記憶されている文書を前記文書名記
憶手段に記憶されている文書名で、前記外部記憶手段に
記憶させるように制御する第3の制御手段を有すること
を特徴とする請求項第1項に記載の文字処理装置。(2) When receiving the instruction from the second instruction means, if the document names do not match according to the comparison means, at that point, the internal storage means Claim 1, further comprising third control means for controlling the document stored in the external storage means to be stored in the external storage means with the document name stored in the document name storage means. The character processing device described.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2157012A JPH0452860A (en) | 1990-06-15 | 1990-06-15 | Character processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2157012A JPH0452860A (en) | 1990-06-15 | 1990-06-15 | Character processor |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0452860A true JPH0452860A (en) | 1992-02-20 |
Family
ID=15640252
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2157012A Pending JPH0452860A (en) | 1990-06-15 | 1990-06-15 | Character processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0452860A (en) |
-
1990
- 1990-06-15 JP JP2157012A patent/JPH0452860A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3480958B2 (en) | Character file access method | |
| JPH0452859A (en) | character processing device | |
| JPS62177654A (en) | Document producer | |
| JPH0452860A (en) | Character processor | |
| JPS6365988B2 (en) | ||
| JPH0620185Y2 (en) | Small electronic devices | |
| JP3160926B2 (en) | Document creation device | |
| JP2786260B2 (en) | Kana-Kanji conversion device | |
| JPH0193857A (en) | Document printer | |
| JP3599349B2 (en) | Word book creation apparatus and method | |
| JP2967488B2 (en) | Document editing device | |
| JPH0728812A (en) | Document creation device | |
| JPH0233660A (en) | Document editing device | |
| JPH02161557A (en) | character processing device | |
| JPS63282561A (en) | Document processing system | |
| JPH0736937A (en) | Electronic book with resuming return function | |
| JPH0410163A (en) | document processing device | |
| JPH02165262A (en) | character processing device | |
| JPS62229316A (en) | Character processor | |
| JPH02163869A (en) | Character processor | |
| JPH069043B2 (en) | Character processing method | |
| JPH0452853A (en) | character processing device | |
| JPH0628062B2 (en) | Character processing apparatus and method | |
| JPH03273446A (en) | document editing device | |
| JPH0452852A (en) | Character processor |