JPH0682360B2 - Document creation device - Google Patents

Document creation device

Info

Publication number
JPH0682360B2
JPH0682360B2 JP59179879A JP17987984A JPH0682360B2 JP H0682360 B2 JPH0682360 B2 JP H0682360B2 JP 59179879 A JP59179879 A JP 59179879A JP 17987984 A JP17987984 A JP 17987984A JP H0682360 B2 JPH0682360 B2 JP H0682360B2
Authority
JP
Japan
Prior art keywords
ruled line
document
movement
character
data
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.)
Expired - Lifetime
Application number
JP59179879A
Other languages
Japanese (ja)
Other versions
JPS6158079A (en
Inventor
則之 高木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Toshiba Computer Engineering Corp
Original Assignee
Toshiba Corp
Toshiba Computer 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 Computer Engineering Corp filed Critical Toshiba Corp
Priority to JP59179879A priority Critical patent/JPH0682360B2/en
Publication of JPS6158079A publication Critical patent/JPS6158079A/en
Publication of JPH0682360B2 publication Critical patent/JPH0682360B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • Digital Computer Display Output (AREA)

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、罫線を座標値で記憶する罫線処理機能をもつ
文書作成装置に用いられる罫線移動処理方式に関する。
Description: TECHNICAL FIELD The present invention relates to a ruled line moving processing method used in a document creation apparatus having a ruled line processing function of storing ruled lines as coordinate values.

〔発明の技術的背景とその問題点〕[Technical background of the invention and its problems]

ワードプロセッサ等の文書処理装置に於いては、罫線を
文字の一部とみなさず、二点間の座標として記憶してい
る罫線処理機能をもつものがある。
Some document processing apparatuses such as word processors have a ruled line processing function in which ruled lines are not regarded as a part of a character but are stored as coordinates between two points.

従来、このような罫線処理機能をもつ装置に於いては、
文字の移動を行なっても罫線の位置が変化せず、文字移
動前の罫線状態のままであることから、文字の移動によ
って文字と罫線との相対位置関係が損われてしまうとい
う不都合が生じる。
Conventionally, in a device having such a ruled line processing function,
Even if the character is moved, the position of the ruled line does not change, and since the ruled line state before the character is moved remains, there is a disadvantage that the relative positional relationship between the character and the ruled line is lost due to the character movement.

従って、例えば頁に股がる文章の移動を行なう場合、文
章の移動に伴って、罫線移動を別途行なうか、罫線を新
たに引き直さなければならないという作業上の不都合が
生じていた。
Therefore, for example, when moving a crawling sentence, a ruled line must be moved separately or a new ruled line must be redrawn along with the movement of the sentence.

〔発明の目的〕[Object of the Invention]

本発明は、文書の移動と罫線の移動を1回の操作で容易
に実行することのできる罫線移動処理方式を提供するこ
とを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a ruled line moving processing method that can easily move a document and a ruled line with a single operation.

〔発明の概要〕[Outline of Invention]

本発明は、罫線を含む文書の移動を判別する手段と、こ
の手段で罫線を含む文書の移動であることが判別された
際に、文書の移動量に伴い、移動対象となる罫線各々の
パラメータの座標値を書換える手段とを備えて、移動対
象となる文字と罫線を共通の位置指定により同時に移動
処理する構成としたもので、これにより簡単な操作で罫
線を含む文書の訂正が容易にしかも迅速に行なえる。
According to the present invention, there is provided means for determining movement of a document including ruled lines, and a parameter for each ruled line to be moved according to the movement amount of the document when it is determined by this means that the document includes ruled lines. It is equipped with a means to rewrite the coordinate values of and to move the character to be moved and the ruled line at the same time by specifying the common position. This makes it easy to correct the document containing the ruled line with a simple operation. And it can be done quickly.

〔発明の実施例〕Example of Invention

第1図は本発明の一実施例を示すブロック図である。図
中、1はファンクションキーとして、移動キー、罫線キ
ー等をもつキーボード(KB)、2はCPU、3はメインメ
モリ(MM)、4はディスプレイ装置(DISP)、5は文書
ファイル(FDD)である。6,7はメインメモリ3内の特定
メモリエリアである。このうち、6は文書の文字コード
を記憶する文字コードのメモリエリア(以下MAエリアと
称す)、7は罫線を二点間の座標で記憶する罫線パラメ
ータのメモリエリア(以下MBエリアと称す)である。
FIG. 1 is a block diagram showing an embodiment of the present invention. In the figure, 1 is a function key, a keyboard having movement keys, ruled line keys, etc. (KB), 2 is a CPU, 3 is a main memory (MM), 4 is a display device (DISP), and 5 is a document file (FDD). is there. Reference numerals 6 and 7 are specific memory areas in the main memory 3. Of these, 6 is a character code memory area (hereinafter referred to as MA area) for storing the character code of the document, and 7 is a ruled line parameter memory area (hereinafter referred to as MB area) for storing the ruled line at coordinates between two points. is there.

第2図は罫線1本を表わすために必要なパラメータであ
り、これを第1図のMBエリア7に記憶させる。
FIG. 2 shows parameters necessary to represent one ruled line, which are stored in the MB area 7 of FIG.

第3図は文書と罫線を同時に他の頁に移動する場合のデ
ィスプレイ装置4の表示を表わし、同図(a)は移動前
の表示、同図(b)は移動する罫線を含む文書の書かれ
ていた頁の移動後の表示、同図(c)は移動先の頁の文
書、同図(d)は移動先の頁で罫線を含む文書が他頁か
ら移動した時の表示を表わしている。尚、図中の〇印は
表示されている文字であり、四角形はカーソル(CA)に
相当する。
FIG. 3 shows the display of the display device 4 when the document and the ruled lines are moved to another page at the same time. FIG. 3A shows the display before the movement and FIG. 3B shows the writing of the document including the moved ruled lines. The displayed page after movement is shown in FIG. 7C, the document on the destination page is shown, and FIG. 9D is the display when the document including the ruled line on the destination page is moved from another page. There is. The circles in the figure are the displayed characters, and the squares correspond to the cursor (CA).

第4図は第3図の罫線を含む文章の移動を実行するため
のフローチャートである。
FIG. 4 is a flow chart for executing the movement of the text including the ruled line of FIG.

ここで第1図乃至第4図を参照して一実施例の動作を説
明する。ここではワードプロセッサにおいて、作成され
た罫線を含む文章を他の頁に移動する場合について説明
する。まず第1に示すディスプレイ装置4は、第3図
(a)の罫線を含む文章を表示しているものとする。こ
の際、表示文字は第1図に示すメインメモリ3内のMAエ
リア6に文字コードとして記憶されており、第3図
(a)に於ける表示中の罫線は、その一本一本が、メイ
ンメモリ3内のMBエリア7に第2図に示すようなパラメ
ータでそれぞれ記憶されている。すなわち、罫線1本を
表示するには、文書の頁と罫線の種類を表わす罫線種別
コードと始点と終点のX、Y座標のパラメータを一組と
して、第1図に示すCPU2で処理し、ディスプレイ装置4
に罫線のデータを送ることによって行なわれる。
The operation of the embodiment will now be described with reference to FIGS. Here, a case where a sentence including a created ruled line is moved to another page in a word processor will be described. First, it is assumed that the first display device 4 is displaying a sentence including the ruled line of FIG. 3 (a). At this time, the displayed characters are stored as a character code in the MA area 6 in the main memory 3 shown in FIG. 1, and the ruled lines being displayed in FIG. 3 (a) are Parameters are stored in the MB area 7 in the main memory 3 as shown in FIG. That is, to display one ruled line, the CPU 2 shown in FIG. 1 processes the ruled line type code indicating the page of the document and the type of ruled line and the parameters of the X and Y coordinates of the start point and the end point as a set and displays it. Device 4
This is done by sending ruled line data to.

まず、第1図に示すキーボード1からカーソルキーによ
って移動させたい文字の始点を指定し、移動キーが押さ
れると、CPU2は、メインメモリ3内のMAエリアに記憶さ
れた文字コード列から移動始点を捜し、続いて、キーボ
ード1から罫線キーが押されると、CPU2は文字と罫線の
同時移動であると判断して、そのルーチンに入り、入力
待ちとなる。次にキーボード1からカーソルキーによっ
て移動させたい文字の終点を指定し、移動キーが押され
ると、CPU2は、MAエリア6の中で移動すべき文字を判断
し、その文字数と一行の文字数とから何行分の文字が移
動の対象になるかを計算し、入力待ちとなる。次に、移
動させたい頁を呼び出し、第3図(c)に示すように移
動させたい位置をカーソル(CA)で指定する。この場
合、前記した移動させたい文書の始点の位置が、この位
置になるようにする。次に、移動キーが押されると、こ
の位置を始点として、移動すべき文字コードが入りこ
む。一方、罫線は、移動前に指定した始点から前記移動
させる文字の行数をX座標に加えた座標までの間に、始
点のX座標が入っているものを移動の対象として、CPU2
が、第2図に示す各パラメータを書きかえる。以上の処
理を行なった結果、移動する文書のあった頁は第3図
(b)のようになり、移動させたい文書のある頁は同図
(d)のようになる。この際の上述した文書及び文書に
伴う罫線の移動処理フローを第4図に示している。
First, the start point of the character to be moved is specified by the cursor key from the keyboard 1 shown in FIG. 1, and when the move key is pressed, the CPU 2 starts the move from the character code string stored in the MA area in the main memory 3. Then, when the ruled line key is pressed from the keyboard 1, the CPU 2 determines that the character and the ruled line are simultaneously moved, enters the routine, and waits for input. Next, specify the end point of the character you want to move from the keyboard 1 with the cursor key, and when the move key is pressed, the CPU 2 determines the character to move in the MA area 6, and from the number of characters and the number of characters in one line, It calculates the number of lines of characters to be moved and waits for input. Next, the page to be moved is called, and the position to be moved is designated by the cursor (CA) as shown in FIG. 3 (c). In this case, the position of the starting point of the document to be moved is set to this position. Next, when the move key is pressed, a character code to be moved enters from this position as a starting point. On the other hand, the ruled line is the CPU 2 which has the X coordinate of the start point between the start point specified before the movement and the coordinate obtained by adding the number of lines of the character to be moved to the X coordinate.
, But rewrite each parameter shown in FIG. As a result of the above processing, the page where the document to be moved is as shown in FIG. 3B and the page where the document to be moved is as shown in FIG. FIG. 4 shows the above-mentioned document and the ruled line movement processing flow associated with the document at this time.

上述の如くして、二点間の座標により表わされる罫線を
含む文書の修正処理が行なわれることから、文字と罫線
の同時移動が可能となり、従って、オペレータは、簡単
な操作で罫線を含む文書の訂正が行なえ、ワードプロセ
ッサの操作性が一段と向上する。
As described above, since the correction processing of the document including the ruled line represented by the coordinates between the two points is performed, it is possible to move the character and the ruled line at the same time. Therefore, the operator can easily perform the document operation including the ruled line. Can be corrected, further improving the operability of the word processor.

〔発明の効果〕〔The invention's effect〕

以上詳述したように本発明によれば、罫線を含む文書の
移動を判別する手段と、この手段で罫線を含む文書の移
動であることが判別された際に、文書の移動量に伴い、
移動対象となる罫線各々のパラメータの座標値を書換え
る手段とを具備し、移動対象となる文字と罫線を共通の
位置指定により同時に移動処理する構成としたことによ
り、簡単な操作で罫線を含む文書の訂正が容易にしかも
迅速に行なえる罫線移動処理方式が提供できる。
As described above in detail, according to the present invention, a means for discriminating the movement of a document including ruled lines and a movement amount of the document when it is discriminated by the means that the document including the ruled lines is moved,
By including the means for rewriting the coordinate values of the parameters of each ruled line to be moved, and moving the characters to be moved and the ruled lines at the same time by specifying a common position, the ruled lines are included by a simple operation. It is possible to provide a ruled line movement processing method that enables easy and quick correction of a document.

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

第1図は本発明の一実施例を示すブロック図、第2図は
本発明の書換え対象となる罫線パラメータのフォーマッ
トを示す図、第3図(a)乃至(d)はそれぞれ上記実
施例に於ける表示状態例を示す図、第4図は上記実施例
に於ける処理フローを示す図である。 1……キーボード(KB)、2……CPU、3……メインメ
モリ(MM)、4……ディスプレイ装置(DISP)、5……
文書ファイル(FDD)、6……文字コードメモリエリア
(MAエリア)、7……罫線パラメータメモリエリア(MB
エリア)。
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a diagram showing a format of a ruled line parameter to be rewritten according to the present invention, and FIGS. FIG. 4 is a diagram showing an example of a display state in FIG. 4, and FIG. 4 is a diagram showing a processing flow in the above-mentioned embodiment. 1 ... Keyboard (KB), 2 ... CPU, 3 ... Main memory (MM), 4 ... Display device (DISP), 5 ...
Document file (FDD), 6 ... Character code memory area (MA area), 7 ... Ruled line parameter memory area (MB
area).

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】入力手段と、 この入力手段により入力された文書データの中で文字コ
ードからなる文字データを記憶する文字データ記憶手段
と、 前記文書データの中で罫線データを定義する座標値およ
び頁を含むパラメータを記憶する罫線データ記憶手段
と、 前記入力手段からの移動処理の指示に応じて、前記文字
データと前記罫線データとからなる前記文書データの移
動対象範囲と移動先位置を判別する判別手段と、 この判別手段により判別された前記移動対象範囲と前記
移動先位置に基づいて前記罫線データ記憶手段に記憶さ
れた前記パラメータを書換える罫線データ変更手段と、 前記移動対象範囲の前記文字データと前記罫線データを
前記移動先位置に移動する移動処理を実行する実行手段
とを具備したことを特徴とする文書作成装置。
1. Input means, character data storage means for storing character data consisting of character codes in the document data input by the input means, coordinate values defining ruled line data in the document data, and Ruled line data storage means for storing parameters including pages, and a movement target range and a movement destination position of the document data consisting of the character data and the ruled line data are determined in accordance with a movement processing instruction from the input means. Discriminating means, ruled line data changing means for rewriting the parameters stored in the ruled line data storage means based on the movement target range and the movement destination position discriminated by the discrimination means, and the characters in the movement target range. A document creation device comprising: data and an execution unit that executes a moving process for moving the ruled line data to the destination position. .
JP59179879A 1984-08-29 1984-08-29 Document creation device Expired - Lifetime JPH0682360B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59179879A JPH0682360B2 (en) 1984-08-29 1984-08-29 Document creation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59179879A JPH0682360B2 (en) 1984-08-29 1984-08-29 Document creation device

Publications (2)

Publication Number Publication Date
JPS6158079A JPS6158079A (en) 1986-03-25
JPH0682360B2 true JPH0682360B2 (en) 1994-10-19

Family

ID=16073494

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59179879A Expired - Lifetime JPH0682360B2 (en) 1984-08-29 1984-08-29 Document creation device

Country Status (1)

Country Link
JP (1) JPH0682360B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4982271A (en) * 1987-12-29 1991-01-01 Victor Company Of Japan, Ltd. Motion-adaptive device for separating luminance signal and color signal
JPH01309171A (en) * 1988-02-25 1989-12-13 Hitachi Ltd Document preparing system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5844562A (en) * 1981-09-10 1983-03-15 Sharp Corp Processor of ruled line
JPS5957326A (en) * 1982-09-27 1984-04-02 Toshiba Corp Document editing device
JPS5968044A (en) * 1982-10-13 1984-04-17 Fujitsu Ltd List generation processing system

Also Published As

Publication number Publication date
JPS6158079A (en) 1986-03-25

Similar Documents

Publication Publication Date Title
JPH087796B2 (en) Character and graphics processor
JPH0682360B2 (en) Document creation device
JPS6249528A (en) Help guidance system
JP2994387B2 (en) Document input device
JP3067083B2 (en) Document input device
JPH0731671B2 (en) Formula input editing method
JP2904486B2 (en) Character processor
JPH0521159Y2 (en)
JPH04303272A (en) Graphic preparing device
JPH0572270B2 (en)
JPH02257260A (en) Document editing processor
JP2635602B2 (en) Document creation device
JP2778740B2 (en) Document creation device
JPH1185733A (en) Document editing apparatus, document editing method, and recording medium
JPH0217565A (en) Document processing device
JPH0719189B2 (en) Data input device
JPH09198383A (en) Character processing device and its range specification method
JPH07253978A (en) Document output device
JPH0512268A (en) Document processor
JPH10222507A (en) Data editing device and its program recording medium
JPH04282757A (en) Word processor
JPH0981547A (en) Document processing method and apparatus
JPS61285534A (en) Index production system
JPH0650506B2 (en) Kana-Kanji converter
JPS62210572A (en) Documentation device