JPH03130865A - Document processor - Google Patents

Document processor

Info

Publication number
JPH03130865A
JPH03130865A JP1270041A JP27004189A JPH03130865A JP H03130865 A JPH03130865 A JP H03130865A JP 1270041 A JP1270041 A JP 1270041A JP 27004189 A JP27004189 A JP 27004189A JP H03130865 A JPH03130865 A JP H03130865A
Authority
JP
Japan
Prior art keywords
line
page
symbol
document
special
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
JP1270041A
Other languages
Japanese (ja)
Inventor
Fumiyo Suenaga
末永 富美代
Hideki Sato
秀樹 佐藤
Hiroyuki Izumi
泉 寛幸
Takeshi Aoki
武司 青木
Ryoichi Narita
成田 良一
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP1270041A priority Critical patent/JPH03130865A/en
Publication of JPH03130865A publication Critical patent/JPH03130865A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To identify an idle line if existing at the head of a page so as to change the position of the idle line and to improve the production efficiency of documents by providing a special line feed symbol showing the presence of an idle line that should not be positioned at the head line of a page. CONSTITUTION:A key 11 is provided on a keyboard 1 for input of a special line feed symbol showing the presence of an idle line that should be not positioned at the head line of a page. The special symbol is identified and it is checked whether this symbol is positioned at the head line of a page or not. If so, the position of the special symbol is changed by a page controller 5. Thus a user can produce a document with no consciousness of the page dividing positions by putting the special line feed symbol into the document. In such a way, the document production efficiency is improved.

Description

【発明の詳細な説明】 〔概 要〕 キーボードからの入力及びデイスプレィへの表示によっ
て文書作成を行う文書処理装置に関し。
[Detailed Description of the Invention] [Summary] This invention relates to a document processing device that creates a document by inputting from a keyboard and displaying it on a display.

空行が頁の先頭行に存在する場合にこれを識別してその
位置を変更することを目的とし。
The purpose is to identify and change the position of a blank line when it exists in the first line of a page.

キーボードからの入力に従って文書作成を行う文書処理
装置において1頁の先頭行に位置してはならない空行で
あることを示す特殊改行記号の入力のためのキーを前記
キーボードに設け、前記特殊改行記号を識別し、これが
前記頁の先頭行に位置するか否かを判断し、前記特殊改
行記号が前記頁の先頭行に位置する場合にその位置を変
更する頁管理装置を設けるように構成する。
In a document processing device that creates a document according to input from a keyboard, the keyboard is provided with a key for inputting a special line feed symbol indicating that a blank line should not be located at the first line of one page, A page management device is provided which identifies the special line break symbol, determines whether it is located in the first line of the page, and changes the position of the special line break symbol if it is located in the first line of the page.

〔産業上の利用分野〕[Industrial application field]

本発明は文書処理装置に関し、更に詳しくは。 The present invention relates to document processing devices, and more particularly, to document processing devices.

キーボードからの入力及びデイスプレィへの表示によっ
て文書作成を行う文書処理装置に関する。
The present invention relates to a document processing device that creates documents using input from a keyboard and display on a display.

近年、コンピュータシステムやワードプロセッサが普及
し、その使用頻度が高まるにつれて、利用者の使い易さ
を考えたマンマシンインタフェースが要求されてきてい
る。このため文書処理装置においても、利用者が容易に
文書を作成することが可能なa能を提供する必要がある
In recent years, as computer systems and word processors have become widespread and used more frequently, there has been a demand for man-machine interfaces that are easy to use for users. For this reason, there is a need for document processing devices to provide a function that allows users to easily create documents.

〔従来の技術〕[Conventional technology]

第8図及び第9図は従来技術説明図であり、各々、従来
の文書処理装置及び従来の処理フローを示している。
FIGS. 8 and 9 are explanatory diagrams of the prior art, showing a conventional document processing device and a conventional processing flow, respectively.

第8図において、1はキーボード、2は入力解析装置、
3はバッファ管理装置14はテキスト管理装置、6は表
示データ構成装置、7は表示装置。
In FIG. 8, 1 is a keyboard, 2 is an input analysis device,
Reference numeral 3 designates a buffer management device 14 as a text management device, 6 a display data composition device, and 7 a display device.

71は表示データ変換装置、72はデイスプレィ8は印
刷装置である。
71 is a display data conversion device, 72 is a display 8, and is a printing device.

ワードプロセッサ等の文書処理装置においては。In document processing devices such as word processors.

利用者がキーボード1から行った入力に従った所定の表
示がデイスプレィ72上に行われる。これにより3文書
の更新、挿入、削除等の文書作成処理が行われる。また
、キーボード1からの入力に従って1文書の印刷が行わ
れる。
A predetermined display is displayed on the display 72 according to the input made by the user from the keyboard 1. As a result, document creation processing such as updating, inserting, and deleting the three documents is performed. Furthermore, one document is printed in accordance with input from the keyboard 1.

この文書の表示処理は、第9図(A)図示の如く行われ
る。即ち、キーボード1からの入力があると、この入力
を入力解析装置2が解析し、バッファ管理装置3がその
解析結果を受は取る。バッファ管理装置3は、入力の解
析結果に従ってテキストバッファ内容の更新を行う。そ
の処理結果から表示データ構成装置6はデイスプレィ7
2上での表示用データを新たに構成し1表示装置7に対
してデータを渡す、このデータを表示データ変換装置7
1でイメージデータに変換した後、デイスプレィ72へ
の表示が行われる。この時2文書の1頁の行数は、利用
者によって指定された行数であり、この行数毎に各頁は
区切られる。このために、バッファ管理装置3は、テキ
ストバッファ内容の更新の後、1頁の行数毎に1頁区切
り記号を挿入する。
This document display process is performed as shown in FIG. 9(A). That is, when there is an input from the keyboard 1, the input analysis device 2 analyzes this input, and the buffer management device 3 receives the analysis result. The buffer management device 3 updates the contents of the text buffer according to the input analysis results. Based on the processing result, the display data configuration device 6 displays the display 7.
Newly configure display data on 2 and pass the data to 1 display device 7. This data is transferred to display data converter 7.
After the data is converted into image data in step 1, it is displayed on the display 72. At this time, the number of lines on one page of the two documents is the number of lines specified by the user, and each page is separated by this number of lines. For this purpose, the buffer management device 3 inserts a page delimiter symbol for each number of lines on one page after updating the text buffer contents.

一方8文書の印刷処理は、第9図(B)図示の如く行わ
れる。即ち、キーボード1からの入力があると、この入
力を入力解析装置2が解析し、テキスト管理装W4がそ
の解析結果を受は取る。テキスト管理装置4は1入力の
解析結果に従って指定ファイルを取り出し2頁毎にデー
タを印刷装置8に送り、印刷装置8はこれを印刷する。
On the other hand, the printing process for eight documents is performed as shown in FIG. 9(B). That is, when there is an input from the keyboard 1, the input analysis device 2 analyzes this input, and the text management device W4 receives the analysis result. The text management device 4 extracts the specified file according to the analysis result of one input and sends the data every two pages to the printing device 8, which prints the data.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

第1O図は従来技術の問題点説明図であり、従来の文書
処理装置を用いた時のデイスプレィ上の表示と操作を示
す。
FIG. 1O is a diagram illustrating the problems of the prior art, and shows the display and operation on a display when using a conventional document processing device.

既存の文書を更新する例を考える。図中’−plaは、
1頁と2頁の頁区切り記号であり、また利用者によって
1頁は30行と指定されている。また、■に示すように
、この文書は改行記号弓のみの行(以下、空行という)
により区切られている。即ち2頁の区切りとは独立に0
文書をその内容等によっていくつかに区切るために。
Consider an example of updating an existing document. '-pla in the figure is
This is a page separator symbol between pages 1 and 2, and the user has specified that one page has 30 lines. Also, as shown in ■, this document contains a line with only a line feed symbol
separated by. In other words, 0 independently of the 2-page break.
To divide a document into several parts depending on its content, etc.

その区切りの部分に空行が利用者によって挿入されてい
る。この例では、空行が第1頁の第30行に存在してい
る。
A blank line has been inserted by the user between the lines. In this example, a blank line exists on the 30th line of the first page.

この文書に対して、■のように改行記号1の前に一行r
((<jjを挿入する。すると空行は次頁の先頭行とな
る(■)、この状態で印刷を行うとすると、印刷装置8
はテキスト管理装置4から送られたデータ(単に頁毎に
区切られたデータ)を印刷するのみなので、第2頁の第
1行には空行が印刷されてしまう(なにも印刷されない
)ことになる、しかし、この空行は1文書を区切るため
に挿入されていたものであるから1頁で区切られるなら
ば必要ない。そこで1頁の先頭にある空行は通常、■に
示すように印刷の前に利用者によって削除され、■の状
態で印刷される。
For this document, a line r before the newline symbol 1 like ■
((<jj is inserted. Then, the blank line becomes the first line of the next page (■). If you print in this state, the printing device 8
Because it only prints the data sent from the text management device 4 (data separated by page), a blank line will be printed on the first line of the second page (nothing will be printed). However, since this blank line was inserted to separate one document, it is not necessary if it is separated by one page. Therefore, the blank line at the beginning of one page is usually deleted by the user before printing, as shown in ■, and the page is printed in the state shown in ■.

次に、この文書を再び更新する場合を考える。Next, consider the case where this document is updated again.

■に示すようにraa<1」とrcc<」との間に一行
rbb<l」の挿入を行う、この時5頁の先頭行が変化
し、再び空行(「爛」のみの行)の挿入により文書の区
切りを示すことが必要となる(■。
As shown in ■, a line "rbb<l" is inserted between "raa<1" and rcc<". At this time, the first line of page 5 changes, and a blank line (a line containing only "爛") is inserted again. It is necessary to indicate document breaks by insertion (■.

■)。■).

従って、従来の文書処理装置では、利用者が文書の作成
を終了し、印刷する前には0頁の先頭に改行のみの空行
があるかどうかをすべて確認し。
Therefore, in conventional document processing devices, after a user finishes creating a document and before printing it, the user checks to see if there is a blank line with only a line feed at the beginning of page 0.

もし必要ならば先頭行の空行をすべて削除する作業が必
要となるという問題があった。また、−度空行を削除し
た文書を変更した場合には、再び元の位置に行を挿入す
るという作業を行わなければなら°ず、変更の度にこの
繰り返しを行わなければならないという問題があった。
There was a problem in that if necessary, it would be necessary to delete all blank lines at the top. Additionally, if you change a document in which a blank line has been deleted, you have to insert the line again at the original position, and this process has to be repeated every time you make a change. there were.

本発明は、空行が頁の先頭行に存在する場合にこれを識
別してその位置を変更することを可能とした文書処理装
置を提供することを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a document processing device that can identify and change the position of a blank line when it exists in the first line of a page.

〔課題を解決するための手段〕[Means to solve the problem]

第1図は本発明の原理構成図であり1本発明による文書
処理装置を示している。
FIG. 1 is a diagram illustrating the principle of the present invention and shows a document processing apparatus according to the present invention.

第1図において、■はキーボード、11は特殊改行記号
キー、12は通常の改行キー、5は頁管理装置、9は処
理装置、10はテキストバッファである。
In FIG. 1, ■ is a keyboard, 11 is a special line feed symbol key, 12 is a normal line feed key, 5 is a page management device, 9 is a processing device, and 10 is a text buffer.

処理装置9は、中央処理装置(cPU)とメモリとから
なり、キーボードlからの入力に従って文書を作成する
0作成された文書は、テキストバッファ10に椙納され
る。処理装置9は2文書の1頁の行数を利用者によって
指定された行数とし。
The processing device 9 consists of a central processing unit (cPU) and a memory, and creates a document according to input from a keyboard 1. The created document is stored in a text buffer 10. The processing device 9 sets the number of lines on one page of the two documents to the number of lines specified by the user.

この結果文書が複数頁に渡る場合には1頁毎にその最終
行の直後に頁区切り記号を挿入する。
If the resulting document spans multiple pages, a page separator symbol is inserted immediately after the last line of each page.

キーボード1には1通常の改行キー(改行記号「切」の
入力のためのキー)12の他に、特殊改行記号キー(特
殊改行記号「1」の入力のためのキー)11が設けられ
る。特殊改行記号は、当該行が空行であることを示すと
共に9 この空行が頁の先頭行に位置してはならない空
行であることを示す。
The keyboard 1 is provided with a special line feed symbol key 11 (a key for inputting the special line feed symbol "1") in addition to a normal line feed key 12 (key for inputting the line feed symbol "off"). The special line feed symbol indicates that the line is a blank line, and also indicates that this blank line should not be located at the top of the page.

頁管理装置5は1文書中の特殊改行記号を識別し、これ
が頁の先頭行に位置するか否かを判断し。
The page management device 5 identifies a special line feed symbol in one document, and determines whether this is located at the top line of the page.

特殊改行記号が頁の先頭行に位置する場合にその位置を
変更する。このために1頁管理装置5は。
Changes the position of the special line break symbol if it is located on the first line of the page. For this purpose, the one page management device 5.

利用者によって指定された1頁の行数を変更する。Change the number of lines per page specified by the user.

〔作 用) 処理装置9は、キーボード1からの入力に従った文書を
テキストバッファ10に作成する。この時、利用者が2
文書をその内容等によって区切るために特殊改行記号キ
ー11の押下げにより空行を挿入する。即ち1文書中に
は、特殊改行記号が存在する。
[Operation] The processing device 9 creates a document in the text buffer 10 according to the input from the keyboard 1. At this time, the user
Blank lines are inserted by pressing the special line feed symbol key 11 to separate documents according to their contents. That is, a special line feed symbol exists in one document.

頁管理装置5は、テキストバッファ10の内容(作成さ
れた文書)を解析し、特殊改行記号を識別し、更に1頁
の先頭行に特殊改行記号が在るか否かを判断する。特殊
改行記号が頁の先頭行に位置する場合2頁管理装置5は
、その位置を変更する。即ち、当該頁の前頁の行数を、
利用者によって指定された1真の行数より、1又は2以
上(特殊改行記号の数だけ)増加させる。これにより。
The page management device 5 analyzes the contents of the text buffer 10 (created document), identifies special line feed symbols, and further determines whether or not there is a special line feed symbol in the first line of one page. If the special line feed symbol is located in the first line of the page, the two-page management device 5 changes its position. In other words, the number of lines on the previous page of the page is
Increase by 1 or 2 or more (by the number of special line feed symbols) from the true number of lines specified by the user. Due to this.

特殊改行記号は、当該前頁の末尾に位置させられ。A special newline symbol is placed at the end of the previous page.

一方、当該頁の先頭行は空行ではなくなる。On the other hand, the first line of the page is no longer a blank line.

なお、特殊改行記号は空行を意味するものであるから、
当該前頁の行数を増加したとしても利用者にとっては実
質的な行数の変更とはならず、不都合が生じることはな
い、即ち、このテキストバッファlOの内容をデイスプ
レィに表示し又は印刷装置で印刷した場合、1頁の行数
は利用者の指定の通りであり、かつ1頁の先頭行に空行
が位置することもない。
Note that the special line feed symbol means a blank line, so
Even if the number of lines on the previous page is increased, the number of lines will not be substantially changed for the user, and no inconvenience will occur.In other words, the contents of this text buffer IO cannot be displayed on the display or printed on the printing device. When printing, the number of lines on one page is as specified by the user, and there is no blank line at the top of the page.

従って、利用者は文書中に「特殊改行記号」を挿入する
ことにより1頁の区切り位置を意識せずに文書を作成す
ることができる。
Therefore, by inserting a "special line break symbol" into a document, a user can create a document without being aware of the page break position.

〔実施例〕〔Example〕

(a)一実施例の説明 第2図は実施例構成図であり1文書処理装置を示してい
る。
(a) Description of an Embodiment FIG. 2 is a block diagram of an embodiment, showing one document processing device.

第2図において、2は入力解析装置、3はバッファ管理
装置、4はテキスト管理装置、6は表示データ構成装置
、7は表示装置、71は表示データ変換装置、72はデ
イスプレィ、8は印刷装置である。
In FIG. 2, 2 is an input analysis device, 3 is a buffer management device, 4 is a text management device, 6 is a display data composition device, 7 is a display device, 71 is a display data conversion device, 72 is a display, and 8 is a printing device. It is.

ワードプロセッサ等の文書処理装置においては利用者が
キーボード1から行った入力に従った所定の表示がデイ
スプレィ72上に行われる。これにより1文書の更新、
挿入、削除等の文書作成処理が行われる。また、キーボ
ード1からの入力に従って9文書の印刷が行われる。
In a document processing device such as a word processor, a predetermined display is displayed on the display 72 according to inputs made by the user from the keyboard 1. This updates one document,
Document creation processing such as insertion and deletion is performed. Further, nine documents are printed in accordance with input from the keyboard 1.

キーボード1からの入力があると、この入力を入力解析
装置2が解析し、バッファ管理装置3がその解析結果を
受は取るやバッファ管理装置3は。
When there is an input from the keyboard 1, the input analysis device 2 analyzes this input, and the buffer management device 3 receives the analysis result.

入力・の解析結果に従ってテキストバッファ(10)の
内容の更新を行う、その処理結果(テキストバッファ1
0の新しい内容)から表示データ構成装置6はデイスプ
レィ72上での表示用データを新たに構威し1表示装置
7に対してデータを渡す。
The contents of the text buffer (10) are updated according to the analysis results of the input (text buffer 1).
The display data configuring device 6 constructs new display data on the display 72 from the new contents of 0) and passes the data to the display device 1 .

このデータを表示データ変換装置71でイメージデータ
に変換した後、デイスプレィ72への表示が行われる。
After this data is converted into image data by the display data converter 71, it is displayed on the display 72.

この時1文書の1頁の行数は、利用者によって指定され
た行数であり、この行数毎に各頁は区切られる。このた
めに、バッファ管理装W3は、テキストバッファ(lO
)の内容の更新の後、1頁の行数毎に1頁区切り記号を
挿入する。
At this time, the number of lines on one page of one document is the number of lines specified by the user, and each page is separated by this number of lines. For this purpose, the buffer management device W3 has a text buffer (lO
), insert a page separator symbol for every number of lines on one page.

また、キーボード1からの入力があると、この入力を入
力解析装置2が解析し、テキスト管理装置4がその解析
結果を受は取る。テキスト管理装置4は、入力の解析結
果に従ってテキストバッファ(10)から指定ファイル
を取り出し1頁毎にデータを印刷装置8に送り、印刷装
置8はこれを印刷する。
Further, when there is an input from the keyboard 1, the input analysis device 2 analyzes this input, and the text management device 4 receives the analysis result. The text management device 4 extracts a specified file from the text buffer (10) according to the input analysis result and sends the data page by page to the printing device 8, which prints the data.

頁管理装置5は、バッファ管理装置3及びテキスト管理
装置4を監視し、これらがテキストバッファ10の更新
や指定ファイルの取り出しを行う都度に、特殊改行記号
についての所定の処理を行う。
The page management device 5 monitors the buffer management device 3 and the text management device 4, and each time they update the text buffer 10 or take out a specified file, performs a predetermined process regarding the special line feed symbol.

なお、入力解析装置2.バッファ管理装置3゜テキスト
管理装置41表示データ槽底装置6は。
Note that the input analysis device 2. Buffer management device 3゜text management device 41 display data tank bottom device 6.

頁管理装置5と共に、処理装置9を構成する。Together with the page management device 5, a processing device 9 is configured.

第3図は、第2図図示の文書処理装置における文書の表
示処理フローを示している。
FIG. 3 shows a document display processing flow in the document processing apparatus shown in FIG.

■ キーボード1から利用者によって入力が行われる。■ Input is performed by the user from the keyboard 1.

■ 入力解析装置2が、この入力を解析し1例えばテキ
ストバッファ(lO)内に既に存在する文書の更新(挿
入、削除)であることを知る。
(2) The input analysis device 2 analyzes this input and learns that it is an update (insertion, deletion) of a document that already exists in the text buffer (IO), for example.

■ バッファ管理装R3が、この解析結果に基づいて、
テキストバッファ(10)に対し更新処理を行う。
■ Based on this analysis result, the buffer management system R3
Update processing is performed on the text buffer (10).

■ 頁管理装置1!f5は、更新されたテキストバッフ
ァ(lO)内のファイルについて、以下の処理を行う。
■ Page management device 1! f5 performs the following processing on the file in the updated text buffer (lO).

(i’)1頁の行数をN、ファイル全体の行数をM。(i') The number of lines on one page is N, and the number of lines in the entire file is M.

更新した行をIとする(N、M、Iはいずれも正の整数
)。まず、X=N−(f− (1/N)XN)を求める。(1/N)は1/Nを越え
ない最大の整数である。
Let the updated row be I (N, M, and I are all positive integers). First, find X=N-(f-(1/N)XN). (1/N) is the largest integer not exceeding 1/N.

(ii)I+X≧Mか否かを判断する。(ii) Determine whether I+X≧M.

(iii) I +X≧MT:ない場合、I+X+1行
目ノ最初の文字が特殊改行記号1か否かを判断する。
(iii) I +X≧MT: If not, it is determined whether the first character of the I+X+1st line is the special line feed symbol 1 or not.

(iv)特殊改行記号1である場合、1頁の行数を1行
増し、この増した行を「1」としX をX+1に更新し
た上で、処理(iii)以下をくり返す。
(iv) If the special line feed symbol is 1, increase the number of lines on one page by 1, set this increased line to "1", update X to X+1, and repeat process (iii) and subsequent steps.

(V)特殊改行記号1でない場合、IfX行とI+X+
1行の間に頁区切り記号を挿入し、■をI+Xに、Xを
Nに更新した上で、処理(11)以下をくり返す。
(V) If the special line feed symbol is not 1, IfX line and I+X+
Insert a page separator between each line, update ■ to I+X, and X to N, and then repeat process (11) and subsequent steps.

一方、I+X≧Mである場合、当該頁内で文書が終了す
るので、処理を終了する。
On the other hand, if I+X≧M, the document ends within the page, so the process ends.

■ 表示データ構成装置6が1表示部分のみの表示デー
タを構成して9表示装置7に送る。
(2) Display data configuration device 6 configures display data for only one display portion and sends it to nine display devices 7.

■ 表示部Tl”tが表示部分の表示を行う。■ The display section Tl''t displays the display part.

第4図は、第2図図示の文書処理装置における文書の印
刷処理フローを示している。
FIG. 4 shows a document printing process flow in the document processing apparatus shown in FIG.

■ キーボードlから利用者によって入力が行われる。■ Input is performed by the user from the keyboard l.

■ 入力解析装置2が、この入力を解析し1例えばテキ
ストバッファ(10)内に存在する文書の印刷であるこ
とを知る。
(2) The input analysis device 2 analyzes this input and learns that it is, for example, printing of a document existing in the text buffer (10).

■ テキスト管理装置4が、この解析結果に基づいて、
テキストバッファ(10)から指定ファイルを取り出す
■ Based on this analysis result, the text management device 4
Extract the specified file from the text buffer (10).

■ 頁管理装置t5は、取り出された指定ファイルにつ
いて、以下の処理を行う、なお、1頁の行数をN、指定
ファイル全体の行数をM、現在行を■とする(N、 M
、  Iはいずれも正の整数、Iの初期値は1とする)
■ The page management device t5 performs the following processing on the retrieved specified file. Note that the number of lines on one page is N, the number of lines in the entire specified file is M, and the current line is (N, M).
, I are all positive integers, and the initial value of I is 1)
.

(1)まず、I−1+Nを求め、これとMとを比較する
(1) First, find I-1+N and compare this with M.

(ii)I−1+N≧Mでない場合、1行から1−1+
N行までを1頁とし、新たにIをI+Hに更新する。
(ii) If I-1+N≧M, 1-1+ from row 1
The number up to N rows is treated as one page, and I is newly updated to I+H.

(iii)新たな1行(先頭行)の最初の文字が、特殊
改行記号−か否かを判断する。
(iii) Determine whether the first character of a new line (first line) is a special line feed symbol -.

特殊改行記号−でない場合、Iはそのままとして、処理
(i)以下をくり返す。
If it is not a special line feed symbol -, leave I as is and repeat the process (i) and subsequent steps.

(iv)特殊改行記号→である場合、I@I+1とした
上で(1頁の行数を1行増した上で)。
(iv) If it is a special line feed symbol →, set it to I@I+1 (and increase the number of lines per page by one line).

処理(ij)をくり返す。Repeat the process (ij).

(v)I−1+N≧Mである場合、1行からM行(ファ
イルの最終行)までを1頁とする。
(v) If I-1+N≧M, one page is from line 1 to line M (last line of the file).

■ テキスト管理装置4が9頁毎に、印刷装置8ヘデー
タを送る。
■ The text management device 4 sends data to the printing device 8 every 9 pages.

■ 印刷装M8が頁毎に、印刷を行う。■ The printing device M8 prints each page.

第5図は表示及び操作の一例を示す図であり。FIG. 5 is a diagram showing an example of display and operation.

第2図図示の文書処理装置を用いた時のデイスプレィ7
2上の表示と操作を示す。
Display 7 when using the document processing device shown in Figure 2
2 shows the display and operation above.

既存の文書を更新する例を考える0図中’−P1−Jは
、l真と2頁の頁区切り記号であり、また利用者によっ
て1頁は30行と指定されている。また、■に示すよう
に、この文書は特殊改行記号−のみの空行により区切ら
れている。即ち1頁の区切りとは独立に1文書をその内
容等によっていくつかに区切るために、その区切りの部
分に空行が利用者によって挿入されている。この例では
、空行が第1頁の第30行に存在している。
Consider an example of updating an existing document. In the figure, '-P1-J is a page separator symbol between 1 and 2 pages, and the user has specified that 1 page has 30 lines. Furthermore, as shown in (■), this document is separated by blank lines containing only the special line break symbol -. That is, in order to divide one document into several parts depending on the contents, etc., independently of the division of one page, the user inserts blank lines in the division parts. In this example, a blank line exists on the 30th line of the first page.

ここで、この空行は、利用者が特殊改行キー11を押下
げたことによる特殊改行記号1によって指示されている
Here, this blank line is indicated by a special line feed symbol 1 caused by pressing the special line feed key 11 by the user.

なお、空行を従来と同様に通常の改行記号「切」により
示す方法を選択することもできる。
Note that it is also possible to select a method of indicating a blank line by a normal line feed symbol "cut" as in the conventional method.

この文書に対して、■のように特殊改行記号−の前に一
行’CC<IJを挿入する。すると空行は次頁の先頭行
となる。そこで9頁管理装置5により、第1頁の行数を
31行とする。これにより。
Insert a line 'CC<IJ' into this document before the special line feed symbol -, as in ■. The blank line then becomes the first line of the next page. Therefore, the 9-page management device 5 sets the number of lines on the first page to 31 lines. Due to this.

空行は、第1頁の末尾(最終行)に位置することとなる
(■)、この状態で印刷を行うと、印刷装置8はテキス
ト管理装置4から送られたデータ(単に頁毎に区切られ
たデータ)を印刷するのみなので、第2頁の第1行には
rAAJが印刷され。
The blank line will be located at the end (last line) of the first page (■). If printing is performed in this state, the printing device 8 will be able to use the data sent from the text management device 4 (simply dividing it into pages). rAAJ is printed on the first line of the second page.

一方、第31行は空行であるから第1頁の行数には変化
がなかった如き結果となる。従って、利用者は、空行を
削除せずともよい。
On the other hand, since the 31st line is a blank line, the result is as if the number of lines on the first page had not changed. Therefore, the user does not have to delete blank lines.

次に、この文書を再び更新する場合を考える。Next, consider the case where this document is updated again.

■に示す如<、raa引」とrcc<1」との間に一行
rbb<Jの挿入を行う。すると、第2頁の先頭行(及
びその他の行)が変化する。
As shown in (2), a line rbb<J is inserted between "<, raa pull" and "rcc<1". Then, the first line (and other lines) of the second page changes.

即ち1頁管理装置5は、第1頁の行数を30行としても
空行が第2頁の先頭行とはならないので。
That is, even if the number of lines on the first page is 30, the page management device 5 does not make a blank line the first line on the second page.

再び、第1頁の行数を30行とする。この結果。Again, assume that the number of lines on the first page is 30 lines. As a result.

第2頁は、その第1行がrc C<IJ 、第2行が空
行とされる(■)、従って、利用者は、空行を挿入する
必要がない。
In the second page, the first line is rc C<IJ and the second line is a blank line (■). Therefore, the user does not need to insert a blank line.

また、■の状態の文書について、■に示す如く。Also, regarding the document in the state of ■, as shown in ■.

特殊改行記号「1」を−行挿入したとする。この場合、
第1頁の行数がその分増加されるのみである。即ち、特
殊改行記号が頁の区切りに位置する場合、その数によっ
ては改頁されない。
Assume that the special line feed symbol "1" is inserted into a negative line. in this case,
Only the number of lines on the first page is increased accordingly. That is, if a special line break symbol is located at a page break, a page break will not occur depending on the number of special line break symbols.

(b)他の実地例の説明 第6図は他の実施例図であり1文書処理装置を示してい
る。
(b) Description of another practical example FIG. 6 is a diagram of another embodiment, showing one document processing apparatus.

第6図において、13はキーコード発生装置。In FIG. 6, 13 is a key code generator.

14は改行属性変更キーである。14 is a line feed attribute change key.

この実施例においては、キーボード1には通常の改行キ
ー12の他に改行属性変更キー14が設けられる。改行
属性変更キー14は1改行記号「切」の属性を変更して
、これを特殊改行記号「1ノの属性とするためのキーで
ある。即ち、改行属性変更キー14は1通常の改行記号
「1」に対して1頁の先頭行に位置してはならない空行
であることを示す特殊改行の属性を追加又は削除(追加
の後の押下げの時は削除)するために用いられる。
In this embodiment, the keyboard 1 is provided with a line feed attribute change key 14 in addition to a normal line feed key 12. The line feed attribute change key 14 is a key for changing the attribute of the 1 line feed symbol "OFF" to make it the attribute of the special line feed symbol ``1''. In other words, the line feed attribute change key 14 is used to change the attribute of the 1 line feed symbol "OFF" to make it the attribute of the special line feed symbol "1 NO". It is used to add or delete (delete when pressed after addition) a special line break attribute that indicates a blank line that should not be located in the first line of one page for "1".

キーコード発生装置f13は、改行キー12及び改行属
性変更キー14からの入力を識別し、改行記号「剣」の
入力であるか特殊改行記号「4」の入力であるかを判断
し、各々に対応するコードを処理装置9に送る。
The key code generator f13 identifies the input from the line feed key 12 and the line feed attribute change key 14, determines whether the input is the line feed symbol "sword" or the special line feed symbol "4", and inputs each The corresponding code is sent to the processing device 9.

以上により、改行キー12の押下げにより入力され表示
されている改行記号r<Jに対し、改行属性変更キー1
4をさらに押下げてその属性を特殊改行記号「4」を表
すように変化させることによって1文書中に空行が挿入
される。この空行は。
As described above, for the line feed symbol r<J input and displayed by pressing the line feed key 12, the line feed attribute change key 1
By pressing 4 further and changing its attribute to represent the special line break symbol "4", a blank line is inserted into one document. This blank line.

特殊改行記号4によって指示されている。It is indicated by the special line feed symbol 4.

逆に、特殊改行記号−による空行に対し、改行属性変更
キー14をさらに押下げると、その属性は、先に追加し
た特殊改行記号1の属性の削除により9通常の改行記号
弓を表すように変更される。これにより1通常の改1テ
キーによる空行とされる。
Conversely, if you press the line break attribute change key 14 further for a blank line with the special line feed symbol -, the attribute will be changed to 9 to represent a normal line feed symbol bow by deleting the attribute of the special line feed symbol 1 added earlier. will be changed to This makes a blank line with 1 normal change 1 key.

なお、キーコード発生装置13は、実際は第1図図示の
キーボード1にも設けられ、特殊改行キー11及び改行
キー12からの入力を識別し、各々に対応するコードを
処理装置9に送る。
Note that the key code generating device 13 is actually provided in the keyboard 1 shown in FIG.

(c)他の実施例の説明 第7図は他の実施例構成図であり1文書処理装置を示し
ている。
(c) Description of another embodiment FIG. 7 is a block diagram of another embodiment, showing one document processing device.

第7図において、15はキーボード;1.上に存在する
改行キー12以外のキーであって、予め選択された1又
は2以上の所定のキーである。
In FIG. 7, 15 is a keyboard; 1. These are keys other than the line feed key 12 present above, and are one or more predetermined keys selected in advance.

この実施例では、特殊改行キー11に代えて。In this embodiment, instead of the special line feed key 11.

所定のキー15が利用される。A predetermined key 15 is used.

即ち、キーコード発生装置13は、改行キー12と所定
のキー15との組合わせを特殊改行記号1として認識し
、これに対応するコードを処理装置9に送る。
That is, the key code generator 13 recognizes the combination of the line feed key 12 and a predetermined key 15 as the special line feed symbol 1, and sends the corresponding code to the processing device 9.

以上により、改行キー12と所定のキー15との同時の
押下げによる入力によって9文書中に特殊改行記号4に
よる空行を挿入する。
As described above, a blank line using the special line feed symbol 4 is inserted into nine documents by inputting by pressing the line feed key 12 and the predetermined key 15 at the same time.

更に1通常の改行記号を用いると共に別に「モード切換
え手段」を用意することによって、特殊改行記号と同様
の機能を実現してもよい1例えば。
Furthermore, the same function as the special line feed symbol may be realized by using a normal line feed symbol and providing a separate "mode switching means," for example.

通常の改行記号の入力に続けて又は先立って、モード切
換え手段からモード切換えの入力があった場合に、特殊
改行記号と同様の入力があったものとすることができる
If a mode switching input is received from the mode switching means following or prior to the input of a normal line feed symbol, it can be assumed that the same input as a special line feed symbol has been made.

また、印刷時又は表示時のいずれか一方のみに本発明を
適用してもよい0例えば、印刷時のみに通用する場合、
印刷モードの1つとして2頁の先頭行に位置する空行を
削除して印刷を行うようにすることができる。
Further, the present invention may be applied only to either printing or displaying. For example, if the invention is applicable only to printing,
As one of the print modes, printing can be performed by deleting the blank line located at the top line of the second page.

以上1本発明を実施例により説明したが3本発明は、そ
の主旨に従い種々の変形が可能である。
Although the present invention has been described above with reference to embodiments, the present invention can be modified in various ways according to its gist.

〔発明の効果〕〔Effect of the invention〕

以上説明したように1本発明によれば1文書処理装置に
おいて3頁の先頭行に位置してはならない空行であるこ
とを示す特殊改行記号とこれを識別する頁管理装置とを
設けることにより2頁の先頭行に空行が在る場合にこれ
を識別してその位置を変更することができるので1文書
の更新の都度に空行の削除や追加等を行わなくともよい
ようにすることができ1文書作戒の効率を向上すること
ができる。
As explained above, according to the present invention, by providing a special line feed symbol indicating that a blank line is a blank line that should not be located at the first line of page 3 in a document processing device, and a page management device that identifies this, If there is a blank line in the first line of two pages, it can be identified and its position changed, so that there is no need to delete or add a blank line every time one document is updated. It is possible to improve the efficiency of writing a single document.

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

第1図は本発明の原理構成図。 第2図は実施例構成図。 第3図は文書の表示処理フロー 第4図は文書の印刷処理フロー 第5図は表示及び操作の一例を示す図。 第6図は他の実施例構成図。 第7図は更に他の実施例構成図 第8図は従来技術説明図(そのl) 第9図は従来技術説明図(その2)。 第1O図は従来技術の問題点説明図。 1はキーボード、11は特殊改行記号キー12は通常の
改行キー、2は入力解析装置、3はバンファ管理装置、
4はテキスト管理装置、5は頁管理装置、6は表示デー
タ構成装置、7は表示装置、71は表示データ変換装置
、72はデイスプレィ、8は印刷装置、9は処理装置、
10はテキストバッファである。
FIG. 1 is a diagram showing the principle configuration of the present invention. FIG. 2 is a configuration diagram of an embodiment. FIG. 3 is a document display processing flow. FIG. 4 is a document printing processing flow. FIG. 5 is a diagram showing an example of display and operation. FIG. 6 is a configuration diagram of another embodiment. FIG. 7 is a diagram illustrating the configuration of yet another embodiment. FIG. 8 is an explanatory diagram of the prior art (part 1). FIG. 9 is a diagram illustrating the prior art (part 2). FIG. 1O is a diagram illustrating problems in the prior art. 1 is a keyboard, 11 is a special line feed symbol key 12 is a normal line feed key, 2 is an input analysis device, 3 is a buffer management device,
4 is a text management device, 5 is a page management device, 6 is a display data composition device, 7 is a display device, 71 is a display data conversion device, 72 is a display, 8 is a printing device, 9 is a processing device,
10 is a text buffer.

Claims (3)

【特許請求の範囲】[Claims] (1)キーボード(1)からの入力に従って文書作成を
行う文書処理装置において、 頁の先頭行に位置してはならない空行であることを示す
特殊改行記号の入力のためのキー(11)を前記キーボ
ード(1)に設け、 前記特殊改行記号を識別し、これが前記頁の先頭行に位
置するか否かを判断し、前記特殊改行記号が前記頁の先
頭行に位置する場合にその位置を変更する頁管理装置(
5)を設けた ことを特徴とする文書処理装置。
(1) In a document processing device that creates a document according to input from the keyboard (1), a key (11) is used to input a special line feed symbol that indicates a blank line that should not be located at the top of the page. provided in the keyboard (1), identifies the special line break symbol, determines whether it is located in the first line of the page, and determines the position of the special line break symbol if it is located in the first line of the page; Page management device to be changed (
5) A document processing device characterized by being provided with.
(2)キーボード(1)からの入力に従って文書作成を
行う文書処理装置において、 通常の改行記号に対し、頁の先頭行に位置してはならな
い空行であることを示す特殊改行の属性を追加又は削除
することにより、前記通常の改行記号を特殊改行記号に
変更するための改行属性変更キー(14)を前記キーボ
ード(1)に設け、前記特殊改行記号を識別し、これが
前記頁の先頭行に位置するか否かを判断し、前記特殊改
行記号が前記頁の先頭行に位置する場合にその位置を変
更する頁管理装置(5)を設けた ことを特徴とする文書処理装置。
(2) In document processing devices that create documents according to input from the keyboard (1), a special line feed attribute is added to the normal line feed symbol to indicate that this is a blank line that should not be located at the top line of the page. or by deleting, a line feed attribute change key (14) for changing the normal line feed symbol to a special line feed symbol is provided on the keyboard (1), and the special line feed symbol is identified, and this is the first line of the page. 1. A document processing device comprising: a page management device (5) that determines whether or not the special line break symbol is located in the first line of the page, and changes the position of the special line break symbol if the special line break symbol is located in the first line of the page.
(3)キーボード(1)からの入力に従って文書作成を
行う文書処理装置において、 頁の先頭行に位置してはならない空行であることを示す
特殊改行記号の入力するために、所定のキーの組み合わ
せを前記特殊改行記号として認識するキーコード発生装
置(13)を前記キーボード(1)に設け、 前記特殊改行記号を識別し、これが前記頁の先頭行に位
置するか否かを判断し、前記特殊改行記号が前記頁の先
頭行に位置する場合にその位置を変更する頁管理装置(
5)を設けた ことを特徴とする文書処理装置。
(3) In a document processing device that creates a document according to the input from the keyboard (1), a certain key is pressed to input a special line feed symbol that indicates a blank line that should not be located on the first line of the page. A key code generator (13) is provided on the keyboard (1) that recognizes the combination as the special line break symbol, identifies the special line break symbol, determines whether it is located on the first line of the page, and A page management device (
5) A document processing device characterized by comprising:
JP1270041A 1989-10-17 1989-10-17 Document processor Pending JPH03130865A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1270041A JPH03130865A (en) 1989-10-17 1989-10-17 Document processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1270041A JPH03130865A (en) 1989-10-17 1989-10-17 Document processor

Publications (1)

Publication Number Publication Date
JPH03130865A true JPH03130865A (en) 1991-06-04

Family

ID=17480709

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1270041A Pending JPH03130865A (en) 1989-10-17 1989-10-17 Document processor

Country Status (1)

Country Link
JP (1) JPH03130865A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014167770A (en) * 2013-02-28 2014-09-11 Canon Marketing Japan Inc Information processing apparatus, information processing method, and program
JP2016007732A (en) * 2014-06-23 2016-01-18 株式会社リコー Image forming device, image forming system, and image forming method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014167770A (en) * 2013-02-28 2014-09-11 Canon Marketing Japan Inc Information processing apparatus, information processing method, and program
JP2016007732A (en) * 2014-06-23 2016-01-18 株式会社リコー Image forming device, image forming system, and image forming method

Similar Documents

Publication Publication Date Title
JPS62245367A (en) Document processor
JPH1153384A (en) Device and method for keyword extraction and computer readable storage medium storing keyword extraction program
JPH03130865A (en) Document processor
JP4008628B2 (en) Page editing apparatus, page editing method, page editing program, and image forming apparatus
JPH05135025A (en) Document editor
JPH0128975B2 (en)
JPS6043689A (en) Character processor
JPS62284460A (en) Document formation supporting device
JP3451289B2 (en) Table output device
JPH0388061A (en) Japanese input device
JPS61195455A (en) Document preparation device
JPH023846A (en) Transfer of segment of data entity
Liu Chinese information processing
JPH0350667A (en) Document generator
JPH096773A (en) Document preparing device
JPH038271B2 (en)
JPS62270364A (en) Document processing apparatus
JP2005309533A (en) Document editing device, document vision method, and program therefor
JPS63221069A (en) Document preparing and editing apparatus
JPS62179055A (en) Text form conversion system
JPS63314635A (en) Printing device equipped with address list printing function
Kwong kxp and kxpl: A busy man's LaTeX
JPS62156767A (en) Word processor with memo@(244e//00) function
Syropoulos et al. The File Structure
JPH07168838A (en) Document processor