JPS62229288A - Document processor - Google Patents

Document processor

Info

Publication number
JPS62229288A
JPS62229288A JP61071357A JP7135786A JPS62229288A JP S62229288 A JPS62229288 A JP S62229288A JP 61071357 A JP61071357 A JP 61071357A JP 7135786 A JP7135786 A JP 7135786A JP S62229288 A JPS62229288 A JP S62229288A
Authority
JP
Japan
Prior art keywords
character
document
ruby
cursor
characters
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
Application number
JP61071357A
Other languages
Japanese (ja)
Other versions
JPH0675233B2 (en
Inventor
長谷川 岳都
内海 雅行
古川 文夫
俊之 荒井
佐合 正樹
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 JP61071357A priority Critical patent/JPH0675233B2/en
Publication of JPS62229288A publication Critical patent/JPS62229288A/en
Publication of JPH0675233B2 publication Critical patent/JPH0675233B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は文書データを作成、&ii集し出力する文書処
理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a document processing device that creates, collects, and outputs document data.

[従来の技術] 文書処理装置には見出し、本文、ルビ等の文字種を扱え
るものがある。従来は、本文の文字サイズを基準にして
見出し、ルビ等を夫々に決められたサイズで表示してい
た(第4図)。しかし、文書データの作成、編集中は本
文のみならず見出し、ルビ等の文字を挿入又は訂正しな
くてはならない。かかる場合には大きな見出しは扱い難
く、小さなルビは見るのが困難であった。
[Prior Art] Some document processing devices can handle character types such as headings, body text, and ruby characters. Conventionally, headings, rubies, etc. were displayed at predetermined sizes based on the font size of the main text (Figure 4). However, while creating and editing document data, it is necessary to insert or correct not only the main text but also characters such as headings and ruby characters. In such cases, large headings were unwieldy and small rubies were difficult to read.

[発明が解決しようとする問題点] 本発明は上述した背景に鑑みて成されたものであって、
その目的とする所は、文書データを作成、編集する際の
注目すべき文字が常に見易い大きさで扱える文書処理装
置を提供することにある。
[Problems to be solved by the invention] The present invention has been made in view of the above-mentioned background, and
The purpose is to provide a document processing device that can always handle noteworthy characters in a size that is easy to see when creating or editing document data.

[問題点を解決するための手段] 本発明の文書処理装置は、上記問題点を解決するため、
注目すべき文字の文字種を識別する識別手段と、前記識
別手段の識別結果に従って前記注目すべき文字が所定の
サイズになるように表示を拡大又は縮小する表示制御手
段を備える。
[Means for solving the problems] In order to solve the above problems, the document processing device of the present invention has the following features:
The present invention includes an identification means for identifying the character type of the character to be noted, and a display control means for enlarging or reducing the display so that the character to be noted becomes a predetermined size according to the identification result of the identification means.

[作用] かかる構成において、識別手段は、例えば次に人力する
文字あるいは挿入、訂正する等の文字として、注目すべ
き文字の文字種を識別する。表示制御手段は前記識別手
段の識別結果に従って、前記注目すべき文字がルビのと
きは該ルビが例えば本文の文字サイズになるように表示
を拡大する。
[Operation] In this configuration, the identification means identifies the character type of the character to be noted, for example, as the next character to be manually input or the character to be inserted or corrected. When the notable character is ruby, the display control means enlarges the display so that the ruby becomes, for example, the character size of the main text, according to the identification result of the identification means.

また注目すべき文字が大きい見出しのときは該見出しが
例えば本文の文字サイズになるように表示を縮小する。
Further, when the noteworthy character is a large heading, the display is reduced so that the heading has, for example, the font size of the main text.

[実施例] 以下、添付図面に従って本発明の実施例を詳細に説明す
る。
[Examples] Examples of the present invention will be described in detail below with reference to the accompanying drawings.

第1図は実施例の文書処理装置のブロック構成図である
。図において、1は本実施例装置の主制御を掌るセント
ラルプロセツシングユニット(CPU)、2は第2図の
処理プログラムを記憶しているプログラムメモリ(PM
)、3は第4図〜第6図のような態様で文章データを表
示するディスプレイユニット(DU)、4は必要に応じ
て文書ファイルに挿入するような画像データを原稿画像
から読み取るイメージリーダ(IR)、5は処理プログ
ラム並びに編集すべき文書ファイルを外部で記憶してい
るディスクユニット(DSK)、6は文書ファイルを印
刷するプリンタ(PR)、7はディスプレイユニット3
に表示したカーソルKを制御することも可能なポインテ
ィングデバイス(PD)、8は文書データ、制御データ
等を入力するキーボード、9はCPUIのプログラム実
行によって実現される機能ブロック、10はCPU1の
共通バスである。
FIG. 1 is a block diagram of a document processing apparatus according to an embodiment. In the figure, 1 is a central processing unit (CPU) that is in charge of the main control of the device of this embodiment, and 2 is a program memory (PM) that stores the processing program shown in FIG.
), 3 is a display unit (DU) that displays text data in the manner shown in FIGS. 4 to 6, and 4 is an image reader (DU) that reads image data from a document image to be inserted into a document file as necessary. IR), 5 is a disk unit (DSK) that externally stores processing programs and document files to be edited, 6 is a printer (PR) that prints the document files, and 7 is a display unit 3
8 is a keyboard for inputting document data, control data, etc., 9 is a functional block realized by CPU program execution, and 10 is a common bus for CPU 1. It is.

機能ブロック9において、91は文書に係る符号データ
MCを記憶する文書メモリ、92はカーソルにの位置情
報KAに従って文書メモリ91から文書データMCを読
み出し、注目すべき文字の文字種を識別する識別手段、
93は識別手段92の識別結果の情報MSに従って注目
すべき文字が所定のサイズになるように表示画像データ
IDを拡大又は縮小展開する表示制御手段、94はディ
スプレイユニット3に表示する文書画像データDDを記
憶する画像メモリである。
In the functional block 9, 91 is a document memory that stores code data MC related to a document; 92 is an identification unit that reads document data MC from the document memory 91 according to position information KA of the cursor and identifies the character type of a character of interest;
Reference numeral 93 denotes a display control means for enlarging or reducing the display image data ID so that the noteworthy character becomes a predetermined size according to the information MS of the identification result of the identification means 92; 94 denotes document image data DD to be displayed on the display unit 3; This is an image memory that stores images.

以下、実施例の動作を説明する。The operation of the embodiment will be explained below.

第2図は実施例の文書処理のフローチャート、第3図(
a)、(b)は文書データの構造を示す図に係り、第3
図(a)は文書ヘッダの構造図、第3図(b)はテキス
トデータの構造図である。
Figure 2 is a flowchart of document processing in the embodiment, Figure 3 (
a) and (b) are diagrams showing the structure of document data;
FIG. 3(a) is a structural diagram of a document header, and FIG. 3(b) is a structural diagram of text data.

また第4図は通常の表示画面、第5図はルビに従って拡
大した表示画面、第6図は見出しに従って縮小した表示
画面の図である。
4 shows a normal display screen, FIG. 5 shows a display screen enlarged according to rubies, and FIG. 6 shows a display screen reduced according to headings.

ステップS1では文書作成、編集に係るキー人力を待つ
。キー人力があるとステップS2でカーソル移動キーか
否かを判別する。カーソル移動キーは例えばある文書デ
ータを訂正するような場合に使用される。カーソル移動
キーならばステップS3でカーソルKを移動させる。
In step S1, key human resources related to document creation and editing are awaited. If there is human power on the key, it is determined in step S2 whether it is a cursor movement key. The cursor movement keys are used, for example, when correcting certain document data. If it is a cursor movement key, the cursor K is moved in step S3.

第4図において、例えばカーソルKが本文文字“登”の
下に移動したとする。このようにしてカーソルにの指す
文字はその時点における注目すべき文字である。ステッ
プS4ではカーソルにの動きに従って注目すべき文字の
文字種を識別する。もし、カーソルKが「に」から「登
」に移動したときは、両者は共に本文文字であるからス
テップS5で前の文字種と同じと判断され、ステップS
1に戻る。表示画面は第4図のままである。
In FIG. 4, for example, it is assumed that the cursor K has been moved below the main text character "RE". In this way, the character pointed to by the cursor is the character of interest at that time. In step S4, the type of character of interest is identified according to the movement of the cursor. If the cursor K moves from "ni" to "noboru", since both are body characters, it is determined in step S5 that they are the same as the previous character type, and step S5
Return to 1. The display screen remains as shown in FIG.

次にカーソルKが“登”の下にある状態で「上カーソル
キー」が押されたとする。CPUIは“登°゛の文字コ
ードが漢字コードであるのでテキストデータ200中の
1つ手前のコードを調べる。このコードは「ルビ付」の
コードであるからCPU 1は次の「ルビ開始」コード
に従ってカーソルKをルビの“の”の位置に′8動させ
る。ステップS4では「ルビ付」のコードを認識したこ
とのより次に注目すべき文字゛°のパの文字種はルビで
ある。ステップS5の判別では、それまでの文字種が本
文であり穆動後の文字種がルビであるからステップS6
に進み、ルビ文字の゛の°°が所定の文字サイズになる
ように表示全体、或はそのルビ文字を含めた所定領域(
例えば当該行、又は当該部分)を拡大又は縮小する。注
目すべき文字を常に見易い、扱い易い大きさのものとす
るためである。
Next, assume that the "up cursor key" is pressed while the cursor K is under "ENTER". Since the character code for "Enter" is a kanji code, the CPU checks the previous code in the text data 200. Since this code is a "ruby included" code, CPU 1 searches for the next "ruby start" code. Move the cursor K to the ruby "no" position according to the following. In step S4, since the code ``with ruby'' has been recognized, the character type of the character ゛°, which should be noted next, is ruby. In the determination in step S5, the character type up to that point is body text and the character type after the text is ruby, so step S6
Proceed to , and adjust the entire display so that the ゛ °° of the ruby character becomes the specified font size, or the specified area including the ruby character (
For example, enlarge or reduce the line or portion. This is to ensure that noteworthy characters are always easy to see and have a size that is easy to handle.

拡大又は縮小の際は第3図(a)の文書ヘッダ100の
内容が参照される。101は用紙サイズであって例えば
(A4)、102は見出し文字のポイント数(20ポイ
ント)、103は本文文字のポイント数(10ポイント
)、104はルビ文字のポイント数(5ポイント)、1
05は編集時文字のポイント数(10ポイント)を記憶
している。編集時文字のポイント数105は注目すべき
文字をこのポイント数に変えて表示すべきことを示して
いる。従って識別手段92はルビ文字のポイント数を5
ポイントから10ポイントに変え、その比1015を保
持する。そして、新たな用紙サイズ、見出し文字、本文
文字の大きさをこの比1015に従って求める。即ち、
用紙サイズはA4からA3の2倍に、見出し文字は20
ポイントから40ポイントに、本文文字は10ポイント
から20ポイントに変換される。表示制御手段93は識
別手段92が求めた新たな用紙サイズA3、各種文字の
ポイント数に従って画像メモリ94の全表示画像データ
IDを拡大又は縮小展開する。
When enlarging or reducing, the contents of the document header 100 in FIG. 3(a) are referred to. 101 is the paper size, for example (A4), 102 is the number of points for heading characters (20 points), 103 is the number of points for body characters (10 points), 104 is the number of points for ruby characters (5 points), 1
05 stores the number of points (10 points) of characters during editing. The point number 105 for characters during editing indicates that the noteworthy character should be displayed with this point number changed. Therefore, the identification means 92 sets the number of points of ruby characters to 5.
Change from point to 10 points and keep the ratio 1015. Then, the new paper size, heading character, and body character sizes are determined according to this ratio 1015. That is,
The paper size is double A4 to A3, and the number of heading characters is 20.
Points will be converted to 40 points, and body text will be converted from 10 points to 20 points. The display control means 93 enlarges or reduces all display image data ID in the image memory 94 according to the new paper size A3 and the number of points of various characters determined by the identification means 92.

拡大する場合は必要なら注目すべき文字が画面の中央に
あるように展開される。この表示画面は第5図に示され
ている。
When zooming in, the text is expanded if necessary so that the noteworthy character is centered on the screen. This display screen is shown in FIG.

次に再び「上カーソルキー」が押された場合はカーソル
には見出し文字の”枕”の部分に穆る。
Next, if the ``up cursor key'' is pressed again, the cursor will move to the ``pillow'' part of the heading character.

ステップS4では第3図(b)のテキストデータ200
中のコードをカーソルにの移動先に従って調べる。即ち
、テキストデータ200中の第2行目をルビ文字の「の
」から左に進み、行の先端で1つ上の行(第1行目)の
後端に移動し、第1行目をさらに左に進み、「枕」の文
字コードに至る。従ってステップS4では「ルビ開始」
のコード206を前方に抜けてかつ最終的に「見出し終
了」のコード202を後方から認識したことになるから
、次に注目すべき文字“枕”の文字種は見出しである。
In step S4, the text data 200 of FIG. 3(b)
Examine the code inside according to where you move the cursor. That is, the second line in the text data 200 is moved to the left from the ruby character "no", the top of the line is moved to the back of the line one line above (the first line), and the first line is Continue to the left until you reach the character code for "pillow". Therefore, in step S4, "Ruby start"
The character type of the character "Makura" that should be noticed next is the heading.

ステップS5の判別では、通過した直前の文字種が本文
の“山”であり8勤後の文字種が見出しの“枕”である
からステップS6に進み、見出しの“枕”が所定の文字
サイズになるように表示全体を拡大又は縮小する。実施
例では縮小に該当し、表示画面は第6図のようになる。
In the determination in step S5, the character type immediately before passing is "yama" in the main text, and the character type after the 8th shift is "pillow" in the heading, so the process advances to step S6, and the "pillow" in the heading becomes the predetermined font size. Enlarge or reduce the entire display. In this embodiment, this corresponds to reduction, and the display screen becomes as shown in FIG.

ステップS2でカーソル8勅キーでないと判別するとス
テップS7に進む。ステップS7で文字データ入力と判
別するとステップS8で入力データをカーソルに対応す
るバッファの位置に挿入する。文書データの作成中はカ
ーソルKか次に入力すべき文字位置を示している。従っ
て次に入力すべき文字が注目すべき文字である。しかし
、かかる文字は実際に入力されないとその文字種を判別
できない。識別手段92は本文人力中の次のキー人力が
例えば「ルビ開始」のコントロールキーであるときは新
た゛な識別結果の情報MSを出力する。表示制御手段9
3は新たな識別結果の情報MSに従って次に入力すべき
文字が所定のサイズになるように表示画像データIDを
拡大又は縮小展間する。「見出し」についても同様であ
る。
If it is determined in step S2 that the cursor is not the 8th key, the process advances to step S7. If character data input is determined in step S7, the input data is inserted into the buffer position corresponding to the cursor in step S8. While document data is being created, the cursor K indicates the position of the next character to be input. Therefore, the next character to be input is the character to be noted. However, the type of such a character cannot be determined unless it is actually input. The identification means 92 outputs information MS of a new identification result when the next key input in the text input is, for example, a control key for "ruby start". Display control means 9
3 enlarges or reduces the display image data ID according to the new identification result information MS so that the next character to be input has a predetermined size. The same applies to "heading".

[効果] 以上説明したように本発明によれば、複数の文字種が混
在することを許す文書処理装置において、例えば編集し
ている文字の大きさをいつも同じ大きさに合わすように
編集していない部分を拡大縮小することにより、全体の
文字のバランスを狂わすことなく、編集する部分は常に
見易く処理することが可能になり、能率が上がる効果が
ある。
[Effects] As explained above, according to the present invention, in a document processing device that allows a plurality of character types to coexist, for example, the characters being edited are not always edited to the same size. By enlarging or reducing a portion, the portion to be edited can always be processed in an easy-to-read manner without disturbing the balance of the overall characters, which has the effect of increasing efficiency.

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

第1図は実施例の文書処理装置のブロック構成図、 第2図は実施例の文書処理のフローチャート、第3図(
a)は文書ヘッダの構造図、 第3図(b 、)はテキストデータの構造図、第4図は
通常の表示画面の図、 第5図はルビに従って拡大した表示画面の図、 第6図は見出しに従って縮小した表示画面の図である。 図中、1・・・セントラルプロセツシングユニット(C
PU)、2・・・プログラムメモリ(PM)、3・・・
ディスプレイユニット(DU)、4・・・イメージリー
ダ(IR)、5・・・ディスクユニット(DSK)、6
・・・プリンタ(PR)、7・・・ポインティングデバ
イス(PD)、8・・・キーボード、9・・・機能ブロ
ック、10・・・共通バスである。 特許出願人   キャノン株式会社 第2図 第4IIJ 第5図 W4夙
FIG. 1 is a block diagram of a document processing device according to an embodiment, FIG. 2 is a flowchart of document processing according to an embodiment, and FIG.
Figure 3 (b) is a diagram of the structure of the document header, Figure 3 (b) is a diagram of the structure of text data, Figure 4 is a diagram of the normal display screen, Figure 5 is a diagram of the display screen enlarged according to the ruby, Figure 6 is a diagram of the display screen scaled down according to the headings. In the figure, 1... central processing unit (C
PU), 2...Program memory (PM), 3...
Display unit (DU), 4... Image reader (IR), 5... Disk unit (DSK), 6
... printer (PR), 7 ... pointing device (PD), 8 ... keyboard, 9 ... functional block, 10 ... common bus. Patent applicant: Canon Co., Ltd. Figure 2 Figure 4 IIJ Figure 5 W4

Claims (1)

【特許請求の範囲】[Claims] 文書データを作成、編集し出力する文書処理装置におい
て、注目すべき文字の文字種を識別する識別手段と、前
記識別手段の識別結果に従つて前記注目すべき文字が所
定のサイズになるように表示を拡大又は縮小する表示制
御手段を備えることを特徴とする文書処理装置。
In a document processing device that creates, edits, and outputs document data, an identification means for identifying a character type of a character of interest, and a display of the character of interest in a predetermined size according to the identification result of the identification means. A document processing device comprising display control means for enlarging or reducing.
JP61071357A 1986-03-31 1986-03-31 Document processor Expired - Lifetime JPH0675233B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61071357A JPH0675233B2 (en) 1986-03-31 1986-03-31 Document processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61071357A JPH0675233B2 (en) 1986-03-31 1986-03-31 Document processor

Publications (2)

Publication Number Publication Date
JPS62229288A true JPS62229288A (en) 1987-10-08
JPH0675233B2 JPH0675233B2 (en) 1994-09-21

Family

ID=13458159

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61071357A Expired - Lifetime JPH0675233B2 (en) 1986-03-31 1986-03-31 Document processor

Country Status (1)

Country Link
JP (1) JPH0675233B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0470961A (en) * 1990-07-05 1992-03-05 Just Syst Corp Pattern display device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4841639A (en) * 1971-09-27 1973-06-18
JPS551612A (en) * 1978-06-19 1980-01-08 Hitachi Ltd Light beam position correcting method
JPS5633753A (en) * 1979-08-27 1981-04-04 Shimadzu Corp Extended memory control device of microcomputer
JPS6114692A (en) * 1984-06-29 1986-01-22 株式会社日立製作所 Image display controller

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4841639A (en) * 1971-09-27 1973-06-18
JPS551612A (en) * 1978-06-19 1980-01-08 Hitachi Ltd Light beam position correcting method
JPS5633753A (en) * 1979-08-27 1981-04-04 Shimadzu Corp Extended memory control device of microcomputer
JPS6114692A (en) * 1984-06-29 1986-01-22 株式会社日立製作所 Image display controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0470961A (en) * 1990-07-05 1992-03-05 Just Syst Corp Pattern display device

Also Published As

Publication number Publication date
JPH0675233B2 (en) 1994-09-21

Similar Documents

Publication Publication Date Title
JPS62229288A (en) Document processor
JPH07262207A (en) Image data filing method, image data registering method, image data retrieving method and the device
JPH0764979A (en) Document information processor
JPS6244866A (en) Area format setting system
JPH0245218B2 (en)
JP2851307B2 (en) Data display system
JPH0470962A (en) Data processor
JPH0410163A (en) Document processing device
JPS58215692A (en) Copy indication system
JPH076167A (en) Format setting method
JPH04321166A (en) Information processor
JPH08161308A (en) Document processor
JPH02297123A (en) Document generator
JPH05151219A (en) Document processor with partial access function
JPH02297164A (en) Document processor with one row copying function
JPH10188016A (en) Document reader and layout analyzing and correcting processing method at document reader
JPH04367971A (en) Document processor
JPH04282746A (en) Document preparing device
JPS6090385A (en) Character processor
JPH0831097B2 (en) Document input processor
JPH04320568A (en) Character size conversion system for word processor
JPS6366677A (en) Documentation device
JPH04282755A (en) Word processor
JPH06231116A (en) Document preparing device
JPH09218920A (en) Picture information recognition processing system

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term