JPH06236369A - Word processor and replacing method for page - Google Patents

Word processor and replacing method for page

Info

Publication number
JPH06236369A
JPH06236369A JP5020903A JP2090393A JPH06236369A JP H06236369 A JPH06236369 A JP H06236369A JP 5020903 A JP5020903 A JP 5020903A JP 2090393 A JP2090393 A JP 2090393A JP H06236369 A JPH06236369 A JP H06236369A
Authority
JP
Japan
Prior art keywords
page
document
pages
replacement
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.)
Pending
Application number
JP5020903A
Other languages
Japanese (ja)
Inventor
Shigeyuki Matsui
重行 松井
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
Toshiba 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 filed Critical Toshiba Corp
Priority to JP5020903A priority Critical patent/JPH06236369A/en
Publication of JPH06236369A publication Critical patent/JPH06236369A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide the document creation device and page replacing method which replace pages through easy operation without spoiling images of pages after replacement. CONSTITUTION:When a page replacement check part 22 decides that a replacement page selected by a page selection part 21 can be replaced, the replacement page is stored in a page number storage part 23. Then a page saving part 24 stores the contents of one page of the replacement page in a page saving storage part 25. Then a page movement part 26 after moving the other page to the saved page part transfers the page contents stored in the saved page storage part 25 to the part where one page were present, thus replacing the pages.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は文書作成装置に係わり、
特に入力した文書のページを入れ替える方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document creating device,
Especially, it relates to a method of replacing pages of an input document.

【0002】[0002]

【従来の技術】従来、文書作成装置で作成した文書やフ
ロッピーディスク装置から呼び出した文書のページを入
れ替えるには、文書の移動機能等を用いて行っていた。
例えば、文書中の2ページと4ページを前記移動機能を
用いて入れ替える場合、まず2ページのデータを3ペー
ジの後に移動した後、4ページのデータを1ページの後
に移動していた。従って、文書移動機能を2回使わなけ
ればならず、手間がかかるという欠点があった。又、こ
の文書移動機能ではページ中に含まれる図形や外字等を
移動することができないため、ページ入れ替えを行うと
文書のイメージが崩れたり、他のページの文書部分に影
響が出たりする欠点があった。
2. Description of the Related Art Conventionally, a document moving function or the like has been used to replace a page of a document created by a document creating apparatus or a page called from a floppy disk apparatus.
For example, when pages 2 and 4 in a document are exchanged using the move function, first, the data of page 2 is moved after page 3, and then the data of page 4 is moved after page 1. Therefore, the document moving function must be used twice, which is troublesome. In addition, this document moving function cannot move figures, external characters, etc. included in a page, so that when pages are swapped, the image of the document may be destroyed or the document portion of another page may be affected. there were.

【0003】[0003]

【発明が解決しようとする課題】従来の文書作成装置に
て文書中のページの入れ替えを行うには、文書移動機能
等を用いて行うことができる。しかし、この文書移動機
能を用いてページの入れ替えを行うには何度も移動機能
を用いなければならず、操作が繁雑になるという欠点が
あると共に、図形等は移動できないため、ページ入れ替
え後に文書のイメージが崩れてしまうという欠点があっ
た。
In order to replace pages in a document with a conventional document creating apparatus, a document moving function or the like can be used. However, in order to change pages using this document move function, the move function must be used many times, which has the drawback of complicating operations, and because figures and the like cannot be moved, the document cannot be changed after page change. There was a drawback that the image of was destroyed.

【0004】そこで本発明は上記の欠点を除去し、入れ
替え後のページのイメージを壊すことなく、簡単な操作
でページの入れ替えを行うことができる文書作成装置及
びページの入れ替え方法を提供することを目的としてい
る。
Therefore, the present invention eliminates the above-mentioned drawbacks, and provides a document creation apparatus and a page replacement method that can replace pages by a simple operation without destroying the image of the pages after replacement. Has an aim.

【0005】[0005]

【課題を解決するための手段】本発明はページ単位で文
書を作成する文書作成装置において、ページ内の全デー
タを複数ページに亙って記憶する記憶手段と、入れ替え
るページa、bを指定する指定手段と、この指定手段に
より指定されたaページの全データを前記記憶手段から
読み出して一旦保存する退避手段と、前記記憶手段内の
前記指定手段により指定されたbページの全データを同
記憶手段内の前記aページのエリアに移動した後、前記
退避手段内に保存されている全データを前記bページの
エリアに転送する頁移動手段とを具備した構成を有す
る。
According to the present invention, in a document creating apparatus for creating a document on a page-by-page basis, a storage means for storing all data in a page over a plurality of pages and pages a and b to be replaced are designated. All the data of page a designated by the designating means and the saving means for reading out all the data of the page a designated by the designating means from the storage means and temporarily storing the same are stored. After moving to the area of page a in the means, page moving means for transferring all the data stored in the saving means to the area of page b is provided.

【0006】[0006]

【作用】本発明の文書作成装置において、記憶手段はペ
ージ内の全データを複数ページに亙って記憶する。指定
手段は入れ替えるページa、bを指定する。退避手段は
前記指定手段により指定されたaページの全データを前
記記憶手段から読み出して一旦保存する。頁移動手段は
前記記憶手段内の前記指定手段により指定されたbペー
ジの全データを同記憶手段内の前記aページのエリアに
移動した後、前記退避手段内に保存されている全データ
を前記bページのエリアに転送する。これにより、オペ
レータは指定手段を用いて入れ替えるページa、bのみ
を指定すれば、後は自動的に前記a、bページの全内容
が入れ替えられる。
In the document creating apparatus of the present invention, the storage means stores all the data in a page over a plurality of pages. The designation means designates pages a and b to be replaced. The evacuation means reads out all the data of the page a designated by the designation means from the storage means and temporarily stores it. The page moving means moves all the data of the page b designated by the designating means in the storage means to the area of the page a in the storage means, and then restores all the data stored in the saving means. Transfer to the area of page b. As a result, if the operator uses the specifying means to specify only the pages a and b to be replaced, then the entire contents of the pages a and b are automatically replaced.

【0007】[0007]

【実施例】以下、本発明の一実施例を図面を参照して説
明する。図1は本発明の文書作成装置の一実施例を示し
たブロック図である。1は文書や各種機能指令等をオペ
レータが入力するキーボード等の入力装置、2は文書の
作成や編集を行う制御装置、3はかな漢字変換等に使用
する辞書部、4は作成した文書データが格納される文書
バッファ、5は文書や図形等を表示するCRTやLCD
等の表示装置である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a document creating apparatus of the present invention. Reference numeral 1 is an input device such as a keyboard through which an operator inputs a document or various function commands, 2 is a control device for creating or editing a document, 3 is a dictionary unit used for kana-kanji conversion, and 4 is a stored document data Document buffer to be displayed, 5 is a CRT or LCD for displaying documents, figures, etc.
Etc. is a display device.

【0008】図2は図1に示した制御装置2内に構築さ
れているページ入れ替え機能の一実施例を示したブロッ
ク図である。21は入れ替えを行うページを選択する頁
選択部、22は入れ替え対象ページの内容をチェックし
てページの入れ替えができるかどうかを判定する頁入替
えチェック部、23は入れ替えるページのページ番号を
保存する頁番号記憶部、24は入れ替え対象の片方のペ
ージ全体の文書を退避させる頁退避部、25は退避した
ページの内容を保存する退避頁記憶部、26はページの
移動を行う頁移動部である。これら各機能ブロックはソ
フトウエアで構築されるが、頁退避記憶部25は図1に
示した制御装置2内にあるワーキングメモリの一部の領
域を用いて構成されるものとする。
FIG. 2 is a block diagram showing an embodiment of a page swapping function built in the control device 2 shown in FIG. Reference numeral 21 is a page selection section for selecting a page to be replaced, 22 is a page replacement check section for checking whether the pages to be replaced can be replaced, and 23 is a page for storing the page number of the page to be replaced. A number storage unit, 24 is a page saving unit for saving the document of one whole page to be replaced, 25 is a save page storage unit for saving the contents of the saved page, and 26 is a page moving unit for moving pages. Each of these functional blocks is constructed by software, but the page save storage unit 25 is assumed to be constructed by using a partial area of the working memory in the control device 2 shown in FIG.

【0009】次に本実施例の動作について説明する。図
1に示した文書作成装置で文書を作成すると、作成され
た文書は文書バッファ4に格納されると共に、前記文書
データの一部が表示装置5の画面に表示される。尚、表
示装置5の画面上の文書はスクロールされるようになっ
ている。利用者は表示装置5の画面上の文書のページを
入れ替えたい場合、入力装置1を操作して制御装置2に
入れ替えたいページ番号a、bを入力する。この情報は
図2に示した頁選択部21により図3のステップ301
にて受け付けられ、この入れ替えるページ番号が頁入替
えチェック部22に渡される。これにより、頁入替えチ
ェック部22は図3のステップ302にて選択された入
れ替えページの内容を文書バッファ4をアクセスしてチ
ェックし、両ページが入れ替えられるか否かを判定し、
入れ替えられない場合は表示装置5にエラー表示を出し
て処理を終了し、入れ替えられる場合はこれを頁選択部
21に知らせる。この知らせを受け取ると、頁選択部2
1は入れ替えページ番号a、bを頁番号記憶部23に出
力する。頁番号記憶部23は頁選択部21から渡された
入れ替えページ番号を記憶する。
Next, the operation of this embodiment will be described. When a document is created by the document creating apparatus shown in FIG. 1, the created document is stored in the document buffer 4 and a part of the document data is displayed on the screen of the display device 5. The document on the screen of the display device 5 is scrolled. When the user wants to replace the pages of the document on the screen of the display device 5, he / she operates the input device 1 and inputs the page numbers a and b to be replaced in the control device 2. This information is sent by the page selection unit 21 shown in FIG. 2 to step 301 in FIG.
The page number to be replaced is passed to the page replacement check unit 22. As a result, the page replacement check unit 22 accesses the document buffer 4 to check the content of the replacement page selected in step 302 of FIG. 3, and determines whether both pages are replaced.
If the replacement is not possible, an error display is displayed on the display device 5 and the processing is terminated. If the replacement is possible, this is notified to the page selection unit 21. When this information is received, page selection unit 2
1 outputs the replacement page numbers a and b to the page number storage unit 23. The page number storage unit 23 stores the replacement page number passed from the page selection unit 21.

【0010】頁退避部24はステップ304にて頁記憶
部23に記憶されている入れ替えページaの全データを
文書バッファ4から全て読み出して、この読み出したペ
ージ内容を退避頁記憶部25に記憶する。頁移動部26
は頁番号記憶部23に記憶されている残りのページbの
全データに文書バッファ4中でアクセスし、この全デー
タを前記退避したページaのデータがあった部分に移動
した後、次にステップ305にて退避頁記憶部25に退
避してあるページaの全データをページbのデータがあ
った部分に格納して処理を終了する。尚、頁入替えチェ
ック部22は入れ替えページが同じ大きさでないような
場合、入れ替え不能と判定する。
The page save unit 24 reads all the data of the replacement page a stored in the page storage unit 23 from the document buffer 4 in step 304, and stores the read page contents in the saved page storage unit 25. . Page moving unit 26
Accesses all the data of the remaining page b stored in the page number storage unit 23 in the document buffer 4 and moves all the data to the portion where the data of the saved page a exists, and then the next step At 305, all the data of page a saved in the save page storage unit 25 is stored in the portion where the data of page b existed, and the process ends. The page replacement check unit 22 determines that the pages cannot be replaced when the replacement pages are not the same size.

【0011】図4は図1に示した文書バッファ4内に格
納されている文書データの一例を示した図である。図4
(A)の文書の例えば1ページ目と4ページ目を入れ替
えたい場合、利用者は入力装置1から1ページと4ペー
ジを入れ替える指示を制御装置2に入力する。これによ
り、図2の頁選択部21は入れ替えページとして図4
(A)の1ページと4ページを選択する。その後、これ
らのページが入れ替え可能であることが頁入替えチェッ
ク部22により判定されると、頁退避装置24は例え
ば、図4(A)の1ページ目の内容を全て読みだして、
頁退避記憶部25に一旦保存する。次に頁移動部26は
図4(A)の4ページ目の全ての内容を一旦文書バッフ
ァから読み出して、これを同文書バッファの1ページ目
の部分に移動した後、今度は退避頁記憶装置25に格納
されている全内容を文書バッファ4の4ページ目の部分
に転送することにより、文書バッファ4の内容は図4
(B)に示すように変更され、結局1ページ目と4ペー
ジ目が入れ替わった状態になる。この場合、頁移動部2
6は入れ替えるページの文字は勿論、外字及び図形等も
全て入れ替えることができるようになっている。
FIG. 4 is a diagram showing an example of document data stored in the document buffer 4 shown in FIG. Figure 4
When, for example, the first page and the fourth page of the document (A) are to be replaced, the user inputs an instruction to replace the first page and the fourth page from the input device 1 to the control device 2. As a result, the page selection unit 21 of FIG.
Select pages 1 and 4 of (A). After that, when the page replacement check unit 22 determines that these pages can be replaced, the page saving device 24 reads all the contents of the first page of FIG.
It is temporarily stored in the page save storage unit 25. Next, the page moving unit 26 once reads all the contents of the fourth page of FIG. 4A from the document buffer, moves this to the first page portion of the document buffer, and then saves the page storage device. By transferring all the contents stored in 25 to the portion of the fourth page of the document buffer 4,
The change is made as shown in (B), and eventually the first page and the fourth page are switched. In this case, the page moving unit 2
No. 6 can replace not only the characters on the page to be replaced but also the external characters and figures.

【0012】本実施例によれば、利用者は入力装置1か
ら入れ替えを行うページ番号を入力するだけで、後は装
置が自動的に前記指定されたページ番号のページ内容を
入れ替えることができるため、ページ入れ替え操作を著
しく簡単化することができる。又、前記ページの入れ替
え時に文字データは勿論、そのページにある図形及び外
字等の全てのデータが入れ替えられるようにソフトウェ
アが組んであるため、前記ページ入れ替えにより文書の
イメージが壊れることを防止でき、ページの入れ替えを
完全な形で行うことができる。
According to this embodiment, the user can input the page number to be replaced from the input device 1, and the device can automatically replace the page contents of the specified page number after that. The page swapping operation can be remarkably simplified. In addition, when the page is replaced, not only the character data but also the software such that all the data such as figures and external characters on the page can be replaced, so it is possible to prevent the document image from being broken by the page replacement. You can replace pages completely.

【0013】[0013]

【発明の効果】以上記述した如く本発明の文書作成装置
及びページの入れ替え方法によれば、入れ替え後のペー
ジのイメージを壊すことなく、簡単な操作でページの入
れ替えを行うことができる。
As described above, according to the document creation apparatus and page replacement method of the present invention, pages can be replaced by a simple operation without destroying the image of the page after replacement.

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

【図1】本発明の文書作成装置の一実施例を示したブロ
ック図。
FIG. 1 is a block diagram showing an embodiment of a document creation device of the present invention.

【図2】図1に示した制御装置内に構築されるページ入
れ替え機能の一実施例を示したブロック図。
FIG. 2 is a block diagram showing an embodiment of a page replacement function built in the control device shown in FIG.

【図3】図2に示したページ入れ替え機能の動作を示し
たフローチャート。
FIG. 3 is a flowchart showing the operation of the page swapping function shown in FIG.

【図4】図1に示した文書バッファ内に格納される文書
例を示した図。
FIG. 4 is a diagram showing an example of a document stored in the document buffer shown in FIG.

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

1…入力装置 2…制御装置 3…辞書 4…文書バッファ 5…表示装置 21…頁選択部 22…頁入替えチェック部 23…頁番号記憶
部 24…頁退避部 25…退避頁記憶
部 26…頁移動部
DESCRIPTION OF SYMBOLS 1 ... Input device 2 ... Control device 3 ... Dictionary 4 ... Document buffer 5 ... Display device 21 ... Page selection unit 22 ... Page replacement check unit 23 ... Page number storage unit 24 ... Page save unit 25 ... Save page storage unit 26 ... Page Moving part

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 ページ単位で文書を作成する文書作成装
置において、ページ内の全データを複数ページに亙って
記憶する記憶手段と、入れ替えるページa、bを指定す
る指定手段と、この指定手段により指定されたaページ
の全データを前記記憶手段から読み出して一旦保存する
退避手段と、前記記憶手段内の前記指定手段により指定
されたbページの全データを同記憶手段内の前記aペー
ジのエリアに移動した後、前記退避手段内に保存されて
いる全データを前記bページのエリアに転送する頁移動
手段とを具備したことを特徴とする文書作成装置。
1. A document creating apparatus for creating a document page by page, a storage unit for storing all data in a page over a plurality of pages, a specifying unit for specifying pages a and b to be replaced, and a specifying unit. The saving means for reading out all the data of the page a designated by the above from the storage means and temporarily storing it, and the all the data for the page b designated by the designating means in the storage means of the a page in the storage means. A document creating apparatus comprising: a page moving unit that transfers all data stored in the saving unit to the area of the page b after moving to the area.
【請求項2】 ページ単位で文書を作成する文書作成装
置において、オペレータにより入れ替えるページa、b
が指定されると、作成文書中のaページにある全データ
をbページに移動し、bページにある全データを前記a
ページに移動してページの入れ替えを行うことを特徴と
するページの入れ替え方法。
2. A document creating apparatus for creating a document in page units, pages a and b to be replaced by an operator.
Is specified, all the data on page a in the created document is moved to page b, and all the data on page b is moved to the a.
A page replacement method characterized by moving to a page and replacing the page.
JP5020903A 1993-02-09 1993-02-09 Word processor and replacing method for page Pending JPH06236369A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5020903A JPH06236369A (en) 1993-02-09 1993-02-09 Word processor and replacing method for page

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5020903A JPH06236369A (en) 1993-02-09 1993-02-09 Word processor and replacing method for page

Publications (1)

Publication Number Publication Date
JPH06236369A true JPH06236369A (en) 1994-08-23

Family

ID=12040195

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5020903A Pending JPH06236369A (en) 1993-02-09 1993-02-09 Word processor and replacing method for page

Country Status (1)

Country Link
JP (1) JPH06236369A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8970854B2 (en) 2008-06-23 2015-03-03 Fuji Xerox Co., Ltd. Document management system, document management apparatus, computer-readable medium and computer data signal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8970854B2 (en) 2008-06-23 2015-03-03 Fuji Xerox Co., Ltd. Document management system, document management apparatus, computer-readable medium and computer data signal

Similar Documents

Publication Publication Date Title
JPH0541997B2 (en)
JPH06236369A (en) Word processor and replacing method for page
JPH07262207A (en) Image data filing method, image data registering method, image data retrieving method and the device
JPH09245032A (en) Document preparation device and page replacing method
JPH0326421B2 (en)
JPH07152356A (en) Display controller
JPH0245218B2 (en)
JP2816003B2 (en) Document creation device
JP2816004B2 (en) Document creation device
JPS6151264A (en) Document processing device
JPS63250687A (en) Document data editing apparatus
JPH05210672A (en) Word processor
JPH0546155A (en) Ruled-line setting mechanism of information processor
JPS6359654A (en) Picture processor
JPH0277877A (en) Document preparing device
JP2001142880A (en) Document management device, method therefor, and storage medium
JPH04118743A (en) Document preparing device
JPH0540466A (en) Information processor
JPH03158926A (en) Information terminal equipment
JPH04205654A (en) Image retrieval device
JPH03288961A (en) Document data processor
JPS63103373A (en) Document producing device
JPH06180662A (en) Electronic filing device
JPH0581392A (en) Graphic moving and copying method
JPH046993B2 (en)