JPH0379739B2 - - Google Patents

Info

Publication number
JPH0379739B2
JPH0379739B2 JP61056603A JP5660386A JPH0379739B2 JP H0379739 B2 JPH0379739 B2 JP H0379739B2 JP 61056603 A JP61056603 A JP 61056603A JP 5660386 A JP5660386 A JP 5660386A JP H0379739 B2 JPH0379739 B2 JP H0379739B2
Authority
JP
Japan
Prior art keywords
page
line
format information
break symbol
text
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP61056603A
Other languages
Japanese (ja)
Other versions
JPS62212869A (en
Inventor
Atsuko Yabuta
Keiko Sogabe
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 JP61056603A priority Critical patent/JPS62212869A/en
Publication of JPS62212869A publication Critical patent/JPS62212869A/en
Publication of JPH0379739B2 publication Critical patent/JPH0379739B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 〔概要〕 1ページ内の行数が予め定められている形で文
書入力処理が行われる文書処理装置において、ペ
ージの末尾の行に続いて改ページ記号が検出さ
れ、当該改ページ記号が次ページにずれ込んでい
るような場合に生じる空白ページの発生を防止す
べく、上記の如きずれ込みを生じる改ページ記号
のみの行を、前ページの末尾の行にぶら下がるぶ
ら下がり行として特殊な処理をするようにし、上
記空白ページの発生を防止することが開示されて
いる。
[Detailed Description of the Invention] [Summary] In a document processing device in which document input processing is performed in a form in which the number of lines in one page is predetermined, a page break symbol is detected following the last line of a page, In order to prevent the occurrence of blank pages when the page break symbol is shifted to the next page, the line containing only the page break symbol that causes the shift as described above is set as a hanging line that hangs from the last line of the previous page. It is disclosed that special processing is performed to prevent the occurrence of the blank page.

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

本発明は、文書処理装置、特にページの末尾の
行に続く改ページ記号が次ページにずれ込んで非
所望に空白ページがつくられるのを防止するよう
にした文書処理装置に関する。
The present invention relates to a document processing device, and more particularly to a document processing device that prevents a page break symbol following the last line of a page from being shifted to the next page and undesirably creating a blank page.

〔従来の技術〕[Conventional technology]

例えば日本語文書処理装置においては、1ペー
ジ内の最大行数を予め定めておくことがある。こ
のために、ページの末尾の行に続いて与えられる
改ページ記号が、何らかの理由によつて次ページ
にずれ込んでしまい、このために当該次ページが
空白の形で印刷されることが生じる。
For example, in a Japanese document processing device, the maximum number of lines within one page may be determined in advance. For this reason, the page break symbol given following the last line of a page may be shifted to the next page for some reason, resulting in the next page being printed blank.

従来から、入力されたテキストの格納領域の内
容にもとづいて画面作成処理が行われる場合、第
4図図示の如く、テキスト領域1の内容にもとづ
いて、各行毎に、フオーマツト情報2−2と表示
用テキスト行2−1とが順次作成される。フオー
マツト情報2−2は表示フオーマツト情報テーブ
ル3に格納され、表示用テキスト行は画面バツフ
ア4に格納される。
Conventionally, when screen creation processing is performed based on the contents of an input text storage area, format information 2-2 is displayed for each line based on the contents of text area 1, as shown in FIG. text lines 2-1 and 2-1 are created sequentially. The format information 2-2 is stored in the display format information table 3, and the display text line is stored in the screen buffer 4.

フオーマツト情報2−2は、第5図に示す如く
対応する行における表示用テキスト行を生成する
ために利用される情報を含んでおり、その中にペ
ージ番号と行番号とをもつている。
The format information 2-2 includes information used to generate a display text line in a corresponding line as shown in FIG. 5, and includes a page number and a line number.

第6図は第4図図示の画面作成処理で行う上で
の伸張処理を説明する説明図である。図中の符号
1はテキスト領域、2−1−iは第i行に対応す
る表示用テキスト行、2−2−(i+1)は第
(i+1)行に対応するフオーマツト情報、5は
伸張処理プログラム、6は編集開始時に用意され
るフオーマツト情報を表している。
FIG. 6 is an explanatory diagram illustrating the decompression process performed in the screen creation process shown in FIG. 4. In the figure, 1 is a text area, 2-1-i is a display text line corresponding to the i-th line, 2-2-(i+1) is format information corresponding to the (i+1)-th line, and 5 is an expansion processing program. , 6 represent format information prepared at the start of editing.

第7図は当該伸張処理の処理態様を表してお
り、図中の符号は第4図または第6図に対応して
いる。
FIG. 7 shows the processing mode of the decompression process, and the reference numerals in the figure correspond to those in FIG. 4 or FIG. 6.

第6図および第7図から判る如く、最初に編集
開始フオーマツト情報6が用意され、伸張処理プ
ログラム5は、当該情報6にもとづいて第1行目
のフオーマツト情報2−2−1をつくり、これに
より第1行目の表示用テキスト行2−1−1を生
成した上で第2行目のための第2行目のフオーマ
ツト情報2−2−2をつくる。以下、当該フオー
マツト情報2−2−2にもとづいて、表示用テキ
スト行2−1−2を生成した上でフオーマツト情
報2−2−3をつくる……ように動作する。
As can be seen from FIGS. 6 and 7, editing start format information 6 is first prepared, and the decompression processing program 5 creates the first line of format information 2-2-1 based on the information 6. After generating the first display text line 2-1-1, the second line format information 2-2-2 for the second line is created. Thereafter, based on the format information 2-2-2, a display text line 2-1-2 is generated, and then format information 2-2-3 is created.

この結果、上述の如く改ページ記号が非所望に
次のページにずれ込んでしまうことが生じる。即
ち当該次のページにおける第1行目に対応するフ
オーマツト情報2−2−1上のページ番号が本来
のページ番号よりプラス1されたものとなり、か
つ当該行に対応する表示用テキスト行2−1−1
が改ページ記号のみとなることが生じる。
As a result, the page break symbol may be undesirably shifted to the next page as described above. In other words, the page number on the format information 2-2-1 corresponding to the first line of the next page is increased by 1 from the original page number, and the display text line 2-1 corresponding to the line is -1
may become only a page break symbol.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記の如きずれ込みが生じると、上記次のペー
ジは、上記改ページ記号のために、空白ページと
なつてしまう。
When the above-described shift occurs, the next page becomes a blank page due to the page break symbol.

この点を改良すべく、従来の場合でも、印刷時
に、当該改ページ記号のみのページについては印
刷を行わないようにすることが行われる。しか
し、この場合でも、オペレータが画面をみて予測
していたページ数にくらべて印刷結果のページ数
が少なくなり、いわば喰違いを生じてしまう。
In order to improve this point, even in the conventional case, when printing, pages containing only the page break symbol are not printed. However, even in this case, the number of printed pages is smaller than the number of pages predicted by the operator by looking at the screen, resulting in a discrepancy.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、上記の点を解決しており、一時的に
1ページ内の行数を増大させるようにして、換言
すれば、いわばぶら下がりの行を一時的につくる
ようにして、上記の点を解決している。
The present invention solves the above points by temporarily increasing the number of lines in one page, in other words, by temporarily creating hanging lines. It's resolved.

第1図は本発明の原理説明図を示す。図中の符
号3は表示フオーマツト情報テーブル、4は画面
バツフアを表している。なお、図示のテーブル3
やバツフア4の内容についての記述は、当該内容
の意味する所が判り易いように表現している。図
中バツフア4においては改行記号、□は改ペー
ジ記号を表す。
FIG. 1 shows a diagram explaining the principle of the present invention. In the figure, numeral 3 represents a display format information table, and 4 represents a screen buffer. In addition, table 3 shown in the figure
The descriptions of the contents of BATSUFA 4 are expressed in a way that makes it easy to understand what the contents mean. In the buffer 4 in the figure, a line feed symbol and □ represent a page break symbol.

第1図上段に示す画面バツフア4は、1ページ
当たりの行数が10行の文書が画面に第1ページの
末尾から第3ページの冒頭まで表示されている形
で示されている。この状態の下で、第2ページ目
の第5行目に空白行をつくるべく改行記号を挿入
したとすると、全体で11行存在することとなり、
従来の場合には、改ページ記号が第3ページにず
れ込んでしまう。
The screen buffer 4 shown in the upper part of FIG. 1 shows a document with 10 lines per page displayed on the screen from the end of the first page to the beginning of the third page. Under this condition, if we insert a line feed symbol to create a blank line in the 5th line of the second page, there will be 11 lines in total,
In the conventional case, the page break symbol is shifted to the third page.

この点を防ぐために、本発明の場合には、図示
の表示フオーマツト情報テーブル3に示す如く、
改ページ記号に対応する行(図示矢印の行)につ
いて、第2ページの第10行にぶら下がる行とし
て、同じ第2ページの第10行に相当するページ番
号と行番号とをつけるようにする。
In order to prevent this problem, in the case of the present invention, as shown in the display format information table 3 shown in the figure,
For the line corresponding to the page break symbol (the line indicated by the arrow in the figure), the page number and line number corresponding to the 10th line of the second page are given as a line hanging from the 10th line of the second page.

このようにした結果、第1図図示下段に示す画
面バツフア4上で、当該改ページ記号が第2ペー
ジ上に当該ページの行数を一時的に増大した形で
表示される。
As a result, on the screen buffer 4 shown in the lower part of FIG. 1, the page break symbol is displayed on the second page with the number of lines of the page temporarily increased.

〔作用〕[Effect]

上記の如き特殊な改ページ記号を検出する機能
により、当該改ページ記号を検出すると、当該改
ページ記号のみの行についてのフオーマツト情報
におけるページ番号が第2ページを示すようにさ
れ、かつ行番号が第10行を示すようにされる。こ
のために、画面上では一時的に第2ページの行数
が11行分となつたように表示される。そして、印
刷に当たつても、上述の如く従来の場合に現れる
空白ページがつくられることがない。
When the page break symbol is detected by the function that detects the special page break symbol as described above, the page number in the format information for the line containing only the page break symbol will be set to indicate the second page, and the line number will be changed to indicate the second page. The 10th line is shown. For this reason, the number of lines on the second page is temporarily displayed on the screen as 11 lines. Also, when printing, as mentioned above, blank pages that appear in the conventional case are not created.

〔実施例〕〔Example〕

第2図はフオーマツト情報作成についての一実
施例処理フローを表している。第6図図示の伸張
処理プログラム5の機能として、第2図図示の第
1の機能部と第2の機能部とをもうけるよう
にしている。
FIG. 2 shows an example processing flow for creating format information. The functions of the decompression processing program 5 shown in FIG. 6 include a first functional section and a second functional section shown in FIG. 2.

第2図において、ルートは、テキスト領域1
内の文字を1文字ずつ取り込んで1つの行におけ
る文字位置を更新し、文字の種類によつてフオー
マツト情報の内容を更新する処理に対応してい
る。ルートは、改行記号なしに当該行が数量し
た場合におけるフオーマツト情報作成処理に対応
している。ルートは、改行記号の存在にもとづ
いて当該行が終了した場合におけるフオーマツト
情報作成処理に対応している。
In Figure 2, the root is text area 1
This corresponds to the process of updating the character position in one line by importing the characters one by one, and updating the contents of format information depending on the type of character. The root corresponds to the format information creation process when the number of lines is the same without a line break symbol. The route corresponds to format information creation processing when the line ends based on the presence of a line feed symbol.

またルートは、本発明において用意されたも
のであつて、ぶら下がりの行を作成する処理に対
応している。そして、ルートは、最終行から改
ページ記号なしにページが変更される処理に対応
している。
The route is prepared in the present invention and corresponds to the process of creating a hanging line. The route corresponds to a process in which the page is changed from the last line without a page break symbol.

第3図は、画面バツフアを編集する処理につい
ての一実施例フローを示す。図示処理は、伸張
処理プログラム5が、表示用テキスト行2−1−
iと次行のフオーマツト情報2−2−(i+1)
をつくる処理に対応している。処理は、つくら
れた次行のフオーマツト情報2−2−(i+1)
中のページ番号と直前の行のフオーマツト情報2
−i中のページ番号とを比較する処理に対応して
いる。処理は、ページ境界を表す行を記述する
処理(第1図図示の……P1……の如き表示を行
う処理)に対応している。処理は、次の行につ
いての処理を行うべき行位置を進める処理に対応
している。また処理は、画面バツフア4が満杯
となつたか否かをチエツクする処理に対応してい
る。
FIG. 3 shows an example flow of processing for editing a screen buffer. In the illustrated processing, the decompression processing program 5 executes the display text line 2-1-
i and next line format information 2-2-(i+1)
It corresponds to the process of creating . Processing is the format information of the next line created 2-2-(i+1)
Page number inside and format information of the previous line 2
This corresponds to the process of comparing the page number in -i. The process corresponds to the process of writing a line representing a page boundary (the process of displaying a line such as . . . P1 . . . shown in FIG. 1). The process corresponds to the process of advancing the line position where the next line should be processed. The process also corresponds to the process of checking whether the screen buffer 4 is full.

画面バツフア編集に当たつては、第3図図示の
如く、与えられている次行のフオーマツト情報2
−2−(i+1)にもとづいて、画面編集が行わ
れてゆく。このために、上述の如くフオーマツト
情報が2つ続いて同じページ番号と同じ行番号を
もつていたとしても、何んら差支えなく、ページ
番号が変化したときにのみページ境界が表示され
る。
When editing the screen buffer, as shown in Figure 3, the format information 2 of the given next line is
Screen editing is performed based on -2-(i+1). For this reason, even if two consecutive pieces of format information have the same page number and the same line number as described above, there is no problem; the page boundary is displayed only when the page number changes.

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

以上説明した如く、本発明によれば、フオーマ
ツト情報作成時に、いわばぶら下がり行をつくる
だけで足り、空白ページが現れることがなく、ま
た画面表示上でのページ数の印刷時のページ数と
が異なることもない。
As explained above, according to the present invention, when creating format information, it is sufficient to create a so-called hanging line, no blank pages appear, and the number of pages displayed on the screen is different from the number of pages when printed. Not at all.

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

第1図は本発明の原理説明図、第2図はフオー
マツト情報の作成処理についての一実施例フロ
ー、第3図は画面バツフア編集処理についての一
実施例フロー、第4図ないし第7図は表示用テキ
スト行とフオーマツト情報とを作成してゆく態様
を説明する説明図を示す。 図中、1はテキスト領域、2−1は表示用テキ
スト行、2−2はフオーマツト情報、3は表示フ
オーマツト情報テーブル、4は画面バツフア、5
は伸張処理プログラム、は第1の機能部、は
第2の機能部を表す。
Fig. 1 is an explanatory diagram of the principle of the present invention, Fig. 2 is an embodiment flow of format information creation processing, Fig. 3 is an embodiment flow of screen buffer editing processing, and Figs. 4 to 7 are An explanatory diagram illustrating how display text lines and format information are created is shown. In the figure, 1 is a text area, 2-1 is a display text line, 2-2 is format information, 3 is a display format information table, 4 is a screen buffer, and 5 is a display format information table.
represents the decompression processing program, represents the first functional unit, and represents the second functional unit.

Claims (1)

【特許請求の範囲】 1 入力されたテキストが格納されるテキスト領
域をそなえると共に、当該テキスト領域の内容を
表示するに当たつて、当該表示の各ページの各行
毎に対応して、表示用テキスト行を画面バツフア
上に作成しかつ編集用フオーマツト情報を表示フ
オーマツト情報テーブル上に作成して対にして保
持するように構成される文書処理装置において、 上記表示用テキスト行と上記表示フオーマツト
情報とを生成する伸張処理部が、 ページ内最終行に続く改ページ記号を検出し、
かつ当該改ページ記号が次のページに当該改ペー
ジ記号のみの形で検出されるものである場合を判
定する第1の機能部と、 当該第1の機能部によつて判定された改ページ
記号の存在する行についての編集用フオーマツト
情報に対して、直前の行の編集用フオーマツト情
報におけるページ番号と行番号と同じページ番号
と行番号とを付与する第2の機能部と を少なくともそなえ、 上記判定された改ページ記号の存在する行につ
いて、前のページにおける1ページ内の行数を一
時的に増大する形で処理するよう構成した ことを特徴とする文書処理装置。
[Scope of Claims] 1. Provides a text area in which input text is stored, and when displaying the contents of the text area, displays text for each line of each page of the display. In a document processing device configured to create lines on a screen buffer and edit format information on a display format information table and hold them in pairs, the display text line and the display format information are The decompression processing unit that generates the page detects the page break symbol following the last line in the page,
and a first functional unit that determines a case where the page break symbol is detected only in the form of the page break symbol on the next page; and a page break symbol determined by the first functional unit. at least a second functional unit that assigns the same page number and line number as the page number and line number in the editing format information of the immediately preceding line to the editing format information about the line where the above exists; A document processing device characterized in that a document processing device is configured to process a line in which a determined page break symbol exists by temporarily increasing the number of lines in one page in a previous page.
JP61056603A 1986-03-14 1986-03-14 Document processor Granted JPS62212869A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61056603A JPS62212869A (en) 1986-03-14 1986-03-14 Document processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61056603A JPS62212869A (en) 1986-03-14 1986-03-14 Document processor

Publications (2)

Publication Number Publication Date
JPS62212869A JPS62212869A (en) 1987-09-18
JPH0379739B2 true JPH0379739B2 (en) 1991-12-19

Family

ID=13031796

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61056603A Granted JPS62212869A (en) 1986-03-14 1986-03-14 Document processor

Country Status (1)

Country Link
JP (1) JPS62212869A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2585298B2 (en) * 1987-09-30 1997-02-26 株式会社東芝 Document creation device
JP2000289284A (en) * 1999-04-09 2000-10-17 Nec Corp Paper saving printing system

Also Published As

Publication number Publication date
JPS62212869A (en) 1987-09-18

Similar Documents

Publication Publication Date Title
EP0947930B1 (en) Font sharing system and method, and recording medium storing program for executing font sharing method
JPH01174463A (en) Dot pattern correction method
DE69326595T2 (en) Word processor with a handwriting input function
US5079724A (en) Word processing apparatus having image-format control functions
JPS6024584A (en) Gothic character generation system
JPH0379739B2 (en)
JPH0585931B2 (en)
JP3157956B2 (en) Document processing device with list display function of format setting
JP2985275B2 (en) Character generation method of outline font
Beebe A Bibliography of Publications about Typographic Fonts
JPS59123043A (en) Clean copy processor
JPS58200326A (en) Word processor
JPS62186355A (en) Document preparation system
JP2594043B2 (en) Ruled line creation device
JP2541612B2 (en) Multi-window display
JP2549629B2 (en) Document creation device
JPH0751374B2 (en) Document processor
JPH0696070A (en) Document input system
JPS62146663A (en) Document printing system
JPS5958536A (en) Printer control system
JPH035873A (en) Word processor provided with table of contents automatic generating function
JPS6050588A (en) Layout indication system
JPH0345415B2 (en)
JPS6010311A (en) Plant operation supervising display system
JPS60118978A (en) Display system in document forming device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees