JPH09204539A - Document processing method and device - Google Patents

Document processing method and device

Info

Publication number
JPH09204539A
JPH09204539A JP8010938A JP1093896A JPH09204539A JP H09204539 A JPH09204539 A JP H09204539A JP 8010938 A JP8010938 A JP 8010938A JP 1093896 A JP1093896 A JP 1093896A JP H09204539 A JPH09204539 A JP H09204539A
Authority
JP
Japan
Prior art keywords
input
document processing
graphic
circle
reference position
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
JP8010938A
Other languages
Japanese (ja)
Inventor
Noboru Yokoyama
登 横山
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 JP8010938A priority Critical patent/JPH09204539A/en
Publication of JPH09204539A publication Critical patent/JPH09204539A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a method and device which can reduce operator's burden and also can improve its operability by inputting a production reference position of a document and the graphics feature points and correcting these feature points, based on the production reference position. SOLUTION: When a set command is selected, the origin can be designated by the coordinate offset and via the numerical input. In the circle plotting processing, 0 and 0 are designated to the numerical value inputted from a keyboard in a coordinate input window 20 as the coordinate of a center position. Thus the offset parameter that is read out of a RAM 3 is added to an inputted X coordinate, and a center mark 21 is displayed at a point that is decided by addition of the offset parameter. Then a radius input window is displayed. When a radius (r) is inputted, the mark 21 is erased and a circle 23 of radius (r) is plotted. Then the slippages 20 and 20 caused against the circle 23 are inputted to a coordinate input window 24. Thus a center mark 25 is displayed in accordance with the calculated coordinate. When a radius is inputted, the mark 25 is erased and a circle 27 of a desired graphic is plotted.

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 for facilitating input of graphics forming a document.

【0002】[0002]

【従来の技術】用紙上に文字だけでなく、図形も作成で
きる文書作成装置がある。例えば、四角、円、楕円、折
れ線等が、基本図形として用意されていて、それらの組
み合わせが用紙上に作成出来る。このような装置の多く
は、ポインティングデバイスを有し、そのポインティン
グデバイスにより、図形を描画する位置を表示画面上で
指定する。例えば、四角を描画する場合であれば、四角
の特徴点である一つの角とその対角の角の位置を、ポイ
ンティングデバイスにより指定し、円の場合は、中心と
任意の円周上の位置を指定する。用紙上の正確な位置
に、正確な大きさで図形を作成する場合には、座標位置
を入力することにより、特徴点の各位置を指定する方法
が可能な文書作成装置がある。従来の装置の座標系は、
図形描画画面における用紙の左上を原点(0,0)と
し、右方向が+Xで、下方向が+Yとするものがほとん
どであり、座標系は固定されていた。
2. Description of the Related Art There is a document preparation apparatus capable of preparing not only characters but also figures on a sheet. For example, squares, circles, ellipses, polygonal lines, etc. are prepared as basic figures, and combinations of these can be created on paper. Most of such devices have a pointing device, and the position of drawing a figure is designated on the display screen by the pointing device. For example, when drawing a square, specify the position of one corner, which is the feature point of the square, and the diagonal corners with a pointing device, and in the case of a circle, the center and the position on the arbitrary circumference. Is specified. There is a document creation apparatus capable of designating each position of a feature point by inputting a coordinate position when creating a graphic with an accurate size at an accurate position on a sheet. The coordinate system of a conventional device is
In most cases, the upper left of the paper on the graphic drawing screen is the origin (0, 0), the right direction is + X, and the down direction is + Y, and the coordinate system is fixed.

【0003】図6は、そのような従来の文書処理装置を
説明するものである。同図は、表示手段の図形入力画面
上で用紙68の左上から、右100mm下100mmの
位置を中心とする半径20mmの円63と円63から中
心が右20mm下20mmずれた同じ半径の円67を作
成する例である。図6(a)において、描画可能な基本
図形のアイコンの中から円描画のアイコンを選択し、円
描画モードを設定する。ここで、キーボードによる数字
キーの入力で自動的に座標入力による図形描画モードに
切り替わり、座標入力ウインドウ60が表示されるもの
とし、単位は、mmとなるように、すでに他のメニュー
で指定されているものとする。円63の中心位置として
キーボードより座標100,100を入力する。図6
(b)では、円63の中心の座標(100,100)の
位置が、×の印61で示される。次のキーボードによる
数値入力に応じて半径入力ウインドウ62が表示される
ので、半径としてキーボードより20を入力する。図6
(c)では、作成された円63が描画される。
FIG. 6 illustrates such a conventional document processing apparatus. This figure shows a circle 63 with a radius of 20 mm centered at a position 100 mm below and 100 mm to the right from the upper left of the paper 68 on the figure input screen of the display means, and a circle 67 with the same radius that is 20 mm below and 20 mm below the center. Is an example of creating. In FIG. 6A, a circle drawing icon is selected from the icons of the drawable basic figures to set the circle drawing mode. Here, it is assumed that the figure drawing mode by the coordinate input is automatically switched by the input of the numeric keys on the keyboard and the coordinate input window 60 is displayed, and the unit is already specified by another menu so that the unit is mm. Be present. As the center position of the circle 63, the coordinates 100, 100 are input from the keyboard. FIG.
In (b), the position of the coordinates (100, 100) of the center of the circle 63 is indicated by the cross mark 61. Since the radius input window 62 is displayed in response to the next numeric input from the keyboard, 20 is input as the radius from the keyboard. FIG.
In (c), the created circle 63 is drawn.

【0004】次に、円67の中心座標の指定であるが、
これは、用紙の左上を原点とし、先に描画した円63か
ら中心が右に20、下に20ずらして描画するので、 X座標:100(円63の中心のX座標)+20(円6
3とのずれのXの距離)=120 Y座標;100(円63の中心のY座標)+20(円6
3とのずれのYの距離)=120 を指定する。図6(d)は中心の座標入力ウインドウ6
4が表示されている例である。円63と同様に、円67
の半径を図6(e)に示す半径入力ウインドウ66に入
力すると、図6(f)のように、作成された円67が描
画される。
Next, regarding the designation of the center coordinates of the circle 67,
This is drawn with the upper left corner of the paper as the origin, and the center of the circle 63 drawn earlier is shifted 20 to the right and 20 downwards, so X coordinate: 100 (X coordinate of the center of circle 63) + 20 (circle 6
Deviation of 3 from X) = 120 Y coordinate; 100 (Y coordinate of center of circle 63) +20 (circle 6
The distance of Y from 3) = 120 is specified. FIG. 6D shows the center coordinate input window 6
In this example, 4 is displayed. 67 as well as 63
When the radius is input to the radius input window 66 shown in FIG. 6E, the created circle 67 is drawn as shown in FIG. 6F.

【0005】図7は、基本図形の一つである円の座標入
力時の処理の簡単なフローチャートである。入力値の正
当性やエラーの処理は省略している。円プリミティブの
属性のx、y、rは、それぞれ用紙の左上を原点とした
中心のX及びY座標とは半径で、文書作成装置の内部デ
ータである。
FIG. 7 is a simple flowchart of the process when the coordinates of a circle, which is one of the basic figures, is input. The correctness of input values and error handling are omitted. The circle primitive attributes x, y, and r are radii with respect to the center X and Y coordinates with the upper left of the paper as the origin, and are internal data of the document creation device.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上記従
来例では、円67の特徴点を座標指定する際に、(円6
3の中心のX座標)+(ずれのXの距離)や、(円63
の中心のY座標)+(ずれのYの距離)のような用紙の
基準位置として定められている左上からの座標値をオペ
レータが計算して入力する必要がある。
However, in the above-mentioned conventional example, when the coordinates of the characteristic points of the circle 67 are designated (the circle 6
(X coordinate of the center of 3) + (distance of deviation X) or (circle 63
It is necessary for the operator to calculate and input a coordinate value from the upper left, which is defined as the reference position of the paper, such as (Y coordinate of the center of +) + (distance of Y of deviation).

【0007】通常、作成される図形は、ある基準となる
図形があり、その他の図形に対して、基準の図形からの
相対位置が与えられる場合が多い。しかしながら、上記
従来例では、基準となる円63と右20mm下20mm
ずれた円67の2個の図形を描画する例について説明し
たが、特に、たくさんの図形が相対位置で関係を特定さ
れる図形を描画する際には、オペレータが基準となる図
形からの相対位置を各図形に対して全て左上を原点とす
る座標に計算し直すのは、オペレータにとって非常に負
担を感じさせるものであった。
Usually, the created figure has a certain figure as a reference, and in many cases the relative position from the reference figure is given to other figures. However, in the above conventional example, the reference circle 63 and the right 20 mm and the lower 20 mm
Although the example of drawing two figures of the shifted circle 67 has been described, particularly when drawing a figure in which a lot of figures have a specified relative position, the relative position from the figure used as the reference by the operator It was very burdensome for the operator to recalculate all the coordinates for each figure with the upper left corner as the origin.

【0008】[0008]

【課題を解決するための手段】上記課題を解決するため
に、本発明は、文書を作成する基準位置を入力し、図形
の特徴点を入力し、前記入力された図形の特徴点を前記
入力された基準位置に従って補正し、前記補正された図
形の特徴点に従って図形を描画することを特徴とする文
書処理方法を提供する。
In order to solve the above problems, the present invention inputs a reference position for creating a document, inputs feature points of a graphic, and inputs the feature points of the input graphic. There is provided a document processing method characterized by performing correction according to the corrected reference position and drawing the figure according to the corrected feature points of the figure.

【0009】上記課題を解決するために、本発明は、文
前記基準位置は、原点となる座標の値とする。
In order to solve the above problems, according to the present invention, the sentence reference position is a coordinate value serving as an origin.

【0010】上記課題を解決するために、本発明は、文
前記基準位置は、予め定められた複数の位置から選択し
たものとする。
In order to solve the above-mentioned problems, the present invention assumes that the sentence reference position is selected from a plurality of predetermined positions.

【0011】上記課題を解決するために、本発明は、文
前記図形の特徴点の補正は、前記入力された特徴点に前
記入力された基準位置を加算する。
In order to solve the above problem, according to the present invention, the correction of the feature point of the sentence includes adding the input reference position to the input feature point.

【0012】上記課題を解決するために、本発明は、文
前記描画された図形を表示する。
In order to solve the above problems, the present invention displays the drawn figure.

【0013】上記課題を解決するために、本発明は、文
前記図形は円であり、前記特徴点は中心座標と半径とす
る。
In order to solve the above-mentioned problems, according to the present invention, the figure is a circle, and the feature points are center coordinates and a radius.

【0014】上記課題を解決するために、本発明は、文
前記図形は四角であり、前記特徴点は対角する二つの角
の座標とする。
In order to solve the above-mentioned problems, according to the present invention, the figure is a rectangle and the feature points are coordinates of two diagonal corners.

【0015】上記課題を解決するために、本発明は、文
前記特徴点の入力はキーボードより入力する数値とす
る。
In order to solve the above-mentioned problems, in the present invention, the input of the sentence characteristic points is a numerical value input from a keyboard.

【0016】上記課題を解決するために、本発明は、文
書を作成する基準位置を入力する基準位置入力手段と、
図形の特徴点を入力する特徴点入力手段と、前記入力さ
れた図形の特徴点を前記入力された基準位置に従って補
正する補正手段と、前記補正された図形の特徴点に従っ
て図形を描画する図形描画手段とを有することを特徴と
する文書処理装置を提供する。
In order to solve the above problems, the present invention provides a reference position input means for inputting a reference position for creating a document,
Feature point input means for inputting feature points of a figure, correction means for correcting feature points of the input figure according to the input reference position, and figure drawing for drawing a figure according to the corrected feature points of the figure And a document processing apparatus.

【0017】[0017]

【発明の実施の形態】図9は本発明に係る文書処理装置
の構成を表すブロック図である。COU1は中央処理装
置であって、ROM2或いはRAM3に格納されたプロ
グラムに従って後述するフローチャートに示す処理を含
め、各種処理の制御を行う。ROM2はリード・オンリ
ー・メモリであって、装置として予め用意しておく処理
の制御プログラムや処理に利用する各種パラメータを記
憶している。RAM3はランダム・アクセス・メモリで
あって、FD9等から供給された制御プログラムを記憶
したり、処理途中のデータを格納するワーキングメモリ
として利用する。通信I/F4は公衆回線やLAN等の
通信に関する処理を制御するインターフェースである。
表示器5は液晶表示器やCRT等の表示手段であって、
本装置で作成された文書や通信I/Fを介して入力した
文書、各種操作画面、メッセージ等を表示する。KB6
は文書を構成する文章や数値データ及びコマンドを入力
する為のキーボードであり、PD7は表示器5の表示画
面上での位置を指示し、座標情報として入力する為のポ
インティングデバイスである。プリンタ8はLBPやイ
ンクジェットプリンタ等の印字手段であって、本装置で
作成された文書や通信I/Fを介して入力した文書を印
字する。FD9は着脱可能なメモリのフロッピーディス
クであり、10は各手段間にデータを流すバスである。
FIG. 9 is a block diagram showing the arrangement of a document processing apparatus according to the present invention. The COU 1 is a central processing unit and controls various processes including processes shown in a flowchart described later according to a program stored in the ROM 2 or the RAM 3. The ROM 2 is a read-only memory, and stores a control program for processing prepared in advance as a device and various parameters used for processing. The RAM 3 is a random access memory, and is used as a working memory for storing a control program supplied from the FD 9 or the like, or for storing data during processing. The communication I / F 4 is an interface that controls processing related to communication such as public lines and LANs.
The display device 5 is a display means such as a liquid crystal display device or a CRT,
A document created by this device, a document input via the communication I / F, various operation screens, messages, etc. are displayed. KB6
Is a keyboard for inputting texts, numerical data and commands constituting a document, and PD 7 is a pointing device for instructing the position of the display 5 on the display screen and inputting as coordinate information. The printer 8 is a printing unit such as an LBP or an inkjet printer, and prints a document created by this apparatus or a document input via the communication I / F. FD9 is a floppy disk with removable memory, and 10 is a bus for passing data between each means.

【0018】以下、図面に基づき本発明の処理の流れを
詳細に説明する。
The process flow of the present invention will be described in detail below with reference to the drawings.

【0019】まず、図1は、図形を描画する位置を座標
入力する際の基準点となる原点を設定するウインドウの
例であり、「設定」コマンドの入力に応じて表示器5に
表示される。図1(a)は、設定コマンドを選択した時
の設定ウインドウ10であり、枠11及び枠12に数値
入力することにより座標オフセットで原点を指定でき
る。単位系は、座標の単位で、X軸方向が用紙の左から
の位置、Y軸方向が用紙の上からの位置をそれぞれ表
す。この設定ウインドウ10を開くことによって、図1
(a)では、用紙の左上が原点となっていることがわか
る。設定コマンドを入力すると図3(a)のフローチャ
ートに示す設定処理が始まり、数値入力待ち(S31)
となる。図6 で説明した円63と円67を作成するこ
とを考えると、基準となる円63の中心(100,10
0)を原点に指定すると円67の入力位置が指示しやす
い。そのため、枠11と枠12にそれぞれ「100」の
値をキーボード6により入力する。図1(b)は、座標
オフセットを単位系をmm(変更せず)、X軸方向とY
軸方向をそれぞれ100と指定した場合の設定ウインド
ウ10の表示状態である。枠11及び枠12への数値の
入力と同時に、入力されたxオフセット(枠100の入
力値)がRAM3内の「x_offset」パラメータ
として記憶される。枠12に入力された値も同様に、R
AM3内の「y−offset」パラメータとして記憶
される(S32)。
First, FIG. 1 is an example of a window for setting an origin which is a reference point when coordinates of a position for drawing a figure are input, and is displayed on the display 5 in response to input of a "set" command. . FIG. 1A shows the setting window 10 when the setting command is selected. By inputting numerical values in the frames 11 and 12, the origin can be designated by the coordinate offset. The unit system is a unit of coordinates, and the X-axis direction represents the position from the left side of the paper, and the Y-axis direction represents the position from the top of the paper. By opening this setting window 10, FIG.
In (a), it can be seen that the upper left corner of the paper is the origin. When the setting command is input, the setting process shown in the flowchart of FIG. 3A starts and waits for a numerical value input (S31).
Becomes Considering creating the circles 63 and 67 described in FIG. 6, the center of the reference circle 63 (100, 10
When 0) is designated as the origin, the input position of the circle 67 can be easily designated. Therefore, the value of “100” is input to each of the frames 11 and 12 using the keyboard 6. In FIG. 1B, the unit of coordinate offset is mm (without change), X-axis direction and Y
This is a display state of the setting window 10 when the axial directions are designated as 100, respectively. At the same time when the numerical values are input to the frames 11 and 12, the input x offset (input value of the frame 100) is stored as the “x_offset” parameter in the RAM 3. Similarly, the value entered in the frame 12 is R
It is stored as the "y-offset" parameter in AM3 (S32).

【0020】次に、図2は、図1(b)のオフセット設
定を行った後の図形の座標入力時の表示画面例を示した
ものであり、図3(b)にこの時の処理のフローチャー
トを示す。図2(a)は、円描画コマンドを選択するこ
とにより開始した円描画処理において、キーボード6よ
り入力された数値を座標入力ウインドウ20に表示して
いる状態である。基準となる円の中心位置を原点として
設定してあるので、中心位置の座標として0,0を指定
している。中心座標が入力されたら(S33)、入力さ
れたX座標にRAM3より読み出したx_offset
パラメータを加算してRAM3の「x」パラメータに記
憶する。同様にして求めた「y」パラメータもRAM3
に記憶する(S34)。図2(b)は、RAM3の
「x」及び「y」により定まる点に中心マーク20を表
示し、半径入力ウインドウ22を表示した状態であり
(S35)、ここで半径として20をキーボード6より
入力する(S36)。S36で入力された半径の値はR
AM3内に「r」パラメータとして記憶する(S3
7)。図2(c)では、中心マーク21を消去し、中心
が(x,y)で半径がrの円が描画される。描画された
円のx、y、rの値を、この図形が描画された文書のデ
ータとしてRAM3に登録する(S39)。
Next, FIG. 2 shows an example of a display screen at the time of inputting the coordinates of the figure after the offset setting of FIG. 1 (b) is performed. FIG. 3 (b) shows the processing at this time. A flow chart is shown. FIG. 2A shows a state in which the numerical value input from the keyboard 6 is displayed in the coordinate input window 20 in the circle drawing process started by selecting the circle drawing command. Since the center position of the reference circle is set as the origin, 0,0 is designated as the coordinate of the center position. When the center coordinate is input (S33), x_offset read from the RAM 3 is input to the input X coordinate.
The parameters are added and stored in the “x” parameter of the RAM 3. The “y” parameter obtained in the same manner is also stored in the RAM 3
(S34). FIG. 2B shows a state in which the center mark 20 is displayed at a point defined by “x” and “y” in the RAM 3 and the radius input window 22 is displayed (S35), where 20 is used as the radius from the keyboard 6. Input (S36). The radius value input in S36 is R
It is stored as a "r" parameter in AM3 (S3
7). In FIG. 2C, the center mark 21 is erased, and a circle having a center of (x, y) and a radius of r is drawn. The values of x, y, r of the drawn circle are registered in the RAM 3 as the data of the document in which this figure is drawn (S39).

【0021】次に、円23から(20,20)離した円
の中心の指定であるが、基準となる円23の中心位置を
原点としてオフセット設定したので、もはや円23の用
紙左上からの距離を考えることなく、円23とのずれで
ある20,20を直接キーボード6より入力すれば良
い。図2(d)がそれを示すものであり、数値入力に応
じて表示された座標入力ウインドウ24に20,20が
表示される。中心座標(20,20)の入力に応じてS
34の演算により求められた座標(120,120)に
従って中心マーク25が表示される。さらに、半径入力
ウインドウ26において円の半径を入力(図2(e))
すると、図2(f)のように、中心マーク25を消去し
て要求する図形の円27が描画される。
Next, regarding the center of a circle separated by (20, 20) from the circle 23, since the offset is set with the center position of the reference circle 23 as the origin, it is no longer the distance of the circle 23 from the upper left of the paper. It is sufficient to directly input 20 and 20, which is the deviation from the circle 23, from the keyboard 6 without considering. FIG. 2D shows this, and 20, 20 are displayed in the coordinate input window 24 displayed in response to the numerical input. S depending on the input of the center coordinates (20, 20)
The center mark 25 is displayed according to the coordinates (120, 120) obtained by the calculation of 34. Further, input the radius of the circle in the radius input window 26 (Fig. 2 (e)).
Then, as shown in FIG. 2F, the center mark 25 is erased and a circle 27 of the required figure is drawn.

【0022】ここまでの説明は、基準点を用紙の左上と
した場合の例について説明したが、例えば、相対位置指
示の基準位置が用紙の右からの位置であったり、下から
の位置である場合、オペレータは用紙の幅や高さを考慮
して、オフセット値を決め、更にその値から指示される
相対位置座標を減算する操作をしなければならない。そ
こで、ここからは、基準点を設定できるようにする例に
ついて説明する。図4は、図形の座標入力やオフセット
値の基準となる位置を指定するメジャーウインドウ41
の表示例であり、メジャーコマンドを入力することによ
り表示される。ウインドウ41において原点と表示され
ているのが、基準の位置の指定項目で、枠42〜45を
ポインティンスデバイス7によりクリックすることによ
り用紙の左上、右上、左下、右下がオペレータにより指
定できる。図4の例では左上が選択されている。図5の
フローチャートにより、このメジャーウインドウ41で
のメジャー設定の処理を示す。PD7からの入力を待ち
(S51)、枠42〜45に入力されたら(S52)オ
ペレータのクリック位置の左上、右上、左下、右下に対
応して、RAM3内の内部変数(パラメータ)org_
sheetに、それぞれLeftUpper(S5
3)、RightUpper(S54)、LeftLo
wer(S55)、RightLower(S56)を
設定する。LeftUpper、RightUppe
r、LeftLower、RightLowerは、内
部で基準点を判定するための定数である。図6のフロー
チャートは、円の入力時の処理である。入力値の正当性
やエラーの処理は省略している。円の属性のx、y、r
は、それぞれ用紙の左上を原点としたX及びY座標と半
径で、文書作成装置の内部データである。ここで現われ
るx_offset、y_offsetは、図3で示し
たものである。また、width_sheet、hei
ght_sheetはそれぞれ用紙の幅と高さを示す。
これらの各パラメータはRAM3に記憶され、必要に応
じて読み出される。x、yは入力された値とx_off
set、y_offset及び基準点から計算されてい
る。オペレータの座標入力時に負の数を指定させるのを
避けるため、基準点が用紙の左である場合には右方向が
+X方向とし、基準点が用紙の右である場合には左方向
が+X方向とし、基準点が用紙の上である場合には下方
向が+Y方向とし、基準点が用紙の下である場合には上
方向が+Y方向として、用紙上にメジャー表示する際に
もこのルールに則した表示を行うものとする。
In the above description, the reference point is set to the upper left of the sheet, but the reference position of the relative position designation is, for example, the position from the right or the position from the bottom of the sheet. In this case, the operator must determine the offset value in consideration of the width and height of the sheet, and further perform the operation of subtracting the designated relative position coordinates from the offset value. Therefore, hereinafter, an example in which the reference point can be set will be described. FIG. 4 shows a measure window 41 for designating a position as a reference for inputting coordinates of a figure and an offset value.
This is a display example of, and is displayed by inputting a major command. The origin is displayed in the window 41 as a reference position designation item. By clicking the frames 42 to 45 with the pointing device 7, the operator can designate the upper left, upper right, lower left, and lower right of the paper. . In the example of FIG. 4, the upper left is selected. The process of major setting in the major window 41 is shown by the flowchart of FIG. Waiting for input from the PD 7 (S51), and when input is made in the frames 42 to 45 (S52), internal variables (parameters) org_ in the RAM 3 corresponding to the upper left, upper right, lower left, and lower right of the operator's click position.
LeftUpper (S5
3), RightUpper (S54), LeftLo
wer (S55) and RightLower (S56) are set. LeftUpper, RightUppe
r, LeftLower, and RightLower are constants for internally determining the reference point. The flowchart of FIG. 6 is a process when a circle is input. The correctness of input values and error handling are omitted. Circle attributes x, y, r
Are the internal data of the document creation device, which are the X and Y coordinates and the radius with the upper left of the paper as the origin. The x_offset and y_offset appearing here are those shown in FIG. Also, width_sheet, hei
ght_sheet indicates the width and height of the sheet, respectively.
Each of these parameters is stored in the RAM 3 and read as needed. x and y are the input values and x_off
It is calculated from set, y_offset and the reference point. To avoid specifying a negative number when the operator inputs coordinates, the right direction is + X direction when the reference point is the left side of the paper, and the left direction is + X direction when the reference point is the right side of the paper. When the reference point is on the paper, the downward direction is + Y direction, and when the reference point is under the paper, the upward direction is + Y direction. The display shall comply.

【0023】円入力処理において中心座標(X,Y)が
入力されたら(S70)、RAM3内の「org_sh
eet」パラメータを読み出して、ここに設定されてい
る定数に応じてS72〜S75の異なる演算処理を行
い、表示画面上の中心座標(x,y)を決定する。S7
2〜S75により求められたx、yはRAM3内に記憶
し、この座標位置に中心マークを表示する(S76)。
KB6より半径が入力されたら(S77)、入力された
半径はRAM3に「r」パラメータとして記憶し(S7
8)、中心マークを消去して中心(x,y)で半径rの
円を表示する(S79)。描画された円の特徴である
x、y、rはこの円が描画された文書とともにRAM3
に登録する(S80)。
When the center coordinates (X, Y) are input in the circle input processing (S70), "org_sh" in the RAM 3 is entered.
The “eet” parameter is read out, and different calculation processes of S72 to S75 are performed according to the constant set here to determine the center coordinates (x, y) on the display screen. S7
The values x and y obtained in steps 2 to S75 are stored in the RAM 3, and the center mark is displayed at this coordinate position (S76).
When the radius is input from the KB 6 (S77), the input radius is stored in the RAM 3 as the "r" parameter (S7).
8) Then, the center mark is erased and a circle with radius r at the center (x, y) is displayed (S79). The characteristics x, y, r of the drawn circle are stored in the RAM 3 together with the document in which the circle is drawn.
To register (S80).

【0024】用紙をある領域に分けて文書を作成する場
合、例えば、文書固定の文字やそのページでの見出しを
入れるヘッダやフッタと本文の領域を分けて文書を作成
する場合、通常、ヘッダは各ページの上部に、フッタは
各ページの下部に配置され、本文は、その間の領域に配
置される。このような場合、ここまで説明したような方
法により基準点を本文の特定の位置に指定することによ
り、本文の領域からはみ出すことなく図形を描画する作
業を容易にすることができる。
When a document is created by dividing a paper into a certain area, for example, when a document is created by dividing a header or footer into which text fixed to the document or a heading of the page is inserted and a text area, the header is usually At the top of each page, the footer is placed at the bottom of each page, and the body is placed in the area between them. In such a case, by designating the reference point at a specific position in the text by the method as described above, it is possible to facilitate the work of drawing a figure without protruding from the area of the text.

【0025】[0025]

【発明の効果】以上説明したように、本発明によれば、
文書を作成する基準位置を入力し、図形の特徴点を入力
し、前記入力された図形の特徴点を前記入力された基準
位置に従って補正し、前記補正された図形の特徴点に従
って図形を描画することにより、相対的な位置関係にあ
る図形の入力が容易になる。
As described above, according to the present invention,
A reference position for creating a document is input, a feature point of a graphic is input, the feature point of the input graphic is corrected according to the input reference position, and the graphic is drawn according to the corrected feature point of the graphic. This makes it easy to input a graphic having a relative positional relationship.

【0026】以上説明したように、本発明によれば、文
前記基準位置は、原点となる座標の値とすることによ
り、基準位置の入力が分かり易く容易であり、その後の
図形の特徴点の入力数値も分かり易い。
As described above, according to the present invention, by setting the sentence reference position to the value of the coordinate serving as the origin, the input of the reference position is easy to understand, and the subsequent feature points of the graphic are The input values are easy to understand.

【0027】以上説明したように、本発明によれば、文
前記基準位置は、予め定められた複数の位置から選択し
たものとすることにより、設定可能な複数の基準位置か
ら選択できるので、設定が容易でありながら、複数の場
合に対処できる。
As described above, according to the present invention, the sentence reference position can be selected from a plurality of settable reference positions by selecting it from a plurality of predetermined positions. Although it is easy to handle, it can handle multiple cases.

【0028】以上説明したように、本発明によれば、文
前記図形の特徴点の補正は、前記入力された特徴点に前
記入力された基準位置を加算することにより、オペレー
タの加算作業をなくすことができる。
As described above, according to the present invention, the correction of the feature points of the sentence is performed by adding the input reference position to the input feature points, thereby eliminating the addition work of the operator. be able to.

【0029】以上説明したように、本発明によれば、文
前記描画された図形を表示することにより、描画図形を
表示上で確認することができる。
As described above, according to the present invention, the drawn figure can be confirmed on the display by displaying the drawn figure.

【0030】以上説明しように、本発明によれば、文前
記図形は円であり、前記特徴点は中心座標と半径とする
ことにより、所望の円を描画することができる。
As described above, according to the present invention, the sentence is a circle, and the feature point has the center coordinates and the radius, so that a desired circle can be drawn.

【0031】以上説明しように、本発明によれば、文前
記図形は四角であり、前記特徴点は対角する二つの角の
座標とすることにより、所望の四角を描画することがで
きる。
As described above, according to the present invention, the sentence is a rectangle, and the feature points are coordinates of two diagonal corners, so that a desired rectangle can be drawn.

【0032】以上説明したように、本発明によれば、文
前記特徴点の入力はキーボードより入力する数値とする
ことにより、正確な特徴点の入力が可能となる。
As described above, according to the present invention, the characteristic points can be accurately input by using the numerical values input from the keyboard as the characteristic points.

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

【図1】設定ウインドウの表示例示図FIG. 1 is a display example of a setting window.

【図2】円入力処理中の表示例示図FIG. 2 is a display example diagram during a circle input process.

【図3】設定処理及び円描画処理のフローチャートFIG. 3 is a flowchart of setting processing and circle drawing processing.

【図4】メジャーウインドウの表示例示図FIG. 4 is a display example of a measure window.

【図5】メジャー設定処理のフローチャートFIG. 5 is a flowchart of a measure setting process.

【図6】円入力処理のフローチャートFIG. 6 is a flowchart of a circle input process.

【図7】従来の円入力処理の表示例示図FIG. 7 is a display example diagram of a conventional circle input process.

【図8】従来の円入力処理のフローチャートFIG. 8 is a flowchart of a conventional circle input process.

【図9】本発明に係る文書処理装置の構成のブロック図FIG. 9 is a block diagram of the configuration of a document processing apparatus according to the present invention.

Claims (16)

【特許請求の範囲】[Claims] 【請求項1】 文書を作成する基準位置を入力し、 図形の特徴点を入力し、 前記入力された図形の特徴点を前記入力された基準位置
に従って補正し、 前記補正された図形の特徴点に従って図形を描画するこ
とを特徴とする文書処理方法。
1. A reference position for creating a document is input, a feature point of a graphic is input, the feature point of the input graphic is corrected according to the input reference position, and the feature point of the corrected graphic is input. A document processing method characterized by drawing a graphic according to the following.
【請求項2】 前記基準位置は、原点となる座標の値と
することを特徴とする請求項1に記載の文書処理方法。
2. The document processing method according to claim 1, wherein the reference position is a coordinate value serving as an origin.
【請求項3】 前記基準位置は、予め定められた複数の
位置から選択したものとすることを特徴とする請求項1
に記載の文書処理方法。
3. The reference position is selected from a plurality of predetermined positions.
Document processing method described in.
【請求項4】 前記図形の特徴点の補正は、前記入力さ
れた特徴点に前記入力された基準位置を加算することを
特徴とする請求項1に記載の文書処理方法。
4. The document processing method according to claim 1, wherein the correction of the feature point of the graphic is performed by adding the input reference position to the input feature point.
【請求項5】 前記描画された図形を表示することを特
徴とする請求項1に記載の文書処理方法。
5. The document processing method according to claim 1, wherein the drawn figure is displayed.
【請求項6】 前記図形は円であり、前記特徴点は中心
座標と半径とすることを特徴とする請求項1に記載の文
書処理方法。
6. The document processing method according to claim 1, wherein the graphic is a circle, and the feature points are center coordinates and a radius.
【請求項7】 前記図形は四角であり、前記特徴点は対
角する二つの角の座標とすることを特徴とする請求項1
に記載の文書処理方法。
7. The figure is a quadrangle, and the feature points are coordinates of two diagonal corners.
Document processing method described in.
【請求項8】 前記特徴点の入力はキーボードより入力
する数値とすることを特徴とする請求項1に記載の文書
処理方法。
8. The document processing method according to claim 1, wherein the input of the characteristic points is a numerical value input from a keyboard.
【請求項9】 文書を作成する基準位置を入力する基準
位置入力手段と、 図形の特徴点を入力する特徴点入力手段と、 前記入力された図形の特徴点を前記入力された基準位置
に従って補正する補正手段と、 前記補正された図形の特徴点に従って図形を描画する図
形描画手段とを有することを特徴とする文書処理装置。
9. A reference position input means for inputting a reference position for creating a document, a feature point input means for inputting a feature point of a graphic, and a correction of the feature point of the input graphic according to the input reference position. A document processing apparatus, comprising: a correction unit for performing drawing and a graphic drawing unit for drawing a graphic according to the corrected feature points of the graphic.
【請求項10】 前記基準位置は、原点となる座標の値
とすることを特徴とする請求項9に記載の文書処理装
置。
10. The document processing apparatus according to claim 9, wherein the reference position is a value of a coordinate serving as an origin.
【請求項11】 前記基準位置は、予め定められた複数
の位置から選択したものとすることを特徴とする請求項
9に記載の文書処理装置。
11. The document processing apparatus according to claim 9, wherein the reference position is selected from a plurality of predetermined positions.
【請求項12】 前記図形の特徴点の補正は、前記入力
された特徴点に前記入力された基準位置を加算すること
を特徴とする請求項9に記載の文書処理装置。
12. The document processing apparatus according to claim 9, wherein the correction of the feature points of the graphic is performed by adding the input reference position to the input feature points.
【請求項13】 前記描画された図形を表示する表示手
段を有することを特徴とする請求項9に記載の文書処理
装置。
13. The document processing apparatus according to claim 9, further comprising display means for displaying the drawn figure.
【請求項14】 前記図形は円であり、前記特徴点は中
心座標と半径とすることを特徴とする請求項9に記載の
文書処理装置。
14. The document processing apparatus according to claim 9, wherein the graphic is a circle, and the feature points have a center coordinate and a radius.
【請求項15】 前記図形は四角であり、前記特徴点は
対角する二つの角の座標とすることを特徴とする請求項
9に記載の文書処理装置。
15. The document processing apparatus according to claim 9, wherein the graphic is a rectangle and the feature points are coordinates of two diagonal corners.
【請求項16】 前記特徴点として数値を入力するキー
ボードを有することを特徴とする請求項9に記載の文書
処理装置。
16. The document processing apparatus according to claim 9, further comprising a keyboard for inputting numerical values as the characteristic points.
JP8010938A 1996-01-25 1996-01-25 Document processing method and device Withdrawn JPH09204539A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8010938A JPH09204539A (en) 1996-01-25 1996-01-25 Document processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8010938A JPH09204539A (en) 1996-01-25 1996-01-25 Document processing method and device

Publications (1)

Publication Number Publication Date
JPH09204539A true JPH09204539A (en) 1997-08-05

Family

ID=11764168

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8010938A Withdrawn JPH09204539A (en) 1996-01-25 1996-01-25 Document processing method and device

Country Status (1)

Country Link
JP (1) JPH09204539A (en)

Similar Documents

Publication Publication Date Title
JPH09204539A (en) Document processing method and device
JP4136188B2 (en) Graphic editing apparatus and method
JP3114243B2 (en) Outline data processing device
JPH0562979B2 (en)
JP2020144453A (en) Image editing device and image editing method
JPH04155573A (en) Table editing device
JPH04263357A (en) Information processor
JP3807052B2 (en) Graphic drawing apparatus and storage medium
JPH11109940A (en) Countour editing device for image data and countour editing method for the image data and recording medium
JPH0577229B2 (en)
JPH08123801A (en) Document preparing device and frame editing method
JPH0850605A (en) Package design supporting device
JPH1139302A (en) Area setting processor and storage medium
JPS63163954A (en) Forme system
JPH07105212A (en) Layout design device
JPS63208932A (en) Document processor
JPH0411020B2 (en)
JPH0765050A (en) Batch/continuous changing method for cad input character attribute
JPS62271075A (en) Image processor
JPH1027256A (en) Character input device
JPH06231222A (en) Device and method for processing graphic
JPH01217670A (en) Document preparing device
JPS6043778A (en) Graphic display device
JP2002044414A (en) Duplicative printing method and digitizer used therefor
JPH01217395A (en) Word processor

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: 20030401