JPH05108788A - Document preparing device - Google Patents

Document preparing device

Info

Publication number
JPH05108788A
JPH05108788A JP3264080A JP26408091A JPH05108788A JP H05108788 A JPH05108788 A JP H05108788A JP 3264080 A JP3264080 A JP 3264080A JP 26408091 A JP26408091 A JP 26408091A JP H05108788 A JPH05108788 A JP H05108788A
Authority
JP
Japan
Prior art keywords
graphic
shaping
function
point
creation
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
JP3264080A
Other languages
Japanese (ja)
Inventor
Akihiko Takemasa
彰彦 武政
Shinya Yamaguchi
伸哉 山口
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
Toshiba Software Engineering Corp
Original Assignee
Toshiba Corp
Toshiba Software Engineering 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, Toshiba Software Engineering Corp filed Critical Toshiba Corp
Priority to JP3264080A priority Critical patent/JPH05108788A/en
Publication of JPH05108788A publication Critical patent/JPH05108788A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To easily perform the correction of a graphic. CONSTITUTION:A graphic preparation part 16 stores the position coordinate of a designation possible point capable of being designated for selecting a graphic to be a processing object at the time of a graphic correction as a designation possible point data 18b of a graphic data buffer 18 based on the graphic preparation point peculiar to the graphic kind inputted at the time of performing a graphic preparation. When a graphic correction is performed, a graphic display control part 20 displays the designation possible point by a specific pattern according to the designation possible point data 18b. When a graphic shaping processing is designated while the processings of the functions in a graphic mode are performing, a graphic shaping part 16a is started. The graphic shaping part 16a performs the graphic shaping by a prescribed line width or a prescribed digit width unit and rewrites the position coordinate of graphic data 18a.

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 having a graphic creating function.

【0002】[0002]

【従来の技術】近年、文書作成装置においては、文書を
作成する機能の他に図形を作成する機能が設けられてい
る。この図形作成機能を用いることにより、地図等の図
形を含む文書を作成することができる。
2. Description of the Related Art In recent years, a document creating apparatus has a function of creating a figure in addition to a function of creating a document. By using this graphic creation function, a document including a graphic such as a map can be created.

【0003】図形を作成する場合には、文書作成モード
の状態において図形モードを指定することにより、図形
モードに入る。ここで、図形モードにおける機能(作
成,削除、移動、コピー、拡大/縮小等)から図形作成
を指定すると、装置に用意された基本図形(直線、矩
形、円、曲線等)から任意の図形を選択することができ
る。そして、選択した図形に対して、図形作成点(各図
形に固有の特徴点で示す。例えば矩形の場合は対角の2
点)、線の太さ、線種(実線、破線,点線等)等を指定
することで任意に図形を作成することができる。
When creating a figure, the figure mode is entered by designating the figure mode in the document creation mode. Here, if you specify the figure creation from the functions in the figure mode (create, delete, move, copy, enlarge / reduce, etc.), you can select any figure from the basic figures (straight line, rectangle, circle, curve, etc.) prepared in the device. You can choose. Then, for the selected figure, figure creation points (shown by characteristic points unique to each figure.
By specifying the point), line thickness, line type (solid line, broken line, dotted line, etc.), a figure can be created arbitrarily.

【0004】従来、文書作成装置の図形作成機能におい
て、図形の訂正(編集)は、各機能毎に実行される。例
えば、既に作成されている図形を削除するには、削除機
能を選択し、そこで対象とする図形を、範囲(矩形によ
る)、あるいは図形作成点に基づく指定可能点(矩形で
あれば4つの頂点、円であれば円周上の4点、直線であ
れば端点)によって指定する。これにより、指定された
図形が削除される。他の機能においても、同様にして対
象とする図形が選択される。
Conventionally, in the figure creating function of the document creating apparatus, the correction (editing) of the figure is executed for each function. For example, to delete a shape that has already been created, select the delete function, and specify the target shape there as a range (by a rectangle) or a point that can be specified based on the shape creation point (4 vertices if it is a rectangle). , 4 points on the circumference for circles, and end points for straight lines). As a result, the designated figure is deleted. In other functions, the target graphic is selected in the same manner.

【0005】[0005]

【発明が解決しようとする課題】このように従来の文書
作成装置の図形作成機能においては、図形の訂正(編
集)を行なう場合、対象とする図形を範囲、あるいは任
意の指定可能点を指定することによって行なわれる。通
常、多数の図形が作成されている場合、範囲指定によっ
て所望する図形のみを選択することが困難であるため、
指定可能点により図形の指定が行なわれる。ところが、
指定可能点は、図形によって異なり、また必ずしも図形
作成点とは限らないため、操作に慣れていない場合には
効率良く図形の訂正を行なうことができなかった。特
に、曲線(スプライン曲線)や閉じた(ループ状の)曲
線(スプループ曲線)の場合には、複数の図形作成点が
あるにもかかわらず、所望する点を指定することは非常
に困難となっている。
As described above, in the figure creating function of the conventional document creating apparatus, when the figure is corrected (edited), the range of the figure to be targeted, or an arbitrary specifiable point is designated. It is done by Normally, when many figures are created, it is difficult to select only the desired figure by specifying the range.
A figure is designated by the specifiable points. However,
The points that can be specified differ depending on the figure and are not always the figure creation points. Therefore, if the user is not accustomed to the operation, the figure cannot be efficiently corrected. In particular, in the case of a curve (spline curve) or a closed (loop-shaped) curve (sploop curve), it is very difficult to specify the desired point even though there are multiple figure creation points. ing.

【0006】また、図形作成モードでは、簡単な図形の
訂正を行なう場合であっても、選択した機能における訂
正のみが実行可能となっていた。例えば、コピー機能を
実行中に、図形の拡大を行なうような場合には、コピー
機能を終了させた後、拡大/縮小機能を選択し、所定の
操作を行なう必要があった。本発明は前記のような点に
鑑みてなされたもので、簡単に図形の訂正を行なうこと
が可能な図形作成機能を有する文書作成装置を提供する
ことを目的とする。
Further, in the figure creation mode, even when a simple figure is corrected, only the correction in the selected function can be executed. For example, when a graphic is enlarged during execution of the copy function, it is necessary to terminate the copy function, select the enlargement / reduction function, and perform a predetermined operation. The present invention has been made in view of the above points, and an object of the present invention is to provide a document creation device having a graphic creation function capable of easily correcting a graphic.

【0007】[0007]

【課題を解決するための手段】本発明は、図形作成機能
を有する文書作成装置において、前記図形作成機能によ
って作成された図形に対する、所定の幅単位による図形
整形の実行を指示するための指示手段と、前記指示手段
によって指示された際に、記所定の幅に掛かる図形につ
いて、前記所定の幅分の図形の訂正を行なう図形整形手
段とを具備したことを第1の特徴とする。
According to the present invention, in a document creating apparatus having a figure creating function, an instructing means for instructing execution of figure shaping in a predetermined width unit for a figure created by the figure creating function. A first feature is that, when instructed by the instructing means, a figure shaping means for correcting a figure having a predetermined width is corrected by the figure having the predetermined width.

【0008】また本発明は、図形作成機能を有する文書
作成装置において、前記図形作成機能によって図形作成
が行われる際に指定された図形作成点に基づく、図形種
類に固有の指定可能点の位置座標を格納するための指定
可能点格納手段と、前記図形作成機能によって図形訂正
が行われる際に、前記指定可能点格納手段に格納された
位置座標に応じて、指定可能点を特定のパターンによっ
て表示する表示手段とを具備したことを第2のと特徴と
す。
Further, according to the present invention, in a document creating apparatus having a figure creating function, the position coordinates of a specifiable point peculiar to the figure type based on the figure creating point specified when the figure creating is performed by the figure creating function. And a designated point storage means for storing the designated point, and the designated point is displayed in a specific pattern according to the position coordinates stored in the designated point storage means when the figure correction is performed by the figure creating function. The second feature is that the display means is provided.

【0009】[0009]

【作用】このような構成によれば、図形モードに設けら
れた各機能による訂正ではなく、行幅単位、及び桁幅単
位の図形整形が可能となる。すなわち、簡単な操作によ
って、簡単な図形訂正を容易に行なうことができる。
According to this structure, it is possible to perform graphic shaping in units of line widths and units of digit widths, rather than correction by each function provided in the graphic mode. That is, simple graphic correction can be easily performed by a simple operation.

【0010】また、図形訂正を行なう際に、訂正の対象
とする図形を指定ことが可能な指定可能点が、特定のパ
ターンによって表示されるので、点を指定するための操
作を容易に行なうことができる。
In addition, when a figure is corrected, a specifiable point capable of designating a figure to be corrected is displayed by a specific pattern, so that the operation for designating the point can be easily performed. You can

【0011】[0011]

【実施例】以下、図面を参照して本発明の一実施例を説
明する。図1は同実施例に係わる文書作成装置の構成を
示すブロック図である。図1において、キーボード(K
B)10は、利用者のキー操作を受けて、文書作成・編
集や図形作成・編集等に必要な入力情報をキー入力制御
部12を介して図形作成部16または文書作成部(図示
せず)へ出力するものである。
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 the arrangement of a document creating apparatus according to the embodiment. In FIG. 1, a keyboard (K
B) 10 receives the key operation of the user, and inputs the input information necessary for document creation / editing, graphic creation / editing, etc. via the key input control unit 12 to the graphic creation unit 16 or the document creation unit (not shown). ) Is output to.

【0012】キーボード10には、文字キー、各種機能
項目の指定や、文書編集や図形編集時の位置または領域
(範囲)指定等を行うための上下左右のカーソルキー等
に加えて、「かな」(読み)から漢字への変換の指示や
次候補処理の実行を指示するための[変換/次候補]キ
ー、各種設定の確定を指示するための[選択/実行]キ
ー、処理の中断や確定前の入力の取消し等を指示するた
めの[取消し]キー、文書や図形の作成,編集・校正等
に用いられる[削除]キー,[挿入]キー、罫線作成を
指示するための[罫線]キー等を含む各種のファンクシ
ョンキーが設けられている。更に、他の文字キーとの組
合せにより各種の機能が実現できる[機能1]キー並び
に[機能2]キーと称する特別のファンクションキーも
設けられている。
The keyboard 10 is provided with character keys, various functional items, and cursor keys for up / down / left / right to specify a position or area (range) at the time of document editing or graphic editing. [Convert / next candidate] key for instructing conversion from (reading) to kanji and execution of next candidate processing, [select / execute] key for instructing confirmation of various settings, interruption or confirmation of processing [Cancel] key for instructing cancellation of previous input, [Delete] key, [Insert] key used for creating, editing and proofreading documents and figures, [Rule line] key for instructing ruled line creation There are various function keys including, etc. Further, special function keys called [function 1] key and [function 2] key which can realize various functions by combination with other character keys are also provided.

【0013】図形モードの各機能の実行中では、既に作
成されている図形に対して、例えば[機能1]+[削
除]キーの押下により行削除整形、同様に[機能1]+
[挿入]キーにより行挿入整形、[機能2]+[削除]
キーの押下により桁削除整形、[機能2]+[挿入]キ
ーにより桁挿入整形が指示されるものとする。
During execution of each function in the graphic mode, for example, by pressing the [Function 1] + [Delete] key for the already created graphic, line deletion and shaping, and similarly [Function 1] +
Line insert formatting by [Insert] key, [Function 2] + [Delete]
It is assumed that the digit deletion and shaping is instructed by pressing the key and the digit insertion and shaping is instructed by the [function 2] + [insert] key.

【0014】図形作成部16は、図形作成(図形データ
作成)や図形編集に関する処理を司るもので、キーボー
ド10から入力された指示に応じて所定の処理を行な
う。図形作成部16には、図形整形部16aが設けられ
ている。
The figure creating section 16 is responsible for processing related to figure creation (figure data creation) and figure editing, and carries out predetermined processing in response to an instruction input from the keyboard 10. The figure creating section 16 is provided with a figure shaping section 16a.

【0015】図形整形部16aは、既に作成されている
図形に対して、キーボード10が操作されることにより
削除整形、挿入整形が指定された際に、指定に応じて図
形データを変換して所定の図形に整形する。
The figure shaping unit 16a converts the figure data according to the designation when the deletion shaping or the insertion shaping is designated by operating the keyboard 10 with respect to the already created figure, and then the predetermined shaping is performed. Shape into the shape of.

【0016】図形データバッファ18は、図形編集部1
6において作成された図形の図形データを格納するため
のものである。図形データバッファ18には、図形デー
タ18a(図形種類、線種、図形作成点の位置座標
等)、指定可能点18b(図形種類及び図形作成点に基
づく位置座標)等が格納される。図形データバッファ1
8に格納されたデータは、図形作成部16(図形整形部
16a)、及び表示制御部20による処理に供される。
The graphic data buffer 18 includes a graphic editing unit 1
This is for storing the graphic data of the graphic created in 6. The graphic data buffer 18 stores graphic data 18a (graphic type, line type, position coordinates of graphic creation point, etc.), specifiable point 18b (position coordinate based on graphic type and graphic creation point), and the like. Figure data buffer 1
The data stored in FIG. 8 is provided for processing by the graphic creation unit 16 (graphic shaping unit 16a) and the display control unit 20.

【0017】図形表示制御部20は、図形作成部16か
らの指示に応じて、図形データバッファ18に格納され
た図形データ18a、指定可能点データ18bに応じ
て、図形表示を行なうための制御を司るものである。図
形表示制御部20は、図形データ18a、指定可能点デ
ータ18bに基づいて、実際に表示される具体的なイメ
ージを作成し、表示器22に供する。表示器22は、例
えば液晶ディスプレイ(LCD)等によって構成され、
図形表示制御部20から供されるイメージの表示を行な
う。
The graphic display control unit 20 controls the graphic display according to the graphic data 18a and the specifiable point data 18b stored in the graphic data buffer 18 in response to an instruction from the graphic creating unit 16. It is in charge of it. The graphic display control unit 20 creates a concrete image to be actually displayed based on the graphic data 18a and the specifiable point data 18b, and supplies it to the display 22. The display 22 is composed of, for example, a liquid crystal display (LCD),
The image provided from the graphic display control unit 20 is displayed.

【0018】なお、前述した各部は、図示せぬ中央制御
部によって制御されているものとする。中央制御部は、
キーボード10が操作されることによって入力される指
示に応じて各種動作モードを設定し、それに応じて各部
の制御を行なう。次に、同実施例の動作について説明す
る。
It is assumed that the above-mentioned respective units are controlled by a central control unit (not shown). The central control unit
Various operation modes are set according to an instruction input by operating the keyboard 10, and each unit is controlled accordingly. Next, the operation of the embodiment will be described.

【0019】ここでは、図形モードの図形作成機能にお
いて、キーボード10が所定の操作を受けることによっ
て図形が作成され、図形データバッファ18中にこれら
の図形に対応する図形データ18aが既に格納されてい
るものとする。
In the figure creating function of the figure mode, figures are created by the keyboard 10 receiving a predetermined operation, and the figure data buffer 18 has already stored the figure data 18a corresponding to these figures. I shall.

【0020】図形データ18aとして、図形毎に、図形
種類(直線、曲線、スプループ曲線、折れ線、円、矩
形、楕円等)、その図形線の種類・太さ(線種)、図形
に応じた図形作成点を示す位置座標等が格納されている
ものとする。
As the graphic data 18a, a graphic type (straight line, curved line, sploop curve, polygonal line, circle, rectangle, ellipse, etc.), a type and thickness of the graphic line (line type), and a graphic corresponding to the graphic It is assumed that the position coordinates indicating the created point are stored.

【0021】また、図形データ18a中の図形種類及び
図形作成点の位置座標に基づいて、図形毎に指定可能点
データ18bが求められ、その位置座標が格納されてい
るものとする。
It is also assumed that the specifiable point data 18b is found for each figure based on the figure type in the figure data 18a and the position coordinates of the figure creation point, and the position coordinates are stored.

【0022】通常、図形表示制御部20は、図形データ
バッファ18中の図形データ18aに基づいて、所定の
線種によって図形の表示を行なう。ここで、図形モード
が指定され、図形を訂正する機能(削除、移動、コピ
ー、拡大/縮小等)が選択されると、図形作成部16
は、指定された機能を起動すると共に、図形表示制御部
20に機能に応じた表示を指示する。
Usually, the graphic display control unit 20 displays a graphic by a predetermined line type based on the graphic data 18a in the graphic data buffer 18. Here, when the figure mode is designated and the function for correcting the figure (delete, move, copy, enlargement / reduction, etc.) is selected, the figure creation unit 16
Activates the designated function and instructs the graphic display control unit 20 to perform display according to the function.

【0023】図形表示制御部20は、この指示に応じ
て、指定可能点データ18bに応じて指定可能点の位置
を示す特定のパターンを付加した表示に画面を変更す
る。図2には、図形作成時に指定された図形作成点と、
対応する指定可能点を示すパターン(同実施例では図中
「+」で示す)を示している。
In response to this instruction, the graphic display control unit 20 changes the screen to display in which a specific pattern indicating the position of the specifiable point is added according to the specifiable point data 18b. Fig. 2 shows the figure creation points specified when the figure was created.
A pattern (indicated by "+" in the drawing in the same embodiment) indicating the corresponding specifiable points is shown.

【0024】図2(a)に示すように、円形の場合に
は、図形作成時には中心点と中心点を通過する水平また
は垂直方向の線分上の1点(半径距離を示す)が指定さ
れ、指定可能点として円周上の4点(中心点を通過する
水平及び垂直方向の線分と円周との交点)が特定のパタ
ーンによって表示される。
As shown in FIG. 2A, in the case of a circle, a center point and one point (indicating a radial distance) on a horizontal or vertical line segment passing through the center point are designated when creating a figure. As a specifiable point, four points on the circumference (intersection points of horizontal and vertical line segments passing through the center point and the circumference) are displayed in a specific pattern.

【0025】直線の場合には、図2(b)に示すよう
に、図形作成時には端点(始点及び終点)を示す2点が
指定され、指定可能点として端点が特定のパターンによ
って表示される。
In the case of a straight line, as shown in FIG. 2B, two points indicating end points (start point and end point) are designated at the time of creating a figure, and the end points are displayed as a specifiable point in a specific pattern.

【0026】矩形の場合には、図2(c)に示すよう
に、図形作成時には対角の2点が指定され、指定可能点
として頂点の4点が特定のパターンによって表示され
る。曲線(スプライン曲線)の場合には、図2(d)に
示すように、図形作成時には始点、少なくとも1つの通
過点、及び終点が指定され、指定可能点として指定され
た各点が特定のパターンによって表示される。
In the case of a rectangle, as shown in FIG. 2 (c), two points on the diagonal are designated at the time of creating the figure, and four points of the vertices are displayed by a specific pattern as the points which can be designated. In the case of a curve (spline curve), as shown in FIG. 2D, a starting point, at least one passing point, and an ending point are designated at the time of creating a figure, and each point designated as a specifiable point is a specific pattern. Displayed by.

【0027】その他、図2に示す以外の図形について
も、図形訂正を行なう場合に、同様にして指定可能点が
特定のパターンによって表示される。これにより、訂正
の対象とする図形の選択を、範囲指定ではなく図形毎に
行なう場合、その指定可能点が特定のパターンによって
表示されるので、容易に行なうことができる。
In addition, for figures other than those shown in FIG. 2, similarly, when figures are corrected, designated points are displayed in a specific pattern. As a result, when the figure to be corrected is selected for each figure rather than for specifying the range, the specifiable points are displayed in a specific pattern, which facilitates the selection.

【0028】次に、図3に示すフローチャートを参照し
ながら、図形整形処理について説明する。図形整形処理
は、図形モードにおける各機能処理中に、簡単な操作に
よって図形の訂正を行なうものである。
Next, the graphic shaping process will be described with reference to the flowchart shown in FIG. The figure shaping processing is to correct the figure by a simple operation during each functional processing in the figure mode.

【0029】図形整形は、図形モード中の機能(削除、
移動、コピー、拡大/縮小、作成/呼出し、塗り潰し、
線種変更、図形登録、図形文字等)処理中に、所定のキ
ー操作が行われることにより実行される。
Figure shaping is a function in the figure mode (delete,
Move, copy, enlarge / reduce, create / recall, fill,
This is performed by performing a predetermined key operation during line type change, figure registration, figure character, etc.) processing.

【0030】図形整形処理は、例えば、ある機能の実行
(機能処理)中に、同機能の対象とする図形の選択が可
能な状態で実行可能であるとする。ここで、キーボード
10に対して図形整形を指定する操作が行なわれたもの
とする(すなわち[機能1]+[削除]キー、[機能
1]+[挿入]キー、[機能2]+[削除]キー、[機
能2]+[挿入]キーの何れかによる操作)。
It is assumed that the graphic shaping process can be executed, for example, during execution of a certain function (function processing) in a state in which a target graphic of the function can be selected. Here, it is assumed that an operation of designating the figure shaping is performed on the keyboard 10 (that is, [function 1] + [delete] key, [function 1] + [insert] key, [function 2] + [delete]. ] Key or [function 2] + [insert] key).

【0031】図形作成部16は、図形整形が指定される
と図形整形部16aを起動する。図形整形部16aは、
機能処理中で図形の選択を行なうために表示されたカー
ソル(クロスカーソル)の位置を検出する(ステップS
1)。
When the figure shaping is designated, the figure creating section 16 activates the figure shaping section 16a. The graphic shaping unit 16a
The position of the cursor (cross cursor) displayed for selecting a figure during function processing is detected (step S
1).

【0032】図形整形部16aは、入力指示(押下され
たキー)に基づいて、整形処理が行方向についてか、あ
るいは桁方向についてかを判別する(ステップS2)。
行方向についての指示の場合、図形整形部16aは、カ
ーソル位置を基準とした所定の行幅(例えば1行幅)に
掛かる図形の図形データ18aを図形データバッファ1
8中から検索する(ステップS3)。
The graphic shaping unit 16a determines whether the shaping process is in the row direction or the column direction based on the input instruction (pressed key) (step S2).
In the case of an instruction in the line direction, the graphic shaping unit 16a outputs the graphic data 18a of a graphic having a predetermined line width (for example, one line width) based on the cursor position to the graphic data buffer 1.
Search from 8 (step S3).

【0033】該当する図形がない場合には、図形整形処
理を終了する。これに対し、該当する図形があった場
合、図形整形部16aは、カーソル位置を基準とした所
定の行幅分の訂正を行なった図形のリアルタイム表示
(訂正後の図形を示す所定の線種(例えば破線)による
表示)を指示する(ステップS5)。
If there is no corresponding figure, the figure shaping process is terminated. On the other hand, if there is a corresponding figure, the figure shaping unit 16a displays the figure corrected in a predetermined line width based on the cursor position in real time (predetermined line type ( For example, the display by a broken line) is instructed (step S5).

【0034】ここで、[選択/実行]キーが押下され、
図形整形が確定されると(ステップS6)、図形整形部
16aは、図形データ18aの位置座標を、リアルタイ
ム表示された図形の座標(行幅分訂正された値)に書き
換える(ステップS7)。
Here, the [select / execute] key is pressed,
When the figure shaping is confirmed (step S6), the figure shaping section 16a rewrites the position coordinates of the figure data 18a to the coordinates of the figure displayed in real time (values corrected by the line width) (step S7).

【0035】図4には、[機能1]+[削除]キーが押
下された場合、すなわち行削除整形が指示された場合
の、円形を対象とした具体例を示している。まず、図4
(a)に示すように機能処理中の図形選択可能状態にお
いて、図4(b)に示す位置にカーソルが移動されて行
削除整形が指定されたものとする。
FIG. 4 shows a specific example for a circle when the [function 1] + [delete] key is pressed, that is, when line deletion shaping is instructed. First, FIG.
In the figure selectable state during function processing as shown in (a), it is assumed that the cursor is moved to the position shown in FIG. 4 (b) and the line deletion shaping is designated.

【0036】図4(b)中のカーソル位置を中心とした
所定の幅(図中、破線で示す)に図形が掛かっているた
め(カーソル位置、所定の幅、及び図形の端部の座標
(指定可能点と同一)に基づいて判別される)、図4
(c)に示すように、所定の幅分の訂正が行なわれたリ
アルタイム表示を行なう。
Since the graphic is hung on a predetermined width (indicated by a broken line in the drawing) centered on the cursor position in FIG. 4B (cursor position, predetermined width, and coordinates of the end of the graphic ( Same as the designated points), and FIG.
As shown in (c), real-time display is performed with a correction of a predetermined width.

【0037】この場合、表示画面の左上を原点とする座
標系(横方向をX座標、縦方向をY座標とする)におい
て、原点に最も近い(最小のY座標値)を持つ指定可能
点を基準(固定)として、中心座標、及び各指定可能点
の座標値を変更し、図形の訂正を行なう。また、円図形
の場合、中心座標を基準として、直径(半径)の長さ
(Y座標値)を変更した図形を作成しても良い(図4
(c)参照)。何れの点を基準にするかは、特に限定さ
れるものではなく、図形種類によって異なるようにして
も良い。
In this case, in the coordinate system having the origin at the upper left of the display screen (the horizontal direction is the X coordinate and the vertical direction is the Y coordinate), the designated point having the closest point (minimum Y coordinate value) to the origin is selected. As a reference (fixed), the center coordinates and the coordinate values of each specifiable point are changed to correct the figure. In the case of a circular figure, a figure in which the length (Y coordinate value) of the diameter (radius) is changed based on the center coordinates may be created (FIG. 4).
(See (c)). Which point is used as a reference is not particularly limited, and may be different depending on the type of figure.

【0038】ここで、確定が指示されると、図形作成部
16は、行削除訂正された図形の図形データ18a(位
置座標)を変更し、変更された図形データ18aに応じ
て指定可能点データ18bを生成し格納する。図形表示
制御部20は、図4(d)に示すように、行削除訂正さ
れた結果としての図形を表示すると共に、同図形に応じ
た指定可能点を表示する。その後、図形整形が指示され
る前の機能処理に戻る。なお、図4(b)中の破線は説
明のためのもので表示されない。
Here, when the confirmation is instructed, the figure creating section 16 changes the figure data 18a (position coordinates) of the figure whose line deletion has been corrected, and the specifiable point data according to the changed figure data 18a. 18b is generated and stored. As shown in FIG. 4D, the graphic display control unit 20 displays the graphic as a result of the line deletion correction, and also displays the specifiable points corresponding to the graphic. After that, the processing returns to the functional processing before the graphic shaping is instructed. The broken line in FIG. 4B is for the purpose of explanation and is not displayed.

【0039】図5には、[機能1]+[削除]キーが押
下された場合、すなわち行挿入整形が指示された場合
の、直線を対象とした具体例を示している。行挿入整形
の場合も、機能処理中の図形選択可能状態において(図
5(a))、行挿入整形が指定されると(図5
(b))、原点に最も近い(最小のX座標値)を持つ一
方の指定可能点を基準として、他方の指定可能点のY座
標値を所定の幅分変更して図形を訂正する(図5(c)
(d))。この際、図形表示制御部20は、行挿入され
た図形に応じた指定可能点を表示する。
FIG. 5 shows a specific example of a straight line when the [function 1] + [delete] key is pressed, that is, when the line insertion shaping is instructed. Also in the case of line insertion shaping, when line insertion shaping is designated in the state in which the figure can be selected during the function processing (FIG. 5A),
(B)) Based on one specifiable point having the closest (minimum X coordinate value) to the origin, the Y coordinate value of the other specifiable point is changed by a predetermined width to correct the figure (Fig. 5 (c)
(D)). At this time, the graphic display control unit 20 displays the specifiable points according to the graphic inserted in the line.

【0040】ステップS2において、桁方向についての
整形処理が指示されたものと判断された場合、図形整形
部16aは、カーソル位置を基準とした所定の桁幅(例
えば1桁幅)に掛かる図形の図形データ18aを図形デ
ータバッファ18中から検索する(ステップS8)。
When it is determined in step S2 that the shaping process in the digit direction has been instructed, the figure shaping section 16a draws a figure having a predetermined digit width (for example, one digit width) based on the cursor position. The graphic data 18a is retrieved from the graphic data buffer 18 (step S8).

【0041】該当する図形がない場合には、図形整形処
理を終了する。これに対し、該当する図形があった場
合、図形整形部16aは、カーソル位置を基準とした所
定の桁幅分の訂正を行なった図形のリアルタイム表示を
指示する(ステップS10)。
If there is no corresponding figure, the figure shaping process is terminated. On the other hand, when there is a corresponding figure, the figure shaping unit 16a instructs real-time display of the figure corrected by a predetermined digit width based on the cursor position (step S10).

【0042】ここで、[選択/実行]キーが押下され、
図形整形が確定されると(ステップS6)、図形整形部
16aは、図形データ18aの位置座標を、リアルタイ
ム表示された図形の座標(桁幅分訂正された値)に書き
換える(ステップS7)。
Here, the [select / execute] key is pressed,
When the figure shaping is confirmed (step S6), the figure shaping section 16a rewrites the position coordinates of the figure data 18a to the coordinates of the figure displayed in real time (value corrected by digit width) (step S7).

【0043】図6には、[機能2]+[削除]キーが押
下された場合、すなわち桁削除整形が指示された場合
の、矩形を対象とした具体例を示している。桁削除整形
の場合も、機能処理中の図形選択可能状態において(図
6(a))、桁削除整形が指定されると(図6
(b))、原点に最も近い(最小のY座標値)を持つ指
定可能点を基準として、他の指定可能点のX座標値を所
定の幅分変更して図形を訂正する(図6(c),
(d))。この際、図形表示制御部20は、桁削除され
た図形に応じた指定可能点を表示する。
FIG. 6 shows a specific example for a rectangle when the [Function 2] + [Delete] key is pressed, that is, when the digit deletion shaping is instructed. Also in the case of digit deletion shaping, when the figure deletion shaping is designated in the state in which the figure can be selected during the function processing (FIG. 6A) (FIG. 6A).
(B)) The figure is corrected by changing the X coordinate values of other specifiable points by a predetermined width with reference to the specifiable point having the closest (minimum Y coordinate value) to the origin (FIG. 6 ( c),
(D)). At this time, the graphic display control unit 20 displays the specifiable points according to the graphic with the digit deleted.

【0044】図7には、[機能2]+[挿入]キーが押
下された場合、すなわち桁挿入整形が指示された場合
の、スプライン曲線を対象とした具体例を示している。
桁挿入整形の場合も、機能処理中の図形選択可能状態に
おいて(図7(a))、桁挿入整形が指定されると(図
7(b))、指定された桁位置よりも原点に近いY座標
値を持つ指定可能点以外の、他の指定可能点のX座標値
を所定の桁分変更して図形を訂正する(図7(c),
(d))。この際、図形表示制御部20は、桁挿入され
た図形に応じた指定可能点を表示する。
FIG. 7 shows a specific example of the spline curve when the [function 2] + [insert] key is pressed, that is, when the digit insertion shaping is instructed.
Also in the case of digit insertion shaping, when digit insertion shaping is designated (FIG. 7 (b)) in the figure selectable state during function processing (FIG. 7 (b)), it is closer to the origin than the designated digit position. The figures are corrected by changing the X coordinate values of the other specifiable points other than the designated point having the Y coordinate value by a predetermined digit (FIG. 7C).
(D)). At this time, the graphic display control unit 20 displays the specifiable points according to the graphic inserted in the digit.

【0045】このようにして、図形モードの各機能処理
中に、簡単な操作によって行幅単位、または桁幅単位で
図形の整形を行なうことができる。従って、図形の訂正
を行なう場合に、必ずしも所定の機能を選択して実行す
る必要がないので、操作が簡略化され効率の良い処理が
可能となる。
In this way, during each functional processing of the graphic mode, the graphic can be shaped by the line width unit or the column width unit by a simple operation. Therefore, when correcting a figure, it is not necessary to select and execute a predetermined function, which simplifies the operation and enables efficient processing.

【0046】なお、図形整形処理でのカーソル位置を基
準とする所定の行幅及び桁幅は、固定としても良いし、
ドット単位で任意に指定できるようにしても良い。ま
た、ステップS3,S8において、対象行または対象桁
に掛かる図形が複数ある場合には、全てを一括して整形
処理の対象としても良いし、対象とする図形を任意に選
択できるようにしても良い。
The predetermined line width and column width based on the cursor position in the graphic shaping process may be fixed.
You may make it possible to specify arbitrarily in dot units. Further, in steps S3 and S8, when there are a plurality of figures that hang on the target line or the target digit, all of them may be collectively subjected to the shaping process, or the target figure may be arbitrarily selected. good.

【0047】また、前記実施例では、図形整形の一例に
ついて説明したが、例えば図形整形の際の基準点や、書
き換えの対象となる点(図形作成点(指定可能点))を
何れにするかなどは特に限定されるものではなく、本発
明の趣旨の範囲内であればどのような方式であっても良
い。
In the above embodiment, an example of graphic shaping has been described. However, for example, a reference point for graphic shaping or a point to be rewritten (graphic creation point (designable point)) is used. The above is not particularly limited, and any method may be used within the scope of the gist of the present invention.

【0048】[0048]

【発明の効果】以上のように本発明によれば、行単位及
び桁単位の図形整形を行なうことができ、また図形訂正
を行なう際に、指定可能点を特定のパターンによって表
示するので、簡単に図形の訂正を行なうことが可能とな
るものである。
As described above, according to the present invention, it is possible to perform graphic shaping on a line-by-row basis and a digit-by-column basis, and when a figure is corrected, the points that can be designated are displayed in a specific pattern. It is possible to correct the figure.

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

【図1】本発明の一実施例に係わる文書作成装置の構成
を示すブロック図。
FIG. 1 is a block diagram showing the configuration of a document creation device according to an embodiment of the present invention.

【図2】図形作成時に指定された図形作成点と、対応す
る指定可能点を示すパターンを示す図。
FIG. 2 is a diagram showing a pattern indicating a graphic creation point designated at the time of graphic creation and a corresponding specifiable point.

【図3】図形整形処理の処理手順を説明するためのフロ
ーチャート。
FIG. 3 is a flowchart for explaining a processing procedure of graphic shaping processing.

【図4】行削除整形が指示された場合の具体例を説明す
るための図。
FIG. 4 is a diagram for explaining a specific example when a line deletion shaping is instructed.

【図5】行挿入整形が指示された場合の具体例を説明す
るための図。
FIG. 5 is a diagram for explaining a specific example when line insertion shaping is instructed.

【図6】桁削除整形が指示された場合の具体例を説明す
るための図。
FIG. 6 is a diagram for explaining a specific example when digit deletion shaping is instructed.

【図7】桁挿入整形が指示された場合の具体例を説明す
るための図。
FIG. 7 is a diagram for explaining a specific example when digit insertion shaping is instructed.

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

10…キーボード、12…キー入力制御部、16…図形
作成部、16a…図形整形部、18…図形データバッフ
ァ、18a…図形データ、18b…指定可能点データ、
20…図形表示制御部、22…表示器。
10 ... Keyboard, 12 ... Key input control section, 16 ... Graphic creation section, 16a ... Graphic shaping section, 18 ... Graphic data buffer, 18a ... Graphic data, 18b ... Specifiable point data,
20 ... Graphic display control unit, 22 ... Display unit.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 図形作成機能を有する文書作成装置にお
いて、 前記図形作成機能によって作成された図形に対する、所
定の幅単位による図形整形の実行を指示するための指示
手段と、 前記指示手段によって指示された際に、前記所定の幅に
掛かる図形について、前記所定の幅分の図形の訂正を行
なう図形整形手段と、 を具備したことを特徴とする文書作成装置。
1. A document creating apparatus having a figure creating function, and an instructing section for instructing execution of figure shaping in a predetermined width unit for a figure created by the figure creating function; The document creating device further comprises: a graphic shaping unit that corrects a graphic of the predetermined width when the graphic extends over the predetermined width.
【請求項2】 前記指示手段は、行幅単位の挿入整形、
行幅単位の削除整形、桁幅単位の挿入整形、及び桁幅単
位の削除整形を指示することができ、 前記図形整形手段は、指示された整形の内容に応じて図
形整形を行なうことを特徴とする請求項1記載の文書作
成装置。
2. The instructing means is insertion shaping in line width units,
It is possible to instruct deletion shaping in a line width unit, insertion shaping in a digit width unit, and deletion shaping in a digit width unit, and the figure shaping means performs figure shaping according to the contents of the instructed shaping. The document creation device according to claim 1.
【請求項3】 図形作成機能を有する文書作成装置にお
いて、 前記図形作成機能によって図形作成が行われる際に指定
された図形作成点に基づく、図形種類に固有の指定可能
点の位置座標を格納するための指定可能点格納手段と、 前記図形作成機能によって図形訂正が行われる際に、前
記指定可能点格納手段に格納された位置座標に応じて、
指定可能点を特定のパターンによって表示する表示手段
と、 を具備したことを特徴とする文書作成装置。
3. A document creation apparatus having a graphic creation function, which stores the position coordinates of a specifiable point unique to a graphic type based on the graphic creation point specified when the graphic creation is performed by the graphic creation function. Specifiable point storage means for, and when the figure correction is performed by the figure creation function, according to the position coordinates stored in the appointed point storage means,
A document creating apparatus comprising: a display unit that displays a specifiable point in a specific pattern.
JP3264080A 1991-10-11 1991-10-11 Document preparing device Pending JPH05108788A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3264080A JPH05108788A (en) 1991-10-11 1991-10-11 Document preparing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3264080A JPH05108788A (en) 1991-10-11 1991-10-11 Document preparing device

Publications (1)

Publication Number Publication Date
JPH05108788A true JPH05108788A (en) 1993-04-30

Family

ID=17398240

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3264080A Pending JPH05108788A (en) 1991-10-11 1991-10-11 Document preparing device

Country Status (1)

Country Link
JP (1) JPH05108788A (en)

Similar Documents

Publication Publication Date Title
JPH05108788A (en) Document preparing device
JP3015066B2 (en) Document processing device
JP2663967B2 (en) Information storage control method
JPH07114646A (en) Word processor and object specifying method
JPH0764998A (en) Document preparing deivice and character locus input method
JP4136188B2 (en) Graphic editing apparatus and method
JP3299044B2 (en) Graphic processing method and apparatus
JP2721348B2 (en) Image processing device
JP3155592B2 (en) Method and apparatus for correcting progressive dimensions
JPH05314232A (en) Graphic preparing device
JP3072949B2 (en) Document editing system
JP2922578B2 (en) Character processor
JPH0620024A (en) Method and device for graphic processing
JP2575636B2 (en) Graphic display device
JPH0589215A (en) Graphic generator
JPH04299451A (en) System and device for supporting document correction
JPH0581393A (en) Document editing device
JPH04282746A (en) Document preparing device
JPH0589105A (en) Document generation device
JPH05258042A (en) Document preparing device and edition control method
JPH07220102A (en) Graphic retrieving method/device
JPH0620023A (en) Method and device for graphic processing
JPH07230453A (en) Processor and method for document processing
JPH0981767A (en) Graphic processing method and graphic processor
JPH0744723A (en) Drawing generation device