JP2978697B2 - Word processor page division method - Google Patents
Word processor page division methodInfo
- Publication number
- JP2978697B2 JP2978697B2 JP27904293A JP27904293A JP2978697B2 JP 2978697 B2 JP2978697 B2 JP 2978697B2 JP 27904293 A JP27904293 A JP 27904293A JP 27904293 A JP27904293 A JP 27904293A JP 2978697 B2 JP2978697 B2 JP 2978697B2
- Authority
- JP
- Japan
- Prior art keywords
- document
- page
- division
- pointer
- header
- 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
Links
- 238000000034 method Methods 0.000 title claims description 17
- 238000003780 insertion Methods 0.000 claims description 30
- 230000037431 insertion Effects 0.000 claims description 30
- 230000003936 working memory Effects 0.000 description 12
- 238000012217 deletion Methods 0.000 description 7
- 230000037430 deletion Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 7
- 230000015654 memory Effects 0.000 description 3
- 239000002699 waste material Substances 0.000 description 1
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Complex Calculations (AREA)
- Document Processing Apparatus (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明はワードプロセッサのペー
ジ分割方式に関し、特に同一のフォーマットを有する複
数のページからなる文書の作成および編集を行うワード
プロセッサのページ分割方式に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a word processor page division system, and more particularly to a word processor page division system for creating and editing a document composed of a plurality of pages having the same format.
【0002】[0002]
【従来の技術】従来のワードプロセッサは、文書の1ペ
ージ当たりの行数(1ページ行数),1行当たりの文字
数(1行文字数)等の文書のページのフォーマット情報
をもっており、文書の作成および編集の過程で行,文字
等の入力がフォーマット情報として持っている1ページ
行数および1行文字数を1文字でも超えてしまうと、そ
の超えてしまった文字から自動的に改頁および改行を行
うようになっていた。2. Description of the Related Art A conventional word processor has document page format information such as the number of lines per page of a document (the number of lines per page) and the number of characters per line (the number of characters per line). If the input of lines, characters, and the like exceeds the number of lines per page and the number of characters per line in the editing process by one character, page breaks and line feeds are automatically started from the exceeded characters. It was like.
【0003】同様に、文書の作成および編集の過程で、
あるページのある行を削除した場合には、その削除され
た行数分だけ次ページの文書データが前ページに自動的
に繰り上がるようになっていた。Similarly, in the process of creating and editing a document,
When a certain line of a certain page is deleted, the document data of the next page is automatically moved up to the previous page by the number of deleted lines.
【0004】[0004]
【発明が解決しようとする課題】上述した従来のワード
プロセッサでは、作成および編集を行っている文書のあ
るページのある部分に行,文字等を挿入したとき、ある
いはあるページのある部分の行,文字等を削除したとき
に、その挿入または削除部分に相当する行,文字等にず
れが生じていたので、例えばページが見出し部と明細部
とに分かれて構成されているような場合に、ページの見
掛け上の構成が壊れてしまい、使用者は文書すべてを編
集し直すか、行,文字等の挿入または削除部分がページ
内に入るように考えながらページ内の行,文字等を移動
させるなどしてページの中に収まるように手動で対応し
なければならなくなり、編集に無駄な時間がとられてし
まうという問題点があった。In the conventional word processor described above, when a line or a character is inserted into a certain portion of a certain page of a document being created or edited, or when a line or a character is inserted into a certain portion of a certain page. When a page is divided into a heading part and a description part, for example, a line or a character corresponding to the inserted or deleted part is misaligned. The apparent structure is broken, and the user must re-edit the entire document, or move the lines, characters, etc. in the page while considering insertion or deletion of lines, characters, etc. into the page. This means that you have to deal with it manually so that it fits within the page, which is a waste of time for editing.
【0005】本発明の目的は、上述の点に鑑み、ページ
内に分割部という見えない枠を指定することによって文
書に挿入,削除等の編集を行っても分割部ごとに挿入お
よび削除処理が行われて、ページの見掛け上の構成が壊
れることがないようにしたワードプロセッサのページ分
割方式を提供することにある。SUMMARY OF THE INVENTION In view of the foregoing, it is an object of the present invention to specify an invisible frame called a division in a page so that insertion and deletion processing is performed for each division even when editing such as insertion and deletion is performed on a document. It is an object of the present invention to provide a page division method of a word processor in which the apparent structure of a page is not broken.
【0006】なお、1つの集合体単位でフォーマットを
設定し、設定されたフォーマットを他の集合体に適応さ
せて再配置させるワードプロセッサが知られているが
(特開昭64−81070号公報参照)、このワードプ
ロセッサは、印字フォーマットを適応させるためのもの
であり、本願発明のように、挿入,削除等の編集時にペ
ージの構成が壊れることを防ぐためのものではない。[0006] A word processor is known in which a format is set in units of one aggregate, and the set format is adapted and rearranged in another aggregate (see Japanese Patent Application Laid-Open No. 64-81070). This word processor is for adapting a print format, and is not for preventing a page structure from being broken at the time of editing such as insertion and deletion as in the present invention.
【0007】[0007]
【課題を解決するための手段】 本発明のワードプロセ
ッサのページ分割方式は、同一のフォーマットを有する
複数のページからなる文書の作成および編集を行うワー
ドプロセッサにおいて、文書のページのフォーマット情
報を格納するフォーマット管理ファイルと、文書のペー
ジの複数の分割部にそれぞれ対応する複数の分割情報部
からなる文書情報が格納され、前記複数の分割情報部の
それぞれが、先頭ページポインタと次分割部ポインタと
を含む分割部ヘッダと、複数のページ分の情報とを有
し、さらに、前記複数のページ分の情報のそれぞれは、
ページポインタと次ページポインタとを含むページヘッ
ダと、該ページの文書データ部とから構成されている文
書ファイルと、前記フォーマット管理ファイルに文書の
ページのフォーマット情報を設定する文書フォーマット
設定手段と、前記文書ファイルに文書のページの分割情
報を設定するページ分割手段と、文書の編集位置情報が
入力されると、前記文書ファイルの分割部ヘッダに含ま
れる次分割部ポインタを用いて編集位置情報がどの分割
部に含まれるかを判断するとともに、前記文書ファイル
の分割部ヘッダに含まれる先頭ページポインタとページ
ヘッダに含まれるページポインタとを用いて編集位置情
報がどのページに含まれるかを判断し、文書データの編
集をページの分割部ごとに行う文書編集手段と、前記フ
ォーマット管理ファイルおよび前記文書ファイルを参照
して分割部の文書データをページに編集して出力装置に
出力する分割部編集手段とを有する。According to a page division method of a word processor of the present invention, in a word processor for creating and editing a document including a plurality of pages having the same format, format management for storing format information of a page of the document is performed. Files and document pages
Multiple division information sections respectively corresponding to multiple division sections of a page
From consisting document information is stored, of the plurality of divided information part
Each has a first page pointer, a next division pointer,
And the information for multiple pages.
And further, each of the information for the plurality of pages is:
The page header containing the page pointer and the next page pointer
And a document file comprising a document data portion of the page, document format setting means for setting format information of the page of the document in the format management file, and division information of the page of the document in the document file. The page division means to be set and the document editing position information
When input, it is included in the header of the division section of the document file.
The edit position information is divided using the next division pointer.
Part of the document file
Page pointer and page included in the division header of
Edit position information using the page pointer contained in the header
Document editing means for determining which page contains the report and editing the document data for each divided section of the page, and editing the document data of the divided section into pages by referring to the format management file and the document file And a dividing unit editing means for outputting the divided data to the output device.
【0008】[0008]
【実施例】次に、本発明について図面を参照して詳細に
説明する。Next, the present invention will be described in detail with reference to the drawings.
【0009】図1は、本発明の一実施例に係るワードプ
ロセッサのページ分割方式の構成を示すブロック図であ
る。本実施例のワードプロセッサのページ分割方式は、
文書フォーマット設定手段1と、ページ分割手段2と、
文書編集手段3と、分割部編集手段4と、フォーマット
管理ファイル5と、文書ファイル6と、作業用メモリ7
と、キーボード8と、ディスプレイ9と、プリンタ10
とから構成されている。FIG. 1 is a block diagram showing a configuration of a page division system of a word processor according to one embodiment of the present invention. The page division method of the word processor of this embodiment is as follows.
Document format setting means 1, page dividing means 2,
Document editing means 3, division section editing means 4, format management file 5, document file 6, work memory 7
, Keyboard 8, display 9, and printer 10
It is composed of
【0010】文書フォーマット設定手段1は、キーボー
ド8等から入力された文書のページのフォーマット情報
をフォーマット管理ファイル5に格納する。The document format setting means 1 stores the format information of the page of the document input from the keyboard 8 or the like in the format management file 5.
【0011】ページ分割手段2は、キーボード8等から
入力されたページの分割情報を文書ファイル6に格納す
る。The page division means 2 stores the page division information input from the keyboard 8 or the like in the document file 6.
【0012】文書編集手段3は、キーボード8等から入
力された文書データおよび文書編集コマンドに従ってフ
ォーマット管理ファイル5および文書ファイル6を参照
して文書ファイル6中に文書の作成および修正を分割部
ごとに行う。The document editing means 3 refers to the format management file 5 and the document file 6 in accordance with the document data and the document editing command input from the keyboard 8 or the like, and creates and modifies the document in the document file 6 for each division unit. Do.
【0013】分割部編集手段4は、フォーマット管理フ
ァイル5および文書ファイル6を参照して分割部の文書
データをページに編集し、ディスプレイ9,プリンタ1
0等の出力装置に出力する。The dividing unit editing means 4 edits the document data of the dividing unit into pages by referring to the format management file 5 and the document file 6, and displays the data on the display 9 and the printer 1.
Output to an output device such as 0.
【0014】図2を参照すると、フォーマット管理ファ
イル5には、文書番号と、1ページ行数と、1行文字数
と、用紙サイズと、用紙方向とからなるフォーマット情
報が格納される。Referring to FIG. 2, the format management file 5 stores format information including a document number, a number of lines per page, a number of characters per line, a paper size, and a paper direction.
【0015】図3を参照すると、文書ファイル6には、
文書ヘッダと、単数または複数の分割情報部とがチェイ
ンされてなる文書情報が格納される。文書ヘッダは、文
書番号,文書名および先頭分割部ポインタを格納する。
分割情報部は、分割部ヘッダと、単数または複数のペー
ジヘッダおよび文書データ部の組とから構成されてい
る。分割部ヘッダは、分割部番号,分割部開始行,分割
部開始列,分割部終了行,分割部終了列,先頭ページポ
インタおよび次分割部ポインタを格納する。なお、分割
部開始行,分割部開始列,分割部終了行および分割部終
了列は、ページ中の矩形領域を分割部として指定する値
であり、複数の矩形領域からなる分割部は複数組の分割
部開始行,分割部開始列,分割部終了行および分割部終
了列を格納する。ページヘッダは、ページポインタ,前
ページポインタおよび次ページポインタを格納する。文
書データ部は、1ページの当該分割部に格納される文書
データを格納する。Referring to FIG. 3, the document file 6 includes:
Document information in which a document header and one or a plurality of division information parts are chained is stored. The document header stores a document number, a document name, and a head division pointer.
The division information section is composed of a division section header and a set of one or more page headers and a document data section. The division section header stores the division section number, division section start row, division section start column, division section end row, division section end column, first page pointer, and next division section pointer. Note that the division part start row, division part start column, division part end row, and division part end column are values that designate a rectangular area in a page as a division part. The division unit start row, division unit start column, division unit end row, and division unit end column are stored. The page header stores a page pointer, a previous page pointer, and a next page pointer. The document data section stores document data stored in the division section of one page.
【0016】図4を参照すると、作業用メモリ7は、文
書データを行単位に一時的に格納するためのメモリであ
る。Referring to FIG. 4, a working memory 7 is a memory for temporarily storing document data in line units.
【0017】図5を参照すると、ページ分割手段2の分
割部設定処理は、分割部位置情報入力ステップ51と、
フォーマット管理ファイル読込みステップ52と、分割
部設定矛盾判定ステップ53と、文書ファイル読込みス
テップ54と、分割部重複チェックステップ55と、分
割情報登録ステップ56と、1ページ分割完了判定ステ
ップ57とからなる。Referring to FIG. 5, the division section setting process of the page division means 2 includes a division section position information input step 51,
It comprises a format management file reading step 52, a division part setting inconsistency determination step 53, a document file reading step 54, a division part duplication check step 55, a division information registration step 56, and a one-page division completion determination step 57.
【0018】図6および図7を参照すると、文書編集手
段3の行挿入処理は、編集対象分割部判断ステップ61
と、次ページポインタ取得ステップ62と、挿入処理対
象ページ判定ステップ63と、ページヘッダ読込みステ
ップ64と、ページヘッダおよび文書データ部読込みス
テップ65と、挿入位置行までの文書データ退避ステッ
プ66と、挿入行データ退避ステップ67と、挿入位置
行の次の行からの文書データ退避ステップ68と、次ペ
ージポインタ空判定ステップ69と、ページヘッダおよ
び文書データ部読込みステップ70と、文書データ退避
ステップ71と、挿入処理対象ページからの書込みステ
ップ72とからなる。Referring to FIG. 6 and FIG. 7, the line insertion processing of the document editing means 3 is performed by the edit target dividing unit determining step 61.
A next page pointer acquisition step 62, an insertion processing target page determination step 63, a page header reading step 64, a page header and document data part reading step 65, a document data saving step 66 up to the insertion position line, an insertion A line data saving step 67, a document data saving step 68 from the line next to the insertion position line, a next page pointer empty determination step 69, a page header and document data part reading step 70, a document data saving step 71, It consists of a writing step 72 from the page to be inserted.
【0019】図8は、本実施例のワードプロセッサのペ
ージ分割方式の動作を説明するための文書を例示する図
である。(a)および(b)は、行挿入前の文書を例示
し、(c)および(d)は行挿入後の文書を例示する。FIG. 8 is a view exemplifying a document for explaining the operation of the page division system of the word processor of this embodiment. (A) and (b) illustrate a document before row insertion, and (c) and (d) illustrate a document after row insertion.
【0020】次に、このように構成された本実施例のワ
ードプロセッサのページ分割方式の動作について説明す
る。Next, the operation of the page division system of the word processor according to the present embodiment thus configured will be described.
【0021】使用者が文書のページのフォーマット情報
を設定する場合には、文書フォーマット設定手段1を起
動し、キーボード8等を使用してフォーマット管理ファ
イル5内に文書番号,1ページ行数,1行文字数,用紙
サイズおよび用紙方向からなるフォーマット情報を設定
する。When the user sets the format information of the page of the document, the document format setting means 1 is started, and the document number, the number of lines per page, 1 Set the format information consisting of the number of line characters, paper size and paper direction.
【0022】使用者が文書のページ内に分割部を設定す
る場合には、ページ分割手段2を起動し、キーボード8
等を使用して文書ファイル6内に新たな分割部ヘッダを
設け、文書番号,分割部開始行,分割部開始列,分割部
終了行,分割部終了列,先頭ページポインタおよび次分
割部ポインタを設定する。When the user sets a division within a page of a document, the page division means 2 is activated and the keyboard 8
A new division header is provided in the document file 6 by using the document number, division section start row, division section start column, division section end row, division section end column, first page pointer, and next division section pointer. Set.
【0023】詳しくは、ページ分割手段2は、まず、分
割部として指定したい矩形領域の左上隅位置(分割部開
始行および分割部開始列)および右下隅位置(分割部終
了行および分割部終了列)を入力する(ステップ5
1)。More specifically, the page dividing means 2 firstly determines the upper left corner position (division part start row and division part start column) and the lower right corner position (division part end row and division part end column) of a rectangular area to be designated as a division part. ) (Step 5)
1).
【0024】次に、ページ分割手段2は、文書番号でフ
ォーマット管理ファイル5を読み込んで1ページ行数お
よび1行文字数を取得し(ステップ52)、分割部の位
置および大きさから分割部が1ページ内に納まるかどう
か等の分割部設定の矛盾の有無を判断する(ステップ5
3)。Next, the page dividing means 2 reads the format management file 5 based on the document number to obtain the number of lines per page and the number of characters per line (step 52). It is determined whether or not there is a contradiction in the setting of the division unit such as whether or not it fits within the page (step 5).
3).
【0025】フォーマットと分割部との間に矛盾がある
場合には、ページ分割手段2は、ステップ51に制御を
戻して分割部を再設定させる。フォーマットと分割部と
の間に矛盾がなければ、ページ分割手段2は、文書番号
で文書ファイル6を読み込んで(ステップ54)、今回
設定された分割部が他の分割部と重複しないかどうかを
判断する(ステップ55)。重複がある場合は、ページ
分割手段2は、ステップ51に制御を戻して分割部を再
設定させる。重複がなければ、ページ分割手段2は、文
書ファイル6内に新たな分割部ヘッダを設け、新たに設
けた分割部ヘッダに分割部の分割情報(分割部番号,分
割部開始行,分割部開始列,分割部終了行,分割部終了
列,先頭ページポインタおよび次分割部ポインタ)を登
録する(ステップ56)。If there is a contradiction between the format and the division, the page division means 2 returns control to step 51 to reset the division. If there is no inconsistency between the format and the division, the page division means 2 reads the document file 6 with the document number (step 54) and determines whether the division set this time does not overlap with another division. A decision is made (step 55). If there is an overlap, the page division means 2 returns the control to step 51 to reset the division. If there is no overlap, the page division means 2 provides a new division header in the document file 6 and divides the division information (division number, division start line, division start, The column, division section end row, division section end column, first page pointer, and next division section pointer are registered (step 56).
【0026】次に、ページ分割手段2は、1ページを全
て分割部に分割したかどうかを判断し(ステップ5
7)、1ページが全て分割部に分割されていなければス
テップ51に制御を戻して、分割部に指定されていない
部分がなくなるまで分割部の設定を繰り返し行わせ、1
ページが全て分割部に分割されれば、処理を終了する。Next, the page dividing means 2 determines whether or not one page has been completely divided into division sections (step 5).
7) If the entire page is not divided into divided sections, the control returns to step 51, and the setting of the divided sections is repeated until there is no portion not designated as a divided section.
If all pages have been divided into division sections, the process ends.
【0027】使用者が文書に行を挿入する場合には、文
書編集手段3を起動し、キーボード8等を使用して挿入
行データおよび挿入位置情報(挿入処理対象ページ,挿
入位置行,挿入位置列)を指定する。When a user inserts a line into a document, the document editing means 3 is activated, and the inserted line data and insertion position information (page to be inserted, insertion position line, insertion position Column).
【0028】文書編集手段3は、編集したい文書の文書
番号および挿入位置情報に基づいて文書ファイル6の分
割部ヘッダを検索し、文書ファイル6のどの分割部に挿
入を行うのかを判断する(ステップ61)。The document editing means 3 searches the divided section header of the document file 6 based on the document number and the insertion position information of the document to be edited, and determines which divided section of the document file 6 is to be inserted (step). 61).
【0029】次に、文書編集手段3は、判断した挿入処
理対象の分割部の分割部ヘッダを読み込んで先頭ページ
ポインタを次ページポインタとして取得する(ステップ
62)。Next, the document editing means 3 reads the divided section header of the determined divided section to be inserted and acquires the first page pointer as the next page pointer (step 62).
【0030】続いて、文書編集手段3は、取得した次ペ
ージポインタが挿入処理対象ページを指すかどうかを判
断し(ステップ63)、挿入処理対象ページを指してい
ない場合には、さらに次ページポインタが指す次のペー
ジのページヘッダを読み込んで(ステップ64)、挿入
処理対象ページを探す。Subsequently, the document editing means 3 determines whether or not the obtained next page pointer points to the page to be inserted (step 63). The page header of the next page pointed by is read (step 64), and a page to be inserted is searched for.
【0031】挿入処理対象ページが発見されたならば
(ステップ63でイエス)、文書編集手段3は、そのペ
ージのページヘッダおよび文書データ部を読み込み(ス
テップ65)、挿入処理対象ページの文書データ部の1
行目から挿入位置行までの文書データを作業用メモリ7
に退避する(ステップ66)。If the page to be inserted is found (YES in step 63), the document editing means 3 reads the page header and the document data section of the page (step 65), and reads the document data section of the page to be inserted. Of 1
The work memory 7 stores the document data from the line to the insertion position line.
(Step 66).
【0032】次に、文書編集手段3は、挿入行データを
作業用メモリ7の次の領域に続けて退避し(ステップ6
7)、挿入位置行の次の行からページの最終行までの文
書データを作業用メモリ7のさらに次の領域に続けて退
避する(ステップ68)。Next, the document editing means 3 saves the inserted line data continuously in the next area of the working memory 7 (step 6).
7) The document data from the line following the insertion position line to the last line of the page is evacuated to the next area of the working memory 7 continuously (step 68).
【0033】続いて、文書編集手段3は、ページヘッダ
の次ページポインタが空かどうかを判断し(ステップ6
9)、空でなければ次ページポインタで指されているペ
ージヘッダおよび文書データ部を読み込み(ステップ7
0)、文書データ部の文書データを作業用メモリ7の次
の領域に続けて退避して(ステップ71)、ステップ6
9に制御を戻す。Subsequently, the document editing means 3 determines whether the next page pointer of the page header is empty (step 6).
9) If not empty, read the page header and document data pointed to by the next page pointer (step 7)
0), the document data in the document data section is evacuated continuously to the next area of the working memory 7 (step 71), and step 6
Return control to 9.
【0034】ステップ69でページヘッダの次ページポ
インタが空であれば(ステップ69でイエス)、作業用
メモリ7に挿入処理対象ページから最終ページまでの文
書データが挿入行データを挿入された形で格納されたこ
とになるので、文書編集手段3は、作業用メモリ7の内
容を文書ファイル6の分割部ヘッダに従属する挿入処理
対象ページ以降の文書データ部に1ページ分ずつ書き込
んでページヘッダに各ポインタを設定した後に(ステッ
プ72)、処理を終了する。If the next page pointer of the page header is empty at step 69 (YES at step 69), the document data from the page to be inserted to the last page is inserted into the working memory 7 in a form in which the inserted line data is inserted. Since the document is stored, the document editing unit 3 writes the contents of the working memory 7 into the document data portion after the page to be subjected to the insertion process subordinate to the divided portion header of the document file 6 by one page, and writes the content in the page header. After setting each pointer (step 72), the process ends.
【0035】分割部編集手段4は、フォーマット管理フ
ァイル5および文書ファイル6を参照して分割部の文書
データを分割部ヘッダの分割部位置情報(分割部開始
行,分割部開始列,分割部終了行および分割部終了列)
に基づいてページに編集してディスプレイ9またはプリ
ンタ10に出力する。The dividing section editing means 4 refers to the format management file 5 and the document file 6 to convert the document data of the dividing section into division section position information (division section start line, division section start column, division section end) of the division section header. Row and end column of split part)
Is edited into a page on the basis of the above and output to the display 9 or the printer 10.
【0036】例えば、図8(a)および(b)に示すよ
うな見出し部および明細部からなるページのフォーマッ
トが、ページ分割手段2を用いて見出し部が第1分割
部、明細部が第2分割部として設定してあるとする。For example, as shown in FIGS. 8 (a) and 8 (b), the format of a page consisting of a heading part and a description part is such that the heading part is a first division part and the specification part is a second It is assumed that it is set as a division unit.
【0037】いま、使用者が、文書編集手段3を用い
て、1ページ目の”B〜B”の行と”C〜C”の行との
間に1行”ア〜ア”を挿入するとする。Now, when the user uses the document editing means 3 to insert one line “A-A” between the “B-B” line and the “C-C” line of the first page. I do.
【0038】まず、文書編集手段3は、挿入しようとす
る場所が第2分割部であることを判断し(ステップ6
1)、文書ファイル6の第2分割部の1ページ目の文書
データ部の”A〜A”の行および”B〜B”の行の文書
データを作業用メモリ7に退避する(ステップ66)。First, the document editing means 3 determines that the place to be inserted is the second division (step 6).
1) The document data of the rows “A to A” and the rows of “BB” in the document data part of the first page of the second division of the document file 6 are saved in the working memory 7 (step 66). .
【0039】次に、文書編集手段3は、挿入行データ”
ア〜ア”を作業用メモリ7に続けて退避する(ステップ
67)。Next, the document editing means 3 outputs the inserted line data "
(A) to (e) are continuously saved in the working memory 7 (step 67).
【0040】続いて、文書編集手段3は、残りの”C〜
C”の行および”D〜D”の行の文書データと2ページ
目以降の文書データとを作業用メモリ7に続けて退避す
る(ステップ68)。Subsequently, the document editing means 3 sends the remaining "C-
The document data of the row "C" and the rows "D-D" and the document data of the second and subsequent pages are saved in the working memory 7 continuously (step 68).
【0041】最後に、文書編集手段3は、作業用メモリ
7の最初から4行を第2分割部の文書データ部の1ペー
ジ目に書き込み、残りを2ページ目に書き込む。Finally, the document editing means 3 writes the first four lines of the working memory 7 on the first page of the document data section of the second division and writes the rest on the second page.
【0042】挿入の結果、図8(c)および(d)に示
すように、図8(a)および(b)において1ページ目
の第2分割部の最終行にあった”D〜D”の行が2ペー
ジ目の第2分割部の先頭行に挿入され、編集したい第2
分割部以外の第1分割部には影響を与えることなく挿入
処理が行われる。As a result of the insertion, as shown in FIGS. 8C and 8D, "D to D" in the last row of the second divided portion of the first page in FIGS. 8A and 8B. Is inserted into the first line of the second division on the second page, and the second
The insertion process is performed without affecting the first division unit other than the division unit.
【0043】なお、上記実施例の動作の説明では、文書
編集手段3の挿入処理を例にとって説明したが、削除処
理の場合にも同様に制御できることは明らかであろう。In the description of the operation of the above embodiment, the insertion process of the document editing means 3 has been described as an example, but it is apparent that the same control can be performed in the case of the deletion process.
【0044】また、見出し部と明細部とを分割部とする
複数のページからなる文書を例にとって説明したが、例
えば本文と脚注とを分割部とする複数のページからなる
文書等の他のページの見掛け上の構成を有する文書であ
っても、本発明が同様に適用できることはいうまでもな
い。Also, the description has been given by taking as an example a document including a plurality of pages in which a heading part and a detail part are divided, but other pages such as a document including a plurality of pages in which a text and a footnote are divided. It is needless to say that the present invention can be similarly applied to a document having the apparent configuration described above.
【0045】[0045]
【発明の効果】以上説明したように本発明は、文書ファ
イルに文書ヘッダと単数または複数の分割情報部とがチ
ェインされてなる文書情報を格納するとともに、文書フ
ァイルに文書のページの分割情報を設定するページ分割
手段,文書データの編集をページの分割部ごとに行う文
書編集手段および分割部の文書データをページに編集し
て出力する分割部編集手段とを設けるようにしたことに
より、見出し部と明細部等の分割部に分かれたフォーマ
ットのページからなる文書に対して挿入,削除等の編集
を行っても、その処理により各ページの見掛け上の構成
が壊れてしまうことがなくなり、使用者は編集に無駄な
時間がとられてしまうことがなくなるという効果があ
る。As described above, the present invention stores document information in which a document header and one or a plurality of division information sections are chained in a document file, and stores document page division information in a document file. By providing a page dividing means to be set, a document editing means for editing document data for each divided part of the page, and a dividing part editing means for editing and outputting document data of the divided part to a page, the heading part is provided. Even if editing such as insertion and deletion is performed on a document consisting of pages in a format divided into separate parts such as a document and a description part, the apparent structure of each page is not broken by the processing, and Has the effect that no unnecessary time is taken for editing.
【0045】また、これにより、挿入,削除等の編集の
たびに文書内のページの見掛け上の構成に気を配らなけ
ればならないという煩わしさもなくなるという効果があ
る。This also has the effect of eliminating the need to pay attention to the apparent configuration of pages in the document each time editing such as insertion or deletion is performed.
【図1】本発明の一実施例に係るワードプロセッサのペ
ージ分割方式の構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of a page division system of a word processor according to an embodiment of the present invention.
【図2】図1中のフォーマット管理ファイル内のフォー
マット情報を示す図である。FIG. 2 is a diagram showing format information in a format management file in FIG.
【図3】図1中の文書ファイル内の文書情報を示す図で
ある。FIG. 3 is a diagram showing document information in a document file in FIG. 1;
【図4】図1中の作業用メモリを示す図である。FIG. 4 is a diagram showing a working memory in FIG. 1;
【図5】図1中のページ分割手段の分割部設定処理を示
す図である。FIG. 5 is a diagram showing a division unit setting process of a page division unit in FIG. 1;
【図6】図1中の文書編集手段の行挿入処理の前半部を
示す流れ図である。FIG. 6 is a flowchart showing the first half of the line insertion process of the document editing means in FIG. 1;
【図7】図1中の文書編集手段の行挿入処理の後半部を
示す流れ図である。FIG. 7 is a flowchart showing the latter half of the line insertion process of the document editing means in FIG. 1;
【図8】本実施例のワードプロセッサのページ分割方式
の動作を説明するための文書を例示する図であり、
(a)および(b)は行挿入前の文書を例示し、(c)
および(d)は行挿入後の文書を例示している。FIG. 8 is a diagram exemplifying a document for explaining the operation of the page division system of the word processor according to the embodiment;
(A) and (b) illustrate the document before row insertion, and (c)
And (d) illustrate the document after row insertion.
1 文書フォーマット設定手段 2 ページ分割手段 3 文書編集手段 4 分割部編集手段 5 フォーマット管理ファイル 6 文書ファイル 7 作業用メモリ 8 キーボード 9 ディスプレイ 10 プリンタ DESCRIPTION OF SYMBOLS 1 Document format setting means 2 Page dividing means 3 Document editing means 4 Division editing means 5 Format management file 6 Document file 7 Working memory 8 Keyboard 9 Display 10 Printer
───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭59−168532(JP,A) 特開 平4−256064(JP,A) Newton別冊「ワードプロセッサ のすべて 最新版」(1983),教育社, p141 (58)調査した分野(Int.Cl.6,DB名) G06F 15/20 G06F 15/31 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-59-168532 (JP, A) JP-A-4-256064 (JP, A) Newton separate volume "All the latest versions of word processors" (1983), Kyoikusha, p141 (58) Field surveyed (Int.Cl. 6 , DB name) G06F 15/20 G06F 15/31
Claims (3)
ジからなる文書の作成および編集を行うワードプロセッ
サにおいて、 文書のページのフォーマット情報を格納するフォーマッ
ト管理ファイルと、文書番号と先頭分割部ポインタとを含む文書ヘッダ、お
よび、 文書のページの複数の分割部にそれぞれ対応する
複数の分割情報部からなる文書情報が格納され、前記複
数の分割情報部のそれぞれが、先頭ページポインタと次
分割部ポインタと分割部の位置情報とを含む分割部ヘッ
ダと、複数のページ分の情報とを有し、さらに、前記複
数のページ分の情報のそれぞれは、ページポインタと次
ページポインタとを含むページヘッダと、該ページの文
書データ部とから構成されている文書ファイルと、 前記フォーマット管理ファイルに文書のページのフォー
マット情報を設定する文書フォーマット設定手段と、 前記文書ファイルに文書のページの分割情報を設定する
ページ分割手段と、 文書の文書番号および挿入位置情報が入力されると、該
文書番号に対応する文書ファイルの文書ヘッダに含まれ
る先頭分割部ポインタ又は分割部ヘッダに含まれる次分
割部ポインタおよび分割部の位置情報を用いて挿入位置
情報がどの分割部に含まれるかを判断するとともに、前
記文書ファイルの分割部ヘッダに含まれる先頭ページポ
インタとページヘッダに含まれるページポインタとを用
いて挿入位置情報がどのページに含まれるかを判断し、
文書データの編集をページの分割部ごとに行う文書編集
手段と、 前記フォーマット管理ファイルおよび前記文書ファイル
を参照して分割部の文書データをページに編集して出力
装置に出力する分割部編集手段とを有することを特徴と
するワードプロセッサのページ分割方式。1. A word processor for creating and editing a document composed of a plurality of pages having the same format, comprising: a format management file for storing format information of a page of the document ; a document including a document number and a head division pointer. Header
And document information including a plurality of division information sections respectively corresponding to a plurality of division sections of a page of the document, wherein each of the plurality of division information sections includes a first page pointer, a next division pointer, and a position of the division section. And a page header including a page pointer and a next page pointer, and a document of the page. A document file configured from a data section; a document format setting unit configured to set format information of a document page in the format management file; a page division unit configured to set division information of a document page in the document file; When the document ID and the insertion position information of the document is input, the
Included in the document header of the document file corresponding to the document number
Using the first divided part pointer or the next divided part pointer included in the divided part header and the position information of the divided part, it is determined which divided part the insertion position information is included in, and included in the divided part header of the document file. Using the first page pointer and the page pointer included in the page header to determine which page the insertion position information is included in,
Document editing means for editing document data for each divisional section of a page; divisional section editing means for editing the document data of the divisional section into pages by referring to the format management file and the document file, and outputting the page to an output device; A page division system for a word processor, comprising:
開始列,分割部終了行および分割部終了列によって矩形
領域単位で指定される請求項1記載のワードプロセッサ
のページ分割方式。2. The page division system of a word processor according to claim 1 , wherein said position information is specified by a rectangular area unit by a division part start row, division part start column, division part end row, and division part end column.
定することができる請求項2に係る発明のワードプロセ
ッサのページ分割方式。3. The page division method of a word processor according to claim 2, wherein a plurality of rectangular areas can be designated as one division unit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP27904293A JP2978697B2 (en) | 1993-10-12 | 1993-10-12 | Word processor page division method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP27904293A JP2978697B2 (en) | 1993-10-12 | 1993-10-12 | Word processor page division method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH07110813A JPH07110813A (en) | 1995-04-25 |
| JP2978697B2 true JP2978697B2 (en) | 1999-11-15 |
Family
ID=17605592
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP27904293A Expired - Fee Related JP2978697B2 (en) | 1993-10-12 | 1993-10-12 | Word processor page division method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2978697B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119003469B (en) * | 2024-08-30 | 2025-06-20 | 工信(北京)产业发展研究院有限公司 | A big data-based enterprise data optimization management system and method |
-
1993
- 1993-10-12 JP JP27904293A patent/JP2978697B2/en not_active Expired - Fee Related
Non-Patent Citations (1)
| Title |
|---|
| Newton別冊「ワードプロセッサのすべて 最新版」(1983),教育社,p141 |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH07110813A (en) | 1995-04-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0776958B2 (en) | Document shaping device | |
| JP2978697B2 (en) | Word processor page division method | |
| JPH08221417A (en) | Old and new editing device for structured documents | |
| US5895478A (en) | Right and center font justification for a document system library | |
| JP3480888B2 (en) | Document information management system | |
| JPH08249319A (en) | Document creation device | |
| US7113305B1 (en) | Information processing apparatus and information processing method for processing document data having a plurality of objects different in attribution | |
| JPH06119327A (en) | Document processor | |
| JPH06251014A (en) | Document printing method | |
| JP3497263B2 (en) | Method and apparatus for generating fixed format document from marked document | |
| JPH05334291A (en) | Document processor | |
| Tanaka et al. | Transmedia Machine | |
| JP3154790B2 (en) | Optical character reader | |
| JPH05257936A (en) | Document creation device | |
| JPH05250014A (en) | Peripheral device for programmable controller | |
| JPH07319745A (en) | File length reduction processor | |
| JP2003044465A (en) | Device and method for processing document | |
| JPH07325798A (en) | Document creation device | |
| JPH0734197B2 (en) | Information processing equipment | |
| JPH03266068A (en) | Automatic reduction processing system for table block | |
| JPH05342207A (en) | Format specifying method for word processor | |
| JPH04241060A (en) | Word processor | |
| JPH0473187B2 (en) | ||
| JPH0816575A (en) | Document processing method | |
| JPS63174161A (en) | document processing device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080910 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080910 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090910 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090910 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100910 Year of fee payment: 11 |
|
| LAPS | Cancellation because of no payment of annual fees |