JP3528249B2 - Document processing device - Google Patents

Document processing device

Info

Publication number
JP3528249B2
JP3528249B2 JP16747094A JP16747094A JP3528249B2 JP 3528249 B2 JP3528249 B2 JP 3528249B2 JP 16747094 A JP16747094 A JP 16747094A JP 16747094 A JP16747094 A JP 16747094A JP 3528249 B2 JP3528249 B2 JP 3528249B2
Authority
JP
Japan
Prior art keywords
area
data
format
document
copy
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 - Fee Related
Application number
JP16747094A
Other languages
Japanese (ja)
Other versions
JPH0816557A (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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP16747094A priority Critical patent/JP3528249B2/en
Publication of JPH0816557A publication Critical patent/JPH0816557A/en
Application granted granted Critical
Publication of JP3528249B2 publication Critical patent/JP3528249B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 【0001】 【産業上の利用分野】この発明は、データを複写する文
書処理装置に関する。 【0002】 【従来の技術】ワードプロセッサ等の文書処理装置にお
いて、文書を効率良く作成可能とするために領域複写機
能が考えられており、この領域複写機能を活用すること
によって、略同様の文書を複数箇所に配置するような場
合、文書全体を効率良く仕上げることができる。つま
り、複写元領域として指定した領域内の文書データを複
数の複写先領域にそれぞれコピーしたのち、各複写先毎
にその文書データの一部を修正するだけで文書全体を仕
上げることができる。 【0003】 【発明が解決しようとする課題】ところで、予め指定さ
れた文書配置領域毎にそれぞれ固有の書式情報を設定す
るものにおいて、複写元領域あるいは何れか1つの複写
先領域の書式情報を修正した際には、文書全体のバラン
ス等の関係で、複写元/複写先の関係にある各領域の書
式情報もそれぞれ同様に修正する作業を領域毎にそれぞ
れ別個に行う必要がある。このように複写元/複写先の
関係にある全ての領域についてその書式を修正する作業
を別個に行うことは、多くの時間と手間がかかる他、修
正ミスのおそれもある等の欠点があった。この発明の課
題は、データ配置領域毎に設定されている書式情報を修
正する場合において、複写元/複写先の関係にある各領
域のうちその何れか1つの領域の書式を修正するだけで
複写元/複写先の関係にある他の全ての領域の書式も同
様に一括修正できるようにすることである。 【0004】 【課題を解決するための手段】この発明の手段は次の通
りである。それぞれのデータ内容、それぞれの書式が割
り当てられたデータ領域が文書内の複数の位置に割り付
けられた文書処理装置であって、前記文書内の任意のデ
ータ領域の複写操作により、前記文書内の任意位置に同
一データ内容で同一書式のデータ領域を複写生成すると
共に、当該複写元及び複写先の対象となった各データ領
域に対して同一のグループ識別情報を設定する設定手段
と、前記文書内の任意のデータ領域に対するデータ内容
の修正操作が行われた際は、その修正内容に従って当該
データ領域のデータ内容を修正する第1修正手段と、前
記文書内の任意のデータ領域に対する書式の修正操作が
行われた際は、その修正内容に従って当該データ領域の
書式を修正すると共に、当該データ領域に対して設定さ
れたグループ識別情報と同一のグループ識別情報が設定
された他のデータ領域を前記文書内から検索し、その検
索された各データ領域の書式を前記修正内容にあわせた
書式に修正する第2修正手段とを備えるものである。従
って、データ内容、書式が割り当てられたデータ領域が
文書内の複数の位置に割り付けられたものにおいて、任
意のデータ領域に対するデータ内容の修正操作がなされ
た際は、文書内の一部のデータ領域のデータ内容に対す
る修正ができ、文書内の任意のデータ領域に対する書式
の修正操作がなされた際は、その修正内容に従ってその
データ領域の書式を修正すると共に、そのデータ領域に
対して設定されたグループ識別情報と同一のグループ識
別情報が設定された他の各データ領域の書式を修正内容
にあわせた書式に一括修正することができ。 【0005】 【0006】 【実施例】以下、図1〜図10を参照して一実施例を説
明する。図1はワードプロセッサのブロック構成図であ
る。入力部1は文書データや書式情報等を入力する他に
各種の機能命令を入力するキー入力装置であり、この入
力部1から操作キーに対応して出力されるキー操作信号
は入力制御部2に与えられる。入力制御部2は入力され
たキー操作信号をキーコードに変換して保持するもの
で、CPU3は入力制御部2内に保持されているキーコ
ードを順次アクセスして取り込む。CPU3はプログラ
ムメモリ4内の各種プログラムにしたがってこのワード
プロセッサ全体の動作を制御するもので、入力部1から
文書データが入力されると、CPU3は入力された文書
データを取り込んで表示制御部5に与え、表示部6のテ
キスト画面から表示出力させたり、RAM7内のテキス
トメモリ7−1に格納する。 【0007】RAM7はテキストメモリ7−1、ワーク
メモリ7−2等を有する構成で、テキストメモリ7−1
はテキスト画面上の文書配置領域毎にその領域位置デー
タと実データ(書式データと文書データ)を記憶する。
ここで、図2(A)に示すような2つの文書配置領域が
テキスト画面上に表示出力されている状態において、領
域位置データおよび実データは図2(B)に示すような
データ内容となっている。領域位置データは領域No、左
上X座標、左上Y座標、右下X座標、右下Y座標、実デ
ータアドレス、グループNoとから成るもので、領域Noは
数値「0」から始まるシークェンシャル番号である。グ
ループNoは複写元/複写先の関係にある各領域をグルー
プ化するためのもので、複写前にあっては自己の領域No
がそのままグループNoとなっている。実データは領域位
置データ内の実データアドレスによって指定されるテキ
ストメモリ7−1内のアドレス位置に格納されており、
この実データを構成する書式データはその先頭から文字
ポイント数、桁数、書体(0:明朝体、1:丸ゴシック
体……)、禁則(0:あり、1:なし)、その他の書式
データから成る。また、実データを構成する文書データ
は可変長データであるため、その先頭に文書データバイ
ト数がセットされ、それに続いて1文字毎に文字デー
タ、改行コード等がセットされた構成となっている。こ
のように本実施例においては文書配置領域毎に、その領
域固有の書式データが文書データと共に実データとして
設定されている。 【0008】ここで、プログラムメモリ3内の領域複写
プログラムは、入力部1から領域複写が指示された際に
起動されるもので、CPU3は複写元として指定された
文書配置領域の内容(実データ)を複写先にそのままコ
ピーする。その際、複写先毎に新たな領域位置データを
作成するが、この新たな領域位置データ内のグループNo
は複写元の領域Noとなる。つまり、予め複写元領域に割
り当てられていた領域NoがグループNoとして各複写先領
域に対応付けて設定され、これによって複写元領域と各
複写先とがグループ化される。また、プログラムメモリ
4内の書式修正プログラムは領域書式を修正するために
入力部1からその修正指令が入力された際に起動される
もので、CPU3は指定領域の書式データを通常と同様
に入力データにしたがって修正する他に、本実施例にお
いてはこの書式修正プログラムにしたがって当該領域の
グループに属する他の各領域の書式データも同様に一括
修正するようにしている。 【0009】次に本実施例の動作を説明する。図3は入
力部1から領域複写指令が入力された際に領域複写プロ
グラムにしたがって実行される動作を示したフローチャ
ートであり、図4はその処理過程に応じて変遷する表示
画面例である。いま、図2で示したようにテキストメモ
リ7−1内の領域位置データおよび実データに基づいて
テキスト画面に、2つの領域が表示されているものとす
る(図2(A)参照)。ここで、領域複写指令を与える
と、図3のフローチャートにしたがって領域複写処理が
実行開始される。先ず、図4(A)に示すように複写元
の領域を指定すべき旨のガイド表示が行われる(ステッ
プA1)。この状態においてカーソル(図中、+)を移
動させて複写元の領域の左上位置に合わせ(図4(B)
参照)、実行キーを押すと(ステップA2)、図4
(C)に示すように複写元領域として選択された領域全
体を反転表示させる(ステップA3)。 【0010】次に、図4(D)に示すように複写先を指
定すべき旨のガイド表示が行われる(ステップA4)。
ここで、カーソルを移動して複写先の左上位置を指定
し、実行キーを操作すると(ステップA5)、領域Noが
更新される(ステップA6)。この場合、図2で示した
ようにテキストメモリ7−1内の最終領域Noは「1」で
あるから次の領域Noを指定するために領域Noは「2」に
更新される。次に、複写先領域の領域位置データを作成
する(ステップA7)。即ち、領域位置データの先頭に
ステップA5で更新した領域Noをセットし、次に複写先
の左上位置として指定された左上X座標、左上Y座標を
セットする。そして、複写元の領域位置データから左上
XY座標、右下XY座標を読み込み、これらの各座標値
から複写元領域のX方向のサイズ、Y方向のサイズを求
める。即ち、、右下X座標から左上X座標を減算した値
(絶対値)がXサイズとなり、右下Y座標から左上Y座
標を減算した値(絶対値)がYサイズとなる。このよう
にして求めたXサイズ、Yサイズを複写先の左上XY座
標に加算することによって複写先の右下X座標、右下Y
座標を求めてそれぞれセットする。次に、テキストメモ
リ7−1をアクセスし、複写先の実データを格納する実
データアドレスを求めてセットすると共に、複写元の領
域位置データからグループNoを読み出してこれを複写先
のグループNoとしてセットする。これによって図5に示
すような領域No「2」についての領域位置データが作成
される。 【0011】このようにして複写先の領域位置データを
作成すると、複写元の書式データおよび文書データに基
づいて複写先の実データを作成してテキストメモリ7−
1に格納する(ステップA8)。つまり、複写元の実デ
ータをそのままテキストメモリ7−1内の複写先の実デ
ータアドレス位置にコピーする。次に図4(E)に示す
ように領域複写を終了するかのガイド表示が行われる
(ステップA9)。ここで、「YES」キーが操作され
た場合には領域複写処理の終了となるが、「NO」キー
が操作された場合にはステップA10からステップA4
に戻り、以下、次の複写先についても上述と同様の処理
が行われる。図4(F)、(G)、(H)、(I)は同
じ複写元領域を繰り返して複写する場合の処理過程を示
している。この場合、複写元領域は反転表示されたまま
となっており、図4(F)は「NO」キーを操作した際
の表示画面、図4(G)は次の複写先位置にカーソルを
移動させた際の表示画面、図4(H)は実行キーを操作
した際の表示画面、図4(I)は「YES」キーを操作
した際の表示画面を示している。 【0012】これによって図5に示すようにテキストメ
モリ7−1内には、領域No「1」の領域を複写元として
2回繰り返し複写することにより領域No「2」、「3」
の領域が複写先領域として格納される。この場合、グル
ープNoは領域No「1」、「2」、「3」の領域ともそれ
ぞれ「1」となり、各領域は複写元/複写先の関係にあ
る同一グループに属していることを示している。 【0013】このようにして複写元領域を同一画面内に
2箇所コピーしたのち、各複写先領域内の文書データを
修正することにより文書全体を仕上げる。ここで、図6
(A)は修正前、図6(B)は修正後の表示画面を示
し、領域No「2」の複写先領域内の文書データ「高学
歴」を「高収入」に修正し、領域No「3」の複写先領域
内の文書データ「高学歴」を「高身長」に修正すると、
テキストメモリ7−1内の文書データは図6(C)に示
す如くとなる。 【0014】次に、領域書式を修正する場合の動作を図
7〜図10を参照して説明する。いま、ある領域の書式
データを修正するために入力部1からその修正指令を入
力すると、CPU3は書式修正プログラムを起動させて
領域書式修正処理を実行する。図7はこの領域書式修正
処理を示したフローチャートであり、図9はその処理過
程に応じて変遷する表示画面である。ここで、図5で示
した内容がテキストメモリ7−1に格納されているもの
とする。先ず、図9(A)に示すように書式を修正する
領域を指定すべき旨のガイド表示が行われる(ステップ
B1)。ここで、カーソルを移動させて領域の左上位置
に合わせ、実行キーを操作する(ステップB2)。図9
(B)は複写元を書式修正領域として指定した場合を示
している。すると、CPU3はテキストメモリ7−1か
ら選択領域の書式データを取り込み(ステップB3)、
図9(C)に示すように「書式修正入力画面」をウィン
ドゥ表示させると共に、選択領域および選択領域と同一
のグループNoを有する他の領域を区別表示するために網
かけ表示させる(ステップB4)。いま、複写元が書式
修正領域として選択された場合であるから、このグルー
プNo「1」でテキストメモリ7−1内の領域位置データ
を検索し、同一グループNoを持った領域No「2」、
「3」の各複写先領域が複写元領域と共にそれぞれ網か
け表示される。 【0015】次に、書式修正を入力画面上で任意の書式
項目を指定してその書式データを修正し、実行キーを操
作する(ステップB5)。図9(D)は修正すべき書式
項目として「書体」を選択指定し、図9(E)は書体を
「明朝体」から「丸ゴシック体」に修正した場合を示し
ている。これによって領域No「1」の複写元領域の書式
データはその書式項目の内容が図10に示すように明朝
体から「01(丸ゴシック体)」に修正される。 【0016】このようにして選択領域の書式データを1
項目分修正し終ると、次のステップB6に進み、この選
択領域と同一グループに属する他の領域についてもその
書式データを同様に一括修正する処理に移る(ステップ
B6)。図8はステップB6の一括修正処理を詳細に示
したフローチャートである。先ず、CPU3はテキスト
メモリ7−1から書式修正された領域のグループNoを取
り込む(ステップC1)。この場合、複写元領域のグル
ープNo「1」が取り込まれる。次に、テキストメモリ7
−1内の領域位置データをその先頭から順次指定するた
めに、図示しない領域Noポインタに「0」をセットする
(ステップC2)。そして、書式修正領域のグループNo
と、領域Noポインタで指定される指定領域のグループNo
とを比較するが(ステップC3)、この場合、先ず、最
初に指定された領域は領域No「0」の領域であり、図1
0に示すようにその領域に対するグループNoは「0」、
したがって、書式修正領域のグループNo「1」との不一
致がステップC4で検出される。すると、領域Noポイン
タに「1」を加算することによって指定領域の更新が行
われる(ステップC6)。その結果、指定領域が最終領
域でないことを条件に(ステップC7)、再び書式修正
領域のグループNoと指定領域のグループNoとを比較する
処理に戻る(ステップC3)。 【0017】ここで、指定領域は領域No「1」の書式修
正領域となり、当然、グループNoの一致が検出される
が、ステップC4は書式修正領域と同一のグループNoを
持った他の領域を検出するもので、指定領域Noと書式修
正領域Noとが相違していることを前提に、グループNoの
一致を検出する。したがって、この場合には次の領域を
指定するためにステップC4からステップC6に移る。
次に、領域No「2」の複写先領域が指定されると、この
指定領域は書式修正領域と同一のグループNoを持った他
の領域であるため、ステップC4でグループNoの一致が
検出されてステップC5に進み、修正書式項目の内容を
指定領域の対応する書式項目にコピーする。この結果、
図10に示すように領域No「2」の書式データのうち、
その書体項目の内容が複写元の書体項目と同様に「丸ゴ
シック体」に修正される。そして、次の領域No「3」が
指定されると、この複写先領域についてもその書体項目
の内容が複写元に合わせて「丸ゴシック体」に修正され
ることは上述の場合と同様である。 【0018】このような一括修正処理が終ると、図7の
ステップB7に進み、書式修正を修正するかのガイド表
示が行われる(図9(F)参照)。ここで、他の書式項
目の内容も連続的に修正する場合には「NO」キーを操
作する。すると、ステップB4に戻り、以下、指定項目
の書式が上述と同様に修正されるが、書式修正を終了す
る場合には「YES」キーを操作する。図9(G)は
「YES」キーを操作したのちの表示画面である。な
お、図9(F)、(G)の表示画面上では「高学歴」、
「高収入」、「高身長」が入力されている各領域につい
て、その書体が明朝体から丸ゴシック体に修正されたも
のとなっている。 【0019】以上のように本実施例においては、領域複
写が行われる毎に、複写元領域と複写先領域とを対応付
けてグループ化しておき、後で、複写元領域の書式デー
タが修正されると、各複写先領域の書式データも複写元
と同様の書式に一括修正される。このことは、ある複写
先領域の書式データを修正した場合も同様であり、この
書式修正に基づいて領域元および他の複写先領域の書式
データも一括修正される。つまり、複写元/複写先の関
係にある各領域をグループ化しておくことで、後で、グ
ループ内に属する何れかの領域の書式データが修正され
た場合には、同一グループに属する他の全ての領域につ
いてその書式データの一括修正が行われる。 【0020】なお、上記実施例においては複写元領域の
内容を2箇所に複写する場合を例に挙げたが、更に、あ
る複写先領域の文書内容を一部修正したのち、この領域
を複写元として他の領域に複写するようにしてもよい。
つまり、領域複写を階層的に行ったとしても全ての領域
には同一グループNoが付加されるので、階層的に複写さ
れた各領域も同一グループとして取り扱うことが可能と
なる。また、上記実施例は領域複写が行われる毎に複写
元と複写先とを自動的にグループ化するようにしたが、
領域書式を修正する際に、修正対象領域をキーボード等
から指定してグループ化するようにしてもよい。 【0021】 【発明の効果】この発明によれば、データ内容、書式が
割り当てられたデータ領域が文書内の複数の位置に割り
付けられたものにおいて、任意のデータ領域に対するデ
ータ内容の修正操作がなされた際は、文書内の一部のデ
ータ領域のデータ内容に対する修正ができ、文書内の任
意のデータ領域に対する書式の修正操作がなされた際
は、その修正内容に従ってそのデータ領域の書式を修正
すると共に、そのデータ領域に対して設定されたグルー
プ識別情報と同一のグループ識別情報が設定された他の
各データ領域の書式を修正内容にあわせた書式に一括修
正することができ、文書内の一部のデータ内容を修正す
ること及び、グループとして指定されている複数のデー
タ領域の書式の修正を容易に行なうことができる。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document processing apparatus for copying data. 2. Description of the Related Art In a document processing device such as a word processor, an area copying function has been considered in order to enable efficient creation of a document. By utilizing this area copying function, substantially the same document can be copied. When the document is arranged at a plurality of locations, the entire document can be efficiently finished. That is, after copying the document data in the area designated as the copy source area to each of the plurality of copy destination areas, the entire document can be finished only by correcting a part of the document data for each copy destination. [0005] By the way, in setting unique format information for each document layout area specified in advance, the format information of the copy source area or any one copy destination area is corrected. In this case, it is necessary to separately perform the operation of similarly correcting the format information of each area in the relationship of the copy source / copy destination for each area in view of the balance of the entire document. Performing the work of correcting the format of all the areas having the relationship of the copy source / copy destination separately requires a lot of time and effort, and has a drawback that there is a possibility of a correction error. . SUMMARY OF THE INVENTION An object of the present invention is to correct format information set for each data arrangement area by simply correcting the format of any one of the areas having a copy source / copy destination relationship. The purpose of this is to make it possible to collectively correct the formats of all other areas in the source / copy destination relationship. [0004] The means of the present invention are as follows. A document processing device in which data areas to which respective data contents and respective formats are assigned are assigned to a plurality of positions in a document, and a copy operation of an arbitrary data area in the document causes any data in the document to be copied. Setting means for copying and generating a data area of the same format with the same data content at the position, and setting the same group identification information for each of the data areas of the copy source and the copy destination; and When a data content correction operation is performed on an arbitrary data area, a first correction unit that corrects the data content of the data area according to the correction content, and a format correction operation on an arbitrary data area in the document are performed. When performed, the format of the data area is modified according to the content of the modification, and the same as the group identification information set for the data area. A second correction unit that searches the document for another data area in which the group identification information is set, and corrects the format of each searched data area to a format that matches the correction content. Therefore, when a data area to which a data content and a format are assigned is assigned to a plurality of positions in a document, when a data content correction operation is performed on an arbitrary data area, a part of the data area in the document is changed. If the data contents of the data area can be modified and the format of any data area in the document is modified, the format of the data area is modified according to the modified contents and the group set for the data area is modified. The format of each other data area in which the same group identification information as the identification information is set can be collectively corrected to a format according to the correction content. An embodiment will be described below with reference to FIGS. 1 to 10. FIG. 1 is a block diagram of the word processor. The input unit 1 is a key input device for inputting various function commands in addition to inputting document data, format information, and the like. A key operation signal output from the input unit 1 corresponding to an operation key is input to an input control unit 2. Given to. The input control unit 2 converts an input key operation signal into a key code and holds the key code. The CPU 3 sequentially accesses and takes in the key codes stored in the input control unit 2. The CPU 3 controls the operation of the entire word processor according to various programs in the program memory 4. When document data is input from the input unit 1, the CPU 3 fetches the input document data and gives it to the display control unit 5. , Or output from the text screen of the display unit 6 or stored in the text memory 7-1 in the RAM 7. The RAM 7 has a configuration including a text memory 7-1 and a work memory 7-2.
Stores area position data and actual data (format data and document data) for each document arrangement area on the text screen.
Here, in a state where two document arrangement areas as shown in FIG. 2A are displayed and output on the text screen, the area position data and the actual data have the data contents as shown in FIG. 2B. ing. The region position data is composed of a region number, an upper left X coordinate, an upper left Y coordinate, a lower right X coordinate, a lower right Y coordinate, a real data address, and a group number. The region number is a sequential number starting from a numerical value “0”. It is. Group No. is used to group the areas that have a copy source / copy destination relationship.
Is the group number as it is. The actual data is stored at an address position in the text memory 7-1 specified by the actual data address in the area position data.
From the beginning, the format data that constitutes the actual data includes the number of character points, the number of digits, the typeface (0: Mincho, 1: Round Gothic ...), prohibition (0: Yes, 1: No), and other formats Consists of data. Further, since the document data constituting the actual data is variable length data, the number of bytes of the document data is set at the head thereof, and subsequently, character data, line feed code, etc. are set for each character. . As described above, in this embodiment, for each document arrangement area, format data unique to the area is set as actual data together with the document data. The area copy program in the program memory 3 is started when an area copy is instructed from the input unit 1, and the CPU 3 executes the contents (actual data) of the document arrangement area designated as the copy source. ) Is copied directly to the copy destination. At this time, new area position data is created for each copy destination.
Is the area number of the copy source. In other words, the area number previously assigned to the copy source area is set as a group number in association with each copy destination area, whereby the copy source area and each copy destination are grouped. The format correction program in the program memory 4 is started when a correction command is input from the input unit 1 to correct the area format, and the CPU 3 inputs the format data of the specified area as usual. In addition to the correction according to the data, in the present embodiment, the format data of the other areas belonging to the group of the area are similarly corrected collectively according to the format correction program. Next, the operation of this embodiment will be described. FIG. 3 is a flowchart showing an operation executed in accordance with the area copying program when an area copying command is input from the input unit 1, and FIG. 4 is an example of a display screen which changes according to the processing process. Now, it is assumed that two regions are displayed on the text screen based on the region position data and the actual data in the text memory 7-1 as shown in FIG. 2 (see FIG. 2A). Here, when an area copy command is given, the area copy processing is started according to the flowchart of FIG. First, as shown in FIG. 4A, a guide display indicating that a copy source area should be specified is performed (step A1). In this state, the cursor (+ in the figure) is moved to the upper left position of the copy source area (FIG. 4B).
When the execution key is pressed (step A2), FIG.
As shown in (C), the entire area selected as the copy source area is highlighted (step A3). Next, as shown in FIG. 4D, a guide display indicating that a copy destination should be specified is displayed (step A4).
Here, when the cursor is moved and the upper left position of the copy destination is designated and the execution key is operated (step A5), the area No. is updated (step A6). In this case, as shown in FIG. 2, since the last area number in the text memory 7-1 is "1", the area number is updated to "2" to specify the next area number. Next, area position data of the copy destination area is created (step A7). That is, the area No. updated in step A5 is set at the head of the area position data, and then the upper left X coordinate and upper left Y coordinate specified as the upper left position of the copy destination are set. Then, the upper left XY coordinates and the lower right XY coordinates are read from the area position data of the copy source, and the X-direction size and the Y-direction size of the copy source area are obtained from these coordinate values. That is, the value (absolute value) obtained by subtracting the upper left X coordinate from the lower right X coordinate becomes the X size, and the value (absolute value) obtained by subtracting the upper left Y coordinate from the lower right Y coordinate becomes the Y size. The X size and Y size obtained in this way are added to the upper left XY coordinate of the copy destination to obtain the lower right X coordinate and lower right Y of the copy destination.
Find coordinates and set each one. Next, the text memory 7-1 is accessed, a real data address for storing the real data of the copy destination is obtained and set, and a group No. is read from the copy source area position data, and this is set as a copy destination group No. set. As a result, the area position data for the area No. “2” as shown in FIG. 5 is created. When the copy destination area position data is created in this manner, the copy destination actual data is created based on the copy source format data and the document data, and the text memory 7-
1 (step A8). That is, the actual data of the copy source is copied as it is to the actual data address position of the copy destination in the text memory 7-1. Next, as shown in FIG. 4E, a guide display as to whether to end the area copying is performed (step A9). Here, if the "YES" key is operated, the area copying process is terminated. However, if the "NO" key is operated, steps A10 to A4 are performed.
Then, the same processing as described above is performed for the next copy destination. 4 (F), (G), (H) and (I) show the processing steps when the same copy source area is repeatedly copied. In this case, the copy source area remains highlighted, and FIG. 4 (F) shows the display screen when the “NO” key is operated, and FIG. 4 (G) moves the cursor to the next copy destination position. FIG. 4H shows a display screen when the execution key is operated, and FIG. 4I shows a display screen when the “YES” key is operated. As a result, as shown in FIG. 5, in the text memory 7-1, the area No. "2" and "3" are repeatedly copied twice using the area No. "1" as a copy source.
Is stored as a copy destination area. In this case, the group No. is “1” for each of the area Nos. “1”, “2”, and “3”, indicating that each area belongs to the same group having a copy source / copy destination relationship. I have. After copying the copy source area at two places in the same screen in this manner, the document data in each copy destination area is corrected to complete the entire document. Here, FIG.
FIG. 6A shows the display screen before the correction, and FIG. 6B shows the display screen after the correction. The document data “high educational background” in the copy destination area of the area No. “2” is corrected to “high income”, and the area No. “ When the document data "high educational background" in the copy destination area of "3" is corrected to "high height",
The document data in the text memory 7-1 is as shown in FIG. Next, the operation for correcting the area format will be described with reference to FIGS. Now, when a correction command is input from the input unit 1 to correct the format data of a certain area, the CPU 3 activates a format correction program to execute the area format correction processing. FIG. 7 is a flowchart showing the area format correction processing, and FIG. 9 is a display screen that changes according to the processing. Here, it is assumed that the contents shown in FIG. 5 are stored in the text memory 7-1. First, as shown in FIG. 9A, a guide display indicating that an area whose format is to be corrected is to be designated is performed (step B1). Here, the cursor is moved to the upper left position of the area, and the execution key is operated (step B2). FIG.
(B) shows a case where the copy source is specified as a format correction area. Then, the CPU 3 fetches the format data of the selected area from the text memory 7-1 (step B3),
As shown in FIG. 9 (C), the "format correction input screen" is displayed in a window, and the selected area and another area having the same group number as the selected area are displayed in a shaded manner to distinguish them (step B4). . Since the copy source is selected as the format correction area, the area position data in the text memory 7-1 is searched for the group No. “1”, and the area No. “2” having the same group No.
Each copy destination area of "3" is shaded and displayed together with the copy source area. Next, an arbitrary format item is designated on the input screen to correct the format, the format data is corrected, and the execution key is operated (step B5). FIG. 9D shows a case where "font" is selected and designated as a format item to be modified, and FIG. 9E shows a case where the font is modified from "Mincho" to "Maru Gothic". As a result, the format data of the copy source area of the area No. “1” is modified from Mincho type to “01 (round gothic type)” as shown in FIG. In this way, the format data of the selected area is set to 1
When the correction is completed for the items, the process proceeds to the next step B6, and the process moves to the process of collectively correcting the format data of other areas belonging to the same group as the selected area in the same manner (step B6). FIG. 8 is a flowchart showing the batch correction process in step B6 in detail. First, the CPU 3 fetches the group number of the area whose format has been corrected from the text memory 7-1 (step C1). In this case, the group number “1” of the copy source area is fetched. Next, the text memory 7
In order to sequentially designate the area position data within -1 from the beginning, "0" is set to an area No pointer (not shown) (step C2). Then, the group number of the format correction area
And the group number of the specified area specified by the area No pointer
(Step C3). In this case, first, the first designated area is the area of the area No. “0”, and FIG.
As shown in FIG. 0, the group number for the area is “0”,
Therefore, a mismatch with the group number “1” of the format correction area is detected in step C4. Then, the designated area is updated by adding "1" to the area No pointer (step C6). As a result, on condition that the specified area is not the last area (step C7), the process returns to the processing of comparing the group number of the format correction area with the group number of the specified area again (step C3). Here, the designated area is a format correction area of area No. "1", and a match of the group number is naturally detected. However, in step C4, another area having the same group number as the format correction area is deleted. The matching is detected, and the matching of the group number is detected on the premise that the designated area number and the format correction area number are different. Therefore, in this case, the process moves from step C4 to step C6 to specify the next area.
Next, when the copy destination area of the area No. "2" is designated, since this designated area is another area having the same group number as the format correction area, a match of the group number is detected in step C4. In step C5, the contents of the correction format item are copied to the corresponding format item in the designated area. As a result,
As shown in FIG. 10, of the format data of the area No. “2”,
The content of the typeface item is corrected to “round Gothic type” in the same manner as the typeface item of the copy source. Then, when the next area No. "3" is designated, the contents of the typeface item of this copy destination area are also modified to "circle gothic" in accordance with the copy source, as in the case described above. . When such batch correction processing is completed, the process proceeds to step B7 in FIG. 7, and a guide display as to whether or not to correct the format is displayed (see FIG. 9F). Here, when the contents of other format items are to be continuously corrected, the "NO" key is operated. Then, the process returns to step B4, and the format of the designated item is corrected in the same manner as described above. However, to end the format correction, the "YES" key is operated. FIG. 9G shows a display screen after operating the “YES” key. In addition, on the display screens of FIGS.
For each area in which "high income" and "high height" are entered, the typeface is changed from Mincho to round Gothic. As described above, in this embodiment, each time an area copy is performed, the copy source area and the copy destination area are grouped in association with each other, and the format data of the copy source area is corrected later. Then, the format data of each copy destination area is collectively corrected to the same format as the copy source. This is the same when the format data of a certain copy destination area is corrected, and the format data of the area source and other copy destination areas are collectively corrected based on this format correction. In other words, by grouping the areas having a copy source / copy destination relationship, if the format data of any of the areas belonging to the group is corrected later, all of the other areas belonging to the same group are modified. Batch correction of the format data is performed for the area of. In the above-described embodiment, the case where the contents of the copy source area are copied to two places is taken as an example. However, after partially modifying the document contents of a certain copy destination area, this area is copied to the copy source area. May be copied to another area.
That is, even if area copying is performed hierarchically, the same group number is added to all areas, so that each area copied hierarchically can be handled as the same group. In the above embodiment, the copy source and the copy destination are automatically grouped each time the area copy is performed.
When correcting the area format, the correction target areas may be designated by using a keyboard or the like and grouped. According to the present invention, in a data area in which data contents and formats are assigned to a plurality of positions in a document, an operation of correcting the data contents of an arbitrary data area is performed. In this case, the data content of a part of the data area in the document can be corrected, and when the format of any data area in the document is corrected, the format of the data area is corrected in accordance with the corrected content. At the same time, the format of each of the other data areas in which the same group identification information as the group identification information set for the data area is set can be collectively corrected to a format according to the content of the correction. It is possible to easily correct the data content of a set and to correct the format of a plurality of data areas specified as a group.

【図面の簡単な説明】 【図1】実施例に係るワードプロセッサのブロック構成
図。 【図2】テキストメモリ7−1内の領域位置データおよ
び実データにおけるデータフォーマットを説明するため
の図であり、(A)はテキストメモリの内容にしたがっ
て表示された表示画面、(B)はテキストメモリ内の領
域位置データおよび実データを具体的に示した図。 【図3】領域複写を行う場合の動作を示したフローチャ
ート。 【図4】領域複写の処理過程に応じて変遷する表示画面
を具体的に示した図。 【図5】領域複写後におけるテキストメモリ7−1内の
領域位置データおよび実データを示した図。 【図6】領域複写後において各複写先領域内の文書の一
部をそれぞれ修正した場合における表示画面およびテキ
ストメモリ7−1内の実データを示した図。 【図7】領域書式を修正する場合の動作を示したフロー
チャート。 【図8】図7のステップA6(書式一括修正処理)を詳
細に示したフローチャート。 【図9】領域書式を修正する処理過程において変遷する
表示画面を具体的に示した図。 【図10】領域書式を一括修正した場合におけるテキス
トメモリ7−1内の領域位置データと実データを示した
図。 【符号の説明】 1 入力部 2 入力制御部 3 CPU 4 プログラムメモリ 7 RAM 7−1 テキストメモリ
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram of a word processor according to an embodiment. FIGS. 2A and 2B are diagrams for explaining a data format of area position data and actual data in a text memory 7-1, wherein FIG. 2A is a display screen displayed according to the contents of a text memory, and FIG. FIG. 3 is a diagram specifically showing area position data and actual data in a memory. FIG. 3 is a flowchart illustrating an operation when performing area copying. FIG. 4 is a diagram specifically showing a display screen that changes according to a process of area copying. FIG. 5 is a diagram showing area position data and actual data in a text memory 7-1 after area copying. FIG. 6 is a diagram showing a display screen and actual data in a text memory 7-1 when a part of a document in each copy destination area is corrected after area copy. FIG. 7 is a flowchart showing an operation when correcting an area format. FIG. 8 is a flowchart showing step A6 (format batch correction processing) of FIG. 7 in detail. FIG. 9 is a diagram specifically showing a display screen which changes in a process of correcting an area format. FIG. 10 is a diagram showing area position data and actual data in a text memory 7-1 when an area format is collectively corrected. [Description of Signs] 1 Input unit 2 Input control unit 3 CPU 4 Program memory 7 RAM 7-1 Text memory

Claims (1)

(57)【特許請求の範囲】 【請求項1】それぞれのデータ内容、それぞれの書式が
割り当てられたデータ領域が文書内の複数の位置に割り
付けられた文書処理装置であって、 前記文書内の任意のデータ領域の複写操作により、前記
文書内の任意位置に同一データ内容で同一書式のデータ
領域を複写生成すると共に、当該複写元及び複写先の対
象となった各データ領域に対して同一のグループ識別情
報を設定する設定手段と、前記文書内の任意のデータ領域に対するデータ内容の修
正操作が行われた際は、その修正内容に従って当該デー
タ領域のデータ内容を修正する第 1 修正手段と、 前記文書内の任意のデータ領域に対する書式の修正操作
が行われた際は、その修正内容に従って当該データ領域
の書式を修正すると共に、当該データ領域に対して設定
されたグループ識別情報と同一のグループ識別情報が設
定された他のデータ領域を前記文書内から検索し、その
検索された各データ領域の書式を前記修正内容にあわせ
た書式に修正する第2修正手段と、 を具備したことを特徴とする文書処理装置
(57) [Claims] [Claim 1] Each data content and each format are
The allocated data area is assigned to multiple locations in the document.
A document processing apparatus, wherein a data area of the same format with the same data content is copied and generated at an arbitrary position in the document by a copy operation of an arbitrary data area in the document, and the copy source and the copy source are copied. Setting means for setting the same group identification information for each of the target data areas; and modification of data contents for an arbitrary data area in the document.
When a correct operation is performed, the data
First correcting means for correcting the data content of the data area, and when a format correcting operation is performed on an arbitrary data area in the document, the format of the data area is corrected according to the corrected content, and the data Another data area in which the same group identification information as the group identification information set for the area is set is searched from the document, and the format of each searched data area is changed to a format according to the correction content. A document processing apparatus , comprising: a second correction unit that corrects a document .
JP16747094A 1994-06-28 1994-06-28 Document processing device Expired - Fee Related JP3528249B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16747094A JP3528249B2 (en) 1994-06-28 1994-06-28 Document processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16747094A JP3528249B2 (en) 1994-06-28 1994-06-28 Document processing device

Publications (2)

Publication Number Publication Date
JPH0816557A JPH0816557A (en) 1996-01-19
JP3528249B2 true JP3528249B2 (en) 2004-05-17

Family

ID=15850278

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16747094A Expired - Fee Related JP3528249B2 (en) 1994-06-28 1994-06-28 Document processing device

Country Status (1)

Country Link
JP (1) JP3528249B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1202206A3 (en) 2000-10-24 2004-01-21 International Business Machines Corporation Method and system in an electronic spreadsheet for persistently self-replicating multiple ranges of cells through a copy-paste operation

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60167059A (en) * 1984-02-10 1985-08-30 Hitachi Ltd System for using chart and data in document
JPH05189424A (en) * 1991-11-11 1993-07-30 Sanyo Electric Co Ltd Device and method for editing document
JPH0696076A (en) * 1992-09-10 1994-04-08 Toshiba Corp Document preparation supporting device
JPH0696077A (en) * 1992-09-14 1994-04-08 Omron Corp Shared processing system for data and processor for its data

Also Published As

Publication number Publication date
JPH0816557A (en) 1996-01-19

Similar Documents

Publication Publication Date Title
JP3528249B2 (en) Document processing device
JPH08329004A (en) Method for improving terminal operability of application program use
JP3064323B2 (en) Character string replacement device with attributes
JPH0635987A (en) Device and mehtod for preparing circuit diagram
JP2561000B2 (en) String output method
JP2560999B2 (en) String output method
JPS60167059A (en) System for using chart and data in document
JPH07271548A (en) Character string input method
JP2520934B2 (en) Data processing device
JP2821002B2 (en) Character processing device and character processing method
JP2572441B2 (en) Form-specific figure creation device
JP2757367B2 (en) Character processor
JPH03182924A (en) Data input device
JP3342028B2 (en) Kana-Kanji conversion device
JP3404770B2 (en) Document processing device
JPH03271868A (en) Documentation device
JPH0512267A (en) Automatic paragraphing system
JPH02100131A (en) Computer program changing device
JPH11119879A (en) Information processor, and definition method
JPH11316792A (en) Information processor and slip creating method
JPH02100130A (en) Computer program generating device
JPS62271015A (en) Document editing device
JPH05314103A (en) Document processing device and its area connection sequence deciding method
JPH02304671A (en) Document processor
JPH07200562A (en) Document format setting method

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040203

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040216

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090305

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100305

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110305

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110305

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120305

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130305

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130305

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140305

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees