JPH09218871A - Document data processor - Google Patents
Document data processorInfo
- Publication number
- JPH09218871A JPH09218871A JP9085563A JP8556397A JPH09218871A JP H09218871 A JPH09218871 A JP H09218871A JP 9085563 A JP9085563 A JP 9085563A JP 8556397 A JP8556397 A JP 8556397A JP H09218871 A JPH09218871 A JP H09218871A
- Authority
- JP
- Japan
- Prior art keywords
- character string
- document
- data
- character
- location
- 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.)
- Granted
Links
Abstract
Description
【0001】[0001]
【発明の屬する技術分野】この発明はワードプロセッサ
やパーソナルコンピュータ等の文書処理装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document processing device such as a word processor or personal computer.
【0002】[0002]
【従来の技術】従来、ワードプロセッサにおいて、項分
け文書を作成する場合、例えば、大項目、中項目、小項
目の見出し部分に番号、記号等を付けるが、その際、各
見出し部分の桁位置は大項目、中項目、小項目毎に全て
揃っていた方が文書全体の見栄えが良くなる。このよう
に項目レベル毎に見出し部分の頭揃えを行う為には、あ
る項目の見出しを入力する際、既に作成済の当該項目レ
ベルに対応する見出し部分を表示画面上で確認し、この
桁位置に合せてデータを入力するようにしていた。2. Description of the Related Art Conventionally, in a word processor, when an itemized document is created, for example, headings for large items, medium items, and small items are given numbers, symbols, etc. The appearance of the entire document will be better if all of the large items, medium items, and small items are prepared. In this way, in order to perform heading alignment for each item level, when entering a certain item's heading, check the heading corresponding to the item level already created on the display screen I was trying to input data according to.
【0003】[0003]
【発明が解決しようとする課題】しかしながら、既に作
成した文書内から同一項目レベルの見出し文字列を探す
手間、その文字列の先頭桁位置を確認する手間、更には
新しい見出し位置にカーソルが来るように位置調整する
手間が必要となり、画面切替操作やカーソル移動操作等
を必要とする為、キー操作が煩雑化して時間を要し、項
分け文書等を効率良く入力することができないという欠
点があった。この発明の課題は、文書データがその内容
によって区切られる必要がある場合に、自動的に区切ら
れる前後の文書データを見やすい配置にすることができ
るようにすることである。However, it is troublesome to search for a heading character string of the same item level in a document that has already been created, to check the leading digit position of the character string, and to move the cursor to a new heading position. Since it requires time and effort to adjust the position, screen switching operation and cursor movement operation, key operation becomes complicated and time consuming, and there is a disadvantage that itemized documents etc. can not be input efficiently. It was An object of the present invention is to make it possible to arrange the document data before and after being automatically delimited in an easy-to-see manner when the document data needs to be delimited by its contents.
【0004】[0004]
【課題を解決するための手段】この発明によれば、文書
処理装置は、文書データを記憶する文書記憶手段と、上
記文書データを改行コードで区切る際に、その区切られ
る前部分の文書データ内に含まれる特定文字データの桁
位置に合わせて、その区切られる後部分の文書データの
先頭桁位置を決定する桁位置決定手段とを具備したこと
を特徴とする。According to the present invention, a document processing apparatus includes a document storage unit for storing document data and a document data of a front part when the document data is separated by a line feed code. And a digit position determining means for determining the leading digit position of the document data of the divided rear part in accordance with the digit position of the specific character data included in.
【0005】[0005]
【発明の実施の形態】以下、図1〜図4を参照して一実
施形態を説明する。図1は文書データ処理装置(ワード
プロセッサ)のブロック構成図である。CPU11は予
めプログラムメモリ12内に格納されている各種のプロ
グラムにしたがって文書作成処理等を制御するもので、
キー入力部13から入力された文書データを取り込んで
表示部14から表示出力させたり、変換辞書メモリ15
を参照してかな漢字変換を行い、漢字混り文をRAM1
6内の文書メモリ16−1に格納する。DETAILED DESCRIPTION OF THE INVENTION An embodiment will be described below with reference to FIGS. FIG. 1 is a block diagram of a document data processing device (word processor). The CPU 11 controls document creation processing according to various programs stored in the program memory 12 in advance.
The document data input from the key input unit 13 is captured and displayed on the display unit 14, or the conversion dictionary memory 15 is used.
Kana-to-Kanji conversion is performed by referring to and the kanji-mixed sentence is stored in RAM1.
6 in the document memory 16-1.
【0006】RAM16は文書メモリ16−1の他に、
入力レジスタ16−2、文字列レジスタ16−3、桁位
置レジスタ16−4、整列テーブル16−5を有する構
成で、文書メモリ16−1は文書保存用のメモリで、文
書を文字コードで記憶する。なお、文書メモリ16−1
の内容はキー入力部13からの印刷指令に応答して読み
出され、印字部17から入力された文字データを一時記
憶し、また文字列レジスタ16−3は文書メモリ16−
1から読み出された文字列を一時記憶するワーク用のレ
ジスタである。桁位置レジスタ16−4は特定文字種の
組み合せから成る文字列が文書メモリ16−1内に既に
作成済である場合に、この作成済である文字列の桁位置
を記憶する。整列テーブル16−5は予め定められた特
定文字種の組み合せを記憶するもので、その内容はキー
入力部13から予めオペレータが任意に設定したもので
ある。[0006] The RAM 16 has, in addition to the document memory 16-1,
The document memory 16-1 is a memory for storing a document and has a character code to store the document in a configuration having an input register 16-2, a character string register 16-3, a digit position register 16-4, and an alignment table 16-5. . The document memory 16-1
Content is read in response to a print command from the key input unit 13, the character data input from the printing unit 17 is temporarily stored, and the character string register 16-3 is stored in the document memory 16-.
This is a work register for temporarily storing the character string read from 1. The digit position register 16-4 stores the digit position of the created character string when a character string including a combination of specific character types is already created in the document memory 16-1. The alignment table 16-5 stores combinations of predetermined specific character types, and the contents thereof are set by the operator in advance from the key input unit 13.
【0007】図2は整列テーブル16−5の具体例を示
し、各行には1組ずつ特定文字種の組み合せが記憶され
ている。なお、本実施例において整列テーブル16−5
の各行は4文字構成で、その各行には文字の種類を示す
コードがその組み合せ状態に応じて4文字分整列記憶さ
れている。ここで、図中「*」はどんな文字、スペース
等のコードでも良いことを、「ス/句」はスペースコー
ドあるいは句読点コードを示している。FIG. 2 shows a specific example of the alignment table 16-5, in which each line stores a combination of specific character types. In the present embodiment, the alignment table 16-5
Each line is composed of 4 characters, and the code indicating the type of character is aligned and stored in each line for 4 characters according to the combination state. Here, in the figure, "*" indicates that any code such as characters and spaces may be used, and "s / phrase" indicates a space code or a punctuation mark code.
【0008】次に、本実施形態の動作を図3および図4
を参照して説明する。図3のフローチャートは入力され
た文字データを文書メモリ16−1に1文字書き込む処
理に続けて実行されるもので、文字データが1文字入力
される毎に実行開始される。Next, the operation of this embodiment will be described with reference to FIGS.
This will be described with reference to FIG. The flowchart of FIG. 3 is executed subsequent to the process of writing one character of the input character data in the document memory 16-1, and is executed every time one character data is input.
【0009】先ず、入力された文字データは入力レジス
タ16−2に取り込まれて文書メモリ16−1に書き込
まれるが、この文字データが整列テーブル16−5内の
最後尾文字種と同じ文字種か否かを調べる(ステップS
1)。ここで、図2に示す如く整列テーブル16−5内
の各行における最後尾文字種は「記号」、「符号」、
「記号」であるから、文書メモリ16−1に書き込まれ
た文字データがそれらと同種の文字データでなければ、
そのままこのフローから抜けるが、同じ文字種であるこ
とがステップS1で検出されると、ステップS2に進
み、整列テーブル16−5の最大文字数分の入力文字列
を文書メモリ16−1から読み出し、文字列レジスタ1
6−3に書き込む。First, the input character data is fetched in the input register 16-2 and written in the document memory 16-1, and whether this character data is the same character type as the last character type in the alignment table 16-5 or not. (Step S
1). Here, as shown in FIG. 2, the last character type in each line in the alignment table 16-5 is “symbol”, “code”,
Since it is a “symbol”, if the character data written in the document memory 16-1 is not the same kind of character data as those,
If the same character type is detected in step S1, the process proceeds to step S2, the input character string for the maximum number of characters in the alignment table 16-5 is read from the document memory 16-1, and the character string is output. Register 1
Write in 6-3.
【0010】いま、図4(1)に示す様に「……ケコ。
b」に続いて記号「)」を入力すると、整列テーブル1
6−5内の最後尾文字種「記号」と一致する為、整列テ
ーブル16−5の最大文字数分(本実施例にあっては4
文字分)の文字列「コ。b)」が読み出され、文字列レ
ジスタ16−3に書き込まれる。なお、図4(2)に示
す如く、「クケコ。」を入力したのち改行し、「b)」
を次行の1桁目から入力すると、4文字分の文字列を文
書メモリ16−1から読み出す際、その一部が前行にか
かるが、このような場合、前行にかかる文字をスペース
として取り扱うようにしている。Now, as shown in FIG. 4 (1), "...
If you enter the symbol ")" after "b", the alignment table 1
Since it matches the last character type “symbol” in 6-5, the maximum number of characters in the alignment table 16-5 (4 in the present embodiment).
The character string "K.b)" for the character) is read and written in the character string register 16-3. As shown in Fig. 4 (2), after entering "Kukeko."
If you input from the first digit of the next line, when reading a character string of 4 characters from the document memory 16-1, part of it will be on the previous line. In such a case, the characters on the previous line will be treated as spaces. I try to handle it.
【0011】しかして、この入力列レジスタ16−3に
取り込んだ入力文字列と同じ文字種の組み合せが整列テ
ーブル16−5内に設定されているか否かを調べる(ス
テップS3)。ここで、図4(1)の場合、入力文字列
「コ。b)」は整列テーブル16−5内の1行目の組み
合せ「*、ス/句、英字、記号」と一致する。また、図
4(2)の場合の入力文字列、即ちスペース、スペー
ス、英字、記号から成る文字列「b)」も整列テーブル
16−5内の1行目の組み合せと一致する。このように
入力文字列と同じ文字種の組み合せが整列テーブル16
−5内に設定されていれば、それを条件に次のステップ
S4に進むが、設定されていなければ、このフローから
抜ける。Then, it is checked whether or not a combination of the same character types as the input character string fetched in the input string register 16-3 is set in the alignment table 16-5 (step S3). Here, in the case of FIG. 4 (1), the input character string "ko.b)" matches the combination "*, s / phrase, alphabet, symbol" on the first line in the alignment table 16-5. The input character string in the case of FIG. 4 (2), that is, the character string "b)" consisting of spaces, spaces, letters and symbols, also matches the combination of the first line in the alignment table 16-5. In this way, the combination of the same character type as the input character string is obtained in the alignment table 16
If it is set within -5, the process proceeds to the next step S4 under that condition, but if it is not set, the flow exits from this flow.
【0012】ステップS4は整列テーブル16−5内の
該当する組み合せと同種の文字列が文書メモリ16−1
内に記憶されているか否かを調べるもので、図4
(1)、(2)に示す場合、文書メモリ16−1内には
既に整列テーブル16−5の1行目の組み合せ「*、ス
/句、英字、記号」から成る文字列、つまり、スペー
ス、スペース、英字、記号から成る文字列「a)」が記
憶されているので、ステップS4で同種の文字列が既に
作成済であることが検出される。なお、この場合、同一
文書内を全て検索してもよいが、スピードアップの為に
前後の行で文字が実在する数行のみを検索対象としても
よい。In step S4, the same kind of character string as the corresponding combination in the alignment table 16-5 is stored in the document memory 16-1.
It is to check whether or not it is stored in
In the case of (1) and (2), a character string that is already formed in the document memory 16-1 by the combination "*, space / phrase, alphabet, symbol" on the first line of the alignment table 16-5, that is, a space. Since the character string "a)" consisting of, spaces, letters and symbols is stored, it is detected in step S4 that a character string of the same type has already been created. Note that in this case, the entire document may be searched, but for speeding up, only a few lines where characters actually exist in the preceding and following lines may be searched.
【0013】しかして、入力文字列と同種の文字列が文
書メモリ16−1内に無ければこのフローから抜ける
が、既に作成済であれば当該文字列が記憶されている文
書メモリ16−1内の桁位置を検出して桁位置レジスタ
16−4に記憶させる(ステップS5)。ここで、図4
(1)、(2)の場合、文字列「a)」の桁位置として
「4」が桁位置レジスタ16−4にセットされる。If there is no character string of the same type as the input character string in the document memory 16-1, then this flow is exited, but if it has already been created, it will be stored in the document memory 16-1. The digit position of is detected and stored in the digit position register 16-4 (step S5). Here, FIG.
In the cases (1) and (2), "4" is set in the digit position register 16-4 as the digit position of the character string "a)".
【0014】そして、次のステップS6に進み、文字列
レジスタ16−3内の該当文字列が含まれる文書メモリ
16−1内の同一行において、その左側の桁位置に文字
データが記憶されているか否かを調べる。この場合、文
字列レジスタ16−3内の該当文字列とはステップS4
で検出された文字列に対応するもので、図4(1)の場
合、文字列レジスタ16−3内の文字列「コ。b)」の
うち「b)」に相当する。しかして、図4(1)の場
合、該当文字列の同一行左側に文字データが有る為、該
当文字列以下の文を改行すると共に(ステップS7)、
桁位置レジスタ16−4内の桁位置までその文字列以下
の文を移動させる(ステップS8)。これによって、図
4(1)に示す如く、文字列「b)」は図中矢印方向へ
移動し、次行の4桁目に表示される。したがって、既入
力済の文字列「a)」と今回新たに入力した文字列
「b)」との桁位置が自動的に揃うようになる。Then, the process proceeds to the next step S6, and in the same line in the document memory 16-1 containing the character string in the character string register 16-3, is character data stored in the left column position? Check whether or not. In this case, the corresponding character string in the character string register 16-3 is the step S4.
In the case of FIG. 4 (1), it corresponds to "b)" of the character string "ko.b)" in the character string register 16-3. Then, in the case of FIG. 4 (1), since the character data exists on the left side of the same line of the corresponding character string, a sentence below the corresponding character string is broken (step S7),
The sentence below the character string is moved to the digit position in the digit position register 16-4 (step S8). As a result, as shown in FIG. 4 (1), the character string "b)" moves in the direction of the arrow in the figure and is displayed in the fourth digit of the next line. Therefore, the digit positions of the already input character string "a)" and the newly input character string "b)" are automatically aligned.
【0015】一方、図4(2)の場合、該当文字列の同
一行左側には文字データが無い為、ステップS7をスキ
ップしてステップB8に進み、桁位置レジスタ16−4
内の桁位置までその文字列以下の文を移動させる。これ
によって、図4(2)に示す如く、文字列「b)」は図
中矢印方向へ移動し、同一行の4桁目に表示される。こ
の場合においても文字列「a)」、「b)」との桁位置
は合致する。On the other hand, in the case of FIG. 4 (2), since there is no character data on the left side of the same line of the character string, step S7 is skipped and step B8 follows.
Move the sentence below the character string to the column position in. As a result, as shown in FIG. 4 (2), the character string "b)" moves in the direction of the arrow in the figure and is displayed at the fourth digit on the same line. Even in this case, the digit positions of the character strings "a)" and "b)" match.
【0016】なお、ステップS7、S8において、「文
字列以下の文」としたのは例えば既作成済の文書の途中
に戻って「c)」を挿入した場合、これ以下の文も
「c)」と共に移動される必要があるからである。した
がって、既作成の文書の後に、新たな文書を続けて追加
する場合の他に、既作成の文書中に新たな文書を挿入し
た場合にも見出し等に用いられる特定文字列は既に作成
した最初の対応文字列と同じ桁位置に合せられる。Incidentally, in steps S7 and S8, the "sentence below the character string" is, for example, when "c)" is inserted after returning to the middle of the already created document, the following sentences are also "c)". It is necessary to be moved with. Therefore, in addition to adding a new document after an already created document, when inserting a new document into an already created document, the specific character string used for the Is set to the same digit position as the corresponding character string.
【0017】なお、上記実施例は整列テーブル16−5
に任意の文字種を設定するようにしたが、予めメーカサ
イドによって固定的に決めた文字種であってもよい。ま
た、整列テーブル16−5の文字種としては文字の種類
のみならず、文字そのものであってもよい。In the above embodiment, the alignment table 16-5 is used.
Although an arbitrary character type is set in, the character type may be fixed in advance by the manufacturer side. Further, the character type of the alignment table 16-5 is not limited to the character type, but may be the character itself.
【0018】[0018]
【発明の効果】この発明によれば、文書データを改行コ
ードで区切る際に、その区切られる前部分の文書データ
内に含まれる特定文字データの桁位置に合わせて、その
区切られる後部分の文書データの先頭桁位置を決定する
ので、従来のように特別な操作をすることなく、区切り
が必要な文書データを見やすい配置で出力することが可
能となる。According to the present invention, when the document data is delimited by the line feed code, the demarcated rear part of the document is aligned with the digit position of the specific character data included in the delimited front part of the document data. Since the leading digit position of the data is determined, it is possible to output the document data that requires a delimiter in an easy-to-see arrangement without performing a special operation as in the past.
【図1】文書データ処理装置のブロック構成図。FIG. 1 is a block configuration diagram of a document data processing device.
【図2】整列テーブル16−5の内容を具体的に示した
図。FIG. 2 is a diagram specifically showing the contents of an alignment table 16-5.
【図3】見出しなどの特定文字列を同じ桁位置に整列さ
せる場合の動作を示したフローチャート。FIG. 3 is a flowchart showing an operation when aligning a specific character string such as a headline at the same digit position.
【図4】(1)、(2)はその場合の具体列を示したフ
ローチャート。4A and 4B are flowcharts showing specific columns in that case.
11 CPU 12 プログラムメモリ 16 RAM 16−1 文書メモリ 16−5 整列テーブル 11 CPU 12 Program memory 16 RAM 16-1 Document memory 16-5 Alignment table
Claims (1)
れる前部分の文書データ内に含まれる特定文字データの
桁位置に合わせて、その区切られる後部分の文書データ
の先頭桁位置を決定する桁位置決定手段と、 を具備したことを特徴とする文書データ処理装置。1. A document storage unit for storing document data, and when delimiting the document data with a line feed code, the delimiter is aligned with the digit position of the specific character data included in the document data of the delimited front part. A digit data position determining means for determining a leading digit position of the document data of the rear part of the document data processing device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP9085563A JP2845235B2 (en) | 1997-03-21 | 1997-03-21 | Document data processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP9085563A JP2845235B2 (en) | 1997-03-21 | 1997-03-21 | Document data processing device |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2320740A Division JP2761606B2 (en) | 1990-11-27 | 1990-11-27 | Document data processing device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH09218871A true JPH09218871A (en) | 1997-08-19 |
JP2845235B2 JP2845235B2 (en) | 1999-01-13 |
Family
ID=13862289
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP9085563A Expired - Lifetime JP2845235B2 (en) | 1997-03-21 | 1997-03-21 | Document data processing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2845235B2 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS58163036A (en) * | 1982-03-23 | 1983-09-27 | Toshiba Corp | Automatic numbering device |
JPH01206454A (en) * | 1988-02-15 | 1989-08-18 | Oki Electric Ind Co Ltd | Automatic indentation system for sentence |
JPH02105932U (en) * | 1989-02-13 | 1990-08-23 |
-
1997
- 1997-03-21 JP JP9085563A patent/JP2845235B2/en not_active Expired - Lifetime
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS58163036A (en) * | 1982-03-23 | 1983-09-27 | Toshiba Corp | Automatic numbering device |
JPH01206454A (en) * | 1988-02-15 | 1989-08-18 | Oki Electric Ind Co Ltd | Automatic indentation system for sentence |
JPH02105932U (en) * | 1989-02-13 | 1990-08-23 |
Also Published As
Publication number | Publication date |
---|---|
JP2845235B2 (en) | 1999-01-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4689768A (en) | Spelling verification system with immediate operator alerts to non-matches between inputted words and words stored in plural dictionary memories | |
JPH0330177B2 (en) | ||
JPH09218871A (en) | Document data processor | |
JP2845234B2 (en) | Document data processing device | |
JP2761606B2 (en) | Document data processing device | |
JPH0612548B2 (en) | Document processor | |
US5404517A (en) | Apparatus for assigning order for sequential display of randomly stored titles by comparing each of the titles and generating value indicating order based on the comparison | |
JP3104655B2 (en) | Document data processing device | |
JP3329476B2 (en) | Kana-Kanji conversion device | |
JPS6057382A (en) | Character processor | |
JPH04205548A (en) | Word processor | |
JPH08212221A (en) | Character input device | |
JP2995630B2 (en) | Document data processing device | |
JPH0638254B2 (en) | Kana-Kanji conversion device | |
JPH0719189B2 (en) | Data input device | |
JP3273607B2 (en) | Document processing device | |
JPH0352102B2 (en) | ||
JPH01304574A (en) | Index builder for table of contents | |
JPH05189414A (en) | Word processor and its system | |
JPH10177573A (en) | Method and device for processing document | |
JPS5856132A (en) | Typewriter input equipment | |
JPS62160534A (en) | Character string collating system | |
JPH07117959B2 (en) | How to create index documents | |
JPS59171989A (en) | Extra character display control system | |
JPS6252348B2 (en) |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081030 Year of fee payment: 10 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091030 Year of fee payment: 11 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091030 Year of fee payment: 11 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101030 Year of fee payment: 12 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101030 Year of fee payment: 12 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111030 Year of fee payment: 13 |
|
EXPY | Cancellation because of completion of term | ||
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111030 Year of fee payment: 13 |