JPH0612478A - Method and device for documentation - Google Patents

Method and device for documentation

Info

Publication number
JPH0612478A
JPH0612478A JP4167069A JP16706992A JPH0612478A JP H0612478 A JPH0612478 A JP H0612478A JP 4167069 A JP4167069 A JP 4167069A JP 16706992 A JP16706992 A JP 16706992A JP H0612478 A JPH0612478 A JP H0612478A
Authority
JP
Japan
Prior art keywords
screen
scale
graphic
displayed
display device
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
JP4167069A
Other languages
Japanese (ja)
Inventor
Haruo Muto
治夫 武藤
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 JP4167069A priority Critical patent/JPH0612478A/en
Publication of JPH0612478A publication Critical patent/JPH0612478A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide the documentation device which can easily generate or correct a desired graphic even in the case of difference between a graphic form to be displayed and that to be printed. CONSTITUTION:At the time of graphic generation or correction, a CPU 1 reads out print format set values from an area 21 of a memory 2 and obtains an aspect ratio of the screen on a display device 5 in accordance with these set values and screen display characteristic values of the display device 5. The CPU 1 generates longitudinal and transverse scale data indicating the aspect ratio and expands these scale data on a dot memory 7 through a display control part 6 and displays these scales on the screen of the display device 5. A user sees these scales to generate or correct a graphic.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は文書及び図形を作成/編
集できる文書作成装置に係わり、特に図形の描画方法に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document creating apparatus capable of creating / editing documents and figures, and more particularly to a drawing method of figures.

【0002】[0002]

【従来の技術】図形を含む文書を作成する機能を有する
文書作成装置の中には、前記図形を印刷結果と相似形で
画面に表示できる装置もあるが、普及型の場合、印刷結
果とは異なった形状で画面に表示されるのが一般的であ
る。従って、例えば印刷結果は正方形であるが、文書作
成装置の画面上では長方形に表示されてしまうことがあ
る。このような場合でも、文書作成装置の印刷書式を適
切に設定することにより、画面に表示された図形とその
印刷結果とをほぼ相似形にすることは可能である。しか
し、このように印刷書式を設定してしまうと、印刷時に
文書の文字間や行間が不自然なものとなってしまうとい
う欠点があった。従って、図形作成時、文書作成装置の
画面に表示される図形の形状は実際の形状(印刷時の形
状)と異なったものとなるため、作成に手間がかかった
り、間違った形状の図形を作成してしまうという欠点が
あった。又、このようにして作成された図形の修正にも
同様に手間がかかるという欠点があった。具体例で述べ
ると、文書作成装置を用いて正方形を作成しようとした
場合、画面には長方形が表示されてしまうため、ユーザ
はこれを正方形であると思って、作成しなければなら
ず、作成に手間及び時間がかかると共に、間違いを起こ
し易いという欠点があった。
2. Description of the Related Art Some document creating apparatuses having a function of creating a document including a graphic can display the graphic on the screen in a similar form to the print result. It is generally displayed on the screen in a different shape. Therefore, for example, although the print result is a square, it may be displayed in a rectangle on the screen of the document creation device. Even in such a case, it is possible to make the figure displayed on the screen and the print result thereof substantially similar by appropriately setting the print format of the document creation device. However, if the print format is set in this way, there is a drawback that the character spacing and the line spacing of a document become unnatural at the time of printing. Therefore, when creating a graphic, the shape of the graphic displayed on the screen of the document creation device will be different from the actual shape (the shape at the time of printing). There was a drawback that it did. In addition, there is a drawback in that it is similarly troublesome to correct the graphic thus created. As a specific example, when trying to create a square using the document creation device, a rectangle is displayed on the screen, so the user must think that this is a square and create it. However, there is a drawback that it is time-consuming and time-consuming and that it is easy to make a mistake.

【0003】[0003]

【発明が解決しようとする課題】上記のように従来の文
書作成装置では、ユーザが作成しようと思った図形形状
(印刷される図形形状に同じ)と、装置の画面に表示さ
れる図形形状が異なる場合が一般的であった。これで
は、実際に作成する図形の形状と表示される図形の形状
が異なってしまうため、図形の作成や修正に手間及び時
間がかかると共に、間違った図形が作成されたり、間違
った修正がなされてしまうという欠点があった。
As described above, in the conventional document creating apparatus, the figure shape that the user intends to create (the same as the figure shape to be printed) and the figure shape displayed on the screen of the apparatus are displayed. Different cases were common. In this case, the shape of the figure actually created and the shape of the displayed figure will be different, so it will take time and effort to create and modify the figure, and the wrong figure will be created or incorrect modification will be made. There was a drawback that it ended up.

【0004】そこで本発明は上記の欠点を除去し、表示
される図形形状と印刷される図形形状が異なる場合で
も、容易に所望の図形を作成したり修正することができ
る文書作成装置を提供することを目的としている。
Therefore, the present invention eliminates the above-mentioned drawbacks, and provides a document creating apparatus capable of easily creating or modifying a desired figure even when the figure shape to be displayed is different from the figure shape to be printed. Is intended.

【0005】[0005]

【課題を解決するための手段】本発明は図形と文書を表
示装置に表示して作成又は編集する文書作成装置におい
て、表示に係わる予め決められたデータ及び任意に設定
されたデータとから、前記表示装置の画面に縦に表示さ
れる長さと印刷時にこの長さに等しい前記画面の横に表
示される長さとの比である縦横表示比を求める演算手段
と、この演算手段によって求まった前記縦横表示比を示
す縦スケールと横スケールを作成するスケール作成手段
と、このスケール作成手段によって作成された縦スケー
ルを前記表示装置の文書/図形作成/編集画面の縦方向
に、横スケールを同画面の横方向に表示する表示手段と
を具備した構成を有する。
According to the present invention, in a document creating device for creating or editing a graphic and a document by displaying it on a display device, the above-mentioned data from a predetermined data relating to the display and data set arbitrarily can be used. Calculating means for obtaining an aspect ratio, which is a ratio of the length vertically displayed on the screen of the display device and the length horizontally displayed on the screen which is equal to this length at the time of printing; and the vertical and horizontal directions obtained by the calculating means. Scale creating means for creating a vertical scale and a horizontal scale indicating a display ratio, a vertical scale created by the scale creating means in the vertical direction of the document / graphic creation / editing screen of the display device, and a horizontal scale of the same screen. And a display means for displaying in a horizontal direction.

【0006】[0006]

【作用】本発明の文書作成装置において、演算手段は表
示に係わる予め決められたデータ及び任意に設定された
データとから、前記表示装置の画面に縦に表示される長
さと印刷時にこの長さに等しい前記画面の横に表示され
る長さとの比である縦横表示比を求める。スケール作成
手段は前記演算手段によって求まった前記縦横表示比を
示す縦スケールと横スケールを作成する。表示手段は前
記スケール作成手段によって作成された縦スケールを前
記表示装置の文書/図形作成/編集画面の縦方向に、横
スケールを同画面の横方向に表示する。
In the document creating apparatus of the present invention, the calculating means calculates the length vertically displayed on the screen of the display device and the length at the time of printing from the predetermined data relating to the display and the arbitrarily set data. Then, the aspect ratio, which is the ratio to the length of the screen displayed horizontally, is calculated. The scale creating means creates a vertical scale and a horizontal scale indicating the vertical / horizontal display ratio obtained by the calculating means. The display means displays the vertical scale created by the scale creating means in the vertical direction of the document / graphic creation / editing screen of the display device and the horizontal scale in the horizontal direction of the same screen.

【0007】[0007]

【実施例】以下、本発明の一実施例を図面を参照して説
明する。図1は本発明の文書作成装置の一実施例を示し
たブロック図である。1は文書の作成や図形の描画等の
個別の制御及び装置全体の制御を行うCPU、2はCP
U1を制御するプログラムや文書や図形等の各種データ
を記憶するメモリで、特に印刷書式格納エリア21及び
表示プログラム格納エリア22が設定されている。3は
文字情報の入力や図形描画情報の入力及び各種機能指令
等がユーザにより入力されるキーボード、4は作成され
た文書や図形を用紙に印刷して出力するプリンタ、5は
作成された文書や図形を表示する表示装置、6は表示装
置5を制御する表示制御部、7は表示装置5に表示され
る1画面分の表示データが書き込まれるドットメモリで
ある。次に本実施例の動作について説明する。図形を描
画する際、まず、ユーザはキーボード3を操作してCP
U1を印刷書式設定モードとした後、所望の印刷書式を
設定する。これにより、CPU1はキーボード3から入
力された印刷書式値をメモリ2の印刷書式格納エリア2
1に格納する。その後、ユーザはキーボード3を操作し
て、図形描画情報をCPU1に入力すると、CPU1は
メモリ2に格納されている図形描画プログラムを用いて
図形データを作成し、これを表示制御部6に出力する。
表示制御部6はCPU1から渡された図形データをドッ
トメモリ7に展開し、このドットメモリ7に展開したド
ットデータを表示装置5の画面に表示する。このような
動作により、表示装置5の画面上に図形が表示される。
本例では、前記印刷書式を設定した後、図形を作成する
場合、CPU1がメモリ2の表示プログラム格納エリア
22に格納されている表示プログラムを実行することに
より、表示装置5の画面上に図3に示すような図形作成
用の縦、横スケール11、12を表示する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a document creating apparatus of the present invention. Reference numeral 1 is a CPU that performs individual control such as document creation and graphic drawing and control of the entire apparatus, and 2 is a CP
A print format storage area 21 and a display program storage area 22 are set in the memory for storing various data such as a program for controlling U1 and documents and figures. Reference numeral 3 is a keyboard for inputting character information, input of graphic drawing information, various function commands, etc. by a user, 4 is a printer for printing and outputting a created document or graphic on paper, and 5 is a created document or A display device that displays graphics, 6 is a display control unit that controls the display device 5, and 7 is a dot memory in which display data for one screen displayed on the display device 5 is written. Next, the operation of this embodiment will be described. When drawing a figure, the user first operates the keyboard 3 to execute CP.
After setting U1 to the print format setting mode, a desired print format is set. As a result, the CPU 1 transfers the print format value input from the keyboard 3 to the print format storage area 2 of the memory 2.
Store in 1. After that, when the user operates the keyboard 3 and inputs the graphic drawing information to the CPU 1, the CPU 1 creates graphic data using the graphic drawing program stored in the memory 2 and outputs it to the display control unit 6. .
The display control unit 6 develops the graphic data passed from the CPU 1 in the dot memory 7, and displays the dot data developed in the dot memory 7 on the screen of the display device 5. By such an operation, a graphic is displayed on the screen of the display device 5.
In this example, when the graphic is created after setting the print format, the CPU 1 executes the display program stored in the display program storage area 22 of the memory 2 so that the screen shown in FIG. The vertical and horizontal scales 11 and 12 for creating a graphic are displayed as shown in FIG.

【0008】図2は上記した縦、横スケール11、12
を表示装置5の画面に表示するCPU1の動作を示した
フローチャートである。まず、ステップ201にて、C
PU1はメモリ2の印刷書式格納エリア21から行ピッ
チ及び文字ピッチデータを取り出した後、ステップ20
2に進んで、前記行ピッチと文字ピッチ及び一文字分の
表示エリア比データから、表示装置5の画面に縦に表示
される長さと、印刷時にこの長さに等しい前記画面の横
に表示される長さとの比である縦横表示比率Kを求め
る。ここで、この縦横表示比率の求め方について詳述す
る。図1に示した表示装置5及びプリンタ3の縦/横の
ドットピッチ比が1:1で、表示文字16ドット、印刷
文字24ドットの場合で、且つ1文字分の表示エリアを
縦20ドット、横16ドットであるとする。しかも、プ
リンタ3による印刷時の文字ピッチを30ドット、行ピ
ッチを45ドットと印刷書式で指定したとする。このよ
うな条件で、前記縦横表示比Kは以下の式で求められ
る。まず、前記Kを求める一般式はK=(書式設定され
た文字ピッチと行ピッチ)×(1文字分の表示エリア比)
…(1)で表される。この(1)式に上記の具体的な書
式設定値及び1文字分の表示エリア比を代入すると、K
=30÷45×20÷16=5/6…(2)となる。即
ち、このK=5/6という値は画面上に表示された縦5
cmと横6cmの長さが印刷時は等しいことを示してい
る。このKが求まると、CPU1はステップ203に進
んで、前記Kに基づいた縦スケールデータ及び横スケー
ルデータを作成して、これらデータを表示制御部6に送
る。表示制御部6は送られてきた縦スケール、横スケー
ルデータをドットメモリ7上に展開して、表示装置5の
画面に縦スケール11と横スケール12を図3のように
表示して、処理を終了する。ユーザは図3に示された縦
スケール11と横スケール12を参照して、図形を作成
する。即ち、縦スケール11の1目盛りと横スケール1
2の1目盛りとが同じ長さを示しているため、例えば、
正方形を作成しようとした場合、1辺が縦スケールで5
目盛り、前記辺に直角の他の辺が横スケールで5目盛り
となるように表示装置5の画面に四角形を作成すれば、
この四角形は印刷時に正方形になる。しかし、上記した
如く、縦横表示比Kは5/6であるため、前記正方形は
表示装置5に辺の比が5:6の長方形として表示され
る。
FIG. 2 shows the vertical and horizontal scales 11 and 12 described above.
6 is a flowchart showing the operation of the CPU 1 for displaying on the screen of the display device 5. First, in step 201, C
The PU 1 retrieves the line pitch and character pitch data from the print format storage area 21 of the memory 2 and then executes step 20.
Proceeding to step 2, based on the line pitch, character pitch, and display area ratio data for one character, the length vertically displayed on the screen of the display device 5 and the horizontal length equal to this length at the time of printing are displayed horizontally on the screen. A vertical / horizontal display ratio K, which is a ratio with the length, is obtained. Here, a method for obtaining the vertical / horizontal display ratio will be described in detail. When the vertical / horizontal dot pitch ratio of the display device 5 and the printer 3 shown in FIG. 1 is 1: 1 and the display character is 16 dots and the print character is 24 dots, the display area for one character is 20 dots vertically. It is assumed to be 16 dots wide. Moreover, it is assumed that the character pitch at the time of printing by the printer 3 is specified as 30 dots and the line pitch is specified as 45 dots in the printing format. Under such conditions, the aspect ratio K is calculated by the following equation. First, the general expression for obtaining K is K = (formatted character pitch and line pitch) × (display area ratio for one character)
... represented by (1). Substituting the specific format setting value and the display area ratio for one character into this equation (1), K
= 30 ÷ 45 × 20 ÷ 16 = 5/6 (2) That is, this value of K = 5/6 is the vertical 5 displayed on the screen.
It shows that the length of cm and the width of 6 cm are equal at the time of printing. When this K is obtained, the CPU 1 proceeds to step 203, creates vertical scale data and horizontal scale data based on the K, and sends these data to the display control unit 6. The display control unit 6 develops the sent vertical scale and horizontal scale data on the dot memory 7, displays the vertical scale 11 and the horizontal scale 12 on the screen of the display device 5 as shown in FIG. finish. The user creates a figure by referring to the vertical scale 11 and the horizontal scale 12 shown in FIG. That is, one scale of the vertical scale 11 and the horizontal scale 1
Since the 1st scale of 2 shows the same length, for example,
If you try to create a square, one side is a vertical scale of 5
If a quadrangle is created on the screen of the display device 5 so that the scale, the other side perpendicular to the side, becomes 5 scales on the horizontal scale,
This quadrangle becomes a square when printed. However, as described above, since the aspect ratio K is 5/6, the square is displayed on the display device 5 as a rectangle having a side ratio of 5: 6.

【0009】本実施例によれば、図形作成時、表示装置
5の画面の縦と横の縦横表示比率を示す縦スケール11
と横スケール12を表示することができるため、ユーザ
は縦スケール11の1目盛りと横スケール12の1目盛
りが印刷時に同じ長さになると認識することができ、こ
の縦/横スケール11、12の各目盛りを参照して、前
記画面上に図形を作成することができる。従って、表示
された図形の形状は印刷時のそれと異なっても、前記縦
/横スケール11、12の目盛りを読むことにより、表
示された図形の本当の形状を容易に想像でき、所望の形
状の図形を容易且つ正確に描画することができる。
According to this embodiment, the vertical scale 11 indicating the vertical and horizontal display ratios of the vertical and horizontal screens of the display device 5 at the time of creating a figure.
Since the horizontal scale 12 and the horizontal scale 12 can be displayed, the user can recognize that one scale of the vertical scale 11 and one scale of the horizontal scale 12 have the same length at the time of printing. A graphic can be created on the screen by referring to each scale. Therefore, even if the shape of the displayed figure is different from that at the time of printing, by reading the scales of the vertical / horizontal scales 11 and 12, it is possible to easily imagine the true shape of the displayed figure and obtain the desired shape. A figure can be drawn easily and accurately.

【0010】[0010]

【発明の効果】以上記述した如く本発明の文書作成装置
によれば、表示される図形形状と印刷される図形形状が
異なる場合でも、容易に所望の図形を作成したり修正す
ることができる。
As described above, according to the document creating apparatus of the present invention, a desired figure can be easily created or modified even when the displayed figure shape and the printed figure shape are different.

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

【図1】本発明の文書作成装置の一実施例を示したブロ
ック図。
FIG. 1 is a block diagram showing an embodiment of a document creation device of the present invention.

【図2】図1に示したCPUの縦/横スケール表示動作
を示したフローチャート。
FIG. 2 is a flowchart showing a vertical / horizontal scale display operation of the CPU shown in FIG.

【図3】図1に示した表示装置の画面に表示された縦/
横スケールの表示例を示した図。
FIG. 3 is a vertical / portion displayed on the screen of the display device shown in FIG.
The figure which showed the display example of a horizontal scale.

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

1…CPU 2…メモリ 3…キーボード 4…プリンタ 5…表示装置 6…表示制御部 7…ドットメモリ 1 ... CPU 2 ... Memory 3 ... Keyboard 4 ... Printer 5 ... Display device 6 ... Display control unit 7 ... Dot memory

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 図形と文書を表示装置に表示して作成又
は編集する文書作成装置において、表示に係わる予め決
められたデータ及び任意に設定されたデータとから、前
記表示装置の画面に縦に表示される長さと印刷時にこの
長さに等しい前記画面の横に表示される長さとの比であ
る縦横表示比を求める演算手段と、この演算手段によっ
て求まった前記縦横表示比を示す縦スケールと横スケー
ルを作成するスケール作成手段と、このスケール作成手
段によって作成された縦スケールを前記表示装置の文書
/図形・作成/編集画面の縦方向に、横スケールを同画
面の横方向に表示する表示手段とを具備したことを特徴
とする文書作成装置。
1. A document creation device for creating or editing a graphic and a document by displaying the graphic on a display device, and a predetermined data related to the display and arbitrarily set data are displayed vertically on the screen of the display device. A calculating means for obtaining an aspect ratio which is a ratio of a displayed length and a length displayed beside the screen which is equal to this length at the time of printing; and a vertical scale showing the aspect ratio obtained by the calculating means. A display for displaying a horizontal scale in the vertical direction of the document / figure / creation / edit screen of the display device and a horizontal scale in the same screen for creating a horizontal scale and a vertical scale created by the scale creating means. A document creation device comprising means.
【請求項2】 図形と文書を表示装置に表示して作成又
は編集する文書作成装置において、表示に係わる予め決
められたデータ及び任意に設定されたデータとから、前
記表示装置の画面に縦に表示される長さと印刷時にこの
長さに等しい前記画面の横に表示される長さとの比であ
る縦横表示比を求めた後、この縦横表示比を示す縦スケ
ールと横スケールを作成して、これら縦スケールと横ス
ケールを文書/図形・作成/編集画面の縦方向と横方向
の所定の部分に表示することを特徴とする文書作成方
法。
2. A document creation device for creating or editing a graphic and a document by displaying the graphic on a display device, and a predetermined data related to display and arbitrarily set data are displayed vertically on the screen of the display device. After obtaining the aspect ratio, which is the ratio of the displayed length and the length displayed beside the screen that is equal to this length at the time of printing, create a vertical scale and a horizontal scale indicating this aspect ratio, A method of creating a document, characterized in that the vertical scale and the horizontal scale are displayed at predetermined portions in the vertical and horizontal directions of a document / graphic / creation / edit screen.
JP4167069A 1992-06-25 1992-06-25 Method and device for documentation Pending JPH0612478A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4167069A JPH0612478A (en) 1992-06-25 1992-06-25 Method and device for documentation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4167069A JPH0612478A (en) 1992-06-25 1992-06-25 Method and device for documentation

Publications (1)

Publication Number Publication Date
JPH0612478A true JPH0612478A (en) 1994-01-21

Family

ID=15842834

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4167069A Pending JPH0612478A (en) 1992-06-25 1992-06-25 Method and device for documentation

Country Status (1)

Country Link
JP (1) JPH0612478A (en)

Similar Documents

Publication Publication Date Title
JPH09300703A (en) Printing device
JPH0612478A (en) Method and device for documentation
JP2635311B2 (en) Document processing device
JPH0721705B2 (en) Enlarged character processing method
JP3189345B2 (en) Character display processing method
JP2910921B2 (en) Printing control device
KR890003981B1 (en) Charactor input method in input devices
JP2576856B2 (en) Writing device
JP3632294B2 (en) Bar code output device
JPH04263357A (en) Information processor
JP2845156B2 (en) Format setting device and format setting method
JPS63165852A (en) Magazine editing system
JPS59127167A (en) Ruled line processing system for sentence processor
JPH07156449A (en) Printer and image font-enlarging device
JPH0470961A (en) Pattern display device
JP2803746B2 (en) Character processing method and apparatus
JP3143503B2 (en) Image processing method and apparatus
JPH01217395A (en) Word processor
JPH05135034A (en) Document processing method
JPH08153092A (en) Document processor
JPH0573562A (en) Document editor
JPH0713791B2 (en) Document processing method
JPH0793319A (en) Document processor
JPH07320091A (en) Shading pattern generation device
JPH0635196B2 (en) Output character spacing automatic adjustment device