JPH04369766A - Method and device for processing document - Google Patents

Method and device for processing document

Info

Publication number
JPH04369766A
JPH04369766A JP3147108A JP14710891A JPH04369766A JP H04369766 A JPH04369766 A JP H04369766A JP 3147108 A JP3147108 A JP 3147108A JP 14710891 A JP14710891 A JP 14710891A JP H04369766 A JPH04369766 A JP H04369766A
Authority
JP
Japan
Prior art keywords
character
cursor
size
information
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3147108A
Other languages
Japanese (ja)
Inventor
Masaya Goto
真哉 後藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP3147108A priority Critical patent/JPH04369766A/en
Publication of JPH04369766A publication Critical patent/JPH04369766A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily recognize information on a character style of type a character size and character modification at the time of inputting a document and editing the document. CONSTITUTION:The present position of a cursor, and character information being a processing object by instructions are retrieved in accordance with a character size alteration instruction, a cursor shift instruction, a character cancel instruction and a character deletion instruction, which are inputted from a keyboard 1. The form and the size of the cursor are changed based on the position of the cursor after processings by the instructions are executed and they are displayed on the screen of LCD 6. Thus, the form and the size of the cursor are changed and displayed in accordance with the character style of type, the character size and character modification, which are thus set.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は文書処理方法及びその装
置に関し、特に、例えば、文字書体、大きさ、文字修飾
などに従つて文字表示が可能な文書処理方法及びその装
置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document processing method and apparatus, and more particularly to a document processing method and apparatus capable of displaying characters according to font, size, character decoration, etc.

【0002】0002

【従来の技術】従来の文書処理装置では文書入力或は文
書編集にあたって、CRT或はLCDなどで構成される
表示部に表示されるカーソル形状を変える事によってイ
ンサートモードとオーバライトモードという入力モード
を切り替えたり、行中で大きなサイズの文字が入力され
た後には、その文字に合わせた大きさにカーソルサイズ
を変更して表示したりしている。
2. Description of the Related Art In a conventional document processing device, when inputting or editing a document, input modes such as an insert mode and an overwrite mode can be set by changing the shape of a cursor displayed on a display unit such as a CRT or LCD. After switching, or after a large character is entered in a line, the cursor size is changed to match the size of the character.

【0003】さらに、これから入力される文字の書体(
フォント)、大きさ、文字修飾(アンダライン付、ボー
ルドフェイス、イタリック体などのスタイル情報は、設
定メニューを表示させて目視確認をしたり、電子タイプ
ライタであれば設定されているスイッチ情報を見たりし
て確認していた。
[0003] Furthermore, the font (
For style information such as font), size, and character decoration (underlining, boldface, italics, etc.), display the settings menu and visually check it, or if it is an electronic typewriter, check the switch information set. I checked by doing this.

【0004】0004

【発明が解決しようとする課題】しかしながら上記従来
例では、カーソル形状の変化によって入力モードの違い
を示したり、大きなサイズの文字入力後のカーソルサイ
ズを変更して表示するのみであったので、入力する文字
の書体、大きさ、文字修飾情報を知る為には、設定メニ
ューや設定スイッチの位置を一々確認しなければならず
、操作が煩雑となり、視認性も悪いという欠点があった
[Problem to be Solved by the Invention] However, in the conventional example described above, the difference in input mode is indicated by changing the cursor shape, or the cursor size is changed and displayed after large-sized characters are input. In order to know the font, size, and character modification information of the characters to be displayed, it is necessary to check the setting menus and the positions of the setting switches one by one, which has the drawback of complicated operations and poor visibility.

【0005】本発明は上記従来例に鑑みてなされたもの
で、文書入力中に入力文字の書体、大きさ、文字修飾情
報などがを容易に確認できる文書処理方法及びその装置
を提供することを目的とする。
The present invention has been made in view of the above-mentioned conventional example, and an object of the present invention is to provide a document processing method and an apparatus therefor that allow easy confirmation of the font, size, character modification information, etc. of input characters during document input. purpose.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
に本発明の文書処理方法は、以下のような工程からなる
。即ち、文書入力及び文書編集などの指示場所を示すた
めにディスプレイにカーソルの表示を行う文書処理方法
であって、文字書体、文字サイズ、及び、文字修飾を設
定する工程と、前記工程による設定に従って、前記カー
ソルの形状とサイズを変化させて前記ディスプレイに表
示する工程とを有することを特徴とする文書処理方法を
備える。
[Means for Solving the Problems] In order to achieve the above object, the document processing method of the present invention includes the following steps. That is, a document processing method that displays a cursor on a display to indicate an instruction location for document input, document editing, etc., which includes a step of setting a character font, a character size, and a character decoration, and a step of setting a character font, a character size, and a character decoration according to the settings in the above steps. , a step of changing the shape and size of the cursor and displaying the same on the display.

【0007】また他の発明によれば、文書入力及び文書
編集などの指示場所を示すためのカーソルを表示手段に
表示する文書処理装置において、文字書体、文字サイズ
、及び、文字修飾を設定する設定手段と、前記設定手段
による設定に従って、前記カーソルの形状とサイズを変
化させて前記表示手段に表示するカーソル表示手段とを
有することを特徴とする文書処理装置を備える。
[0007] According to another invention, in a document processing device that displays a cursor on a display means to indicate an instruction location for document input, document editing, etc., settings for setting character font, character size, and character decoration are provided. and cursor display means for changing the shape and size of the cursor and displaying it on the display means according to the setting by the setting means.

【0008】[0008]

【作用】以上の構成により本発明は、カーソルの形状と
サイズによって入力される文字の書体、文字サイズ、文
字修飾を常に表示するよう動作する。
[Operation] With the above-described structure, the present invention operates so as to always display the font, size, and character decoration of characters input based on the shape and size of the cursor.

【0009】[0009]

【実施例】以下添付図面を参照して本発明の好適な実施
例を詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

【0010】[パーソナルワードプロセツサの構成概要
(図1〜図3)]図1は、本発明の代表的な実施例であ
るパーソナルワードプロセツサの外観斜視図である。図
1(A)は、パーソナルワードプロセツサの使用時の状
態を、図1(B)は、パーソナルワードプロセツサの収
納時の状態を示している。
[Outline of configuration of personal word processor (FIGS. 1 to 3)] FIG. 1 is an external perspective view of a personal word processor that is a typical embodiment of the present invention. FIG. 1A shows the personal word processor in use, and FIG. 1B shows the personal word processor in storage.

【0011】図1において、1はキーボード部であり、
文字・数字等のキヤラクタ入力用のキーやコントロール
キー等のキー群2が配列され、不使用時にはヒンジ3を
中心に回動させることにより、図1(B)に示すように
キーボード部1が折り畳めるようになつている。4は装
置内部のプリンタ部8にシート状記録媒体を送給するた
めの給紙トレーであり、同じく不使用時には図1(B)
に示すようにプリンタ部8を覆って収納される。5は手
動にて記録媒体のセツトや排出を行うための送りノブ、
6は入力した文章等を文字の書体、大きさ、文字修飾情
報に従つて、印刷出力と同等に表示可能なLCD(液晶
ディスプレイ)、7は本装置を運搬する際に用いられる
把手であり、8はプリンタ部であり、9はフロッピィデ
ィスク装置である。
In FIG. 1, 1 is a keyboard section;
A group of keys 2 such as keys for inputting characters such as letters and numbers, control keys, etc. are arranged, and when not in use, by rotating around a hinge 3, the keyboard part 1 can be folded as shown in FIG. 1(B). It's becoming like that. 4 is a paper feed tray for feeding sheet-like recording media to the printer section 8 inside the device, and when not in use, it is also shown in Fig. 1(B).
It is housed covering the printer section 8 as shown in FIG. 5 is a feed knob for manually setting and ejecting the recording medium;
6 is an LCD (liquid crystal display) that can display input text, etc. according to the font, size, and character modification information in the same way as printed output; 7 is a handle used when transporting the device; 8 is a printer section, and 9 is a floppy disk device.

【0012】図2は、本実施例のパーソナルワードプロ
セツサの構成概略を示すブロツク図である。図2におい
て、100は文書処理を実行するマイクロコンピユータ
形態のCPU、102は文書処理を実行する処理プログ
ラムその他の固定データを格納するROM、そして、1
03は文書処理に係る作業用及び文書データ一時格納領
域として使用するRAMである。また、108は、CP
U100、ROM102、RAM103、キーボード(
KB)1、LCD6、プリンタ部8、そして、フロツピ
デイスク装置9を接続するCPUバスであり、アドレス
信号を転送するアドレスバス、制御信号を転送するコン
トロールバスおよび各種データを転送するデータバスを
総称するものである。
FIG. 2 is a block diagram schematically showing the configuration of the personal word processor of this embodiment. In FIG. 2, 100 is a CPU in the form of a microcomputer that executes document processing, 102 is a ROM that stores processing programs for executing document processing and other fixed data, and 1
03 is a RAM used for work related to document processing and as a document data temporary storage area. In addition, 108 is CP
U100, ROM102, RAM103, keyboard (
KB) 1, LCD 6, printer section 8, and CPU bus that connects the floppy disk device 9, and is a general term for the address bus that transfers address signals, the control bus that transfers control signals, and the data bus that transfers various data. It is.

【0013】図3は、キーボード部1のキー配置例を示
す。図3に示すように、キーボード(KB)1は、文字
・数字の入力キー群、スペースキー、バツクスペースキ
ー、シフトキー、その他制御キー群等を有した公知のキ
ー配置を有している。なお、図3において、キー214
及びキー217は各々、前画面及び次画面の表示を指示
するキー、キー216は処理中の文書フアイル先頭にカ
ーソルを移動させるとともに文書先頭部分の表示を指示
するキー、キー220(キー220U、220D、22
0L、220Rの総称)は対応する矢印の方向(上下左
右方向)にカーソルを移動させるためのカーソルキー群
である。
FIG. 3 shows an example of the key arrangement of the keyboard section 1. As shown in FIG. As shown in FIG. 3, the keyboard (KB) 1 has a known key arrangement including a group of input keys for letters and numbers, a space key, a backspace key, a shift key, and other control keys. Note that in FIG. 3, the key 214
and keys 217 are keys for instructing the display of the previous screen and next screen, keys 216 are keys for moving the cursor to the beginning of the document file being processed and instructing the display of the beginning of the document, and keys 220 (keys 220U, 220D) , 22
0L, 220R) is a group of cursor keys for moving the cursor in the direction of the corresponding arrow (up, down, left and right).

【0014】MODEキー228とCODEキー229
は、これらキーとともに他のキー(例えば数値,文字キ
ー)を押下することにより、所定の機能を実行させるこ
とができるキーである。本実施例では、MODEキー2
29と数値キー“2”とを同時押下することにより文字
のサイズ設定画面(後述の図9(B))が表示され、文
字サイズ設定の選択を促すようにする。
MODE key 228 and CODE key 229
are keys that can be used to execute a predetermined function by pressing these keys together with other keys (for example, numeric and character keys). In this embodiment, MODE key 2
By pressing 29 and the numerical key "2" at the same time, a character size setting screen (FIG. 9(B) to be described later) is displayed, prompting the user to select the character size setting.

【0015】キー230は、文章入力中であれば、文章
に改行コードを挿入するとともに、例えば、文字サイズ
設定画面(後述の図9(B))において機能の決定を行
うのに使用されるリターンキーである。
When text is being input, the key 230 is used to insert a line break code into the text, and also to enter a return key, which is used, for example, to determine a function on the font size setting screen (see FIG. 9(B) to be described later). This is the key.

【0016】キー231は、カーソルの前の文字を削除
するキヤンセルキーであり、CODEキー228と同時
に押下する事により、カーソル位置の文字を削除するデ
リート機能として使用される。
The key 231 is a cancel key for deleting the character in front of the cursor, and when pressed at the same time as the CODE key 228, it is used as a delete function for deleting the character at the cursor position.

【0017】[メモリ内の文書データ配置(図4)]図
4は、RAM103内のデータ配置を示す図である。
[Document Data Arrangement in Memory (FIG. 4)] FIG. 4 is a diagram showing the data arrangement in the RAM 103.

【0018】図4(A)において、110は文章情報格
納領域であり、現在入力中の文書やフロツピィディスク
から読み出した文書等、処理中の文書データが展開され
る。111はカーソル行中の表示文字列情報展開領域で
あり、表示に係る行の表示に必要な情報を行単位で格納
する。カーソル行表示文字列情報111については、図
4(B)を用いて詳細に説明する。112はカーソル位
置における入力文字の書体(フォント)、大きさ、文字
修飾情報(アンダーライン付文字、ボールドフェイス文
字、イタリツク体文字、アウトライン文字等の文字スタ
イル)に係る情報を格納する。113は文章情報格納領
域110内の、114はカーソル行表示文字列情報11
1内のカーソル位置が示す文字に対応する位置をそれぞ
れ格納する。
In FIG. 4A, reference numeral 110 is a text information storage area, in which document data being processed, such as a document currently being input or a document read from a floppy disk, is developed. Reference numeral 111 is a display character string information development area in the cursor line, which stores information necessary for displaying the line related to the display on a line-by-line basis. The cursor line display character string information 111 will be explained in detail using FIG. 4(B). 112 stores information regarding the font, size, and character modification information (character styles such as underlined characters, boldface characters, italicized characters, and outline characters) of the input character at the cursor position. 113 is the text information storage area 110, 114 is the cursor line display character string information 11
The positions corresponding to the characters indicated by the cursor position within 1 are stored respectively.

【0019】図4(B)は、カーソル行文字列情報11
1のテーブル構造を示す図である。ここで、120は表
示文字情報であり、表示文字毎にカーソル行内表示文字
数の数だけ設けられる。カーソル行表示文字列情報内カ
ーソル位置情報114は、このテーブル111内のカー
ソル位置が示す文字に対応する表示文字情報120のひ
とつを示している。各表示文字情報120は、表示文字
コード121、フォント情報122、サイズ情報123
、スタイル情報124、及び、表示位置情報125から
成っている。
FIG. 4(B) shows the cursor line character string information 11.
FIG. 1 is a diagram showing a table structure of No. 1; Here, 120 is display character information, which is provided for each display character in a number equal to the number of display characters in the cursor line. Cursor position information 114 in cursor line display character string information indicates one piece of display character information 120 corresponding to the character indicated by the cursor position in this table 111. Each display character information 120 includes a display character code 121, font information 122, and size information 123.
, style information 124, and display position information 125.

【0020】[カーソル表示処理(図5〜図10)]以
下にカーソル表示処理について、図5〜図8に示すフロ
ーチャートと図9〜図10に示すカーソル表示例を参照
して説明する。ここでは、特に、(1)文字サイズ変更
指示、(2)カーソル移動指示、(3)文字キャンセル
指示、及び、(4)文字デリート指示がなされた時に実
行されるカーソル表示処理について説明する。また、図
9(A)に示すようにLCD6には36ポイントの文字
の大きさで文章入力がなされているものとする。ここで
、図9(A)の61は36ポイントの文字の大きさを示
すカーソルである。文字サイズ変更指示をしない限り、
キーインされる文字は36ポイントの大きさで入力され
続ける。
[Cursor display processing (FIGS. 5 to 10)] The cursor display processing will be explained below with reference to the flowcharts shown in FIGS. 5 to 8 and the cursor display examples shown in FIGS. 9 to 10. In particular, the cursor display process executed when (1) a character size change instruction, (2) a cursor movement instruction, (3) a character cancel instruction, and (4) a character delete instruction are given will be described. Further, as shown in FIG. 9(A), it is assumed that text is input to the LCD 6 in a font size of 36 points. Here, 61 in FIG. 9(A) is a cursor indicating the character size of 36 points. Unless you instruct to change the font size,
Characters that are keyed in continue to be entered at a size of 36 points.

【0021】図5は、カーソル表示処理の概略フローチ
ャートである。
FIG. 5 is a schematic flowchart of cursor display processing.

【0022】まず、ステップS5ではキー入力を受けつ
ける。次に、ステップS10では、受けつけたキー入力
が、文字サイズ変更指示であるかどうかを調べる。ここ
で、キー入力が文字サイズ変更指示であると判断された
なら、処理はステップS20に進み、文字サイズ変更処
理が実行される。本実施例では、文字サイズ変更指示は
、MODEキー229と数値キー“2”との同時押下に
よって指示されたとみなす。これに対して、キー入力が
文字サイズ変更指示ではない場合、処理はステップS3
0に進む。
First, in step S5, key input is accepted. Next, in step S10, it is checked whether the received key input is an instruction to change the font size. Here, if it is determined that the key input is an instruction to change the font size, the process advances to step S20, and font size changing processing is executed. In this embodiment, it is assumed that the font size change instruction is issued by pressing the MODE key 229 and the numeric key "2" at the same time. On the other hand, if the key input is not an instruction to change the font size, the process proceeds to step S3.
Go to 0.

【0023】これ以降は、前記4つの指示に対応した処
理について説明する。
[0023] From now on, processing corresponding to the above four instructions will be explained.

【0024】(1)文字サイズ変更処理ステツプS20
における、文字サイズ変更処理では、まず、図9(B)
に示すような文字サイズ設定用画面62がLCD6の文
書編集画面上にオーバレイされて表示される。本実施例
の場合、文字サイズ設定用画面62には、9ポイント(
“9point(Small) ”),12ポイント(
12point(Standard) ”),18ポイ
ント(“18point(Medium) ”),24
ポイント(“24point(Large)”),36
ポイント(“36point(Largest)”),
横幅拡大(“Expanded”)、および横幅縮小(
“Condensed ”)の各サイズが表示される。 所望の文字サイズは、これら各サイズに対応する数値キ
ー1〜7のいづれかを入力し、リターンキー230を押
下することによって選択される。ここでは、現在設定さ
れている36ポイントのサイズがボールド表示されてい
て、選択不可能な項目はイタリツク体で表示されている
。図9(B)では、36ポイントの文字サイズが最大文
字であり、これ以上の横幅拡大は不可能なので横幅拡大
(“Expanded”)は選択不可能な項目とみなさ
れている。さらに表示画面には、現在設定されている文
字のフォント、サイズ、スタイルの情報を示すスタイル
ボツクス63が表示される。
(1) Character size change processing step S20
In the font size change process, first, as shown in FIG. 9(B)
A character size setting screen 62 as shown in FIG. 1 is displayed overlaid on the document editing screen of the LCD 6. In the case of this embodiment, the font size setting screen 62 has 9 points (
“9point (Small)”), 12 points (
12 points (Standard)”), 18 points (“18 points (Medium)”), 24
Point (“24point(Large)”), 36
Points (“36 points (Largest)”),
Width expansion (“Expanded”) and width reduction (“Expanded”)
“Condensed”) are displayed. A desired character size is selected by inputting one of the numerical keys 1 to 7 corresponding to each size and pressing the return key 230. Here, the currently set size of 36 points is displayed in bold, and items that cannot be selected are displayed in italics. In FIG. 9B, the character size of 36 points is the maximum character size, and since further width expansion is impossible, width expansion (“Expanded”) is regarded as an item that cannot be selected. Furthermore, a style box 63 is displayed on the display screen, which shows information on the currently set character font, size, and style.

【0025】文字サイズ設定用画面62が表示された後
、装置の利用者は所望の文字サイズを選択すると、選択
された文字サイズの情報はカーソル位置の入力文字情報
領域112に格納される。その後、処理はステップS9
0に進む。
After the character size setting screen 62 is displayed, the user of the device selects a desired character size, and information on the selected character size is stored in the input character information area 112 at the cursor position. After that, the process proceeds to step S9.
Go to 0.

【0026】ステップS90では、カーソル行表示文字
列情報内カーソル位置情報114に該当するカーソル行
表示文字列情報111内の表示文字情報120の表示位
置情報125に格納されている表示位置に、カーソル位
置の入力文字情報112に従ってカーソル形状をLCD
6に表示する。例えば、文字サイズ設定用画面62から
12ポイントの文字サイズが選択されたならば、図9(
C)に示すように12ポイントに相当する形状のカーソ
ル64を表示する。これ以後の文字入力に対しては、図
9(D)に示すように、12ポイントの文字サイズでL
CD6への表示が行われることになる。
In step S90, the cursor position is set to the display position stored in the display position information 125 of the display character information 120 in the cursor line display character string information 111 that corresponds to the cursor position information 114 in the cursor line display character string information. The cursor shape is displayed on the LCD according to the input character information 112.
Display on 6. For example, if a 12 point font size is selected from the font size setting screen 62,
As shown in C), a cursor 64 having a shape corresponding to 12 points is displayed. For subsequent character input, as shown in Figure 9(D), the character size is 12 points.
The information will be displayed on CD6.

【0027】(2)カーソル移動指示 さて、ステップS30ではキー入力がカーソル移動指示
であるかどうかを調べる。ここで、キー入力がカーソル
移動指示であると判断されたなら、処理はステップS4
0に進み、カーソル移動処理を行い、キー入力がカーソ
ル移動指示でない場合、処理はステップS50に進む。 本実施例では、キーボード1上のカーソル移動キー21
4〜220のいずれかの入力によって、カーソル移動指
示が行われたとみなす。
(2) Cursor movement instruction At step S30, it is checked whether the key input is a cursor movement instruction. Here, if it is determined that the key input is a cursor movement instruction, the process proceeds to step S4.
0 and performs cursor movement processing, and if the key input is not a cursor movement instruction, the process proceeds to step S50. In this embodiment, the cursor movement key 21 on the keyboard 1
It is assumed that an instruction to move the cursor has been made by any one of the inputs from 4 to 220.

【0028】ここでは、LCD6に図10(E)に示す
ような文章が作成され、カーソル65が12ポイントの
文字列“12point”の最後の“t”の位置を示す
ように12ポイントの形状で表示されているとして、以
降の処理を説明する。
Here, a sentence as shown in FIG. 10(E) is created on the LCD 6, and the cursor 65 is displayed in a 12-point shape to indicate the position of the last "t" of the 12-point character string "12point". The following processing will be explained assuming that it is displayed.

【0029】図6のフローチャートにおいて、ステツプ
S41では、カーソル移動先により行が変更されるかど
うかを判定する。ここで、カーソル移動によってカーソ
ル行が変更されない(カーソル移動キー220R或は2
20Lが押下されていれば、カーソル行は変わらない)
と判断された場合、処理はステツプS43に進む。これ
に対して、カーソル移動によってカーソル行が変更され
る(例えば、複数行の文章でカーソル移動キー220U
或は220Dが押下されていて、かつ文章の開始行或は
最終行でなければ、カーソル行が変更される)と判断さ
れた場合、処理はステツプS42に進む。
In the flowchart of FIG. 6, in step S41, it is determined whether the line is changed depending on the cursor movement destination. Here, the cursor line is not changed by moving the cursor (cursor movement key 220R or 2
If 20L is pressed, the cursor line will not change)
If it is determined that this is the case, the process proceeds to step S43. On the other hand, when the cursor is moved, the cursor line is changed (for example, the cursor movement key 220U is
Alternatively, if it is determined that 220D is pressed and the cursor line is changed if it is not the start line or the last line of the sentence, the process proceeds to step S42.

【0030】ステツプS42では、カーソル移動先の新
しいカーソル行表示文字列情報111を作成し、ステツ
プS43に進む。
In step S42, new cursor line display character string information 111 to which the cursor is to be moved is created, and the process advances to step S43.

【0031】ステツプS43では、入力されたカーソル
移動キーに従つてカーソル行表示文字列情報111内の
該当する表示文字情報120を検索する。例えば、ステ
ツプS5でカーソル移動キー220Rが入力されていれ
ば、図10(E)において36ポイントで表示された“
36point”の左端文字“3”を示す表示文字情報
120を検索することになる。ステツプS44では、ス
テツプS43で検索された表示文字情報120の位置を
カーソル行表示文字列情報内カーソル位置情報114に
格納する。さらに、ステツプS45では、カーソル位置
情報114で示される表示文字情報120のフォント1
22、サイズ123、スタイル124の各情報をカーソ
ル位置の入力文字情報112に格納する。その後、処理
はステップS90に進む。
In step S43, the corresponding display character information 120 in the cursor line display character string information 111 is searched in accordance with the input cursor movement key. For example, if the cursor movement key 220R is input in step S5, "" displayed at 36 points in FIG.
The display character information 120 indicating the leftmost character "3" of "36point" is searched for. In step S44, the position of the display character information 120 searched in step S43 is set to the cursor position information 114 in the cursor line display character string information. Furthermore, in step S45, the font 1 of the display character information 120 indicated by the cursor position information 114 is stored.
22, size 123, and style 124 are stored in the input character information 112 at the cursor position. After that, the process proceeds to step S90.

【0032】ステツプS90ではすでに説明したように
、カーソル位置の入力文字情報112に従つたカーソル
形状をLCD6に表示する。例えば、図10(E)に示
す状態でカーソル移動キー220Rが押下されると、図
10(F)に示すようにカーソル66が36ポイントの
形状で表示される。
In step S90, as already explained, a cursor shape according to the input character information 112 at the cursor position is displayed on the LCD 6. For example, when the cursor movement key 220R is pressed in the state shown in FIG. 10(E), the cursor 66 is displayed in a 36-point shape as shown in FIG. 10(F).

【0033】(3)文字キャンセル指示さて、ステップ
S50ではキー入力が文字キャンセル指示であるかどう
かを調べる。ここで、キー入力が文字キャンセル指示で
あると判断されたなら、処理はステップ60に進み、文
字キャンセル指示ではないと判断されたなら、処理はス
テップS70に進む。本実施例では、キーボード1上の
キヤンセルキー231の入力によって文字キャンセル指
示がなされたとみなす。
(3) Character Cancel Instruction Now, in step S50, it is checked whether the key input is a character cancel instruction. Here, if it is determined that the key input is a character cancel instruction, the process proceeds to step 60, and if it is determined that the key input is not a character cancel instruction, the process proceeds to step S70. In this embodiment, it is assumed that a character cancellation instruction is issued by inputting the cancel key 231 on the keyboard 1.

【0034】ここでは、LCD6に図10(F)に示す
ような文章が作成され、カーソル66が36ポイントの
文字列“36point”の最初の“3”の位置を示す
ように36ポイントの形状で表示されていて、カーソル
66の直前の12ポイントの文字列(“12point
”)の最後の“t”をキヤンセルする場合について説明
する。
Here, a sentence as shown in FIG. 10(F) is created on the LCD 6, and the cursor 66 is displayed in a 36-point shape, indicating the position of the first "3" of the 36-point character string "36point". The 12 point character string (“12 point
”) will be explained below.

【0035】図7のフローチャートにおいて、ステツプ
S61では、削除される表示文字情報120をカーソル
行表示文字列情報111内より検索する。ここでは、1
2ポイントの文字“t”が該当する表示文字である。
In the flowchart of FIG. 7, in step S61, the displayed character string information 111 in the cursor line is searched for the displayed character information 120 to be deleted. Here, 1
The 2-point character "t" is the corresponding display character.

【0036】ステツプS62では、ステツプS61で検
索された表示文字情報120のフォント122、サイズ
123、スタイル124の各情報をカーソル位置の入力
文字情報112に格納する。ここでは、文字サイズ12
ポイントの文字サイズの情報がカーソル位置の入力文字
情報112に格納される。
In step S62, the font 122, size 123, and style 124 information of the display character information 120 retrieved in step S61 is stored in the input character information 112 at the cursor position. Here, the font size is 12
Information on the character size of the point is stored in the input character information 112 at the cursor position.

【0037】ステツプS63では、削除該当文字を文章
情報格納領域110より削除し、ステツプS64では、
文字削除後のカーソル行表示列情報111を再作成した
後、ステツプS65でキヤンセル後のカーソル行を表示
文字列情報111に従って、表示する。これは、図10
(G)のカーソル67が表示されていない状態での表示
となる。
In step S63, the character to be deleted is deleted from the text information storage area 110, and in step S64,
After the cursor line display string information 111 after character deletion is recreated, the canceled cursor line is displayed according to the display character string information 111 in step S65. This is shown in Figure 10.
(G) The cursor 67 is not displayed.

【0038】さらにステツプS66では、カーソルが示
す“3”に対応する表示文字情報120を新しいカーソ
ル行表示文字列情報111内より検索し、ステツプS6
7では、ステツプS66で検索された表示文字情報12
0の位置をカーソル行表示文字列情報内カーソル位置情
報114に格納する。その後、処理はステップS90に
進む。
Further, in step S66, the display character information 120 corresponding to "3" indicated by the cursor is searched from within the new cursor line display character string information 111, and the process proceeds to step S6.
7, the display character information 12 retrieved in step S66
The position of 0 is stored in the cursor position information 114 in the cursor line display character string information. After that, the process proceeds to step S90.

【0039】ステツプS90ではすでに説明したように
、カーソル位置の入力文字情報112に従つたカーソル
形状をLCD6に表示する。ここでは、図10(G)に
示すようにカーソル67が12ポイントの形状で表示さ
れる。
In step S90, as already explained, the cursor shape is displayed on the LCD 6 in accordance with the input character information 112 at the cursor position. Here, the cursor 67 is displayed in a 12-point shape as shown in FIG. 10(G).

【0040】(4)文字デリート指示 さて、ステップS70ではキー入力が文字デリート指示
であるかどうかを調べる。ここで、キー入力が文字デリ
ート指示であると判断されたなら、処理はステップ80
に進み、文字デリートではないと判断されたなら、処理
は終了する。本実施例では、キーボード1上のCODE
キー228とキヤンセルキー231との同時押下入力に
よって文字デリート指示がなされたとみなす。
(4) Character Delete Instruction Now, in step S70, it is checked whether the key input is a character delete instruction. Here, if it is determined that the key input is a character deletion instruction, the process proceeds to step 80.
If it is determined that the character is not deleted, the process ends. In this embodiment, CODE on keyboard 1
It is assumed that a character deletion instruction has been issued by pressing the key 228 and the cancel key 231 at the same time.

【0041】ここでは、LCD6に図10(G)に示す
画面が表示され、カーソル67は12ポイントの形状で
表示されていて、カーソル位置の文字(36ポイントの
文字“36point”の左端“3”)をデリートする
場合について説明する。
Here, the screen shown in FIG. 10(G) is displayed on the LCD 6, and the cursor 67 is displayed in a 12-point shape, and the character at the cursor position (the leftmost "3" of the 36-point character "36point") is displayed. ) is deleted.

【0042】図8のフローチャートにおいて、ステツプ
S81では、カーソル行表示文字列情報内カーソル位置
情報114に該当するカーソル行表示文字列情報111
内の表示文字情報120のフォント122、サイズ12
3、スタイル124の各情報をカーソル位置の入力文字
情報112に格納する。ここでは、図10(G)に示さ
れる削除対象文字、つまり、文字サイズが36ポイント
の文字“36point”の左端“3”の情報が入力文
字情報112に格納される。
In the flowchart of FIG. 8, in step S81, the cursor line display character string information 111 corresponding to the cursor position information 114 in the cursor line display character string information is
Display character information 120 in font 122, size 12
3. Store each information of the style 124 in the input character information 112 at the cursor position. Here, information on the left end "3" of the deletion target character shown in FIG.

【0043】次に、ステップS82〜S84では前述の
ステツプS63〜65と同じ処理を実行し文字削除後の
カーソル行を表示する。これは、図10(H)でカーソ
ル68が表示されていない状態である。さらに、ステツ
プS85では、文字“3”削除後の新しいカーソル位置
になる、文字“6”の表示文字情報120を新しいカー
ソル行表示文字列情報111内より検索する。そして、
ステツプS86ではステツプS67と同じ処理を実行す
る。その後、処理はステップS90に進む。
Next, in steps S82 to S84, the same processing as in steps S63 to S65 described above is executed to display the cursor line after character deletion. This is the state in which the cursor 68 is not displayed in FIG. 10(H). Furthermore, in step S85, the display character information 120 of the character "6", which will be the new cursor position after character "3" has been deleted, is searched from the new cursor line display character string information 111. and,
In step S86, the same processing as in step S67 is executed. After that, the process proceeds to step S90.

【0044】ステツプS90ではすでに説明したように
、カーソル位置の入力文字情報112に従つたカーソル
形状をLCD6に表示する。ここでは、図10(H)に
示すようにカーソル68が36ポイントの形状で表示さ
れる。
In step S90, as already explained, a cursor shape according to the input character information 112 at the cursor position is displayed on the LCD 6. Here, the cursor 68 is displayed in a 36-point shape as shown in FIG. 10(H).

【0045】従って本実施例に従えば、(1)文字サイ
ズ変更指示、(2)カーソル移動指示、(3)文字キャ
ンセル指示、及び、(4)文字デリート指示に従って、
現在表示されているカーソル形状やカーソル位置を考慮
して、カーソルの形状を変化させてLCD上に表示する
ことができる。
Therefore, according to this embodiment, according to (1) a character size change instruction, (2) a cursor movement instruction, (3) a character cancel instruction, and (4) a character delete instruction,
The shape of the cursor can be changed and displayed on the LCD in consideration of the currently displayed cursor shape and cursor position.

【0046】なお本実施例では、文字サイズ変更に従う
カーソルサイズ変更表示処理についてのみ説明したが、
本発明はこれに限定されるものではなく、例えば、図1
1に示すようにアンダーライン付文字、ボールドフエイ
ス文字、イタリツク体文字、及び、アウトライン文字等
、文字スタイルの変化に合わせたカーソル形状を表示す
る事や、文字のフォント、スーパースクリプト、サブス
クリプト、及び、網かけ情報等の違いによりカーソル形
状を変化させて表示する事も可能である。
In this embodiment, only the cursor size change display processing according to the font size change has been explained.
The present invention is not limited to this, and for example, FIG.
As shown in 1, it is possible to display cursor shapes that match changes in character styles such as underlined characters, boldface characters, italicized characters, and outline characters, and to change the character font, superscript, subscript, and It is also possible to change the cursor shape and display it depending on the difference in shading information, etc.

【0047】また、本実施例では、カーソル移動処理・
文字キヤンセル処理・デリート処理に伴って文字サイズ
の変更のみが発生した場合に、カーソル形状を変化させ
て表示する処理について説明したが、本発明はこれに限
定されるものではない。例えば、文字のフォント、スタ
イル等の変更が発生した場合にも、その情報の変更に合
わせてカーソル形状を変化させて表示することもできる
In addition, in this embodiment, cursor movement processing and
Although the process of changing and displaying the cursor shape when only a change in character size occurs due to character cancel processing/delete processing has been described, the present invention is not limited to this. For example, even when a change in character font, style, etc. occurs, the cursor shape can be changed and displayed in accordance with the change in information.

【0048】さらに、本発明は上記実施例の説明に限定
されることなく、ワードプロセツサでの文書編集中にお
いてカーソル位置の入力文字情報が変更される場合、例
えば、単語削除、行削除、範囲指定削除等にも対応する
ことができる。
Furthermore, the present invention is not limited to the explanation of the above embodiments, but the present invention is applicable when input character information at the cursor position is changed while editing a document using a word processor, for example, word deletion, line deletion, range deletion, etc. It is also possible to handle specified deletion, etc.

【0049】さらに、本実施例では、パーソナルワード
プロセツサを例として説明したが、本発明はこれに限定
されるものではなく、例えば、電子タイプライタ等にも
適用できる。
Further, in this embodiment, a personal word processor has been described as an example, but the present invention is not limited to this, and can also be applied to, for example, an electronic typewriter.

【0050】尚、本発明は、複数の機器から構成される
システムに適用しても良いし、1つの機器から成る装置
に適用しても良い。また、本発明はシステム或は装置に
プログラムを供給することによつて達成される場合にも
適用できることは言うまでもない。
The present invention may be applied to a system composed of a plurality of devices, or to an apparatus composed of one device. It goes without saying that the present invention can also be applied to cases where the present invention is achieved by supplying a program to a system or device.

【0051】[0051]

【発明の効果】以上説明したように本発明によれば、設
定される文字書体、文字サイズ、文字修飾などに従って
カーソルの形状やサイズが変化して表示されるので、操
作者はがカーソルの形状やサイズからカーソル位置で入
力される文字の情報を認識できるという効果がある。こ
のため、操作者は文字書体、文字サイズ、文字修飾など
の確認のための操作が不要となり効率的な文書入力や文
書編集を行うことができる。
[Effects of the Invention] As explained above, according to the present invention, the shape and size of the cursor are changed and displayed according to the set character font, character size, character decoration, etc., so that the operator can This has the effect of being able to recognize character information entered at the cursor position based on the size and size. Therefore, the operator does not need to perform operations to confirm character fonts, character sizes, character decorations, etc., and can perform efficient document input and document editing.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】本発明の代表的な実施例であるパーソナルワー
ドプロセツサの外観斜視図である。
FIG. 1 is an external perspective view of a personal word processor that is a typical embodiment of the present invention.

【図2】図1で示したパーソナルワードプロセツサの構
成を示すブロツク図である。
FIG. 2 is a block diagram showing the configuration of the personal word processor shown in FIG. 1.

【図3】キーボード部の構成を示す図である。FIG. 3 is a diagram showing the configuration of a keyboard section.

【図4】RAM内のデータ配置を示す図である。FIG. 4 is a diagram showing data arrangement in RAM.

【図5】[Figure 5]

【図6】[Figure 6]

【図7】[Figure 7]

【図8】カーソル表示処理手順を示すフローチヤートで
ある。
FIG. 8 is a flowchart showing a cursor display processing procedure.

【図9】[Figure 9]

【図10】図5〜図8に示すカーソル表示処理に伴うカ
ーソル表示例を示す図である。
10 is a diagram showing an example of a cursor display accompanying the cursor display processing shown in FIGS. 5 to 8; FIG.

【図11】スタイルの変更によるカーソルの表示例を示
す図である。
FIG. 11 is a diagram showing an example of displaying a cursor by changing the style.

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

1  キーボード 6  LCD 100  CPU 103  RAM 110  文章情報格納領域 111  カーソル行表示文字列情報 112  カーソル位置の入力文字情報114  カー
ソル行表示文字列情報内カーソル位置情報120  表
示文字情報 214,216,217,220  カーソル移動キー
228,229  機能キー 230  リターンキー 231  キヤンセルキー
1 Keyboard 6 LCD 100 CPU 103 RAM 110 Text information storage area 111 Cursor line display character string information 112 Input character information at cursor position 114 Cursor position information in cursor line display character string information 120 Display character information 214, 216, 217, 220 Cursor Movement keys 228, 229 Function keys 230 Return key 231 Cancel key

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】  文書入力及び文書編集などの指示場所
を示すためにディスプレイにカーソルの表示を行う文書
処理方法であって、文字書体、文字サイズ、及び、文字
修飾を設定する工程と、前記工程による設定に従って、
前記カーソルの形状とサイズを変化させて前記ディスプ
レイに表示する工程とを有することを特徴とする文書処
理方法。
1. A document processing method for displaying a cursor on a display to indicate an instruction location for document input, document editing, etc., comprising the steps of setting a character font, character size, and character decoration; According to the settings by
A document processing method comprising the step of changing the shape and size of the cursor and displaying the changed shape on the display.
【請求項2】  文書入力及び文書編集などの指示場所
を示すためのカーソルを表示手段に表示する文書処理装
置において、文字書体、文字サイズ、及び、文字修飾を
設定する設定手段と、前記設定手段による設定に従って
、前記カーソルの形状とサイズを変化させて前記表示手
段に表示するカーソル表示手段とを有することを特徴と
する文書処理装置。
2. A document processing device that displays a cursor on a display device to indicate an instruction location for document input, document editing, etc., comprising: a setting device for setting a character font, a character size, and a character decoration; and the setting device. 1. A document processing apparatus comprising: cursor display means for changing the shape and size of said cursor and displaying said cursor on said display means according to settings made by said user.
【請求項3】  前記文字修飾とは、前記文字をアンダ
ーライン付文字、ボールドフェイス文字、イタリック体
文字、アウトライン文字等で表示することを含むことを
特徴とする請求項第2項に記載の文書処理装置。
3. The document according to claim 2, wherein the character modification includes displaying the characters as underlined characters, bold face characters, italic characters, outline characters, etc. Processing equipment.
JP3147108A 1991-06-19 1991-06-19 Method and device for processing document Pending JPH04369766A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3147108A JPH04369766A (en) 1991-06-19 1991-06-19 Method and device for processing document

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3147108A JPH04369766A (en) 1991-06-19 1991-06-19 Method and device for processing document

Publications (1)

Publication Number Publication Date
JPH04369766A true JPH04369766A (en) 1992-12-22

Family

ID=15422701

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3147108A Pending JPH04369766A (en) 1991-06-19 1991-06-19 Method and device for processing document

Country Status (1)

Country Link
JP (1) JPH04369766A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017128065A (en) * 2016-01-21 2017-07-27 ブラザー工業株式会社 Printer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017128065A (en) * 2016-01-21 2017-07-27 ブラザー工業株式会社 Printer

Similar Documents

Publication Publication Date Title
JPH04369766A (en) Method and device for processing document
JP3113066B2 (en) Document processing device with long sentence editing function
JPH0734195B2 (en) Format data setting method for document printing
JP3189110B2 (en) Document processing device
JPH04256065A (en) Document editing device
JPH01308672A (en) Printer with sentence editing function
JP3046429B2 (en) Document processing apparatus and document processing method
JPH0793319A (en) Document processor
JPH0644356A (en) Method and device for processing character
JPH06180698A (en) Document processor
JPH0498450A (en) Document processor
JPH06139244A (en) Document preparing system and its printing method
JPH07152734A (en) Document information processor
JPH05210662A (en) Document preparing device
JPH04282746A (en) Document preparing device
JPH01126684A (en) Document processor
JPH06214747A (en) Information processor
JPH04268627A (en) Printing controller
JPH01231163A (en) Document generating device
JPH05143049A (en) Document processor with settable and variable superscript and subscript character size
JPH04282756A (en) Word processor
JPH0355661A (en) Document producing device
JPH0756916A (en) Document generation device and editing range designation method
JPH04282754A (en) Word processor
JPH05274307A (en) Device and method for preparing document

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20000728