JPH09198376A - Document processor - Google Patents

Document processor

Info

Publication number
JPH09198376A
JPH09198376A JP8005791A JP579196A JPH09198376A JP H09198376 A JPH09198376 A JP H09198376A JP 8005791 A JP8005791 A JP 8005791A JP 579196 A JP579196 A JP 579196A JP H09198376 A JPH09198376 A JP H09198376A
Authority
JP
Japan
Prior art keywords
display
document data
line
document
code
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
JP8005791A
Other languages
Japanese (ja)
Inventor
Yoshiharu Takahashi
由治 高橋
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.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP8005791A priority Critical patent/JPH09198376A/en
Publication of JPH09198376A publication Critical patent/JPH09198376A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PROBLEM TO BE SOLVED: To confirm a document by reducing a scroll operation by removing a space or a tab up to the first character or character string of a line for each line, thereby displaying the character or the character string from the head of a sentence. SOLUTION: When the instruction of simplified display is received from a display switch instructing means 105, a retrieving means 106 reads document data out of a document data storage means 103 for each line and retrieves the display part position of previously processed document data corresponding to format information consisting of centering and right-justifying. Then, a document processor 102 is further provided with a changing means 110 for changing the display start position of processed document data into left-justifying on a display screen, and a display control means 108 displays the document data at the display start position changed by the changing means 110 on a display means 104. Thus, by switching into simplified display, data are displayed by left-justifying format to left while ignoring the format setting of centering or right-justifying for each line. Therefore, much more documents are displayed on the limited display screen.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は文書処理装置に関
し、詳しくは、日本語ワードプロセッサー、欧文ワード
プロセッサー、DTP(Desk Top Publishing)、パーソ
ナルコンピュータ、電子手帳、携帯型情報処理端末など
の文書処理装置に適用され、文書データのレイアウトの
一部を変更して簡易表示できるようにした文書処理装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document processing device, and more specifically, it is applied to a document processing device such as a Japanese word processor, a European word processor, a DTP (Desk Top Publishing), a personal computer, an electronic notebook, and a portable information processing terminal. In addition, the present invention relates to a document processing device that allows a part of the layout of document data to be changed and simply displayed.

【0002】[0002]

【従来の技術】従来、この種の文書処理装置において、
例えば、文書の入力編集を行う際、文字列の位置揃え
(レイアウト)はスペースコード、タブコードなどの制
御コードの入力で行われている。文章データの書式に基
づいてその始端及び終端位置を表示すると共に、これに
対応して文章データの記憶状態を表示することにより、
簡単で極めて見やすいレイアウト表示を可能とする文章
作成装置が知られている(特開昭61−232487号
公報参照)。
2. Description of the Related Art Conventionally, in this type of document processing apparatus,
For example, when inputting and editing a document, alignment of character strings (layout) is performed by inputting a control code such as a space code or a tab code. By displaying the start and end positions based on the format of the text data, and correspondingly displaying the storage state of the text data,
There is known a text creating device capable of displaying a layout that is simple and extremely easy to see (see Japanese Patent Application Laid-Open No. 61-232487).

【0003】制御コードを一括または必要に応じて選択
的にスペースコードに変更することにより、手作業で変
更する必要をなくし操作者の負担を軽減する文字処理装
置が知られている(特開平5−46617号公報参
照)。入力手段からの文書情報の入力に伴い、タブスケ
ール行の表示位置をその都度設定変更できるようにし
て、文字位置の把握を容易にし文書作成の操作性の向上
を図る情報処理装置のタブスケール行設定機構が知られ
ている(特開平5−40458号公報参照)。
A character processing device is known in which the control code is collectively or selectively changed to a space code as necessary, thereby eliminating the need for manual change and reducing the burden on the operator (Japanese Patent Laid-Open No. Hei 5). -46617 gazette). A tab scale line of an information processing device is provided, which allows the display position of the tab scale line to be changed each time when the document information is input from the input means, so that the character position can be easily grasped and the operability of document creation is improved. A setting mechanism is known (see Japanese Patent Application Laid-Open No. 5-40458).

【0004】[0004]

【発明が解決しようとする課題】しかしながら、特開昭
61−232487号公報、特開平5−46617号公
報、特開平5−40458号公報の記載の文書処理は、
文書の入力編集作業の改善に関するものであるが、例え
ば、表示領域は限られている電子手帳や携帯端末におい
て、より早く文書内容を確認したい場合、作成された文
書データのレイアウトの一部を変更しての簡易表示処理
を行う構成は記載されていない。
However, the document processing described in JP-A-61-2232487, JP-A-5-46617 and JP-A-5-40458 is
Regarding the improvement of document input / edit work, for example, if you want to check the document contents earlier in an electronic organizer or mobile terminal that has a limited display area, change part of the layout of the created document data. The configuration for performing the simple display processing is not described.

【0005】例えば、文書データのレイアウトにおいて
空白領域になる例としては、行頭からスペースやタブで
始まる文書データがあった場合、そのスペースやタブの
部分が空白領域になる。また、文字と文字の間にあった
ひとつの全角スペースや、複数個の全角または半角スペ
ースの部分が空白領域になる。また、文書中のタブは表
示上、文書処理装置で設定したあるタブ設定したあるタ
ブ設定位置まで空白領域になる。文書データの書式情報
にセンタリングや右詰めのモードが設定されていると、
行頭部分が空白になる。文書データの書式情報の改行ピ
ッチに、表示させている文字の高さより大きな値が設定
されていると改行間隔があきすぎその部分が空白にな
る。
For example, as an example of a blank area in the layout of document data, if there is document data starting with a space or tab from the beginning of a line, the space or tab portion becomes a blank area. In addition, a single full-width space between characters or a plurality of full-width or half-width spaces becomes a blank area. Further, the tabs in the document become blank areas on the display up to a certain tab setting position set by the document processing apparatus. If centering or right-justified mode is set in the format information of the document data,
The beginning of the line becomes blank. If the line feed pitch of the format information of the document data is set to a value larger than the height of the characters being displayed, the line feed interval becomes too large and that part becomes blank.

【0006】図15は表示画面の領域より大きいレイア
ウトを表示する画面処理例を示す説明図である。図15
において、表示バッファに格納される文書データの最大
桁数は半角文字で30桁、表示画面の最大桁数は半角文
字で20桁であることを示している。また、桁番号の上
に示した▼マークはこの文書データにタブ設定位置を表
し、このタブ設定位置情報は書式バッファに格納されて
いる。図15(a)では実線で表した桁番号1〜20の
領域が画面に表示され、点数で表した桁番号21〜30
の領域が画面からはみ出して表示されていないことを示
す。図15(b)は図15(a)の表示領域を右スクロ
ールキーで5桁分の右へ移動させたスクロール処理を示
す。その結果、桁番号21〜25の領域が画面に表れる
が桁番号1〜5の領域が画面から見えなくなる。
FIG. 15 is an explanatory diagram showing an example of screen processing for displaying a layout larger than the area of the display screen. FIG.
Indicates that the maximum number of digits of the document data stored in the display buffer is 30 single-byte characters and the maximum number of digits of the display screen is 20 single-byte characters. Also, the ▼ mark shown above the digit number represents the tab setting position in this document data, and this tab setting position information is stored in the format buffer. In FIG. 15A, the areas of digit numbers 1 to 20 represented by solid lines are displayed on the screen, and the digit numbers 21 to 30 represented by points.
Indicates that the area is not displayed outside the screen. FIG. 15B shows a scroll process in which the display area of FIG. 15A is moved to the right by five digits with the right scroll key. As a result, the areas with the digit numbers 21 to 25 appear on the screen, but the areas with the digit numbers 1 to 5 disappear from the screen.

【0007】上記のような表示画面の領域より大きいレ
イアウトの文書を表示する文書処理装置において、スペ
ースコード、タブコードなどの制御コード、センタリン
グ、右詰めなどの書式が多いレイアウトで作成された文
書では空白領域が多くなり、それだけ表示画面からはみ
出した部分が多くなる。空白部分の多い文書を確認する
場合、スクロール操作が繁雑になるという問題がある。
従って、単に文書内容を知ることを最優先させる場合、
スペース、タブのような空白部分のレイアウトは無用と
なる。
In a document processing apparatus for displaying a document having a layout larger than the area of the display screen as described above, a control code such as a space code or a tab code, or a document created with a layout having many formats such as centering and right justification is used. There are many blank areas, and so many areas are off the display screen. When checking a document with a lot of white space, there is a problem that the scroll operation becomes complicated.
Therefore, when giving top priority to simply knowing the document contents,
The layout of blank parts such as spaces and tabs is unnecessary.

【0008】本発明は、以上の事情を考慮してなされも
のであり、例えば、文書データの空白領域を詰めて限ら
れた表示画面により多くの文字コードを表示する簡易表
示機能を備えた文書処理装置を提供するものである。
The present invention has been made in consideration of the above circumstances. For example, a document process having a simple display function of filling a blank area of document data and displaying a large number of character codes on a limited display screen. A device is provided.

【0009】[0009]

【課題を解決するための手段】図1は本発明の基本構成
を示すブロック図である。図1に示すように、本発明
は、文字コード、スペースコード、タブコードなどを含
む文書データとその書式を入力する入力手段101と、
入力された文書データをその書式に従い各行ごとに文書
処理する文書処理手段102と、文書処理された文書デ
ータを記憶する文書データ記憶手段103と、文書デー
タを表示画面に表示する表示手段104と、文書処理さ
れた文書データをそのまま表示する通常表示か文書処理
を簡素化して表示する簡易表示かを指示する表示切替指
示手段105と、前記表示切替指示手段105より簡易
表示の指示を受け、文書データ記憶手段103から各行
ごとに文書データを読み出し各行頭から文字コード入力
位置までのスペース及びタブコードを検索する検索手段
106と、各行毎に検索されたスペースコード及びタブ
コードを除去する除去手段107と、前記スペースコー
ド及びタブコードが除去された文書データを表示画面の
左詰めに前記表示手段104に表示させる表示制御手段
108とを備えたことを特徴とする文書処理装置であ
る。
FIG. 1 is a block diagram showing the basic configuration of the present invention. As shown in FIG. 1, the present invention includes an input unit 101 for inputting document data including a character code, a space code, a tab code, etc., and a format thereof.
Document processing means 102 for processing the input document data for each line according to the format, document data storage means 103 for storing the document processed document data, and display means 104 for displaying the document data on a display screen, Display switching instructing means 105 for instructing normal display for displaying document-processed document data as it is or simple display for simplifying document processing, and simple display instruction from the display switching instructing means 105 for document data Retrieval means 106 for reading out the document data for each line from the storage means 103 and retrieving the space and tab code from the beginning of each line to the character code input position, and a removing means 107 for removing the space code and tab code retrieved for each line. , The document data from which the space code and tab code are removed is displayed on the left side of the display screen. A document processing apparatus characterized by comprising a display control unit 108 to be displayed on the stage 104.

【0010】本発明によれば、簡易表示に切り替えるこ
とにより、各行毎にその行の最初の文字コード(文字ま
たは文字列)までのスペースやタブコードが除去され文
頭から文字または文字列が表示される。従って、限られ
た表示画面に、より多くの文書が表示されるのでスクロ
ール操作を少なくして文書を確認することができる。
According to the present invention, by switching to the simplified display, the space or tab code up to the first character code (character or character string) of that line is removed and the character or character string is displayed from the beginning of each sentence. It Therefore, since more documents are displayed on the limited display screen, it is possible to check the documents with less scrolling operation.

【0011】なお、本発明において、入力手段101
は、キーボード、マウス、ペン・タブレットなどからな
る入力装置で構成される。文書処理手段102、文書デ
ータ記憶手段103、表示切替指示手段105、検索手
段106、除去手段107、表示制御手段108、置換
手段109、変更手段110、改行修正手段111とし
ては、CPU、ROM、RAM、I/Oポートからなる
マイクロコンピュータで構成される。特に、文書データ
記憶手段103は、この中のRAMで構成される。ま
た、ROMには、本発明の表示切替指示手段105、検
索手段106、除去手段107、表示制御手段108、
置換手段109、変更手段110、改行修正手段111
として機能するプログラムが格納されている。表示手段
104は、液晶ディスプレイ(LCD)、CRTディス
プレイなどからなる表示装置で構成される。
In the present invention, the input means 101
Is composed of an input device such as a keyboard, a mouse, and a pen / tablet. The document processing unit 102, the document data storage unit 103, the display switching instruction unit 105, the search unit 106, the removal unit 107, the display control unit 108, the replacement unit 109, the changing unit 110, and the line feed correcting unit 111 include a CPU, a ROM, and a RAM. , I / O port. In particular, the document data storage means 103 is composed of the RAM therein. Further, in the ROM, the display switching instruction means 105, the search means 106, the removal means 107, the display control means 108 of the present invention,
Replacement unit 109, change unit 110, line feed correction unit 111
A program that functions as is stored. The display unit 104 is composed of a display device such as a liquid crystal display (LCD) or a CRT display.

【0012】前記検索手段106は前記表示切替指示手
段105から簡易表示の指示を受けた際、前記文書デー
タ記憶手段103から各行ごとに文書データを読み出し
各行の文書データの文字コードに続くスペースコードを
検索する機能をさらに備え、前記文書処理装置が、その
スペースコードから次の文字コードまでを半角の1スペ
ースコードに置換する置換手段109をさらに備え、前
記表示制御手段108は前記置換手段109により置換
された文書データを前記表示手段104に表示させる構
成にすることが好ましい。この構成にすれば、簡易表示
に切り替えることにより、行毎に文字コード(文字また
は文字列)に続くスペースと次の文字または文字列まで
のスペースがまとめて1つの半角のスペースに置き換え
られて表示される。従って、限られた表示画面に、より
多くの文書が表示されるのでスクロール操作を少なくし
て文書を確認することができる。
When the retrieval means 106 receives a simple display instruction from the display switching instruction means 105, the retrieval means 106 reads the document data for each line from the document data storage means 103 and outputs a space code following the character code of the document data for each line. The document processing apparatus further includes a search function, and the document processing apparatus further includes replacement means 109 for replacing the space code to the next character code with one half-width space code, and the display control means 108 is replaced by the replacement means 109. It is preferable that the displayed document data is displayed on the display unit 104. With this configuration, by switching to the simplified display, the space following the character code (character or character string) and the space up to the next character or character string are replaced and displayed as a single half-width space for each line. To be done. Therefore, since more documents are displayed on the limited display screen, it is possible to check the documents with less scrolling operation.

【0013】前記検索手段106は前記表示切替指示手
段105から簡易表示の指示を受けた際、前記文書デー
タ記憶手段103から各行ごとに文書データを読み出し
各行の文書データの文字コードに続くタブコードを検索
する機能をさらに備え、前記文書処理装置が、そのタブ
コードから次の文字コードまでを半角の1スペースコー
ドに置換する置換手段109をさらに備え、前記表示制
御手段108は前記置換手段109により置換された文
書データを前記表示手段104に表示させる構成にする
ことが好ましい。この構成によれば、簡易表示に切り替
えることにより、行毎に文字コード(文字または文字
列)に続くタブと次の文字または文字列までのタブがま
とめて1つの半角のスペースに置き換えられて表示され
る。従って、限られた表示画面に、より多くの文書が表
示されるのでスクロール操作を少なくして文書を確認す
ることができる。
When the retrieval means 106 receives a simple display instruction from the display switching instruction means 105, the retrieval means 106 reads out the document data for each line from the document data storage means 103 and outputs a tab code following the character code of the document data in each row. The document processing apparatus further includes a search function, and the document processing apparatus further includes a replacement unit 109 that replaces the tab code to the next character code with a one-byte space code. The display control unit 108 is replaced by the replacement unit 109. It is preferable that the displayed document data is displayed on the display unit 104. According to this configuration, by switching to the simplified display, the tab following the character code (character or character string) and the tabs up to the next character or character string are collectively displayed in one half-width space for each line. To be done. Therefore, since more documents are displayed on the limited display screen, it is possible to check the documents with less scrolling operation.

【0014】前記検索手段106は前記表示切替指示手
段105から簡易表示の指示を受けた際、前記文書デー
タ記憶手段103から各行ごとに文書データを読み出し
センタリング及び右詰めからなる書式情報により予め文
書処理された文書データの表示開始位置を検索する機能
をさらに備え、前記文書処理装置が、文書処理された文
書データの表示開始位置を表示画面の左詰めに変更する
変更手段110をさらに備え、前記表示制御手段108
は前記変更手段110により変更された表示開始位置に
文書データを前記表示手段104に表示させる構成にす
ることが好ましい。この構成によれば、簡易表示に切り
替えることにより、行毎にセンタリングや右詰めの書式
設定が無視されて左詰めで表示される。従って、限られ
た表示画面に、より多くの文書が表示されるのでスクロ
ール操作を少なくして文書を確認することができる。
When the search means 106 receives a simple display instruction from the display switching instruction means 105, the document data is read from the document data storage means 103 for each line and document processing is performed in advance by format information including centering and right justification. The document processing apparatus further includes a function of searching the display start position of the processed document data, and the document processing apparatus further includes changing means 110 for changing the display start position of the document processed document data to the left justification of the display screen. Control means 108
It is preferable that the document data is displayed on the display unit 104 at the display start position changed by the changing unit 110. According to this configuration, by switching to the simplified display, the centering and right-justified formatting of each line are ignored and the left-justified display is performed. Therefore, since more documents are displayed on the limited display screen, it is possible to check the documents with less scrolling operation.

【0015】前記検索手段106は前記表示切替指示手
段105から簡易表示の指示を受けた際、前記文書デー
タ記憶手段103から各行ごとに文書データを読み出し
各行の改行ピッチと文字コードを含まないと改行コード
とを検索する機能をさらに備え、前記文書処理装置が、
文字コードの含まない行の改行コードを無効にするとと
もに文字高さより大きい改行ピッチを文字高さに等しい
ピッチに修正する改行修正手段111をさらに備え、前
記表示制御手段108は前記改行修正手段111により
修正された文書データを前記表示手段104に表示させ
る構成にすることが好ましい。この構成によれば、簡易
表示に切り替えることにより、文字または文字列の含ま
ない行の改行が無視され、且つ文字または文字列の含む
行の改行ピッチが文字高さに等しいピッチに修正され
る。従って、限られた表示画面に、より多くの行数の文
書が表示されるのでスクロール操作を少なくして文書を
確認することができる。さらにオペレータが書式情報の
設定を変更する手間も省かれる。
When the search means 106 receives a simple display instruction from the display switching instruction means 105, the document data is read from the document data storage means 103 for each line, and if the line feed pitch and the character code of each line are not included, the line feed is performed. And further comprising a function of searching a code,
A line feed correction unit 111 for invalidating the line feed code of a line that does not include a character code and for correcting a line feed pitch larger than the character height to a pitch equal to the character height is further provided, and the display control unit 108 uses the line feed correction unit 111. It is preferable that the corrected document data is displayed on the display unit 104. According to this configuration, by switching to the simple display, the line breaks of the lines that do not include the character or the character string are ignored, and the line break pitch of the lines that include the character or the character string is corrected to a pitch equal to the character height. Therefore, since the document having a larger number of lines is displayed on the limited display screen, the scroll operation can be reduced and the document can be confirmed. In addition, the operator does not need to change the setting of the format information.

【0016】[0016]

【発明の実施の形態】以下、図に示す実施例に基づいて
本発明を詳述する。なお、本発明はこれによって限定さ
れるものではない。本発明の簡易表示機能は電子手帳や
携帯型情報処理端末のように表示容量が比較的少ない表
示画面を有する装置に対して有効的に利用される。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described in detail based on an embodiment shown in the drawings. The present invention is not limited by this. The simple display function of the present invention is effectively used for a device having a display screen with a relatively small display capacity such as an electronic notebook and a portable information processing terminal.

【0017】図2は本発明の文書処理装置を携帯型情報
処理端末に適用した一実施例を示すブロック図である。
図2に示すように、本発明の文書処理装置は、CPU
(中央処理装置)1、ROM(リード・オンリ・メモ
リ)2、RAM(ランダム・アクセス・メモリ)3、表
示装置4、キーボード5、通信装置6、プリンタ7、外
部記憶装置8、アドレス・データバス9で構成されてい
る。ROM2にはシステムを制御するプログラムやデー
タが格納され、CPU1はアドレス・データバス9を介
してROM2に格納された各種プログラムによりシステ
ム(装置)全体の種々の制御を行うとともに各種プログ
ラムにより図1に示す検索手段、除去手段、表示制御手
段、置換手段、変更手段、改行修正手段として機能す
る。
FIG. 2 is a block diagram showing an embodiment in which the document processing apparatus of the present invention is applied to a portable information processing terminal.
As shown in FIG. 2, the document processing apparatus according to the present invention includes a CPU.
(Central processing unit) 1, ROM (Read only memory) 2, RAM (Random access memory) 3, Display device 4, Keyboard 5, Communication device 6, Printer 7, External storage device 8, Address data bus It is composed of nine. The ROM 2 stores programs and data for controlling the system, and the CPU 1 performs various controls of the entire system (apparatus) by various programs stored in the ROM 2 via the address / data bus 9 and the various programs shown in FIG. It functions as a searching unit, a removing unit, a display controlling unit, a replacing unit, a changing unit, and a line feed correcting unit.

【0018】RAM3はキーボード5や通信装置6から
入力された文書データを格納する文書バッファ3a、表
示装置4に表示するための表示データを格納する表示バ
ッファ3b、入力された文書データの書式情報を格納す
る書式バッファ3c、文書バッファ3aでの各行の文書
データ(文字、スペース、タブ)の格納先を示すポイン
タ3d、そしてCPU1がプログラムの実行により検索
/置換処理などの演算処理に使用するワークエリア3e
などで構成されている。また、RAM3は図1の文書デ
ータ記憶手段として機能する。以下に説明する文書デー
タは文字コード、スペースコード、タブコード、改行コ
ードなどで構成されているものとする。
The RAM 3 stores a document buffer 3a for storing document data input from the keyboard 5 and the communication device 6, a display buffer 3b for storing display data to be displayed on the display device 4, and format information of the input document data. A format buffer 3c for storing, a pointer 3d for indicating the storage destination of the document data (characters, spaces, tabs) of each line in the document buffer 3a, and a work area used by the CPU 1 for arithmetic processing such as search / replacement processing by executing the program. 3e
It is composed of The RAM 3 also functions as the document data storage unit shown in FIG. Document data described below is assumed to be composed of character codes, space codes, tab codes, line feed codes, and the like.

【0019】表示装置4は表示バッファ3bの内容を表
示するもので、LCD(液晶ディスプレイ)やCRTデ
ィスプレイなどが利用される。また、図1の表示手段と
して機能する。キーボード5は操作したキーに対する文
字、スペース、タブ及び書式コードなどを入力するもの
で、図1の入力手段、表示切替指示手段として機能す
る。通信装置6は別のシステムから文書データを受信し
たり送信するためのものでモデムや赤外線ユニットなど
が利用される。プリンタ7は文書バッファ3aまたは表
示バッファ3cの内容を紙などにプリントアウトするた
めのもので、サーマルプリンタやレーザプリンタなどが
利用される。外部記憶装置8は入力、編集された文書デ
ータを保存するためのものでハードディスク装置(H
D)、フロッピーディスク装置(FD)、メモリ・カー
ドなどが利用される。
The display device 4 displays the contents of the display buffer 3b, and an LCD (liquid crystal display), a CRT display or the like is used. It also functions as the display means in FIG. The keyboard 5 is for inputting characters, spaces, tabs, format codes and the like for the operated keys, and functions as the input means and display switching instruction means of FIG. The communication device 6 is for receiving and transmitting document data from another system, and a modem or an infrared unit is used. The printer 7 is for printing out the contents of the document buffer 3a or the display buffer 3c on paper or the like, and a thermal printer or a laser printer is used. The external storage device 8 is for storing the input and edited document data and is a hard disk device (H
D), floppy disk drive (FD), memory card, etc. are used.

【0020】図3は本発明の簡易表示処理(1)のメイ
ンルーチンを示すフローチャートである。図3におい
て、簡易表示モードが設定されているものとする。 ステップS1:初期値としてポインタに桁番号の1を指
定する。ステップS2で、文書バッファ3aからそのポ
インタの指す桁番号の文書データを読み込む。 ステップS3:文書データが文字コードであるかを判断
し、YesならばステップS7に移行し、Noならばス
テップS4に移行する。文字コードを検索する。 ステップS7:検索した文字コードを表示バッファ3b
に出力し、ステップS2に戻る。
FIG. 3 is a flow chart showing the main routine of the simple display process (1) of the present invention. In FIG. 3, it is assumed that the simple display mode is set. Step S1: The digit number 1 is designated in the pointer as an initial value. In step S2, the document data of the digit number indicated by the pointer is read from the document buffer 3a. Step S3: It is determined whether the document data is a character code. If Yes, the process proceeds to step S7, and if No, the process proceeds to step S4. Search for character code. Step S7: Displayed character code for display buffer 3b
To step S2.

【0021】ステップS4:既に表示バッファ3bに文
字コードが出力されているかを判断し、Yesならばス
テップS5に移行し、NoならばステップS2に戻る。
従って、ステップS2、ステップS3、ステップS4、
ステップS7の繰り返しで、先ず文字コードが検索さ
れ、表示バッファ3bの行頭に文字コードが格納される
ので、各行毎にその行の最初の文字コード(文字または
文字列)までのスペースやタブコードが除去され文頭か
ら文字または文字列が表示される。
Step S4: It is determined whether or not the character code has already been output to the display buffer 3b. If Yes, the process proceeds to Step S5, and if No, the process returns to Step S2.
Therefore, step S2, step S3, step S4,
By repeating step S7, the character code is first searched, and the character code is stored at the beginning of the line in the display buffer 3b. Therefore, for each line, there is a space or tab code up to the first character code (character or character string) of that line. A character or character string is displayed from the beginning of the sentence.

【0022】ステップS5:ステップS2で読み込んだ
文書データがスペースコード(全角または半角)である
かを判断し、YesならばステップS8に移行し、No
ならばステップS6に移行する。このとき、次の文字コ
ードまでの全スペースコードを検索する。 ステップS8:ステップS5で検索した文字間の全スペ
ースコードを半角の1スペースコードに置換して表示バ
ッファ3bに出力し、ステップS2に戻る。 ステップS6:ステップS2で読み込んだ文書データが
タブコードであるかを判断し、YesならばステップS
9に移行し、NoならばステップS2に戻る。このと
き、次の文字コードまでの全タブコードの検索する。 ステップS9:ステップS6で検索した文字間の全タブ
コードを半角の1スペースコードに置換して表示バッフ
ァ3bに出力し、ステップS2に戻る。
Step S5: It is determined whether the document data read in step S2 is a space code (full-width or half-width). If Yes, the process proceeds to step S8, No.
If so, the process proceeds to step S6. At this time, all space codes up to the next character code are searched. Step S8: All space codes between the characters searched in step S5 are replaced with one half-width space code and output to the display buffer 3b, and the process returns to step S2. Step S6: It is determined whether the document data read in step S2 is a tab code, and if Yes, step S
If No, the process returns to step S2. At this time, all tab codes up to the next character code are searched. Step S9: All tab codes between the characters retrieved in step S6 are replaced with one-byte one-space code and output to the display buffer 3b, and the process returns to step S2.

【0023】図4は図3の文書データ読込処理のサブル
ーチンを示すフローチャートである。図4において、 ステップS11:文書バッファ3aからそのポインタの
指す桁番号の文書データを読み込む。 ステップS12:ポインタをアップして次の文書データ
を指定する。 ステップS13:読み込んだ文書データが改行コードか
を判断する。YesならばステップS15に移行し、N
oならばステップS14に移行する。 ステップS14:1行の行末まで検索/置換処理したか
を判断し、YesならばステップS15に移行し、No
ならばメインルーチンに戻る。 ステップS15:改行コードを表示バッファ3bに出力
し、この行の検索/置換処理を終了する。
FIG. 4 is a flowchart showing a subroutine of the document data reading process of FIG. In FIG. 4, step S11: The document data of the digit number indicated by the pointer is read from the document buffer 3a. Step S12: The pointer is moved up and the next document data is designated. Step S13: It is judged whether the read document data is a line feed code. If Yes, the process proceeds to step S15, N
If it is o, the process proceeds to step S14. Step S14: It is judged whether the search / replacement processing has been performed up to the end of one line.
Then return to the main routine. Step S15: The line feed code is output to the display buffer 3b, and the search / replacement process for this line is completed.

【0024】図5は図3の簡易表示処理(1)に対応す
る表示画面と表示バッファの内容を示す説明図である。
図5において、図5(a)は通常表示モードにおける表
示画面であり、点線部分はスクロールにより表示される
はみ出し領域である。図5(c)は図5(a)の表示内
容に対応する表示バッファの内容を示す。図5(b)は
本発明の簡易表示モードにおける表示画面であり、点線
部分はスクロールにより表示されるはみ出し領域であ
る。図5(d)は図5(b)の表示内容に対応する表示
バッファ3bの内容を示す。
FIG. 5 is an explanatory diagram showing the contents of the display screen and the display buffer corresponding to the simple display process (1) of FIG.
In FIG. 5, FIG. 5A shows the display screen in the normal display mode, and the dotted line portion is the protruding area displayed by scrolling. FIG. 5C shows the contents of the display buffer corresponding to the display contents of FIG. FIG. 5B shows a display screen in the simple display mode of the present invention, and a dotted line portion is a protruding area displayed by scrolling. FIG. 5 (d) shows the contents of the display buffer 3b corresponding to the display contents of FIG. 5 (b).

【0025】図5の表示画面の最大桁数は半角文字で2
0桁、文書データが格納される表示バッファ3bは最大
桁数は半角で30桁となっている。桁番号の上に示した
▼はこの文書データにタブ設定位置を表し、このタブ設
定位置情報は書式バッファ3cに格納されている。な
お、上記図5の説明した内容は後述する図7、図9、図
11、図12、図14にも共通している。
The maximum number of digits on the display screen of FIG.
The maximum number of digits of the 0-digit display buffer 3b in which document data is stored is 30 digits. The ▼ shown above the digit number represents the tab setting position in this document data, and this tab setting position information is stored in the format buffer 3c. The description of FIG. 5 is common to FIGS. 7, 9, 11, 12, and 14 described later.

【0026】図5(a)の通常表示モードの表示画面で
は、「あいうえおかき」の前に全角スペース、半角スペ
ース、タブが存在し、文頭から「あ」の手前まで空白部
分を表示している。すると「おかき」が画面からはみ出
してしまい、オペレータはキーボード5の右カーソルキ
ーなどで表示画面をスクロールさせるか、あるいはオペ
レータ「あ」の前の空白部分を削除するという作業が必
要になる。
On the display screen in the normal display mode of FIG. 5A, there are full-width spaces, half-width spaces and tabs in front of "AIUEOKAKI", and a blank portion is displayed from the beginning of the sentence to before "A". . Then, "OKAKI" is pushed out of the screen, and the operator needs to scroll the display screen with the right cursor key of the keyboard 5 or delete the blank part in front of the operator "A".

【0027】しかし、図3と図4に示すステップS1〜
ステップS15の簡易表示処理により、例えば、表示バ
ッファ3bの内容が図5(c)から図5(d)に置き換
わり、表示内容が図5(a)から図5(b)のように変
わる。即ち、対象となる行毎にその行の最初の文字また
は文字列までのスペースやタブが取り除かれ文頭から文
字または文字列が表示領域内に表示される。
However, steps S1 to S3 shown in FIGS.
By the simple display processing in step S15, for example, the contents of the display buffer 3b are replaced from those in FIG. 5C to FIG. 5D, and the display contents are changed from FIG. 5A to FIG. 5B. That is, for each target line, spaces or tabs up to the first character or character string in that line are removed, and the character or character string is displayed from the beginning of the sentence in the display area.

【0028】図6は図3のスペース除去処理のサブルー
チンを示すフローチャートである。図6において、 ステップS21:文書バッファ3aからそのポインタの
指す桁番号の文書データを読み込む。 ステップS22:読み込んだ文書データがスペースコー
ドであるかを判断する。YesならばステップS21に
戻り、NoならばステップS23に移行する。 ステップS23:読み込んだ文書データが文字コードで
あるかを判断する。YesならばステップS24に移行
し、NoならばステップS21に戻る。 ステップS24:ステップS22で検索した文字間の全
スペースコードを半角の1スペースコードに置換し、検
索した文字コードと一緒に表示バッファ3bに出力し、
メインルーチンに戻る。
FIG. 6 is a flowchart showing a subroutine of the space removing process of FIG. In FIG. 6, step S21: The document data of the digit number indicated by the pointer is read from the document buffer 3a. Step S22: It is determined whether the read document data is a space code. If Yes, the process returns to step S21, and if No, the process proceeds to step S23. Step S23: It is determined whether the read document data has a character code. If Yes, the process proceeds to step S24, and if No, the process returns to step S21. Step S24: Replace all space codes between the characters searched in step S22 with one half-width space code, and output to the display buffer 3b together with the searched character code,
Return to the main routine.

【0029】図7は図6のスペース除去処理に対応する
表示画面と表示バッファの内容を示す説明図である。図
7において、図7(a)は通常表示モードにおける表示
画面であり、点線部分はスクロールにより表示されるは
み出し領域である。図7(c)は図7(a)の表示内容
に対応する表示バッファの内容を示す。図7(b)は本
発明の簡易表示モードにおける表示画面であり、点線部
分はスクロールにより表示されるはみ出し領域である。
図7(d)は図7(b)の表示内容に対応する表示バッ
ファの内容を示す。
FIG. 7 is an explanatory diagram showing the contents of the display screen and the display buffer corresponding to the space removal processing of FIG. In FIG. 7, FIG. 7A shows the display screen in the normal display mode, and the dotted line portion is the protruding area displayed by scrolling. FIG. 7C shows the contents of the display buffer corresponding to the display contents of FIG. FIG. 7B is a display screen in the simple display mode of the present invention, and a dotted line portion is a protruding area displayed by scrolling.
FIG. 7 (d) shows the contents of the display buffer corresponding to the display contents of FIG. 7 (b).

【0030】図7(a)の通常表示モードの表示画面で
は、「あい」、「うえお」、「かき」の各間に全角スペ
ース、半角スペースが存在し、必要以上に間隔が空いて
表示されている。そのため行末方向に間延びしてしま
い、画面からはみ出す部分が多く、オペレータはスクロ
ール処理や削除処理をする必要がある。
On the display screen in the normal display mode of FIG. 7 (a), there are full-width spaces and half-width spaces between "ai", "ueo", and "oyster", and they are displayed with an unnecessary interval. Has been done. As a result, the line ends up extending in the direction of the end of the line, and there are many parts that extend off the screen, requiring the operator to perform scrolling or deleting.

【0031】しかし、図6に示すステップS21〜ステ
ップS24の処理により、例えば、表示バッファ3bの
内容が図7(c)から図7(d)に置き換わり、表示内
容が図7(a)から図7(b)のように変わる。即ち、
対象となる行毎に文字または文字列に続くスペースと次
の文字または文字列までのスペースがまとめて1つの半
角スペースに置き換えられて表示画面内に表示される。
However, by the processing of steps S21 to S24 shown in FIG. 6, for example, the contents of the display buffer 3b are replaced from those shown in FIG. 7C to FIG. It changes like 7 (b). That is,
The space following the character or character string and the space up to the next character or character string for each target line are collectively replaced by one half-width space and displayed on the display screen.

【0032】図8は図3のタブ除去処理のサブルーチン
を示すフローチャートである。図8において、 ステップS31:文書バッファ3aからそのポインタの
指す桁番号の文書データを読み込む。 ステップS32:読み込んだ文書データがタブコードで
あるかを判断する。YesならばステップS31に戻
り、NoならばステップS33に移行する。 ステップS33:読み込んだ文書データが文字コードで
あるかを判断する。YesならばステップS34に移行
し、NoならばステップS31に戻る。 ステップS34:ステップS32で検索した文字間の全
タブコードを半角の1スペースコードに置換し、検索し
た文字コードと一緒に表示バッファ3bに出力し、メイ
ンルーチンに戻る。
FIG. 8 is a flow chart showing a sub-routine of the tab removing process of FIG. In FIG. 8, step S31: The document data of the digit number indicated by the pointer is read from the document buffer 3a. Step S32: It is determined whether the read document data is a tab code. If Yes, the process returns to step S31, and if No, the process proceeds to step S33. Step S33: It is determined whether the read document data is a character code. If Yes, the process proceeds to step S34, and if No, the process returns to step S31. Step S34: All tab codes between the characters searched in step S32 are replaced with one-byte space code, output to the display buffer 3b together with the searched character code, and the process returns to the main routine.

【0033】図9は図8のタブ除去処理に対応する表示
画面と表示バッファの内容を示す説明図である。図9に
おいて、図9(a)は通常表示モードにおける表示画面
であり、点線部分はスクロールにより表示されるはみ出
し領域である。図9(c)は図9(a)の表示内容に対
応する表示バッファの内容を示す。図9(b)は本発明
の簡易表示モードにおける表示画面であり、点線部分は
スクロールにより表示されるはみ出し領域である。図9
(d)は図9(b)の表示内容に対応する表示バッファ
の内容を示す。
FIG. 9 is an explanatory diagram showing the contents of the display screen and the display buffer corresponding to the tab removal processing of FIG. In FIG. 9, FIG. 9A shows the display screen in the normal display mode, and the dotted line portion is the protruding area displayed by scrolling. FIG. 9C shows the contents of the display buffer corresponding to the display contents of FIG. FIG. 9B shows a display screen in the simple display mode of the present invention, and a dotted line portion is a protruding area displayed by scrolling. FIG.
9D shows the contents of the display buffer corresponding to the display contents of FIG. 9B.

【0034】図9(a)の通常表示モードの表示画面で
は、「あい」、「うえお」、「かき」の各間にタブが存
在し、必要以上に間隔が空いて表示している。そのため
行末方向に間延びしてしまい、画面からはみ出す部分が
多く、オペレータはスクロール処理や削除処理、タブ設
定情報の変更をする必要がある。
On the display screen in the normal display mode shown in FIG. 9A, there are tabs between "Ai", "Ueo", and "Oyster", and they are displayed with an unnecessary interval. Therefore, the line ends up extending in the line end direction, and there are many portions that extend off the screen, and the operator needs to perform a scroll process, a delete process, and change the tab setting information.

【0035】しかし、図8に示すステップS31〜ステ
ップS34の処理により、例えば、表示バッファ3bの
内容が図9(c)から図9(d)に置き換わり、表示内
容が図9(a)から図9(b)のように変わる。即ち、
対象となる行毎に文字または文字列に続くタブと次の文
字または文字列までのタブがまとめて1つの半角のスペ
ースに置き換えられて表示画面内に表示される。
However, by the processing of steps S31 to S34 shown in FIG. 8, for example, the contents of the display buffer 3b are replaced from FIG. 9C to FIG. 9D, and the display contents are changed from FIG. 9A to FIG. It changes like 9 (b). That is,
The tab following the character or character string and the tabs up to the next character or character string for each target line are collectively replaced with one half-width space and displayed on the display screen.

【0036】図10は本発明の簡易表示処理(2)を示
すフローチャートである。図10において、 ステップS41:表示バッファ3bから表示データ1行
分と書式バッファ3cから書式情報を読み込む。 ステップS42:書式情報の中のモードを調べ、簡易表
示モードか通常表示モードかを判断する。簡易表示モー
ドならばステップS43に移行し、通常表示モードであ
ればステップS44に移行する。
FIG. 10 is a flow chart showing the simple display process (2) of the present invention. In FIG. 10, Step S41: Read one line of display data from the display buffer 3b and format information from the format buffer 3c. Step S42: The mode in the format information is checked to determine whether it is the simple display mode or the normal display mode. In the simple display mode, the process proceeds to step S43, and in the normal display mode, the process proceeds to step S44.

【0037】ステップS43:簡易表示モードのとき、
表示開始桁番号に1を設定する。ここで、表示開始桁番
号が1というのは表示画面の左詰め(左端)を表し、表
示するときは左詰めからとなる。 ステップS44:通常表示モードのとき、書式情報の中
からセンタリングであるかを判断する。Yesならばス
テップS45に移行し、NoならばステップS47に移
行する。 ステップS45:表示開始桁番号を計算する。 センタリングの表示開始桁番号=(文書データの最大桁
数−文字数)/2+1
Step S43: In the simple display mode,
Set 1 to the display start digit number. Here, the display start digit number 1 indicates that the display screen is left-justified (left end), and is displayed from left-justified. Step S44: In the normal display mode, it is determined from the format information whether the centering is performed. If Yes, the process proceeds to step S45, and if No, the process proceeds to step S47. Step S45: Calculate the display start digit number. Centering display start digit number = (maximum digit number of document data-character number) / 2 + 1

【0038】図11はセンタリング表示から左詰め表示
に変更する表示画面を示す説明図である。図11(a)
の例では文書データの最大桁数=30、文字数=14半
角(全角1文字は2半角)なので計算すると9となる。 ステップS46:表示開始桁番号に9を設定し、センタ
リング処理を終了する。 ステップS47:通常表示モードのとき、書式情報の中
から右詰めであるかを判断する。Yesならばステップ
S48に移行し、Noならば処理を終了する。 ステップS48:表示開始桁番号を計算する。 右詰めの表示開始桁番号=(文書データの最大桁数−文
字数)+1
FIG. 11 is an explanatory diagram showing a display screen for changing the centering display to the left-justified display. FIG. 11 (a)
In the above example, the maximum number of digits of document data = 30 and the number of characters = 14 half-widths (one full-width character is two half-widths), so the calculation results in 9. Step S46: The display start digit number is set to 9, and the centering process is ended. Step S47: In the normal display mode, it is determined from the format information whether it is right-justified. If Yes, the process proceeds to step S48, and if No, the process ends. Step S48: Calculate the display start digit number. Right-justified display start digit number = (maximum digit number of document data-character number) + 1

【0039】図12は右詰め表示から左詰め表示に変更
する表示画面を示す説明図である。図12(a)の例で
は文書データの最大桁数=30、文字数=14半角(全
角1文字は2半角)なので計算すると17となる。 ステップS49:表示開始桁番号に17を設定し、右詰
め処理を終了する。通常表示モードでは、例えば、セン
タリング/右詰めの書式情報が設定されている場合、そ
の行の表示開始桁番号を計算してセンタリング/右詰め
の表示処理を行っていたが、本発明の簡易表示モードに
設定された場合、センタリング/右詰めの書式情報を無
効にし、常に表示開始桁番号を1に固定にして左詰めで
表示処理される。
FIG. 12 is an explanatory diagram showing a display screen for changing the right-justified display to the left-justified display. In the example of FIG. 12A, the maximum number of digits of document data = 30 and the number of characters = 14 half-widths (one full-width character is two half-widths), so the calculation yields 17. Step S49: The display start digit number is set to 17, and the right justification process ends. In the normal display mode, for example, when the centering / right-justified format information is set, the display start column number of the line is calculated and the centering / right-justified display processing is performed. When the mode is set, the centering / right-justified format information is invalidated, the display start digit number is always fixed at 1, and the left-justified display processing is performed.

【0040】図11(a)の通常表示モードの表示画面
では、「あいうえおかき」が文書データの最大桁数の半
角30桁の真ん中に位置するように「あ」の開始位置が
表示画面の9桁目になり、前の8桁が空白となってい
る。この例では「き」が画面からはみ出してしまい、オ
ペレータはスクロール処理やセンタリング処理を外す変
更が必要である。また、図12(a)の通常表示モード
の表示画面では、「あいうえおかき」が文書データの最
大桁数の半角30桁の右一杯に詰められるように「あ」
の開始位置が表示画面の17桁目になり、前の16桁が
空白となっている。この例では「うえおかき」が画面か
らはみ出してしまい、オペレータはスクロール処理や右
詰め処理を外す変更が必要である。しかし、図10に示
すステップS41〜ステップS43の処理により、図1
1(a)から図11(b)、図12(a)から図12
(b)にそれぞれ変わる。
On the display screen in the normal display mode of FIG. 11 (a), the start position of "a" is located at the center of the display screen so that "aiueokaki" is located in the middle of the half-width 30-digit number of the maximum number of digits of the document data. It becomes the digit and the previous 8 digits are blank. In this example, "ki" is out of the screen, and the operator needs to change the scroll process and the centering process. Further, in the display screen of the normal display mode of FIG. 12A, “Ai” is placed so that “Aiue Okaki” is packed to the right of the maximum 30 digits of the document data.
Is the 17th digit on the display screen, and the previous 16 digits are blank. In this example, "Ueokaki" runs off the screen, and the operator needs to change the scroll process or right-justified process. However, due to the processing of steps S41 to S43 shown in FIG.
1 (a) to FIG. 11 (b) and FIG. 12 (a) to FIG.
Change to (b) respectively.

【0041】図13は本発明の簡易表示処理(3)を示
すフローチャートである。図13において、 ステップS51:表示バッファ3bから表示データ1行
分と書式バッファ3cから書式情報を読み込む。 ステップS52:表示画面での表示開始行座標に表示開
始桁番号から1行分表示する。このとき右端からはみ出
た部分の表示が省略される。ここで、表示開始行座標と
は、表示画面の立て方向座標のことである。 ステップS53:書式情報の中のモードを調べ、簡易表
示モードか通常表示モードかを判断する。簡易表示モー
ドならばステップS54に移行し、通常表示モードなら
ばステップS55に移行する。
FIG. 13 is a flow chart showing the simple display process (3) of the present invention. In FIG. 13, step S51: Read one line of display data from the display buffer 3b and format information from the format buffer 3c. Step S52: Display one line from the display start digit number at the display start line coordinates on the display screen. At this time, the display of the portion protruding from the right end is omitted. Here, the display start line coordinates are the vertical direction coordinates of the display screen. Step S53: The mode in the format information is checked to determine whether it is the simple display mode or the normal display mode. In the simple display mode, the process proceeds to step S54, and in the normal display mode, the process proceeds to step S55.

【0042】ステップS54:簡易表示モードのとき、
文字コードの含まない行の改行コードを無効(改行ピッ
チを0)にし、文字コードの含む行の改行コードの改行
ピッチは文字高さ分(例えば16ドット)に修正して表
示開始行座標にプラスする(改行修正処理)。 ステップS55:通常表示モードのとき、その改行コー
ドの改行ピッチ分(例えば20ドット)を表示開始行座
標にプラスする。
Step S54: In the simple display mode,
Invalidate the line feed code of the line that does not contain the character code (line feed pitch is 0), and correct the line feed pitch of the line that contains the character code to the character height (for example, 16 dots) and add it to the display start line coordinates. Yes (line feed correction processing). Step S55: In the normal display mode, the line feed pitch of the line feed code (for example, 20 dots) is added to the display start line coordinates.

【0043】図14は図13の改行修正処理に対応する
表示画面を示す説明図である。図14(a)の通常表示
モードの表示画面では、1行目「あいうえおかき」、2
行目「さしすせそたちつ」、3行目空白、4行目「なに
ぬねのはひふへ」の各行間の改行ピッチがかなり空いて
画面に表示している。そのため表示画面に表示できる行
数がかなり制限されてしまい、オペレータは下カーソル
キーなどで表示画面をスクロールさせるか、あるいは改
行ピッチの変更が必要である。しかし、図13に示すス
テップS53の処理により、文字コードが含なない空白
行の改行コードを無効にするとともに文字コードの含む
行の改行ピッチを文字高さに等しいピッチに修正するこ
とで画面表示が図14(a)から図14(b)に変わ
る。
FIG. 14 is an explanatory diagram showing a display screen corresponding to the line feed correction processing of FIG. On the display screen in the normal display mode of FIG. 14A, the first line "Aiue Okaki", 2
The line breaks between the lines "Sashisusesotsutsu", the third line blank, and the fourth line "Naninune no hihifue" are displayed on the screen with quite a gap. Therefore, the number of lines that can be displayed on the display screen is considerably limited, and the operator must scroll the display screen with the down cursor key or change the line feed pitch. However, by performing the processing in step S53 shown in FIG. 13, the line feed code of the blank line that does not include the character code is invalidated, and the line feed pitch of the line that includes the character code is corrected to a pitch equal to the character height. Changes from FIG. 14 (a) to FIG. 14 (b).

【0044】本発明の構成によれば、簡易表示モードに
切り替えることにより、予め編集された文書データに含
まれるスペース、タブコード及び空白行を除去したり、
センタリング、右詰め処理を左詰めに変更して表示する
ことにより、限られた表示画面により多くの文字コード
を表示し、画面からはみ出る文字列も画面内に表示され
る。なお、画面からはみ出る文字列は表示画面の文字数
に合うよう書式を変更する構成にすることもできる。従
って、画面からはみ出てレイアウトされた文字列のスク
ロール処理に要する負担などが軽減される。
According to the configuration of the present invention, by switching to the simple display mode, spaces, tab codes and blank lines included in the document data edited in advance can be removed,
By changing the centering and right-justified processing to left-justified and displaying, more character codes are displayed on a limited display screen, and a character string that extends from the screen is also displayed in the screen. The format of the character string that extends from the screen can be changed so as to match the number of characters on the display screen. Therefore, the load required for scrolling the character string laid out outside the screen is reduced.

【0045】レイアウトを優先して表示する場合は通常
表示モードに切り替えて表示すればよい。また、簡易表
示に切り替えた文書データを、通信装置を介して他のシ
ステムに送信する場合、無駄な余白の通信による通信時
間や通信コストが削減できる。また、簡易表示に切り替
えた文書データを印刷するならば、無駄な余白による紙
面が削減きる。
When the layout is preferentially displayed, the display mode may be switched to the normal display mode. Further, when the document data switched to the simple display is transmitted to another system via the communication device, it is possible to reduce communication time and communication cost due to unnecessary margin communication. Further, if the document data switched to the simple display is printed, the paper space due to useless blank space can be reduced.

【0046】[0046]

【発明の効果】本発明によれば、簡易表示モードで文書
データを画面に表示するとき、以下の効果を奏する。 (1)各行毎にその行の最初の文字または文字列までの
スペースやタブが除去され文頭から文字または文字列が
表示される。従って、限られた表示画面に、より多くの
文書が表示されるのでスクロール操作を少なくして文書
を確認することができる。 (2)行毎に文字または文字列に続くスペースと次の文
字または文字列までのスペースがまとめて1つの半角の
スペースに置き換えられて表示される。従って、限られ
た表示画面に、より多くの文書が表示されるのでスクロ
ール操作を少なくして文書を確認することができる。さ
らにオペレータがスペースの数を減らすなどの手間が省
かれる。 (3)行毎に文字または文字列に続くタブと次の文字ま
たは文字列までのタブがまとめて1つの半角のスペース
に置き換えられて表示される。従って、限られた表示画
面に、より多くの文書が表示されるのでスクロール操作
を少なくして文書を確認することができる。されにオペ
レータによるタブ変更が省かれる。 (4)行毎にセンタリングや右詰めの書式設定が無視さ
れて左詰めで表示される。従って、限られた表示画面
に、より多くの文書が表示されるのでスクロール操作を
少なくして文書を確認することができる。さらにオペレ
ータが書式情報の設定を変更する手間も省かれる。 (5)文字または文字列の含まない行の改行が無視され
且つ文字または文字列が含む改行の改行ピッチは文字高
さに等しいピッチに修正される。従って、限られた表示
画面に、より多くの行数の文書が表示されるのでスクロ
ール操作を少なくして文書を確認することができる。さ
らにオペレータが書式情報の設定を変更する手間も省か
れる。
According to the present invention, the following effects can be obtained when the document data is displayed on the screen in the simple display mode. (1) For each line, the space or tab up to the first character or character string in that line is removed and the character or character string is displayed from the beginning of the sentence. Therefore, since more documents are displayed on the limited display screen, it is possible to check the documents with less scrolling operation. (2) A space following a character or a character string and a space up to the next character or character string are collectively displayed for each line by being replaced with one single-byte space. Therefore, since more documents are displayed on the limited display screen, it is possible to check the documents with less scrolling operation. Further, the labor for the operator to reduce the number of spaces is saved. (3) A tab following a character or a character string and a tab up to the next character or a character string are collectively displayed for each line by replacing them with one half-width space. Therefore, since more documents are displayed on the limited display screen, it is possible to check the documents with less scrolling operation. In addition, the tab change by the operator is omitted. (4) Centering and right-justified formatting for each line are ignored and displayed left-justified. Therefore, since more documents are displayed on the limited display screen, it is possible to check the documents with less scrolling operation. In addition, the operator does not need to change the setting of the format information. (5) The line feed of a line that does not include a character or character string is ignored, and the line feed pitch of the line feed included in the character or character string is corrected to a pitch equal to the character height. Therefore, since the document having a larger number of lines is displayed on the limited display screen, the scroll operation can be reduced and the document can be confirmed. In addition, the operator does not need to change the setting of the format information.

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

【図1】本発明の基本構成を示すブロック図である。FIG. 1 is a block diagram showing a basic configuration of the present invention.

【図2】本発明の文書処理装置を携帯型情報処理端末に
適用した一実施例を示すブロック図である。
FIG. 2 is a block diagram showing an embodiment in which the document processing apparatus of the present invention is applied to a portable information processing terminal.

【図3】本発明の簡易表示処理(1)のメインルーチン
を示すフローチャートである。
FIG. 3 is a flowchart showing a main routine of a simplified display process (1) of the present invention.

【図4】図3の文書データ読込処理のサブルーチンを示
すフローチャートである。
FIG. 4 is a flowchart showing a subroutine of document data reading processing of FIG.

【図5】図3の簡易表示処理(1)に対応する表示画面
と表示バッファの内容を示す説明図である。
5 is an explanatory diagram showing the contents of a display screen and a display buffer corresponding to the simple display process (1) of FIG.

【図6】図3のスペース除去処理のサブルーチンを示す
フローチャートである。
FIG. 6 is a flowchart showing a subroutine of space removal processing of FIG.

【図7】図6のスペース除去処理に対応する表示画面と
表示バッファの内容を示す説明図である。
7 is an explanatory diagram showing contents of a display screen and a display buffer corresponding to the space removal processing of FIG.

【図8】図3のタブ除去処理のサブルーチンを示すフロ
ーチャートである。
FIG. 8 is a flowchart showing a sub-routine of tab removal processing of FIG.

【図9】図8のタブ除去処理に対応する表示画面と表示
バッファの内容を示す説明図である。
9 is an explanatory diagram showing the contents of a display screen and a display buffer corresponding to the tab removal processing of FIG.

【図10】本発明の簡易表示処理(2)を示すフローチ
ャートである。
FIG. 10 is a flowchart showing a simple display process (2) of the present invention.

【図11】センタリング表示から左詰め表示に変更する
表示画面を示す説明図である。
FIG. 11 is an explanatory diagram showing a display screen for changing from centering display to left-justified display.

【図12】右詰め表示から左詰め表示に変更する表示画
面を示す説明図である。
FIG. 12 is an explanatory diagram showing a display screen for changing from right-justified display to left-justified display.

【図13】本発明の簡易表示処理(3)を示すフローチ
ャートである。
FIG. 13 is a flowchart showing a simple display process (3) of the present invention.

【図14】図13の改行修正処理に対応する表示画面を
示す説明図である。
14 is an explanatory diagram showing a display screen corresponding to the line feed correction process of FIG.

【図15】表示画面の領域より大きいレイアウトを表示
する画面処理例を示す説明図である。
FIG. 15 is an explanatory diagram showing an example of screen processing for displaying a layout larger than the area of the display screen.

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

1 CPU 2 ROM 3 RAM 3a 文書バッファ 3b 表示バッファ 3c 書式バッファ 3d ポインタ 3e ワークエリア 4 表示装置 5 キーボード 6 通信装置 7 プリンタ 8 外部記憶装置 1 CPU 2 ROM 3 RAM 3a Document buffer 3b Display buffer 3c Format buffer 3d Pointer 3e Work area 4 Display device 5 Keyboard 6 Communication device 7 Printer 8 External storage device

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 文字コード、スペースコード、タブコー
ドなどを含む文書データとその書式を入力する入力手段
と、入力された文書データをその書式に従い各行ごとに
文書処理する文書処理手段と、文書処理された文書デー
タを記憶する文書データ記憶手段と、文書データを表示
画面に表示する表示手段と、文書処理された文書データ
をそのまま表示する通常表示か文書処理を簡素化して表
示する簡易表示かを指示する表示切替指示手段と、前記
表示切替指示手段より簡易表示の指示を受け、文書デー
タ記憶手段から各行ごとに文書データを読み出し各行頭
から文字コード入力位置までのスペースコード及びタブ
コードを検索する検索手段と、各行毎に検索されたスペ
ースコード及びタブコードを除去する除去手段と、前記
スペース及びタブコードが除去された文書データを表示
画面の左詰めに前記表示手段に表示させる表示制御手段
とを備えたことを特徴とする文書処理装置。
1. An input unit for inputting document data including a character code, a space code, a tab code, etc. and a format thereof, a document processing unit for document-processing the input document data line by line according to the format, and document processing. The document data storage means for storing the document data which has been processed, the display means for displaying the document data on the display screen, the normal display for displaying the document data subjected to the document processing as they are or the simple display for simplifying the document processing are displayed. A display switching instructing means for instructing and a simple display instruction from the display switching instructing means, read the document data for each line from the document data storing means, and retrieve the space code and the tab code from the beginning of each line to the character code input position. A searching means, a removing means for removing the space code and tab code searched for each line, and the space and tab code A document processing device, comprising: display control means for displaying the document data from which the code has been removed on the left side of the display screen on the display means.
【請求項2】 前記検索手段は前記表示切替指示手段か
ら簡易表示の指示を受けた際、前記文書データ記憶手段
から各行ごとに文書データを読み出し各行の文書データ
の文字コードに続くスペースコードを検索する機能をさ
らに備え、前記文書処理装置が、そのスペースコードか
ら次の文字コードまでを半角の1スペースコードに置換
する置換手段をさらに備え、前記表示制御手段は前記置
換手段により置換された文書データを前記表示手段に表
示させることを特徴とする請求項1記載の文書処理装
置。
2. The search means, when receiving a simple display instruction from the display switching instruction means, reads the document data for each line from the document data storage means and searches for a space code following the character code of the document data in each line. The document processing apparatus further includes a replacing unit that replaces the space code to the next character code with one half-width space code, and the display control unit replaces the document data replaced by the replacing unit. The document processing apparatus according to claim 1, wherein the document is displayed on the display means.
【請求項3】 前記検索手段は前記表示切替指示手段か
ら簡易表示の指示を受けた際、前記文書データ記憶手段
から各行ごとに文書データを読み出し各行の文書データ
の文字コードに続くタブコードを検索する機能をさらに
備え、前記文書処理装置が、そのタブコードから次の文
字コードまでを半角の1スペースコードに置換する置換
手段をさらに備え、前記表示制御手段は前記置換手段に
より置換された文書データを前記表示手段に表示させる
ことを特徴とする請求項1記載の文書処理装置。
3. When the search means receives a simple display instruction from the display switching instruction means, the document data is read from the document data storage means for each line and a tab code following the character code of the document data in each line is searched. The document processing apparatus further includes a replacing unit that replaces the tab code to the next character code with a one-byte space code, and the display control unit replaces the document data replaced by the replacing unit. The document processing apparatus according to claim 1, wherein the document is displayed on the display means.
【請求項4】 前記検索手段は前記表示切替指示手段か
ら簡易表示の指示を受けた際、前記文書データ記憶手段
から各行ごとに文書データを読み出しセンタリング及び
右詰めからなる書式により予め文書処理された文書デー
タの表示開始位置を検索する機能をさらに備え、前記文
書処理装置が、文書処理された文書データの表示開始位
置を表示画面の左詰めに変更する変更手段をさらに備
え、前記表示制御手段は前記変更手段により変更された
表示開始位置に文書データを前記表示手段に表示させる
ことを特徴とする請求項1記載の文書処理装置。
4. When the search means receives a simple display instruction from the display switching instruction means, the document data is read out from the document data storage means line by line and preprocessed in a format consisting of centering and right justification. The document processing apparatus further includes a function of searching the display start position of the document data, and the document processing apparatus further includes a changing unit that changes the display start position of the document processed document data to the left justification of the display screen. 2. The document processing apparatus according to claim 1, wherein the document data is displayed on the display unit at the display start position changed by the changing unit.
【請求項5】 前記検索手段は前記表示切替指示手段か
ら簡易表示の指示を受けた際、前記文書データ記憶手段
から各行ごとに文書データを読み出し各行の改行ピッチ
と文字コードを含まないと改行コードとを検索する機能
をさらに備え、前記文書処理装置が、文字コードの含ま
ない行の改行コードを無効にするとともに文字高さより
大きい改行ピッチを文字高さに等しいピッチに修正する
改行修正手段をさらに備え、前記表示制御手段は前記改
行修正手段により修正された文書データを前記表示手段
に表示させることを特徴とする請求項1記載の文書処理
装置。
5. The search means reads the document data for each line from the document data storage means when receiving a simple display instruction from the display switching instruction means, and if the line feed pitch and the character code of each line are not included, a line feed code. Further, the document processing device further includes a line feed correction means for invalidating the line feed code of a line that does not include a character code and for correcting a line feed pitch larger than the character height to a pitch equal to the character height. 2. The document processing apparatus according to claim 1, further comprising: the display control unit that causes the display unit to display the document data corrected by the line feed correction unit.
JP8005791A 1996-01-17 1996-01-17 Document processor Pending JPH09198376A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8005791A JPH09198376A (en) 1996-01-17 1996-01-17 Document processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8005791A JPH09198376A (en) 1996-01-17 1996-01-17 Document processor

Publications (1)

Publication Number Publication Date
JPH09198376A true JPH09198376A (en) 1997-07-31

Family

ID=11620920

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8005791A Pending JPH09198376A (en) 1996-01-17 1996-01-17 Document processor

Country Status (1)

Country Link
JP (1) JPH09198376A (en)

Similar Documents

Publication Publication Date Title
US5319790A (en) Apparatus automatically entering mode for storing document and mode for reading document in response to representative data indicating whether stored document exists corresponding to input title
JPH09198376A (en) Document processor
KR100238814B1 (en) Data processing apparatus and method
JPH0128975B2 (en)
JPH0522933B2 (en)
GB2143064A (en) Registering and calling document texts
JP2995630B2 (en) Document data processing device
JP2815158B2 (en) Character processor
JPS63293072A (en) Printer
JP2787822B2 (en) Document processing device
JP3052339B2 (en) Document data processing device
JP3164573B2 (en) Electronic dictionary
JP2821002B2 (en) Character processing device and character processing method
JP3129375B2 (en) Document processing device with space / tab conversion function
JP2845235B2 (en) Document data processing device
JP3470926B2 (en) Document processing apparatus and document processing method
JP2922372B2 (en) Text processing device in the area
JPH0922411A (en) Document processing method and its device
JPS59201129A (en) Document producer
JPS61175760A (en) Character processor
JPH0756649B2 (en) Document creation device
JPH05303576A (en) Document processing system
JPH04282757A (en) Word processor
JPH07175801A (en) Document processor
JPH1027170A (en) Document preparation and display device