JP3550715B2 - Document processing device - Google Patents
Document processing device Download PDFInfo
- Publication number
- JP3550715B2 JP3550715B2 JP05866794A JP5866794A JP3550715B2 JP 3550715 B2 JP3550715 B2 JP 3550715B2 JP 05866794 A JP05866794 A JP 05866794A JP 5866794 A JP5866794 A JP 5866794A JP 3550715 B2 JP3550715 B2 JP 3550715B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- buffer
- document
- line
- setting
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Document Processing Apparatus (AREA)
Description
【0001】
【産業上の利用分野】
本発明は、DTPやワードプロセッサ等の文書処理装置に関するものである。
【0002】
【従来の技術】
近年、DTPやワードプロセッサ等の文書処理装置において、文書作成する際、メッセージバー等のテキストバッファに入力文字や制御コードが一旦記憶される。ここで制御コードとは、文字の書体、文字サイズ、揃え処理等の編集作業を行った際に入力されるコードをいい、入力文字は、この制御コードに従って編集され、その結果、画面の用紙上に表示されるようになっている。また、ユーザは、文書全体を見て編集作業を行うのではなく、メッセージバーの制御コードを確認しながら容易に編集作業が行える。ところが従来の文書処理装置では、複数の項目設定内の一部しか値の変更をしていなくても、テキストバッファに変更されていない項目を含め全ての制御コードが挿入されるようになっていた。
【0003】
【発明が解決しようとする課題】
しかしながら、このような文書処理装置では、不要な制御コードの挿入により、テキストバッファが有効に使われなくなり、また、ユーザもメッセージバーに多くの制御コードが表示されることによって、正しい制御コードがわからなくなり、混乱してしまうという問題点があった。
【0004】
そこで、本発明はテキストバッファに不要なコードを挿入することなく、テキストバッファを有効に使える文書処理装置を提供することを目的とする。
【0005】
【課題を解決するための手段】
本発明は、設定値を入力する入力部と、入力部により入力された設定値をデータとして記憶する第一の記憶手段と、文書中の文字カーソル位置のデータを記憶する第二の記憶手段と、第一の記憶手段のデータと第二の記憶手段のデータを比較する比較手段と、比較手段により比較された2つのデータが異なるデータの場合は、入力された設定値のデータを設定情報として設定する設定手段と、設定情報の内容を表示する表示手段を備えている。
【0006】
【作用】
上記構成により、入力手段より入力された設定値のデータと、カーソル位置のデータとが比較され、これらのデータが相違する場合のみ入力された設定値のデータが表示される。
【0007】
【実施例】
以下、本発明の一実施例を図面を用いて説明する。図1は、本発明の一実施例における文書処理装置のブロック図であり、1は装置の制御及びデータ処理を行うためのCPU(中央処理装置)である。CPU1は比較手段、設定手段に対応する。2はユーザが動作指令など必要な情報を入力するためのキーボードなどの入力部であり、3はプログラム等を記憶するROM(リードオンリーメモリ)であり、4は各種データを記憶するRAM(ランダムアクセスメモリ)であり、5はRAM4内にあって、ユーザから入力、設定された文字や制御コードをテキストとして記憶するテキストバッファであり、6はRAM4内にあってカーソル位置の各種データ(例えば、文字サイズ、和文書体、欧文書体、行の開始位置(行頭位置)、行の終了位置(行末位置)などのデータ)を記憶するカーソルバッファであり、7はRAM4内にあって、ユーザから変更設定された各種データを一時記憶する設定バッファであり、8はテキストバッファ5に入れる制御コードを一時的に記憶する文字バッファであり、20は表示装置としてのCRT(カソードレイチューブ)である。
【0008】
以上のように構成された本実施例の文書処理装置について以下、その動作を図2、図3のフローチャートを用いて説明する。図2、図3は本発明の一実施例における文書処理装置のフローチャート、図4は同実施例における設定バッファのデータ構成図、図5は同実施例におけるカーソルバッファのデータ構成図である。
【0009】
ステップ1において、文書処理中に、文書処理項目の中で、行頭・行末設定処理を選択すると、設定バッファ7内の行の開始位置と行の終了位置の項目に、カーソルバッファ6内の行頭・行末設定データが初期値として設定される。なおカーソルバッファ6には、カーソル位置の各種データがすべて記憶されている。カーソルバッファ6は第二の記憶手段に対応する。ステップ2において、行頭・行末設定が行われると、設定バッファ7内の行の開始位置と行の終了位置に設定値が記憶される。ここで設定バッファ7には、ユーザにより、送りサイズや書体や行頭・行末等設定された時に、設定値のデータ値が一時的に記憶されるものである。設定バッファ7は第一の記憶手段に対応する。
【0010】
ステップ3において、設定バッファ7内の行の開始位置(キャレット位置)のデータとカーソルバッファ6内の行の開始位置のデータが比較され、2つのデータが違うデータと判断された時は、ステップ4において、設定バッファ7内の行の開始位置のデータがパラメータに変換されて文字バッファ8内に設定され、2つのデータが同じデータと判断された時は、ステップ5の処理を行う。
【0011】
ステップ5において、ステップ3の処理と同じように、設定バッファ7内の行の終了位置(キャレット位置)のデータとカーソルバッファ6内の行の終了位置のデータが比較され、2つのデータが違うデータと判断された時は、ステップ6において、設定バッファ7内の行の終了位置のデータがパラメータに変換されて、文字バッファ8に追加され、2つのデータが同じデータと判断された時は、ステップ7の処理を行う。
【0012】
ステップ7において、文字バッファ8にパラメータを含む制御コードが設定されている時は、ステップ8において文字バッファ8の制御コードがテキストバッファ5のカーソル位置に挿入され、ステップ9において、テキストバッファ5内の文章やファンクション等の情報と、作成文書がCRT20に再表示され、ステップ10において、カーソルバッファ6にカーソル位置情報が更新され、処理が終了し、文字バッファ8に制御コードが設定されていなかった時は、そのまま処理が終了する。
【0013】
次に、本発明の一実施例における文書処理装置の具体的な動作を一例を挙げて説明する。図6は同実施例における変更前のテキストバッファの具体的内容を示す例示図、図7は同実施例における変更後のテキストバッファの具体的内容を示す例示図、図8は同実施例における文字バッファの具体的内容を示す例示図である。
【0014】
さてこの実施例では、図6のテキストバッファ5に示すように、現在のカーソル15の行頭・行末情報は、行の開始位置の制御コード13が行頭から「1.0」ポイントであり、行の終了位置の制御コード14が行頭から「530.0」ポイントである。
【0015】
ここでユーザが、文書作成中に、文書処理項目の中で、行頭・行末設定処理を選択すると、設定バッファ7内の行の開始位置と行の終了位置の項目に、図5のカーソルバッファ6内の行頭・行末設定のデータ11「1.0」とデータ12「530.0」が設定バッファ7に転送され、設定される。
【0016】
そして入力部2から、行の開始位置が行頭から「50.0」ポイント、行の終了位置が行頭から「530.0」ポイントというように行頭・行末設定が行われると、図4に示すように設定バッファ7内の行の開始位置と行の終了位置の項目にデータ9「50.0」とデータ10「530.0」が記憶される。
【0017】
次に、図4の設定バッファ7内の行の開始位置のデータ9「50.0」と図5のカーソルバッファ6内の行の開始位置のデータ11「1.0」が比較される。処理結果より、2つのデータは違う値と判断され、設定バッファ7内のデータ9「50.0」がパラメータに変換され図8の文字バッファ8内に制御コード17として設定される。
【0018】
次に、図4の設定バッファ7内の行の終了位置のデータ10「530.0」と図5のカーソルバッファ6内の行の終了位置のデータ12「530.0」が比較される。処理結果より、2つのデータは同じ値と判断されるので、文字バッファ8には制御コードは設定されない。
【0019】
次に図7に示すように、図8の文字バッファ8内の行の開始位置の制御コード17がテキストバッファ5に制御コード16として挿入され、テキストが組み直されて、CRT20に表示される。
【0020】
次に、図5のカーソルバッファ6の行頭設定のデータが「50.0」に更新される。尚、この処理方法は、行頭・行末設定のみ利用されるのではなく、「書体」や「送りサイズ」等でも同様に利用できる。
【0021】
【発明の効果】
本発明によれば、不要な制御コードが入力されずに、テキストバッファが有効に使用できる。
【図面の簡単な説明】
【図1】本発明の一実施例における文書処理装置のブロック図
【図2】本発明の一実施例における文書処理装置のフローチャート
【図3】本発明の一実施例における文書処理装置のフローチャート
【図4】本発明の一実施例における設定バッファのデータ構成図
【図5】本発明の一実施例におけるカーソルバッファのデータ構成図
【図6】本発明の一実施例における変更前のテキストバッファの具体的内容を示す例示図
【図7】本発明の一実施例における変更後のテキストバッファの具体的内容を示す例示図
【図8】本発明の一実施例における文字バッファの具体的内容を示す例示図
【符号の説明】
1 CPU
2 入力部
6 カーソルバッファ
7 設定バッファ[0001]
[Industrial applications]
The present invention relates to a document processing device such as a DTP or a word processor.
[0002]
[Prior art]
In recent years, in a document processing apparatus such as a DTP or a word processor, when creating a document, input characters and control codes are temporarily stored in a text buffer such as a message bar. Here, the control code refers to a code that is input when an editing operation such as a character typeface, a character size, and alignment processing is performed. The input character is edited in accordance with the control code, and as a result, on a screen of a screen. Is displayed. Further, the user can easily perform the editing work while checking the control code on the message bar, instead of performing the editing work while viewing the entire document. However, in a conventional document processing apparatus, even if only a part of a plurality of item settings is changed, all control codes are inserted into the text buffer, including the unchanged items. .
[0003]
[Problems to be solved by the invention]
However, in such a document processing device, the text buffer is not effectively used due to insertion of an unnecessary control code, and a user can recognize a correct control code by displaying many control codes in a message bar. There was a problem that it was lost and confused.
[0004]
Therefore, an object of the present invention is to provide a document processing device that can effectively use a text buffer without inserting unnecessary codes into the text buffer.
[0005]
[Means for Solving the Problems]
The present invention provides an input unit for inputting a set value, a first storage unit for storing the set value input by the input unit as data, and a second storage unit for storing data of a character cursor position in a document. A comparing means for comparing the data of the first storage means and the data of the second storage means, and when the two data compared by the comparing means are different data, the data of the input setting value is used as the setting information. There are provided setting means for setting and display means for displaying the contents of the setting information.
[0006]
[Action]
According to the above configuration, the data of the set value input from the input means and the data of the cursor position are compared, and only when these data are different, the input set value data is displayed.
[0007]
【Example】
Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of a document processing apparatus according to one embodiment of the present invention, and 1 is a CPU (central processing unit) for controlling the apparatus and performing data processing. The
[0008]
The operation of the thus configured document processing apparatus of the present embodiment will be described below with reference to the flowcharts of FIGS. 2 and 3 are flowcharts of the document processing apparatus according to an embodiment of the present invention, FIG. 4 is a data configuration diagram of a setting buffer in the embodiment, and FIG. 5 is a data configuration diagram of a cursor buffer in the embodiment.
[0009]
In
[0010]
In step 3, the data at the start position (caret position) of the line in the setting buffer 7 is compared with the data at the start position of the line in the
[0011]
In step 5, similarly to the processing in step 3, the data at the end position (caret position) of the line in the setting buffer 7 and the data at the end position of the line in the
[0012]
When a control code including a parameter is set in the character buffer 8 in step 7, the control code in the character buffer 8 is inserted into the text buffer 5 at the cursor position in step 8, and in step 9, When information such as sentences and functions and the created document are redisplayed on the
[0013]
Next, a specific operation of the document processing apparatus according to the embodiment of the present invention will be described with reference to an example. FIG. 6 is an exemplary view showing the specific contents of the text buffer before the change in the embodiment, FIG. 7 is an exemplary view showing the specific contents of the text buffer after the change in the embodiment, and FIG. FIG. 3 is an exemplary diagram showing specific contents of a buffer.
[0014]
In this embodiment, as shown in the text buffer 5 of FIG. 6, the current line head / line end information of the
[0015]
Here, when the user selects the line start / line end setting process from the document processing items during document creation, the line start position and line end position items in the setting buffer 7 are added to the
[0016]
When the start and end of the line are set from the
[0017]
Next, data 9 “50.0” at the start position of the line in the setting buffer 7 in FIG. 4 is compared with
[0018]
Next,
[0019]
Next, as shown in FIG. 7, the
[0020]
Next, the data of the line head setting of the
[0021]
【The invention's effect】
According to the present invention, the text buffer can be used effectively without inputting unnecessary control codes.
[Brief description of the drawings]
FIG. 1 is a block diagram of a document processing apparatus according to an embodiment of the present invention; FIG. 2 is a flowchart of a document processing apparatus according to an embodiment of the present invention; FIG. 3 is a flowchart of a document processing apparatus according to an embodiment of the present invention; FIG. 4 is a data configuration diagram of a setting buffer according to an embodiment of the present invention. FIG. 5 is a data configuration diagram of a cursor buffer according to an embodiment of the present invention. FIG. 7 is an illustration showing specific contents of the text buffer according to one embodiment of the present invention. FIG. 8 is an illustration showing specific contents of a character buffer according to one embodiment of the present invention. Illustration [Explanation of reference numerals]
1 CPU
2
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP05866794A JP3550715B2 (en) | 1994-03-29 | 1994-03-29 | Document processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP05866794A JP3550715B2 (en) | 1994-03-29 | 1994-03-29 | Document processing device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH07271790A JPH07271790A (en) | 1995-10-20 |
JP3550715B2 true JP3550715B2 (en) | 2004-08-04 |
Family
ID=13090946
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP05866794A Expired - Fee Related JP3550715B2 (en) | 1994-03-29 | 1994-03-29 | Document processing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3550715B2 (en) |
-
1994
- 1994-03-29 JP JP05866794A patent/JP3550715B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JPH07271790A (en) | 1995-10-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0131457B1 (en) | Document creating apparatus | |
US5084820A (en) | Entry text display system | |
JP3795784B2 (en) | Character set free space setting device with icon display, character set free space setting program, and recording medium recording the same | |
JPH08161309A (en) | Word processor | |
JP3550715B2 (en) | Document processing device | |
JPH05135025A (en) | Document editor | |
JPH07325798A (en) | Document preparing device | |
JPH0546349A (en) | Information processor | |
JP2786260B2 (en) | Kana-Kanji conversion device | |
JP2517434B2 (en) | Outline font saving method in character data processing device | |
JP2978178B2 (en) | Document creation apparatus and control method thereof | |
JPS605470B2 (en) | typesetting system | |
JP3311024B2 (en) | Document processing method and apparatus | |
JPH08278963A (en) | Character data editing device | |
JPH04190450A (en) | Document processor | |
JPH03286361A (en) | Document processor | |
JPS63113597A (en) | Document generator | |
JPH0546602A (en) | Layout editing device | |
JPS625292A (en) | Charactor input unit | |
JPH0520324A (en) | Document processor | |
JPS6026234B2 (en) | Text editing display method | |
JPH03129563A (en) | Document processor | |
JPH03160557A (en) | Document processor | |
JPS63136251A (en) | Character processor | |
JPH04314166A (en) | Document preparing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20040330 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20040412 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090514 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100514 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110514 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110514 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120514 Year of fee payment: 8 |
|
LAPS | Cancellation because of no payment of annual fees |