JPH0565902B2 - - Google Patents

Info

Publication number
JPH0565902B2
JPH0565902B2 JP59063700A JP6370084A JPH0565902B2 JP H0565902 B2 JPH0565902 B2 JP H0565902B2 JP 59063700 A JP59063700 A JP 59063700A JP 6370084 A JP6370084 A JP 6370084A JP H0565902 B2 JPH0565902 B2 JP H0565902B2
Authority
JP
Japan
Prior art keywords
copy
area
characters
document
copy destination
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
JP59063700A
Other languages
Japanese (ja)
Other versions
JPS60207953A (en
Inventor
Hiromasa Takahashi
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Tokyo Shibaura Electric Co Ltd
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 Tokyo Shibaura Electric Co Ltd filed Critical Tokyo Shibaura Electric Co Ltd
Priority to JP59063700A priority Critical patent/JPS60207953A/en
Publication of JPS60207953A publication Critical patent/JPS60207953A/en
Publication of JPH0565902B2 publication Critical patent/JPH0565902B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 [発明の技術分野] 本発明は、コピー機能を備えた文書作成装置に
使用される文書処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a document processing device used in a document creation device equipped with a copy function.

[発明の技術的背景とその問題点] 文書作成装置(ワードプロセツサ)では、通
常、作成中の文書に他の文書中の文章をコピーを
するブロツクコピー機能が設けられている。この
ブロツクコピー機能は、例えば、予め記憶された
各文書の文章A,B,Cを組合わせて1頁分の文
書を作成する場合、各文章A,B,Cの境界を定
めておき、この境界で区画されたブロツク内に各
文章A,B,Cをコピーすることになる。
[Technical Background of the Invention and Problems Therewith] A document creation device (word processor) is usually provided with a block copy function for copying sentences in another document to a document being created. For example, when creating a one-page document by combining sentences A, B, and C of each document stored in advance, this block copy function can be used by defining the boundaries of each sentence A, B, and C, and Each sentence A, B, and C will be copied within a block divided by boundaries.

しかしながら、上記のようなブロツクコピー機
能では、作成中の文書に対して他の頁又は他の文
書中の特定の領域からなる文章を取出して、この
各文章を任意の領域に配置して新たな文書を作成
することは困難であつた。
However, the block copy function described above extracts sentences from other pages or specific areas of other documents from the document being created, places each of these sentences in an arbitrary area, and creates a new copy. It was difficult to create documents.

[発明の目的] 本発明は上記の点に鑑みてなされたもので、そ
の目的は他の頁又は他の文書中の文章を任意の領
域に配置してコピーするブロツクコピー機能を実
現できる文書処理装置を提供することにある。
[Object of the Invention] The present invention has been made in view of the above points, and its object is to provide a document processing that can realize a block copy function that copies text in another page or document by placing it in an arbitrary area. The goal is to provide equipment.

[発明の概要] 本発明では、文書記憶手段から読出された所定
の文書又は作成中文書のコピー元文章(文字列)
の領域を例えばカーソルで指示するブロツクコピ
ー元指示手段が設けられる。第1の文字数カウン
ト手段は、ブロツクコピー元指示手段で指示され
た領域内の文字数をカウントする。また、上記コ
ピー元文章のコピー先領域を指示するコピー先指
示手段が設けられる。このコピー先指示手段で指
示された領域内の文字数は、第2の文字数カウン
ト手段によりカウントされる。ブロツクコピー処
理手段は、上記第1及び第2の文字数カウント手
段の各カウント値を比較してコピー先領域の文字
数がコピー元文章領域の文字数に対して同値又は
大きい場合上記コピー元文章を指定された上記コ
ピー先領域にコピーするように構成されている。
[Summary of the Invention] In the present invention, a copy source text (character string) of a predetermined document read from a document storage means or a document being created
A block copy source designation means is provided for designating the area of the block copy with, for example, a cursor. The first character count means counts the number of characters within the area designated by the block copy source designation means. Further, a copy destination specifying means is provided for specifying a copy destination area of the copy source text. The number of characters within the area designated by the copy destination designation means is counted by the second character number counting means. The block copy processing means compares each count value of the first and second character number counting means and specifies the copy source text if the number of characters in the copy destination area is equal to or larger than the number of characters in the copy source text area. The data is configured to be copied to the above copy destination area.

このような構成により、特定の領域からなるコ
ピー元文章を、任意のコピー先領域に配置してコ
ピーできるブロツクコピー処理を実現できること
になる。
With such a configuration, it is possible to realize block copy processing in which a copy source document consisting of a specific area can be placed and copied in an arbitrary copy destination area.

「発明の実施例] 以下図面を参照して本発明の一実施例を説明す
る。第1図は一実施例に係わる文書処理装置の基
本的構成を示すブロツク図である。第1図におい
て、マイクロプロセツサ(CPU)10は予め記
憶されたプログラムに基づいて、装置全体の動作
制御を行なう。内部メモリ11は、CPU10に
おいて文書処理が行なわれる際に使用されるメイ
ンメモリである。また、外部メモリ12は作成さ
れた複数の文書を格納するメモリで、例えばフロ
ツピーデイスク装置である。
Embodiment of the Invention An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the basic configuration of a document processing device according to an embodiment. In FIG. A microprocessor (CPU) 10 controls the operation of the entire device based on a pre-stored program. An internal memory 11 is the main memory used when document processing is performed in the CPU 10. The memory 12 is a memory that stores a plurality of created documents, and is, for example, a floppy disk device.

さらに、キーボード13、CRTデイスプレイ
装置(CRT装置)14、及びプリンタ15はそ
れぞれ文書処理に必要な入力又は出力動作を行な
う装置である。
Furthermore, a keyboard 13, a CRT display device (CRT device) 14, and a printer 15 are devices that each perform input or output operations necessary for document processing.

このような構成の文書処理装置において、一実
施例に係わる動作を第2図及び第3図を参照して
説明する。先ず、CPU10は、作成中の文書に
対してコピー元の文書(文字列)を含むコピー文
書を外部メモリ12から内部メモリ11に読出し
て、コピー元の文章をCRT装置14に表示する
(第3図のステツプS1)。オペレータはCRT装置
14の表示を確認し、キーボード13を操作して
ブロツクコピー処理を指示する(ステツプS2)。
この指示により、CPU10はCRT装置14の画
面にコピー元の文章領域をカーソルで指示するよ
うにメニユー表示を行なう。オペレータは、キー
ボード13を操作してコピー元の文章領域をカー
ソルで指示する(ステツプS3)。ここで、コピー
元の文章領域をカーソルで指示する場合、例えば
第2図a乃至fに示すように文章領域の形に応じ
てカーソルによるポイントP指定を行なう。具体
的には、文章領域が四角形であれば同図a,bに
示すようにポイントP数は2となる。また、同図
cに示すように文章領域が六角形であれば、ポイ
ントP数は6となる。尚、この実施例ではポイン
トP数が4の指定、奇数のポイントP指定及びポ
イントP数が9以上の指定はエラーとする。
The operation of one embodiment of the document processing apparatus having such a configuration will be described with reference to FIGS. 2 and 3. First, the CPU 10 reads out a copy document containing a copy source document (character string) from the external memory 12 to the internal memory 11 for the document being created, and displays the copy source document on the CRT device 14 (third Step S1 in the figure). The operator checks the display on the CRT device 14 and operates the keyboard 13 to instruct block copy processing (step S2).
In response to this instruction, the CPU 10 displays a menu on the screen of the CRT device 14 so that the copy source text area can be specified with a cursor. The operator operates the keyboard 13 to indicate the copy source text area with the cursor (step S3). Here, when specifying the copy source text area with the cursor, point P is specified with the cursor according to the shape of the text area, as shown in FIG. 2 a to f, for example. Specifically, if the text area is a rectangle, the number of points P is 2, as shown in a and b in the figure. Further, if the text area is hexagonal as shown in c of the figure, the number of points P is six. In this embodiment, designation of the number of points P as 4, designation of an odd number of point P, and designation of the number of points P as 9 or more are treated as errors.

上記のようにして、オペレータによるコピー元
の文章領域の指示が終了すると(ステツプS4)、
CPU10はカーソルによるポイントP数のチエ
ツクを行なう(ステツプS5)。このチエツクによ
り、ポイントP数が4または9以上であればエラ
ー処理を行なう(ステツプS9、10)。またポイン
トP数が2、6、8であれば、各ポイントP数に
応じたコピー元の文章を読出して、この文章領域
の文字数(記号等も含む)CN1をカウントする
(ステツプS6、7、8)。この場合、CPU10は
カーソル指定による行と桁の値から多角形の文章
領域を判断し、その文章を内部メモリ11に記憶
し、同様にカウント値CN1も記憶する。そし
て、指定された領域のコピー元文章をCRT装置
14に表示する(ステツプS11)。
When the operator finishes specifying the copy source text area as described above (step S4),
The CPU 10 checks the number of points P using the cursor (step S5). As a result of this check, if the number of points P is 4 or 9 or more, error processing is performed (steps S9 and 10). If the number of points P is 2, 6, or 8, the copy source text corresponding to each number of point P is read out, and the number of characters (including symbols, etc.) CN1 in this text area is counted (steps S6, 7, 8). In this case, the CPU 10 determines the polygonal text area from the row and column values specified by the cursor, stores the text in the internal memory 11, and similarly stores the count value CN1. Then, the copy source text in the designated area is displayed on the CRT device 14 (step S11).

次に、オペレータはCPU10の指示により、
コピー先の文書のコピー先領域をカーソルで指示
する(ステツプS12)。この場合、コピー先領域
の指示は上記第2図a乃至fに示すように行なわ
れる。オペレータによりコピー先の領域の指示が
終了すると(ステツプS13)、CPU10はカーソ
ル指定によるポイントP数のチエツクを行なう
(ステツプS14)。このチエツクにより、ポイント
P数が4又は9以上であればエラー処理を行なう
(ステツプS15、16)。また、ポイントP数が2、
6、8であれば、各ポイントP数に応じたコピー
先領域の内容をチエツクし、その領域内の文字数
CN2をカウントする(ステツプS17、18、19)
この場合、CPU10は指定されたコピー先領域
内に文章または文字(文字列)が存在するか否か
をチエツクする(ステツプS20)。
Next, the operator, according to instructions from the CPU 10,
Indicate the copy destination area of the copy destination document with the cursor (step S12). In this case, the copy destination area is designated as shown in FIGS. 2a to 2f above. When the operator finishes specifying the copy destination area (step S13), the CPU 10 checks the number of points P specified by the cursor (step S14). As a result of this check, if the number of points P is 4 or 9 or more, error processing is performed (steps S15 and 16). Also, the number of points P is 2,
If it is 6 or 8, check the contents of the copy destination area according to the number of points P, and calculate the number of characters in that area.
Count CN2 (steps S17, 18, 19)
In this case, the CPU 10 checks whether a sentence or character (character string) exists within the designated copy destination area (step S20).

上記のチエツクにより、コピー先領域内に文章
または文字が存在すれば、それをCRT装置14
の画面に表示する(ステツプS21)。これにより、
オペレータは再度コピー先領域を指示するか否か
を判断する(ステツプS22)。また、コピー先領
域内に文章又は文字が存在しなければ、CPU1
0はコピー元の文章領域の文字数CN1及びコピ
ー先領域の文字数CN2との大小を比較する(ス
テツプS23)。この比較結果により文字数CN2が
文字数CN1と同値か又は大きい場合、CPU10
はコピー元の文章をコピー先の領域にコピーする
ようなブロツクコピー処理を行なう。さらに、ブ
ロツクコピーした文章をCRT装置14に表示し
(ステツプS24)、次のブロツクコピー処理を行な
うか否かのメニユー表示を行なう(ステツプ
S25)。ここで、上記文字数CN2が文字数CN1
より小さい場合、CPU10はコピー先の領域が
不足であることをCRT装置14に表示する(ス
テツプS26)。即ち、コピー元の文章の文字数に
対して、コピー先の領域の文字数が不足して領域
指定が不十分であることが指示される。これによ
り、オペレータは再度コピー先の領域指定をキー
ボード13を操作して行なうことになる(ステツ
プS27)。
As a result of the above check, if there are sentences or characters in the copy destination area, they are copied to the CRT device 14.
screen (step S21). This results in
The operator determines whether to specify the copy destination area again (step S22). Also, if there are no sentences or characters in the copy destination area, CPU 1
0 is compared in size with the number of characters CN1 in the text area of the copy source and the number of characters CN2 in the copy destination area (step S23). As a result of this comparison, if the number of characters CN2 is equal to or larger than the number of characters CN1, the CPU 10
performs a block copy process that copies the copy source text to the copy destination area. Furthermore, the block-copied text is displayed on the CRT device 14 (step S24), and a menu is displayed asking whether or not to perform the next block copy process (step S24).
S25). Here, the number of characters CN2 above is the number of characters CN1
If it is smaller, the CPU 10 displays on the CRT device 14 that the copy destination area is insufficient (step S26). In other words, it is indicated that the area specification is insufficient because the number of characters in the copy destination area is insufficient compared to the number of characters in the copy source text. As a result, the operator operates the keyboard 13 to specify the copy destination area again (step S27).

このようにして、コピー元の文章領域の文字数
CN1及びコピー先の領域の文字数CN2とを比
較し、この比較結果に応じてコピー元の文章をコ
ピー先の領域にコピーできるか否かを判断できる
ことになる。したがつて、特定の領域を有するコ
ピー元の文章を任意のコピー先領域にブロツクコ
ピーすることを確実に行なうことができる。
In this way, the number of characters in the source text area
CN1 and the number of characters CN2 in the copy destination area are compared, and it can be determined whether the copy source text can be copied to the copy destination area according to the comparison result. Therefore, it is possible to reliably perform block copying of a copy source text having a specific area to an arbitrary copy destination area.

[発明の効果] 以上詳述したように本発明によれば、他の文書
又は作成中の文書の他の頁から取出す特定領域の
コピー元文章を、任意のコピー先領域にコピーす
ることができる。したがつて、コピー元の文章を
任意のコピー先領域に配置してコピーするような
ブロツクコピー処理を確実に実現でき、結果的に
文書作成の機能を大幅に高めることができるもの
である。
[Effects of the Invention] As detailed above, according to the present invention, a copy source text in a specific area extracted from another document or another page of a document being created can be copied to an arbitrary copy destination area. . Therefore, it is possible to reliably realize a block copy process in which a copy source text is placed and copied in an arbitrary copy destination area, and as a result, the document creation function can be greatly improved.

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

第1図は本発明の一実施例に係わる文書処理装
置の構成を示すブロツク図、第2図a乃至fはそ
れぞれ第1図の装置においてカーソル指定の方法
の一例を説明するための図、第3図は第1図の装
置の動作を説明するためのフローチヤートであ
る。 10……マイクロプロセツサ、11……内部メ
モリ、12……外部メモリ、13……キーボー
ド、14……CRTデイスプレイ装置、15……
プリンタ。
FIG. 1 is a block diagram showing the configuration of a document processing device according to an embodiment of the present invention, and FIGS. FIG. 3 is a flowchart for explaining the operation of the apparatus shown in FIG. 10... Microprocessor, 11... Internal memory, 12... External memory, 13... Keyboard, 14... CRT display device, 15...
printer.

Claims (1)

【特許請求の範囲】 1 文書を記憶する文書記憶手段と、 この文書記憶手段から読出された所定の文書又
は作成中文書のコピー元文字列の領域を指示する
ブロツクコピー元指示手段と、 このブロツクコピー元指示手段で指示された領
域内の文字数をカウントする第1の文字数カウン
ト手段と、 上記コピー元文字列のコピー先領域を指示する
コピー先指示手段と、 このコピー先指示手段で指示された領域内の文
字数をカウントする第2の文字数カウント手段
と、 上記第1及び第2の文字数カウント手段の各カ
ウント値を比較してコピー先領域の文字数がコピ
ー元文字列の領域の文字数に対して同値又は大き
い場合上記コピー元文字列を指定された上記コピ
ー先領域にコピーするブロツクコピー処理を行な
うブロツクコピー処理手段とを具備してなること
を特徴とする文書処理装置。 2 コピー先領域に文字列が存在する場合、前記
文字列の存在を報知することを特徴とする特許請
求の範囲第1項記載の文書処理装置。 3 コピー先領域の文字数がコピー元領域の文字
数に対して小さい場合、コピー先領域の文字数が
不足していることを報知することを特徴とする特
許請求の範囲第1項又は第2項記載の文書処理装
置。
[Scope of Claims] 1. Document storage means for storing a document; Block copy source designation means for designating a copy source character string area of a predetermined document read from the document storage means or a document being created; a first character counting means for counting the number of characters in the area specified by the copy source specifying means; a copy destination specifying means for specifying the copy destination area of the copy source character string; A second character count means for counting the number of characters in the area is compared with each count value of the first and second character count means to determine whether the number of characters in the copy destination area is greater than the number of characters in the copy source character string area. 1. A document processing device comprising block copy processing means for performing a block copy process of copying the copy source character string to the designated copy destination area if the two characters are the same or larger. 2. The document processing apparatus according to claim 1, wherein when a character string exists in the copy destination area, the existence of the character string is notified. 3. Claims 1 or 2, characterized in that when the number of characters in the copy destination area is smaller than the number of characters in the copy source area, it is notified that the number of characters in the copy destination area is insufficient. Document processing device.
JP59063700A 1984-03-31 1984-03-31 Document processor Granted JPS60207953A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59063700A JPS60207953A (en) 1984-03-31 1984-03-31 Document processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59063700A JPS60207953A (en) 1984-03-31 1984-03-31 Document processor

Publications (2)

Publication Number Publication Date
JPS60207953A JPS60207953A (en) 1985-10-19
JPH0565902B2 true JPH0565902B2 (en) 1993-09-20

Family

ID=13236911

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59063700A Granted JPS60207953A (en) 1984-03-31 1984-03-31 Document processor

Country Status (1)

Country Link
JP (1) JPS60207953A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63159977A (en) * 1986-12-24 1988-07-02 Dainippon Printing Co Ltd Table editing method by computer

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57125477A (en) * 1981-01-27 1982-08-04 Canon Inc Character processing device
JPS58132851A (en) * 1982-01-30 1983-08-08 Canon Inc Character processor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57125477A (en) * 1981-01-27 1982-08-04 Canon Inc Character processing device
JPS58132851A (en) * 1982-01-30 1983-08-08 Canon Inc Character processor

Also Published As

Publication number Publication date
JPS60207953A (en) 1985-10-19

Similar Documents

Publication Publication Date Title
JPH0565902B2 (en)
JPS6151264A (en) Document processing device
JP2994387B2 (en) Document input device
JPH0512268A (en) Document processor
JP3067083B2 (en) Document input device
JPH0425931A (en) Data output device
JPS6239860A (en) Composing device
JP3226349B2 (en) Graphing equipment for video
JPS60253572A (en) Blank filling printing system
JP2756186B2 (en) Document editing method and apparatus
JPH0373908B2 (en)
JPS6148064A (en) Word processor
JPH06236369A (en) Word processor and replacing method for page
JPS61265664A (en) Homonym selecting mechanism in word processor
JPS62209589A (en) Document generator
JPH04128968A (en) Space area correspondence copying method
JPS62210572A (en) Documentation device
JPH05189422A (en) Information processor and document format setting method
JPH03131961A (en) Document processor
JPH04282757A (en) Word processor
JPH02291056A (en) Document processor
JPH02255952A (en) Document processor containing equidivision function of framework
JPH07182321A (en) Device for documentation and method for generating data
JPS63150757A (en) Document preparing device
JPS62119680A (en) Graphic shift control system

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term