JPH07210552A - Document editing device - Google Patents

Document editing device

Info

Publication number
JPH07210552A
JPH07210552A JP6003882A JP388294A JPH07210552A JP H07210552 A JPH07210552 A JP H07210552A JP 6003882 A JP6003882 A JP 6003882A JP 388294 A JP388294 A JP 388294A JP H07210552 A JPH07210552 A JP H07210552A
Authority
JP
Japan
Prior art keywords
document
window
character code
code
copying
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
JP6003882A
Other languages
Japanese (ja)
Inventor
Makoto Oda
信 織田
Atsushi Igarashi
敦 五十嵐
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.)
Kubota Corp
Original Assignee
Kubota 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 Kubota Corp filed Critical Kubota Corp
Priority to JP6003882A priority Critical patent/JPH07210552A/en
Publication of JPH07210552A publication Critical patent/JPH07210552A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

(57)【要約】 【目的】 マルチウィンドウを用いた文書編集装置に、
第一のウィンドウに表示されている文書要素を任意に選
択しても、第二のウィンドウに文章が途切れることなく
表示できる複写手段を備えた文書編集装置を提供するこ
とを目的とする。 【構成】 第一のウィンドウに表示された文書要素を選
択する選択手段と、前記選択手段により選択された文書
要素を第二のウィンドウに複写する複写手段とを備え、
前記選択手段により選択された文書要素のうち第一のウ
ィンドウの右端の文書要素に対応するキャラクタコード
の種類を識別する識別手段と、前記識別手段により文字
又は句読点を示すキャラクタコードであると識別された
場合に前記キャラクタコードにスペース〔SP〕コード
を付加し、それ以外のキャラクタコードであると識別さ
れた場合に前記キャラクタコードにスペース〔SP〕・
ラインフィード〔LF〕コードを付加する変換手段を設
けて構成する。
(57) [Summary] [Purpose] For a document editing device using multi-window,
An object of the present invention is to provide a document editing device provided with a copying unit that can display a sentence in a second window without interruption even if a document element displayed in the first window is arbitrarily selected. A selection means for selecting a document element displayed in a first window and a copying means for copying the document element selected by the selection means into a second window are provided.
Identification means for identifying the type of character code corresponding to the rightmost document element of the first window among the document elements selected by the selection means, and identified by the identification means as a character code indicating a character or a punctuation mark. If the character code is identified as a character code other than the above, a space [SP] code is added to the character code.
A line-feed [LF] code is added to the conversion means.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、マルチウィンドウシス
テムを用いたワードプロセッサやデスクトップパブリッ
シング(DTP)システム等に組み込まれた文書編集装
置であって、第一のウィンドウに表示された文書要素の
一部又は全部を選択する選択手段と、前記選択手段によ
り選択された文書要素を第二のウィンドウに複写する複
写手段とを備え、第一のウィンドウからの文書要素を切
り貼りして第二のウィンドウに新規文書を構築する文書
編集手段を設けた文書編集装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is a document editing apparatus incorporated in a word processor using a multi-window system, a desktop publishing (DTP) system or the like, and a part of the document elements displayed in a first window. Or a copy means for copying the document elements selected by the selection means to the second window, and cutting and pasting the document elements from the first window into a new window. The present invention relates to a document editing device provided with a document editing means for constructing a document.

【0002】[0002]

【従来の技術】第一のウィンドウに表示された文書要素
の一部又は全部を選択する選択手段と、前記選択手段に
より選択された文書要素を第二のウィンドウに複写する
複写手段とを備え、前記複写手段に、前記選択手段によ
り選択された文書要素のうち右端に表示されているキャ
ラクタコードの種類の如何にかかわらず、一律にスペー
ス〔SP〕・ラインフィード〔LF〕コードを付加する
変換手段を設けて構成していた。ここに、選択手段によ
り選択された文書要素は、複写手段により、第二のウィ
ンドウに左詰めで再配列されて表示される。
2. Description of the Related Art A selection means for selecting a part or all of a document element displayed in a first window and a copying means for copying the document element selected by the selection means into a second window are provided. A conversion unit for uniformly adding a space [SP] / line feed [LF] code to the copying unit regardless of the type of character code displayed at the right end among the document elements selected by the selecting unit. Was configured. Here, the document elements selected by the selection unit are rearranged and displayed in the second window in the left window by the copying unit.

【0003】[0003]

【発明が解決しようとする課題】しかし、選択手段によ
り選択された文書要素の中で、第一のウィンドウに表示
された文書要素の右端に表示されている文字は、通常は
次行の文書要素に続いて一文章を構成することが多いに
もかかわらず、一律に上述の取扱いとなっていたため
に、文書要素が第一のウィンドウの行の途中から選択さ
れた場合には、第二のウィンドウに表示される文書要素
が行の途中で改行されてしまう。そのため、その都度、
文書要素の配置を編集し直す必要があり、極めて手間が
かかる作業となり編集効率が低下するという欠点があっ
た。本発明の目的は上述した従来欠点を解消し、第一の
ウィンドウに表示されている文書要素を任意に選択して
も、第二のウィンドウに文章が途切れることなく表示で
きる複写手段を備えた文書編集装置を提供する点にあ
る。
However, among the document elements selected by the selecting means, the character displayed at the right end of the document element displayed in the first window is normally the document element in the next line. Despite the fact that a sentence is often followed by the above, the above handling is performed uniformly, so if the document element is selected from the middle of the line of the first window, the second window The document element displayed in is broken in the middle of the line. Therefore, each time,
It is necessary to re-edit the arrangement of the document elements, which is a very troublesome work, and there is a drawback that the editing efficiency is reduced. The object of the present invention is to eliminate the above-mentioned conventional drawbacks and to provide a document provided with a copying means capable of displaying the text in the second window without interruption even if the document element displayed in the first window is arbitrarily selected. The point is to provide an editing device.

【0004】[0004]

【課題を解決するための手段】この目的を達成するた
め、本発明による文書編集装置の特徴構成は、前記選択
手段により選択された文書要素のうち第一のウィンドウ
の右端の文書要素に対応するキャラクタコードの種類を
識別する識別手段と、前記識別手段により文字又は句読
点を示すキャラクタコードであると識別された場合に前
記キャラクタコードにスペース〔SP〕コードを付加
し、それ以外のキャラクタコードであると識別された場
合に前記キャラクタコードにスペース〔SP〕・ライン
フィード〔LF〕コードを付加する変換手段を前記複写
手段に設けてある点にある。又、前記選択手段により選
択された文書要素のうち第一のウィンドウの右端の文書
要素に対応するキャラクタコードの種類を識別する識別
手段と、前記識別手段により文字又は句読点以外のキャ
ラクタコードであると識別された場合に前記キャラクタ
コードにラインフィード〔LF〕コードを付加する変換
手段を前記複写手段に設けてもよい。
In order to achieve this object, the characteristic configuration of the document editing apparatus according to the present invention corresponds to the rightmost document element of the first window among the document elements selected by the selecting means. A discriminating means for discriminating the kind of the character code, and a space [SP] code is added to the character code when discriminated by the discriminating means as a character code indicating a character or a punctuation mark. The above-mentioned copying means is provided with a converting means for adding a space [SP] / linefeed [LF] code to the character code when it is identified. Also, among the document elements selected by the selection means, identification means for identifying the type of character code corresponding to the rightmost document element of the first window, and the identification means are character codes other than characters or punctuation marks. The copying means may be provided with a conversion means for adding a line feed [LF] code to the character code when the character code is identified.

【0005】[0005]

【作用】識別手段により、第一ウィンドウに表示されて
いる文書要素のうち前記選択手段により選択された文書
要素のうち第一のウィンドウの右端の文書要素に対応す
るキャラクタコードが、英数字やカナ漢字等の文字又は
文章を構成する句読点を示すコードであるか、或いは、
それ以外の特殊記号等を示すコードであるかが識別され
る。変換手段は、前記識別手段により文字又は句読点を
示すキャラクタコードであると識別された場合には、文
章が次行に続くと判断して、スペース〔SP〕コードを
付加して文章を継続させ、それ以外のキャラクタコード
であると識別された場合には、スペース〔SP〕・ライ
ンフィード〔LF〕コードを付加する。従って、第二の
ウィンドウに左詰めで再配列されても、行の途中で文章
が途切れること無く複写されるのである。
The character code corresponding to the document element at the right end of the first window among the document elements selected by the selecting means among the document elements displayed in the first window by the identifying means is alphanumeric or a kana character. It is a code that indicates punctuation marks that make up characters such as Chinese characters or sentences, or
It is identified whether it is a code indicating a special symbol or the like other than that. When the identifying unit identifies the character code indicating a character or a punctuation mark, the converting unit determines that the sentence continues on the next line, adds a space [SP] code to continue the sentence, When the character code is identified as other than that, a space [SP] / line feed [LF] code is added. Therefore, even if the text is rearranged in the second window so that it is left-justified, the text is copied without interruption in the middle of the line.

【0006】[0006]

【発明の効果】従って、本発明によれば、第一のウィン
ドウに表示されている文書要素を任意に選択しても、第
二のウィンドウに文章が途切れることなく表示できる複
写手段を備えた文書編集装置を提供することができるよ
うになった。
As described above, according to the present invention, a document having a copying means capable of displaying a sentence in the second window without interruption even if the document element displayed in the first window is arbitrarily selected. An editing device can now be provided.

【0007】[0007]

【実施例】以下実施例を説明する。図1に示すように、
文書編集装置のハードウェアは、キーボードやマウス等
の入力手段1、レーザービームプリンタ等の印字装置
2、CRT等の表示手段3、文書編集プログラム等を格
納した磁気ディスク等の記憶手段4をパーソナルコンピ
ュータ等の計算機本体5に接続して構成してある。
EXAMPLES Examples will be described below. As shown in Figure 1,
The hardware of the document editing apparatus includes an input unit 1 such as a keyboard and a mouse, a printing unit 2 such as a laser beam printer, a display unit 3 such as a CRT, and a storage unit 4 such as a magnetic disk storing a document editing program and the like in a personal computer. It is configured to be connected to the computer main body 5 such as.

【0008】上述の文書編集装置は、ウィンドウシステ
ムの下、上述の文書編集プログラムの作動により、図3
(イ)に示すように、第一のウィンドウW1であるX−
ウィンドウに表示された仮名、漢字、英数字等でなる文
書要素のうち必要な一部又は全部の文書要素を選択し
て、第二のウィンドウW2であるテンプレートへ複写す
ることにより新たな文書を作成するものである。
The above-mentioned document editing apparatus operates as shown in FIG.
As shown in (a), X- which is the first window W1.
Create a new document by selecting some or all of the necessary document elements from the kana, kanji, alphanumeric, etc. displayed in the window and copying them to the template that is the second window W2. To do.

【0009】文書編集プログラムによる編集手順の要部
を、図2に示すフローチャートに基づいて詳述すると、
記憶手段4から文書編集プログラムを読み出して作動さ
せ<#1>、X−ウィンドウW1に原文書を表示させる
<#2>。図3(イ)に示すように、X−ウィンドウW
1に表示された原文書(以下、テキストと記す)から必
要な文書要素を選択する<#3>。詳述すると、X−ウ
ィンドウW1のテキストのうち、コピーしたい文書要素
の先頭へマウスのカーソルを移動操作し、その先頭文字
から最後の文書要素までをドラッグすると、選択された
文書要素がネガポジ反転表示される。次に、マウスカー
ソルをテンプレートW2に移動させ<#4>、マウスを
クリック操作して選択された文書要素の複写操作の実行
を起動する<#5>。図3(ロ)に示すように、今、”
This is a pen.This is a d
esk.”なる文書要素が選択された場合を説明する
と、X−ウィンドウW1の右端のキャラクタコードには
一律にスペース〔SP〕(キャラクタコードは20H)
・〔LF〕(キャラクタコードは0AH)コードが付加
されるが<#6>、第一のウィンドウの右端の文書要素
に対応するキャラクタコードの種類を識別して<#7
>、文字又は句読点を示すキャラクタコードであると識
別した場合には、そのキャラクタコードにスペース〔S
P〕コードを付加する<#8>。この場合にはキャラク
タコードが”s”であるので、スペース〔SP〕コード
が付加される。その後、図3(ハ)に示すようにテンプ
レートW2に、選択された文書要素が配置される<#9
>。上述の操作を必要箇所のコピーが終了するまで繰り
返される<#10>。
The main part of the editing procedure by the document editing program will be described in detail with reference to the flowchart shown in FIG.
The document editing program is read from the storage means 4 and operated <# 1>, and the original document is displayed in the X-window W1 <# 2>. As shown in FIG. 3A, the X-window W
A required document element is selected from the original document displayed in 1 (hereinafter referred to as text) <# 3>. More specifically, among the texts in the X-window W1, when the mouse cursor is moved to the beginning of the document element to be copied and the character from the first character to the last document element is dragged, the selected document element is displayed in negative / positive inversion. To be done. Then, the mouse cursor is moved to the template W2 <# 4>, and the execution of the copy operation of the selected document element is started by clicking the mouse <# 5>. Now, as shown in Fig. 3 (b),
This is a pen. This is a d
esk. When the document element "" is selected, a space [SP] (character code is 20H) is uniformly applied to the character code at the right end of the X-window W1.
[LF] (character code is 0AH) code is added <# 6>, but the type of character code corresponding to the document element at the right end of the first window is identified <# 7.
>, A character or a punctuation mark is identified as a character code, a space [S
P] Add a code <# 8>. In this case, since the character code is "s", a space [SP] code is added. After that, the selected document element is arranged in the template W2 as shown in FIG.
>. The above-described operation is repeated until the copying of the necessary parts is completed <# 10>.

【0010】つまり、上述の文書編集装置及びその文書
編集装置において実行されるプログラムのうち、ステッ
プ<#3>が第一のウィンドウに表示された文書要素の
一部又は全部を選択する選択手段となり、ステップ<#
4>からステップ<#9>が前記選択手段により選択さ
れた文書要素を第二のウィンドウに複写する複写手段と
なり、選択手段と複写手段とが第一のウィンドウに表示
された文書要素を用いて第二のウィンドウに新規文書を
構築する文書編集手段の機能要素を構成し、ステップ<
#7>が選択手段により選択された文書要素のうち第一
のウィンドウの右端の文書要素に対応するキャラクタコ
ードの種類を識別する識別手段となり、ステップ<#6
>,<#8>が識別手段により文字又は句読点を示すキ
ャラクタコードであると識別された場合に前記キャラク
タコードにスペース〔SP〕コードを付加し、それ以外
のキャラクタコードであると識別された場合に前記キャ
ラクタコードにスペース〔SP〕・ラインフィード〔L
F〕コードを付加する変換手段となる。
That is, in the above-mentioned document editing apparatus and the program executed in the document editing apparatus, step <# 3> serves as a selecting means for selecting a part or all of the document elements displayed in the first window. , Step <#
4> to step <# 9> is copying means for copying the document element selected by the selecting means to the second window, and the selecting means and the copying means use the document element displayed in the first window. Configure the functional elements of the document editing means for constructing a new document in the second window, and step <
# 7> is the identification means for identifying the type of character code corresponding to the rightmost document element of the first window among the document elements selected by the selection means, and step <# 6>
>, <# 8> is a character code indicating a character or a punctuation mark by the identifying means, a space [SP] code is added to the character code, and it is identified as a character code other than that. Space [SP] / Line feed [L] in the character code
F] It becomes a conversion means for adding a code.

【0011】以上要約すると、変換手段は、識別手段に
より文字又は句読点を示すキャラクタコードであると識
別された場合には、文章が次行に続くと判断して、スペ
ース〔SP〕コードを付加して文章を継続させ、それ以
外のキャラクタコードであると識別された場合には、ス
ペース〔SP〕・ラインフィード〔LF〕コードを付加
して文書を区切ることになるので、第二のウィンドウに
左詰めで再配列されても、行の途中で文章が途切れるこ
と無く複写されるのである。
In summary, the converting means, when the identifying means identifies the character code indicating a character or a punctuation mark, determines that the sentence continues on the next line and adds a space [SP] code. If the character code is identified as a character code other than that, a space [SP] / line feed [LF] code is added to separate the document, so the left window is displayed in the second window. Even if the data is rearranged by closing, the text is copied without interruption in the middle of the line.

【0012】上述の実施例における識別手段及び変換手
段の一連の動作は、ショートカットキーを用いて起動さ
せることにより、操作の簡素化を図ることも可能であ
る。
The series of operations of the identifying means and the converting means in the above-described embodiment can be started by using a shortcut key to simplify the operation.

【0013】上述の実施例では、識別手段により文字又
は句読点を示すキャラクタコードであると識別された場
合に前記キャラクタコードにスペース〔SP〕コードを
付加し、それ以外のキャラクタコードであると識別され
た場合に前記キャラクタコードにスペース〔SP〕・ラ
インフィード〔LF〕コードを付加する変換手段を前記
複写手段に設けたものを説明したが、これに限定するも
のではなく、同様の効果を得るためには、識別手段によ
り文字又は句読点以外のキャラクタコードであると識別
された場合に、単に前記キャラクタコードにラインフィ
ード〔LF〕コードを付加する変換手段を前記複写手段
に設けるものであってもよい。
In the above embodiment, when the identifying means identifies the character code as a character or a punctuation mark, a space [SP] code is added to the character code, and the character code is identified as other character code. In the case where the copying means is provided with a converting means for adding a space [SP] / line feed [LF] code to the character code in the above case, the invention is not limited to this, and the same effect can be obtained. The copying means may be provided with a converting means for simply adding a line feed [LF] code to the character code when the identifying means identifies the character code as a character code other than characters or punctuation marks. .

【0014】尚、特許請求の範囲の項に図面との対照を
便利にする為に符号を記すが、該記入により本発明は添
付図面の構成に限定されるものではない。
It should be noted that reference numerals are given in the claims for convenience of comparison with the drawings, but the present invention is not limited to the configurations of the accompanying drawings by the entry.

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

【図1】文書編集装置のブロック構成図FIG. 1 is a block configuration diagram of a document editing device.

【図2】フローチャートFIG. 2 Flow chart

【図3】編集手順の説明図FIG. 3 is an explanatory diagram of an editing procedure.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 第一のウィンドウに表示された文書要素
の一部又は全部を選択する選択手段と、前記選択手段に
より選択された文書要素を第二のウィンドウに複写する
複写手段とを備え、第一のウィンドウに表示された文書
要素を用いて第二のウィンドウに新規文書を構築する文
書編集手段を設けた文書編集装置であって、 前記選択手段により選択された文書要素のうち第一のウ
ィンドウの右端の文書要素に対応するキャラクタコード
の種類を識別する識別手段と、前記識別手段により文字
又は句読点を示すキャラクタコードであると識別された
場合に前記キャラクタコードにスペース〔SP〕コード
を付加し、それ以外のキャラクタコードであると識別さ
れた場合に前記キャラクタコードにスペース〔SP〕・
ラインフィード〔LF〕コードを付加する変換手段を前
記複写手段に設けてある文書編集装置。
1. A selection means for selecting a part or all of the document elements displayed in the first window, and a copying means for copying the document elements selected by the selection means into a second window, A document editing device comprising a document editing means for constructing a new document in a second window using the document element displayed in the first window, the first document element selected from the document elements selected by the selecting means. Identification means for identifying the type of character code corresponding to the document element at the right end of the window, and a space [SP] code is added to the character code when the identification means identifies the character code indicating a character or punctuation mark. However, if the character code is identified as other than that, there is a space [SP] in the character code.
A document editing apparatus in which a converting unit for adding a line feed [LF] code is provided in the copying unit.
【請求項2】 第一のウィンドウに表示された文書要素
の一部又は全部を選択する選択手段と、前記選択手段に
より選択された文書要素を第二のウィンドウに複写する
複写手段とを備え、第一のウィンドウに表示された文書
要素を用いて第二のウィンドウに新規文書を構築する文
書編集手段を設けた文書編集装置であって、 前記選択手段により選択された文書要素のうち第一のウ
ィンドウの右端の文書要素に対応するキャラクタコード
の種類を識別する識別手段と、前記識別手段により文字
又は句読点以外のキャラクタコードであると識別された
場合に前記キャラクタコードにラインフィード〔LF〕
コードを付加する変換手段を前記複写手段に設けてある
文書編集装置。
2. A selection means for selecting a part or all of the document elements displayed in the first window, and a copying means for copying the document elements selected by the selection means into a second window, A document editing device comprising a document editing means for constructing a new document in a second window using the document element displayed in the first window, the first document element selected from the document elements selected by the selecting means. Identification means for identifying the type of the character code corresponding to the document element at the right end of the window, and line feed [LF] to the character code when the identification means identifies a character code other than characters or punctuation marks.
A document editing apparatus in which a converting means for adding a code is provided in the copying means.
JP6003882A 1994-01-19 1994-01-19 Document editing device Pending JPH07210552A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6003882A JPH07210552A (en) 1994-01-19 1994-01-19 Document editing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6003882A JPH07210552A (en) 1994-01-19 1994-01-19 Document editing device

Publications (1)

Publication Number Publication Date
JPH07210552A true JPH07210552A (en) 1995-08-11

Family

ID=11569560

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6003882A Pending JPH07210552A (en) 1994-01-19 1994-01-19 Document editing device

Country Status (1)

Country Link
JP (1) JPH07210552A (en)

Similar Documents

Publication Publication Date Title
AU2003200547B2 (en) Method for selecting a font
KR101150031B1 (en) Systems and methods for automated equation buildup
KR101149982B1 (en) Asian language input using the keyboard
US20040205538A1 (en) Method and apparatus for online integration of offline document correction
JP2010520532A (en) Input stroke count
US7793224B1 (en) Methods and apparatus for formatting identified content
EP4109435A1 (en) Braille editting method using error output function, recording medium storing program for executing same, and computer program stored in recording medium for executing same
JP5645481B2 (en) Apparatus, method, and program
JPH07210552A (en) Document editing device
JP4050745B2 (en) Text input system
JPH11203279A (en) Kana-kanji conversion device, kana-kanji conversion method, and storage medium
JP4057166B2 (en) Character string search apparatus and method, and computer-readable recording medium recording character string search program
JP3497263B2 (en) Method and apparatus for generating fixed format document from marked document
WO2023171790A1 (en) Text creation assistance device and text creation assistance program
JP2002245470A (en) Language specifying device, translating device, and language specifying method
JPH06259414A (en) Method of outputting furigana of document creation device and device
JPH03235168A (en) character processing device
JPH04276854A (en) Word processor
JP2006059378A (en) Document editing method and recording medium
Geer The latest word on OS/2 packages.
JPS5896376A (en) Japanese input device
Thind HOW TO USE GURBANI-CD-UNI
US20030110036A1 (en) Chinese input method for providing auxiliary writing model
JPH08235164A (en) Document display device display control method
JP2000172686A (en) Document creation device and document creation method