JPH07182313A - Device and method for documentation - Google Patents

Device and method for documentation

Info

Publication number
JPH07182313A
JPH07182313A JP5321975A JP32197593A JPH07182313A JP H07182313 A JPH07182313 A JP H07182313A JP 5321975 A JP5321975 A JP 5321975A JP 32197593 A JP32197593 A JP 32197593A JP H07182313 A JPH07182313 A JP H07182313A
Authority
JP
Japan
Prior art keywords
characters
screen
document data
data
length
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.)
Withdrawn
Application number
JP5321975A
Other languages
Japanese (ja)
Inventor
Tetsuo Wakatsuki
哲郎 若月
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP5321975A priority Critical patent/JPH07182313A/en
Publication of JPH07182313A publication Critical patent/JPH07182313A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To provide a word processor which can display document data in the frame of the screen even if the number of characters in one line or one page of the document data increases. CONSTITUTION:The device has a function which enables an operator to optionally set the number of characters in one line of the document data displayed on the display screen, and a CPU 1 finds the total number of dots of one fine from the set number of characters in one line and the basic size of a character font stored in a character pattern memory 11, and varies the numbers of longitudinal and lateral dots of the character font so that the total number of dots in one line is equal to or less than the total number of lateral dots of the screen when the total number of dots exceeds the total number of lateral dots of the screen, thereby performing control so that the document data are displayed with the character font.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、例えばワードプロセッ
サ等の文書作成装置及びその文書作成方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document preparation device such as a word processor and a document preparation method thereof.

【0002】[0002]

【従来の技術】ワードプロセッサでは、作成する文書の
行の文字数(1行字数)をかなり自由な幅で設定するこ
とができる。しかし、1行字数が多くなると、行全体を
画面に表示しきれなくなる場合が生じる。例えば表示画
面の横方向(行方向)のドット数を“180”、文字フ
ォントの横方向のドット数を“16”とすると、表示可
能な1行最大字数は“11”となり、残りの文字は画面
からはみでて見えなくなる。はみでた文字はカーソルを
画面端まで移動させて画面を右にシフトさせることで表
示できるが、行全体を同時に表示できないことに違いは
なく、文書の表示性及び文書作成効率を大きく劣化させ
てしまう原因となる。
2. Description of the Related Art In a word processor, it is possible to set the number of characters (the number of characters in one line) of a line of a document to be created with a considerably arbitrary width. However, if the number of characters in one line increases, the entire line may not be displayed on the screen. For example, if the number of dots in the horizontal direction (row direction) of the display screen is "180" and the number of dots in the horizontal direction of the character font is "16", the maximum number of characters that can be displayed on one line is "11", and the remaining characters are It will disappear from the screen. You can display the characters that are overlaid by moving the cursor to the edge of the screen and shifting the screen to the right, but it is not possible to display the entire line at the same time, which greatly deteriorates the document displayability and document creation efficiency. Cause.

【0003】また、従来のほとんどのワードプロセッサ
には、文字サイズを横方向に、文字フォントの基準ドッ
ト数の半分にする機能が備えられている。この機能を用
いれば表示可能な1行の最大字数を2倍に増やすことが
できる。しかし、この場合、文字データそのものにサイ
ズ縮小の属性が付与されてしまい、印刷した文書の文字
までもサイズ縮小されてしまう。
Further, most of the conventional word processors have a function of making the character size in the horizontal direction half the reference dot number of the character font. By using this function, the maximum number of characters that can be displayed on one line can be doubled. However, in this case, the size reduction attribute is added to the character data itself, and the size of the characters of the printed document is also reduced.

【0004】[0004]

【発明が解決しようとする課題】本発明はこのような課
題を解決するためのもので、文書データの1行字数が増
大しても、この文書データを画面横方向の長さ内に収め
て表示させることのできる文書作成装置及び文書作成方
法の提供を目的としている。
SUMMARY OF THE INVENTION The present invention is intended to solve such a problem. Even if the number of characters in one line of document data increases, the document data is stored within the horizontal length of the screen. An object of the present invention is to provide a document creation device and a document creation method that can be displayed.

【0005】また文書データの1頁行数が増大しても、
この文書データを画面縦方向の長さ内に収めて表示させ
ることのできる文書作成装置及び文書作成方法の提供を
目的としている。
Even if the number of lines per page of document data increases,
It is an object of the present invention to provide a document creating apparatus and a document creating method capable of displaying the document data within the length of the screen in the vertical direction.

【0006】さらに、1行字数あるいは1頁行数が少な
い文書データを表示する場合でも、画面をいっぱいに用
いて文書データを表示することのできる文書作成装置及
び文書作成方法の提供を目的としている。
Further, it is an object of the present invention to provide a document preparation apparatus and a document preparation method capable of displaying document data by using the full screen even when displaying document data having a small number of characters per line or lines per page. .

【0007】[0007]

【課題を解決するための手段】請求項1の発明は上記し
た目的を達成するために、表示手段に表示する文書デー
タの横方向(請求項2の発明では縦方向)の文字数を設
定する設定手段と、設定手段により設定された文字数及
び予め記憶されている文字のドットパターンデータの基
本サイズに基づいて文書データの横方向(縦方向)の長
さを求める算出手段と、算出手段により算出された文書
データの横方向(縦方向)の長さが画面の横方向(縦方
向)の長さを越える場合は、画面の横方向(縦方向)の
長さ内に文書データの横方向(縦方向)の長さが収まる
ように、文字のドットパターンデータの少なくとも横方
向(縦方向)の長さを変更する変更手段とを具備して構
成される。
In order to achieve the above object, the invention of claim 1 sets to set the number of characters in the horizontal direction (vertical direction in the invention of claim 2) of the document data displayed on the display means. Means, a calculating means for obtaining the horizontal (vertical) length of the document data based on the number of characters set by the setting means and the basic size of the dot pattern data of the characters stored in advance, and the calculating means If the horizontal (vertical) length of the document data exceeds the horizontal (vertical) length of the screen, the horizontal (vertical) length of the document data is within the horizontal (vertical) length of the screen. And a changing unit that changes at least the length of the dot pattern data of the character in the horizontal direction (vertical direction) so that the length of the character dot pattern can be accommodated.

【0008】また、請求項3の発明は上記した目的を達
成するために、表示手段に表示する文書データの横方向
(請求項4の発明では縦方向)の文字数を設定する設定
手段と、設定手段により設定された文字数及び予め記憶
されている文字のドットパターンデータの基本サイズに
基づいて文書データの横方向(縦方向)の長さを求める
算出手段と、算出手段により算出された文書データの横
方向(縦方向)の長さが画面の横方向(縦方向)の長さ
よりも小さい場合、前記設定手段により設定された数の
文字データが画面の横幅(縦幅)全体を使って均等に配
置されるように、文字のドットパターンデータの少なく
とも横方向(縦方向)の長さを変更する変更手段とを具
備して構成される。
In order to achieve the above-mentioned object, the invention of claim 3 sets a setting means for setting the number of characters in the horizontal direction (vertical direction in the invention of claim 4) of the document data displayed on the display means. Calculating means for obtaining the length in the horizontal direction (longitudinal direction) of the document data based on the number of characters set by the means and the basic size of the dot pattern data of the characters stored in advance; When the length in the horizontal direction (vertical direction) is smaller than the length in the horizontal direction (vertical direction) of the screen, the number of character data set by the setting means is evenly distributed over the entire width (vertical width) of the screen. The arrangement includes a changing unit that changes at least the horizontal (vertical) length of the character dot pattern data so as to be arranged.

【0009】さらに、請求項5の発明は上記した目的を
達成するために、表示手段に表示する文書データの横
(請求項6の発明では縦方向)方向の文字数を設定する
設定手段と、設定手段により設定された文字数が画面の
横方向(縦方向)に表示し得る最大の文字数に満たない
場合、設定手段により設定された数の文字データが画面
の横幅(縦幅)全体を使って均等に配置されるよう、各
文字データの間に空白部を挿入する空白挿入手段とを具
備して構成される。
Further, in order to achieve the above-mentioned object, the invention of claim 5 sets a setting means for setting the number of characters in the horizontal (vertical direction in the invention of claim 6) direction of the document data displayed on the display means. When the number of characters set by the means is less than the maximum number of characters that can be displayed in the horizontal direction (vertical direction) of the screen, the number of character data set by the setting means is equalized using the entire width (vertical width) of the screen. And a blank insertion means for inserting a blank portion between each character data.

【0010】[0010]

【作用】したがって、請求項1の発明では、設定された
文字数及び文字のドットパターンデータの基本サイズを
基に算出した文書データの横方向(請求項2の発明では
縦方向)の長さが、画面の横方向(縦方向)の長さを越
える場合は、画面の横方向(縦方向)の長さ内に文書デ
ータの横方向(縦方向)の長さが収まるように、文字の
ドットパターンデータの少なくとも横方向(縦方向)の
長さを変更するので、文書データの1行字数が増大して
も、文書データを画面の横方向の長さ内に収めて表示さ
せることができる。
Therefore, according to the invention of claim 1, the length of the document data in the horizontal direction (the vertical direction in the invention of claim 2) calculated based on the set number of characters and the basic size of the dot pattern data of the character is If it exceeds the horizontal (vertical) length of the screen, the character dot pattern is set so that the horizontal (vertical) length of the document data fits within the horizontal (vertical) length of the screen. Since at least the length of the data in the horizontal direction (vertical direction) is changed, the document data can be displayed within the horizontal length of the screen even if the number of characters in one line of the document data increases.

【0011】同様に請求項2の発明では、文書データの
1頁行数が増大しても、この文書データを画面の縦方向
の長さ内に収めて表示することができる。
Similarly, according to the second aspect of the present invention, even if the number of lines per page of document data increases, the document data can be displayed within the vertical length of the screen.

【0012】請求項3の発明では、設定された文字数及
び文字のドットパターンデータの基本サイズを基に算出
した文書データの横方向(請求項4の発明では縦方向)
の長さが、画面の横方向(縦方向)の長さよりも小さい
場合、設定手段により設定された数の文字データが画面
の横幅(縦幅)全体を使って均等に配置されるように、
文字のドットパターンデータの少なくとも横方向(縦方
向)の長さを変更するので、1行字数が少ない文書デー
タを表示する際に、画面の横幅をいっぱいに用いて文書
データを表示することができる。
According to the third aspect of the invention, the document data is calculated in the horizontal direction based on the set number of characters and the basic size of the dot pattern data of the characters (in the invention of claim 4, the vertical direction).
If the length of is smaller than the length of the screen in the horizontal direction (vertical direction), the number of character data set by the setting means is evenly arranged using the entire width of the screen (vertical width).
Since at least the horizontal (vertical) length of the character dot pattern data is changed, the document data can be displayed by using the full width of the screen when displaying document data with a small number of characters per line. .

【0013】同様に請求項4の発明では、1頁行数が少
ない文書データを表示する際に、画面の縦幅をいっぱい
に用いて文書データを表示することができる。
Similarly, in the invention of claim 4, when displaying the document data having a small number of lines per page, the document data can be displayed by using the full vertical width of the screen.

【0014】さらに請求項5の発明では、設定手段によ
り設定された文字数が画面の横方向(請求項6の発明で
は縦方向)に表示し得る最大の文字数に満たない場合、
設定手段により設定された数の文字データが画面の横幅
(縦幅)全体を使って均等に配置されるよう、各文字デ
ータの間に均等な横幅(縦幅)の空白部を挿入するの
で、1行字数が少ない文書データを表示する際に、文字
のサイズを変更することなく、画面の横幅をいっぱいに
用いて文書データを表示することができる。
Further, in the invention of claim 5, when the number of characters set by the setting means is less than the maximum number of characters which can be displayed in the horizontal direction (vertical direction in the invention of claim 6) of the screen,
Since a blank part of equal width (vertical width) is inserted between each character data so that the number of character data set by the setting means is evenly arranged using the entire width (vertical width) of the screen, When displaying document data in which the number of characters in one line is small, the document data can be displayed by using the full width of the screen without changing the character size.

【0015】同様に請求項6の発明では、1頁行数が少
ない文書データを表示する際に、文字のサイズを変更す
ることなく、画面の縦幅をいっぱいに用いて文書データ
を表示することができる。
Similarly, in the invention of claim 6, when the document data having a small number of lines per page is displayed, the document data is displayed by using the full width of the screen without changing the character size. You can

【0016】[0016]

【実施例】以下、本発明の実施例を図面を参照しなから
説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0017】図1は本発明に係る一実施例のワードプロ
セッサの構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a word processor according to an embodiment of the present invention.

【0018】同図において、1は装置全体の制御を行う
CPUである。2はCPU1で実行されるプログラム、
かな漢字変換辞書、その他文書作成に必要な情報を固定
的に格納しているROMである。3は文字コードデータ
やその他のデータのまとまりからなる文書データ等を記
憶するRAMである。4はCPU1の制御下でフロッピ
ーディスクドライブ(FDD)5の制御を行うフロッピ
ーディスクコントローラ(FDC)である。6はCPU
1とキーボード(KB)7との間のデータの入出力を制
御するキーボードコントローラ(KBC)である。8は
文書データ等を表示するCRT等の表示装置9の制御を
行うディスプレイコントローラ(CRTC)である。1
0は表示装置9に表示する文書のドットパターンデータ
を記憶する表示用ドットメモリである。11は個々の文
字のドットパターンデータである文字フォントが格納さ
れている文字パタンメモリである。12は文書データ等
を印刷するプリンタ(PRT)13の制御を行うプリン
タコントローラ(PRTC)である。14はこのシステ
ムに電源を供給する電源部(PS)である。15は以上
各部の間でデータを転送するシステムバスである。
In the figure, reference numeral 1 is a CPU for controlling the entire apparatus. 2 is a program executed by the CPU 1,
It is a ROM that fixedly stores a kana-kanji conversion dictionary and other information necessary for document creation. Reference numeral 3 is a RAM for storing document data, which is a collection of character code data and other data. A floppy disk controller (FDC) 4 controls the floppy disk drive (FDD) 5 under the control of the CPU 1. 6 is a CPU
1 is a keyboard controller (KBC) for controlling the input / output of data between the keyboard 1 and the keyboard (KB) 7. A display controller (CRTC) 8 controls a display device 9 such as a CRT that displays document data and the like. 1
Reference numeral 0 is a display dot memory for storing dot pattern data of a document displayed on the display device 9. Reference numeral 11 is a character pattern memory in which character fonts, which are dot pattern data of individual characters, are stored. A printer controller (PRTC) 12 controls a printer (PRT) 13 that prints document data and the like. Reference numeral 14 is a power supply unit (PS) that supplies power to this system. Reference numeral 15 is a system bus for transferring data between the above-mentioned units.

【0019】次に本実施例のワードプロセッサの動作を
説明する。
Next, the operation of the word processor of this embodiment will be described.

【0020】まずシステムに電源が投入されると表示装
置9の画面に作業メニューが表示される。この作業メニ
ューの中からオペレータが、これから処理したい仕事を
キーボード7を使って選択すると、この仕事を行うため
に必要な情報入力を要求する画面が表示され、この要求
に応じるべくオペレータが情報入力を行うことによっ
て、選択された仕事に応じた動作が実行される。
First, when the system is powered on, a work menu is displayed on the screen of the display device 9. When the operator selects a job to be processed from this work menu using the keyboard 7, a screen requesting the information input necessary for performing this job is displayed, and the operator inputs the information in order to respond to this request. By performing the operation, the operation according to the selected work is executed.

【0021】作業メニューの中には、後述する「1行字
数/1頁行数に基づく表示文字サイズの変更処理」の作
業名が表示されている。図2にこの作業が選択された場
合の動作手順を示す。
In the work menu, a work name of "processing for changing display character size based on the number of characters per line / the number of lines per page" which will be described later is displayed. FIG. 2 shows an operation procedure when this work is selected.

【0022】この作業がオペレータにより選択される
と、CPU1は表示装置9の画面に「1行字数/1頁行
数を入力してください」というガイドメッセージを表示
する(ステップ201)。これに要求に応じてオペレー
タが任意の1行字数を入力すると(ステップ202)、
CPU1は入力した1行字数及び文字フォントの横方向
のドット数から文書データの横方向の総ドット数を求め
(ステップ203)、この1行分の総ドット数が表示画
面の横方向の総ドット数を越えるか否かを判定する(ス
テップ204)。
When this operation is selected by the operator, the CPU 1 displays a guide message "Please input the number of characters per line / the number of lines per page" on the screen of the display device 9 (step 201). When the operator inputs an arbitrary number of one-line characters in response to the request (step 202),
The CPU 1 obtains the total number of dots in the horizontal direction of the document data from the input number of characters in one line and the number of dots in the horizontal direction of the character font (step 203), and the total number of dots for one line is the total number of dots in the horizontal direction of the display screen. It is determined whether the number is exceeded (step 204).

【0023】例えば、図3に示すように、表示画面の横
方向の総ドット数を“180”、文字フォントの横方向
のドット数を“16”とした場合、表示可能な1行最大
字数は“11”である。そこで1行字数として“12”
以上の数が入力された場合、CPU1は文書データの横
方向の総ドット数が表示画面の横方向の総ドット数を越
えることを判断する。なお、図の例では、1行字数とし
て“15”が入力されているため、4つの文字は画面の
外にはみ出ている。
For example, as shown in FIG. 3, when the total number of dots in the horizontal direction of the display screen is "180" and the number of dots in the horizontal direction of the character font is "16", the maximum number of characters that can be displayed in one line is It is "11". Therefore, the number of characters per line is "12"
When the above number is input, the CPU 1 determines that the total number of dots in the horizontal direction of the document data exceeds the total number of dots in the horizontal direction of the display screen. In the example shown in the figure, "15" is entered as the number of characters in one line, so four characters are outside the screen.

【0024】CPU1は、文書データの横方向の総ドッ
ト数が表示画面の横方向の総ドット数を越えることを判
断すると、当該文書データの横方向の総ドット数を表示
画面の横方向の総ドット数内に収まるためには、文字フ
ォントの横方向のドット数をいくつにすればよいか求め
る(ステップ205)。例えば、図3に示すように、表
示画面の横方向のドット数が“180”、1行字数が
“15”であるとすると180/15=12(ドット)
となる。そこで、CPU1は縦横16×16ドットの文
字フォントを縦横12×12ドットの文字フォントに変
換し、この文字フォントを用いて文書データを表示する
(ステップ206)。
When the CPU 1 determines that the total number of dots in the horizontal direction of the document data exceeds the total number of dots in the horizontal direction of the display screen, the CPU 1 determines the total number of dots in the horizontal direction of the document data as the total number of dots in the horizontal direction of the display screen. In order to fit within the number of dots, the number of dots in the horizontal direction of the character font should be determined (step 205). For example, as shown in FIG. 3, if the number of dots in the horizontal direction of the display screen is "180" and the number of characters in one line is "15", then 180/15 = 12 (dots)
Becomes Therefore, the CPU 1 converts the character font of vertical and horizontal 16 × 16 dots into a character font of vertical and horizontal 12 × 12 dots, and displays the document data using this character font (step 206).

【0025】またステップ201の「1行字数または1
頁行数を入力してください」というガイドメッセージの
表示から、オペレータが任意の1頁行数を入力すると
(ステップ207)、CPU1は入力した1頁行数及び
文字フォントの縦方向のドット数から文書データの縦方
向の総ドット数を求め(ステップ208)、この縦方向
の総ドット数が表示画面の縦方向の総ドット数を越えて
いるか否かを判定する(ステップ209)。この結果、
文書データの縦方向の総ドット数が表示画面の縦方向の
総ドット数を越えることを判定すると、CPU1は当該
文書データの縦方向の総ドット数を表示画面の縦方向の
総ドット数内に収まるためには、文字フォントの縦方向
のドット数をいくつにすればよいか求める(ステップ2
10)。この結果、文字フォントの縦方向のドット数と
してNを得たとすると、CPU1は、元の縦横16×1
6ドットの文字フォントを縦横N×Nのドット数の文字
フォントに変換し、この文字フォントを用いて文書デー
タを表示する(ステップ206)。
In step 201, "the number of characters per line or 1
From the display of the guide message "Please enter the number of page lines", when the operator inputs an arbitrary number of page lines (step 207), the CPU 1 determines from the input number of page lines and the number of dots in the vertical direction of the character font. The total number of dots in the vertical direction of the document data is obtained (step 208), and it is determined whether or not the total number of dots in the vertical direction exceeds the total number of dots in the vertical direction of the display screen (step 209). As a result,
When determining that the total number of dots in the vertical direction of the document data exceeds the total number of dots in the vertical direction of the display screen, the CPU 1 sets the total number of dots in the vertical direction of the document data within the total number of dots in the vertical direction of the display screen. In order to fit it, the number of dots in the vertical direction of the character font should be set (step 2).
10). As a result, assuming that N is obtained as the number of dots in the vertical direction of the character font, the CPU 1 determines the original vertical and horizontal 16 × 1.
The 6-dot character font is converted into a character font having N * N dots vertically and horizontally, and the document data is displayed using this character font (step 206).

【0026】かくして本実施例のワードプロセッサによ
れば、文書データの1行字数が増大しても、この文書デ
ータを表示画面の横方向の長さ内に収めて表示させるこ
とができ、文書表示の改善化、文書作成効率の向上を図
ることができる。
Thus, according to the word processor of the present embodiment, even if the number of characters in one line of the document data increases, the document data can be displayed within the horizontal length of the display screen, and the document display can be performed. It is possible to improve and improve document creation efficiency.

【0027】なお、先の実施例では、文書データを表示
画面の横方向または縦方向のいずれか一方の枠内に表示
しきれるように、文字フォントの縦横のドット数を変更
するようにしたが、表示画面の横方向及び縦方向のどち
らの枠内にも同時に収まるように文字フォントの縦横の
ドット数を変更するようにしてもよい。
In the above embodiment, the number of dots in the vertical and horizontal directions of the character font is changed so that the document data can be displayed within the horizontal or vertical frame of the display screen. The number of dots in the vertical and horizontal directions of the character font may be changed so that the characters can fit in both the horizontal and vertical frames of the display screen at the same time.

【0028】さらに、先の実施例では、文字フォントの
ドット数を縦横同じドット数に変更するようにしたが、
縦横いずれか一方のみを変更してもよい。すなわち、1
行字数を基に文字フォントのドット数を変更する場合は
文字フォントの横方向のドット数のみを変更し、1頁行
数を基に文字フォントのドット数を変更する場合は文字
フォントの縦方向のドット数のみを変更する。
Further, in the above embodiment, the number of dots of the character font is changed to the same number of dots vertically and horizontally.
Only one of the vertical and horizontal directions may be changed. Ie 1
When changing the number of dots in a character font based on the number of lines, change only the number of dots in the horizontal direction of the character font, and when changing the number of dots in a character font based on the number of lines per page, the vertical direction of the character font. Change only the number of dots.

【0029】また以上の例では、入力された1行字数あ
るいは1頁行数が表示画面内に収まらない場合つまり文
字フォントのドット数を縮小する場合について説明した
が、図4に示すように、入力された1行字数に対して求
めた総ドット数が表示画面の横方向の総ドット数に満た
ない場合に、文字フォントのドット数を増大して、表示
画面の横幅をいっぱいに使って文書データを表示させる
ようにしてもよい。この場合、各文字フォントのドット
数をそれぞれ均等に増やすため、1行字数が表示画面の
横方向の残りのドット数以上であることが処理実行の条
件となる。
In the above example, the case where the input number of characters per line or the number of lines per page does not fit within the display screen, that is, the case where the number of dots of the character font is reduced has been described, but as shown in FIG. If the total number of dots calculated for the input number of characters per line is less than the total number of dots in the horizontal direction of the display screen, increase the number of dots in the character font to use the full width of the display screen for the document. You may make it display data. In this case, in order to uniformly increase the number of dots of each character font, the condition for processing is that the number of characters in one line is equal to or more than the number of dots remaining in the horizontal direction of the display screen.

【0030】なお、この処理は、入力された1頁行数に
対して求めた文書データの縦方向の総ドット数が、表示
画面の縦方向の総ドット数に満たない場合に、文字フォ
ントのドット数を増大することで表示画面の縦幅をいっ
ぱいに使って文書データを表示する場合においても同様
に行われる。
This process is performed when the total number of dots in the vertical direction of the document data obtained for the number of input page lines is less than the total number of dots in the vertical direction of the display screen. The same is done when the document data is displayed by using the full width of the display screen by increasing the number of dots.

【0031】さらに、図5に示すように、入力された1
行字数が表示画面の横方向に表示し得る最大の文字数に
満たない場合に、各文字間に空白を挿入して、この空白
の横方向のドット数を調整することで、文字フォントの
ドット数を変更することなく、表示画面の横方向をいっ
ぱいに使って文書データを表示する方法もある。
Further, as shown in FIG. 5, the input 1
If the number of lines is less than the maximum number of characters that can be displayed in the horizontal direction on the display screen, insert a space between each character and adjust the number of dots in the horizontal direction to adjust the number of dots in the character font. There is also a method of displaying the document data by fully using the horizontal direction of the display screen without changing.

【0032】またこの方式は、入力された1頁行数が表
示画面の縦方向に表示し得る最大の文字数に満たない場
合にも同様に適用可能である。
This method is also applicable to the case where the number of input page lines is less than the maximum number of characters that can be displayed in the vertical direction of the display screen.

【0033】[0033]

【発明の効果】以上説明したように本発明の文書作成装
置及び文書作成方法によれば、設定された1行字数に応
じて文字のドットパターンデータの少なくとも横方向の
長さを最適な値に変更することで、文書データの1行字
数が増大しても、文書データを画面の横方向の長さ内に
収めて表示させることができる。
As described above, according to the document creating apparatus and the document creating method of the present invention, at least the horizontal length of the dot pattern data of the character is set to the optimum value according to the set number of characters per line. By changing the number, even if the number of characters per line of the document data increases, the document data can be displayed within the horizontal length of the screen.

【0034】同様に、設定された1頁行数に応じて文字
のドットパターンデータの少なくとも縦方向の長さを最
適な値に変更することで、文書データの1頁行数が増大
しても、この文書データを画面の縦方向の長さ内に収め
て表示することができる。
Similarly, by changing at least the vertical length of the character dot pattern data to an optimum value according to the set number of lines per page, even if the number of lines per page of document data increases. The document data can be displayed within the vertical length of the screen.

【0035】また、1行字数が少ない文書データを表示
する際に、文字のドットパターンデータの横方向の長さ
を最適な値に拡大変更することで、画面の横幅をいっぱ
いに用いて文書データを表示することができる。
Further, when the document data having a small number of characters per line is displayed, the horizontal length of the dot pattern data of the character is enlarged and changed to an optimum value, so that the full width of the screen is used for the document data. Can be displayed.

【0036】同様に、1頁行数が少ない文書データを表
示する際に、文字のドットパターンデータの縦方向の長
さを最適な値に拡大変更することで、画面の縦幅をいっ
ぱいに用いて文書データを表示することができる。
Similarly, when displaying document data in which the number of lines per page is small, the vertical length of the character dot pattern data is enlarged and changed to an optimum value to use the full vertical width of the screen. The document data can be displayed.

【0037】また、1行字数が少ない文書データを表示
する際に、行方向に隣接する各文字の間に適当な幅の空
白部を挿入することで、文字のサイズを変更することな
く、画面の横幅をいっぱいに用いて文書データを表示す
ることができる。
Further, when displaying document data having a small number of characters per line, by inserting a blank portion having an appropriate width between adjacent characters in the line direction, the size of the characters can be changed without changing the size of the screen. The document data can be displayed using the full width of the document.

【0038】同様に、1頁行数が少ない文書データを表
示する際に、縦方向に隣接する各文字の間に適当な幅の
空白部を挿入することで、文字のサイズを変更すること
なく、画面の縦幅をいっぱいに用いて文書データを表示
することができる。
Similarly, when displaying document data in which the number of lines per page is small, a blank portion having an appropriate width is inserted between vertically adjacent characters without changing the character size. , Document data can be displayed using the full width of the screen.

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

【図1】本発明に係る一実施例のワードプロセッサの構
成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a word processor according to an embodiment of the present invention.

【図2】図1のワードプロセッサにおける1行字数/1
頁行数に基づく表示文字サイズの変更処理の手順を示す
フローチャートである。
2 is the number of characters per line / 1 in the word processor of FIG.
It is a flow chart which shows the procedure of the change processing of the display character size based on the number of page lines.

【図3】図2の処理の具体例を示す図である。FIG. 3 is a diagram showing a specific example of the process of FIG.

【図4】他の実施例の処理手順を示すフローチャートで
ある。
FIG. 4 is a flowchart showing a processing procedure of another embodiment.

【図5】さらに他の実施例の処理手順を示すフローチャ
ートである。
FIG. 5 is a flowchart showing a processing procedure of still another embodiment.

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

1…CPU、2…ROM、3…RAM、4…フロッピー
ディスクコントローラ、5…フロッピーディスクドライ
ブ(FDD)、6…キーボードコントローラ、7…キー
ボード、8…ディスプレイコントローラ、9…表示装
置、10…表示用ドットメモリ、11…文字パタンメモ
リ、12…プリタンコントローラ、13…プリンタ。
1 ... CPU, 2 ... ROM, 3 ... RAM, 4 ... Floppy disk controller, 5 ... Floppy disk drive (FDD), 6 ... Keyboard controller, 7 ... Keyboard, 8 ... Display controller, 9 ... Display device, 10 ... For display Dot memory, 11 ... Character pattern memory, 12 ... Print controller, 13 ... Printer.

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 文書データを画面に表示する表示手段
と、 個々の文字のドットパターンデータが予め記憶された記
憶手段と、 前記表示手段に表示する文書データの横方向の文字数を
設定する設定手段と、 前記設定手段により設定された文字数及び前記文字のド
ットパターンデータのサイズに基づいて前記文書データ
の横方向の長さを求める算出手段と、 前記算出手段により算出された前記文書データの横方向
の長さが前記画面の横方向の長さを越える場合、前記画
面の横方向の長さ内に前記文書データの横方向の長さが
収まるように、前記文字のドットパターンデータの少な
くとも横方向の長さを変更する変更手段とを具備するこ
とを特徴とする文書作成装置。
1. Display means for displaying document data on a screen, storage means for storing dot pattern data of individual characters in advance, and setting means for setting the number of characters in the horizontal direction of the document data displayed on the display means. A calculating means for obtaining the horizontal length of the document data based on the number of characters set by the setting means and the size of the dot pattern data of the characters; and a horizontal direction of the document data calculated by the calculating means. Is longer than the horizontal length of the screen, at least the horizontal direction of the dot pattern data of the character is adjusted so that the horizontal length of the document data is within the horizontal length of the screen. And a changing means for changing the length of the document.
【請求項2】 文書データを画面に表示する表示手段
と、 個々の文字のドットパターンデータが予め記憶された記
憶手段と、 前記表示手段に表示する文書データの縦方向の文字数を
設定する設定手段と、 前記設定手段により設定された文字数及び前記文字のド
ットパターンデータのサイズに基づいて前記文書データ
の縦方向の長さを求める算出手段と、 前記算出手段により算出された前記文書データの縦方向
の長さが前記画面の縦方向の長さを越える場合、前記画
面の縦方向の長さ内に前記文書データの縦方向の長さが
収まるように、前記文字のドットパターンデータの少な
くとも縦方向の長さを変更する変更手段とを具備するこ
とを特徴とする文書作成装置。
2. Display means for displaying document data on a screen, storage means for storing dot pattern data of individual characters in advance, and setting means for setting the number of characters in the vertical direction of the document data displayed on the display means. Calculating means for obtaining the length in the vertical direction of the document data based on the number of characters set by the setting means and the size of the dot pattern data of the characters, and the vertical direction of the document data calculated by the calculating means. Is longer than the vertical length of the screen, at least the vertical direction of the dot pattern data of the character is adjusted so that the vertical length of the document data fits within the vertical length of the screen. And a changing means for changing the length of the document.
【請求項3】 文書データを画面に表示する表示手段
と、 個々の文字のドットパターンデータが予め記憶された記
憶手段と、 前記表示手段に表示する文書データの横方向の文字数を
設定する設定手段と、 前記設定手段により設定された文字数及び前記文字のド
ットパターンデータのサイズに基づいて前記文書データ
の横方向の長さを求める算出手段と、 前記算出手段により算出された前記文書データの横方向
の長さが前記画面の横方向の長さよりも小さい場合、前
記設定手段により設定された数の文字データが前記画面
の横幅全体を使って均等に配置されるように、前記文字
のドットパターンデータの少なくとも横方向の長さを変
更する変更手段とを具備することを特徴とする文書作成
装置。
3. Display means for displaying document data on a screen, storage means for storing dot pattern data of individual characters in advance, and setting means for setting the number of characters in the horizontal direction of the document data displayed on the display means. A calculating means for obtaining the horizontal length of the document data based on the number of characters set by the setting means and the size of the dot pattern data of the characters; and a horizontal direction of the document data calculated by the calculating means. Is smaller than the horizontal length of the screen, the dot pattern data of the characters is arranged so that the number of character data set by the setting means is evenly arranged using the entire horizontal width of the screen. And a changing means for changing at least the lateral length of the document.
【請求項4】 文書データを画面に表示する表示手段
と、 個々の文字のドットパターンデータが予め記憶された記
憶手段と、 前記表示手段に表示する文書データの縦方向の文字数を
設定する設定手段と、 前記設定手段により設定された文字数及び前記文字のド
ットパターンデータのサイズに基づいて前記文書データ
の縦方向の長さを求める算出手段と、 前記算出手段により算出された前記文書データの縦方向
の長さが前記画面の縦方向の長さよりも小さい場合、前
記設定手段により設定された数の文字データが前記画面
の縦幅全体を使って均等に配置されるように、前記文字
のドットパターンデータの少なくとも縦方向の長さを変
更する変更手段とを具備することを特徴とする文書作成
装置。
4. Display means for displaying document data on a screen, storage means for storing dot pattern data of individual characters in advance, and setting means for setting the number of characters in the vertical direction of the document data displayed on the display means. Calculating means for obtaining the length in the vertical direction of the document data based on the number of characters set by the setting means and the size of the dot pattern data of the characters, and the vertical direction of the document data calculated by the calculating means. Is smaller than the vertical length of the screen, the dot pattern of the characters is arranged so that the number of character data set by the setting means is evenly arranged using the entire vertical width of the screen. A document creating apparatus comprising: a changing unit that changes at least a vertical length of data.
【請求項5】 文書データを画面に表示する表示手段
と、 前記表示手段に表示する文書データの横方向の文字数を
設定する設定手段と、 前記設定手段により設定された文字数が前記画面の横方
向に表示し得る最大の文字数に満たない場合、前記設定
手段により設定された数の文字データが前記画面の横幅
全体を使って均等に配置されるよう、前記各文字データ
の間に空白部を挿入する空白挿入手段とを具備すること
を特徴とする文書作成装置。
5. Display means for displaying the document data on the screen, setting means for setting the number of characters in the horizontal direction of the document data to be displayed on the display means, and the number of characters set by the setting means in the horizontal direction of the screen. If the maximum number of characters that can be displayed on the screen is less than the maximum number of characters that can be displayed, a blank part is inserted between the character data so that the number of character data set by the setting means is evenly arranged using the entire width of the screen. And a blank inserting means for performing the document creation.
【請求項6】 文書データを画面に表示する表示手段
と、 前記表示手段に表示する文書データの縦方向の文字数を
設定する設定手段と、 前記設定手段により設定された文字数が前記画面の縦方
向に表示し得る最大の文字数に満たない場合、前記設定
手段により設定された数の文字データが前記画面の縦幅
全体を使って均等に配置されるよう、前記各文字データ
の間に空白部を挿入する空白挿入手段とを具備すること
を特徴とする文書作成装置。
6. Display means for displaying the document data on the screen, setting means for setting the number of characters in the vertical direction of the document data displayed on the display means, and the number of characters set by the setting means is the vertical direction of the screen. If the maximum number of characters that can be displayed on the screen is less than the maximum number of characters that can be displayed, a blank space is provided between the character data so that the number of character data set by the setting means is evenly arranged using the entire vertical width of the screen. A document creating apparatus comprising: a blank inserting unit for inserting.
【請求項7】 文書データを画面に表示する表示部と、
個々の文字のドットパターンデータが予め記憶された記
憶部と、前記画面に表示する文書データの横方向の文字
数を入力する入力部と、制御部とを有し、 前記制御部は、前記入力部より入力した文字数及び前記
文字のドットパターンデータのサイズに基づいて前記文
書データの横方向の長さを求め、求めた文書データの横
方向の長さが前記画面の横方向の長さを越える場合、こ
の画面の横方向の長さ内に前記文書データの横方向の長
さが収まるように、前記文字のドットパターンデータの
少なくとも横方向の長さを変更することを特徴とする文
書作成方法。
7. A display unit for displaying document data on a screen,
The device includes a storage unit in which dot pattern data of individual characters is stored in advance, an input unit for inputting the number of characters in the horizontal direction of document data to be displayed on the screen, and a control unit, wherein the control unit is the input unit. When the horizontal length of the document data is obtained based on the number of characters input and the size of the dot pattern data of the character, and the horizontal length of the obtained document data exceeds the horizontal length of the screen. A document creating method, characterized in that at least the horizontal length of the dot pattern data of the character is changed so that the horizontal length of the document data is within the horizontal length of the screen.
【請求項8】 文書データを画面に表示する表示部と、
個々の文字のドットパターンデータが予め記憶された記
憶部と、前記表示画面に表示する文書データの縦方向の
文字数を入力する入力部と、制御部とを有し、 前記制御部は、前記入力部より入力した文字数及び前記
文字のドットパターンデータのサイズに基づいて前記文
書データの縦方向の長さを求め、求めた文書データの縦
方向の長さが前記画面の縦方向の長さを越える場合、こ
の画面の縦方向の長さ内に前記文書データの縦方向の長
さが収まるように、前記文字のドットパターンデータの
少なくとも縦方向の長さを変更することを特徴とする文
書作成方法。
8. A display unit for displaying document data on a screen,
A storage unit in which dot pattern data of individual characters is stored in advance, an input unit for inputting the number of characters in the vertical direction of the document data displayed on the display screen, and a control unit, wherein the control unit is the input unit The length of the document data in the vertical direction is calculated based on the number of characters input from the copy and the size of the dot pattern data of the characters, and the length of the obtained document data in the vertical direction exceeds the length in the vertical direction of the screen. In this case, at least the vertical length of the dot pattern data of the character is changed so that the vertical length of the document data fits within the vertical length of the screen. .
【請求項9】 文書データを画面に表示する表示部と、
個々の文字のドットパターンデータが予め記憶された記
憶部と、前記画面に表示する文書データの横方向の文字
数を入力する入力部と、制御部とを有し、 前記制御部は、前記入力部より入力した文字数及び前記
文字のドットパターンデータのサイズに基づいて前記文
書データの横方向の長さを求め、求めた文書データの横
方向の長さが前記画面の横方向の長さよりも小さい場
合、前記入力部より入力した数の文字データが前記画面
の横幅全体を使って均等に配置されるように、前記文字
のドットパターンデータの少なくとも横方向の長さを変
更することを特徴とする文書作成方法。
9. A display unit for displaying document data on a screen,
The device includes a storage unit in which dot pattern data of individual characters is stored in advance, an input unit for inputting the number of characters in the horizontal direction of document data to be displayed on the screen, and a control unit, wherein the control unit is the input unit. When the horizontal length of the document data is obtained based on the number of characters input and the size of the dot pattern data of the character, and the obtained horizontal length of the document data is smaller than the horizontal length of the screen. A document characterized by changing at least the horizontal length of the dot pattern data of the character so that the number of character data input from the input unit is evenly arranged using the entire width of the screen. How to make.
【請求項10】 文書データを画面に表示する表示部
と、個々の文字のドットパターンデータが予め記憶され
た記憶部と、前記画面に表示する文書データの縦方向の
文字数を入力する入力部と、制御部とを有し、 前記制御部は、前記入力部より入力した文字数及び前記
文字のドットパターンデータのサイズに基づいて前記文
書データの縦方向の長さを求め、求めた文書データの縦
方向の長さが前記画面の縦方向の長さよりも小さい場
合、前記入力部より入力した数の文字データが前記画面
の縦幅全体を使って均等に配置されるように、前記文字
のドットパターンデータの少なくとも縦方向の長さを変
更することを特徴とする文書作成方法。
10. A display unit for displaying document data on a screen, a storage unit in which dot pattern data of individual characters is stored in advance, and an input unit for inputting the number of characters in the vertical direction of the document data displayed on the screen. And a controller, wherein the controller determines the length of the document data in the vertical direction based on the number of characters input from the input unit and the size of the dot pattern data of the character, and determines the vertical length of the obtained document data. When the length in the direction is smaller than the length in the vertical direction of the screen, the dot pattern of the characters is arranged so that the number of character data input from the input unit is evenly arranged using the entire vertical width of the screen. A document creation method characterized by changing at least the vertical length of data.
【請求項11】 文書データを画面に表示する表示部
と、前記画面に表示する文書データの横方向の文字数を
入力する入力部と、制御部とを有し、 前記制御部は、前記入力部より入力した文字数が前記画
面の横方向に表示し得る最大の文字数に満たない場合、
前記入力部より入力した数の文字データが前記画面の横
幅全体を使って均等に配置されるよう、前記各文字デー
タの間に空白部を挿入することを特徴とする文書作成方
法。
11. A display unit for displaying document data on a screen, an input unit for inputting the number of characters in the horizontal direction of the document data displayed on the screen, and a control unit, wherein the control unit is the input unit. If the number of entered characters is less than the maximum number of characters that can be displayed in the horizontal direction of the screen,
A method of creating a document, characterized in that a blank portion is inserted between each of the character data so that the number of character data input from the input unit is evenly arranged using the entire width of the screen.
【請求項12】 文書データを画面に表示する表示部
と、前記画面に表示する文書データの縦方向の文字数を
入力する入力部と、制御部とを有し、 前記制御部は、前記入力部より入力した文字数が前記画
面の縦方向に表示し得る最大の文字数に満たない場合、
前記入力部より入力した数の文字データが前記画面の縦
幅全体を使って均等に配置されるよう、前記各文字デー
タの間に空白部を挿入することを特徴とする文書作成方
法。
12. A display unit for displaying document data on a screen, an input unit for inputting the number of characters in the vertical direction of the document data displayed on the screen, and a control unit, wherein the control unit is the input unit. If the number of entered characters is less than the maximum number of characters that can be displayed in the vertical direction of the screen,
A method of creating a document, characterized in that a blank part is inserted between each of the character data so that the character data of the number input from the input part is uniformly arranged using the entire vertical width of the screen.
JP5321975A 1993-12-21 1993-12-21 Device and method for documentation Withdrawn JPH07182313A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5321975A JPH07182313A (en) 1993-12-21 1993-12-21 Device and method for documentation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5321975A JPH07182313A (en) 1993-12-21 1993-12-21 Device and method for documentation

Publications (1)

Publication Number Publication Date
JPH07182313A true JPH07182313A (en) 1995-07-21

Family

ID=18138525

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5321975A Withdrawn JPH07182313A (en) 1993-12-21 1993-12-21 Device and method for documentation

Country Status (1)

Country Link
JP (1) JPH07182313A (en)

Similar Documents

Publication Publication Date Title
EP0361422B1 (en) Word processing apparatus with function of image-format control
JPH058449B2 (en)
JPH07149005A (en) Document forming apparatus
JP2909273B2 (en) Outline font line width adjusting method and apparatus
JP2710120B2 (en) Document processing method
JPH07182313A (en) Device and method for documentation
JPH01113258A (en) Printing device
JP2002373068A (en) Printing system
JP2764944B2 (en) Character output device
JP2910921B2 (en) Printing control device
JP2845156B2 (en) Format setting device and format setting method
JPH0596806A (en) Printing method and apparatus thereof
JPH01215557A (en) Word processor
JP3071614B2 (en) Printer device
JPH0333896A (en) Font plotting device
JP3040624B2 (en) Pattern generator
JPH01240968A (en) Document editing system
JPH0596784A (en) Printer device
JPH01217395A (en) Word processor
JPH0387898A (en) Sentence output device
JPH08118745A (en) Character output device
JPH01113260A (en) Printer
JPH10129045A (en) Document forming apparatus
JPH02311894A (en) Document preparing device
JPH05138978A (en) Document printing device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20010306