JPH05324254A - Scroll amount calculating device - Google Patents

Scroll amount calculating device

Info

Publication number
JPH05324254A
JPH05324254A JP4127595A JP12759592A JPH05324254A JP H05324254 A JPH05324254 A JP H05324254A JP 4127595 A JP4127595 A JP 4127595A JP 12759592 A JP12759592 A JP 12759592A JP H05324254 A JPH05324254 A JP H05324254A
Authority
JP
Japan
Prior art keywords
output data
scroll
output
data information
scroll amount
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
JP4127595A
Other languages
Japanese (ja)
Inventor
Kenichi Tamai
賢一 玉井
Yuji Nunokawa
祐司 布川
Ayako Kusumi
綾子 久住
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.)
NIIGATA NIPPON DENKI SOFTWARE KK
NEC Corp
NEC Software Niigata Ltd
Original Assignee
NIIGATA NIPPON DENKI SOFTWARE KK
NEC Corp
NEC Software Niigata 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 NIIGATA NIPPON DENKI SOFTWARE KK, NEC Corp, NEC Software Niigata Ltd filed Critical NIIGATA NIPPON DENKI SOFTWARE KK
Priority to JP4127595A priority Critical patent/JPH05324254A/en
Publication of JPH05324254A publication Critical patent/JPH05324254A/en
Pending legal-status Critical Current

Links

Landscapes

  • Digital Computer Display Output (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To display data to be referred to at an appropriate position with one scroll. CONSTITUTION:An output data analyzing device 1 inputs and analyzes output data based on a scroll instruction to move up from an input device 7 and generates output data information to be stored in an output data preserving device 2. With the control of the input device 7, a scroll amount controller 4 inputs the width of a screen at present from an output device state acquiring device 5, inputs the leading output data while being displayed on the screen from an output data information acquiring device 3 and calculates the scroll amount to be outputted to an output device 6.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、情報処理装置のスクロ
ール量計算装置に利用する。特に、情報処理装置の文章
データの画面出力処理を行うスクロール量計算装置に関
するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is used in a scroll amount calculation device for an information processing device. In particular, the present invention relates to a scroll amount calculation device that performs screen output processing of text data of an information processing device.

【0002】[0002]

【従来の技術】従来、スクロール量計算装置は、ワード
プロセッサなどの場合に、通常1行ごとまたは1画面ご
となど所定量スクロールしてから画面に出力していた。
2. Description of the Related Art Conventionally, in the case of a word processor or the like, a scroll amount calculation device usually scrolls a predetermined amount such as line by line or screen by screen and then outputs it to the screen.

【0003】[0003]

【発明が解決しようとする課題】しかし、このような従
来のスクロール量計算装置では、1行ごとまたは1画面
ごとの所定量のスクロール処理を行っていたために、参
照したいデータが途中から図面に表示されたり、スクロ
ール量が大きすぎて次のデータが表示されることがあ
り、その度に何回かスクロールを繰返して参照したいデ
ータを表示させるために、時間がかかる欠点があった。
However, in such a conventional scroll amount calculation apparatus, since a predetermined amount of scroll processing is performed for each line or screen, the data to be referenced is displayed in the drawing from the middle. In some cases, the scroll amount is too large to display the next data, and each time the scroll is repeated several times to display the data to be referenced, there is a drawback that it takes time.

【0004】本発明は上記の欠点を解決するもので、参
照したいデータを1回のスクロールで適正な位置に表示
することができるスクロール量計算装置を提供すること
を目的とする。
The present invention solves the above-mentioned drawbacks, and an object of the present invention is to provide a scroll amount calculation device capable of displaying data to be referred to at an appropriate position by scrolling once.

【0005】[0005]

【課題を解決するための手段】本発明は、スクロール命
令を出力する入力装置と、入力するスクロール量に基づ
きスクロールを行う出力装置とを備えたスクロール量計
算装置において、入力する出力データ情報を格納する出
力データ保存装置と、上記スクロール命令に基づき出力
データを入力し解析して上記出力データ情報を生成する
出力データ解析装置と、入力する状態取得要求に基づき
上記出力装置の現在の状態を取出す出力装置状態取得装
置と、入力する出力データ情報取得要求に基づき上記出
力データ保存装置の内容を取出す出力データ情報取得装
置と、上記スクロール命令に基づき上記状態取得要求お
よび上記出力データ情報取得要求を出力し上記出力装置
状態取得装置および上記出力データ情報取得装置の出力
に基づき上記スクロール量を計算して出力するスクロー
ル量制御装置とを備えたことを特徴とする。
According to the present invention, in a scroll amount calculation device having an input device for outputting a scroll command and an output device for performing scrolling based on the input scroll amount, input output data information is stored. An output data storage device, an output data analysis device that inputs and analyzes output data based on the scroll command to generate the output data information, and an output that extracts the current state of the output device based on an input state acquisition request A device status acquisition device, an output data information acquisition device that extracts the contents of the output data storage device based on an input output data information acquisition request, and outputs the status acquisition request and the output data information acquisition request based on the scroll command. Based on the outputs of the output device status acquisition device and the output data information acquisition device, the screen Characterized by comprising a scroll amount control device which calculates and outputs Lumpur amount.

【0006】また、本発明は、上記スクロール命令は、
上へスクロールする命令および下へスクロールする命令
を含むことができる。
According to the present invention, the scroll command is
Instructions may be included that scroll up and scroll down.

【0007】さらに、本発明は、上記出力データ情報
は、全出力データ情報の数を示す出力データ情報数、出
力データ、その出力データが画面に表示中の先頭か否か
を示す状態フラグおよびその出力データの文字数を含
み、上記出力装置の現在の状態は現在表示中の画面の横
幅を含むことができる。
Further, according to the present invention, the output data information includes the number of pieces of output data information indicating the number of all pieces of output data information, output data, a status flag indicating whether or not the output data is the first one displayed on the screen, and its The current state of the output device may include the width of the screen currently displayed, including the number of characters of the output data.

【0008】[0008]

【作用】出力データ解析装置は、入力装置からのスクロ
ール命令に基づき出力データを入力し解析して出力デー
タ情報を生成し出力データ保存装置に格納する。スクロ
ール量制御装置は、入力装置からのスクロール命令に基
づき状態取得要求および出力データ情報取得要求を出力
して出力装置状態取得装置から出力装置の現在の状態ま
た出力データ情報取得装置から出力データ保存装置の内
容を入力し、スクロール量を計算して出力装置に出力す
る。
The output data analysis device inputs output data based on a scroll command from the input device, analyzes the output data, generates output data information, and stores the output data information in the output data storage device. The scroll amount control device outputs a status acquisition request and an output data information acquisition request based on a scroll command from the input device to output the current status of the output device from the output device status acquisition device or the output data storage device from the output data information acquisition device. Input the contents of, calculate the scroll amount and output to the output device.

【0009】以上により参照したいデータを1回のスク
ロールで適正な位置に表示させることができる。
As described above, the data to be referenced can be displayed at an appropriate position by scrolling once.

【0010】[0010]

【実施例】本発明の実施例について図面を参照して説明
する。図1は本発明一実施例スクロール量計算装置のブ
ロック構成図である。図5は本発明のスクロール量計算
装置の出力データ情報の構成を示す図である。
Embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of a scroll amount calculation device according to an embodiment of the present invention. FIG. 5 is a diagram showing the structure of output data information of the scroll amount calculation device of the present invention.

【0011】図1および図5において、スクロール量計
算装置は、スクロール命令を出力する入力装置7と、入
力するスクロール量に基づきスクロールを行う出力装置
6とを備える。
1 and 5, the scroll amount calculation device comprises an input device 7 for outputting a scroll command, and an output device 6 for performing scrolling based on the input scroll amount.

【0012】ここで本発明の特徴とするところは、入力
する出力データ情報を格納する出力データ保存装置2
と、上記スクロール命令に基づき出力データを入力し解
析して上記出力データ情報を生成する出力データ解析装
置1と、入力する状態取得要求に基づき出力装置の現在
の状態を取出す出力装置状態取得装置5と、入力する出
力データ情報取得要求に基づき出力データ保存装置2の
内容を取出す出力データ情報取得装置3と、上記スクロ
ール命令に基づき上記状態取得要求および上記出力デー
タ情報取得要求を出力し出力装置状態取得装置5および
出力データ情報取得装置3の出力に基づき上記スクロー
ル量を計算して出力するスクロール量制御装置4とを備
えたことにある。
The feature of the present invention is that the output data storage device 2 stores input output data information.
An output data analysis device 1 for inputting and analyzing output data based on the scroll command to generate the output data information; and an output device state acquisition device 5 for extracting the current state of the output device based on an input state acquisition request. And an output data information acquisition device 3 that extracts the contents of the output data storage device 2 based on an input output data information acquisition request, and outputs the status acquisition request and the output data information acquisition request based on the scroll command and outputs the output device status. The scroll amount control device 4 calculates and outputs the scroll amount based on the outputs of the acquisition device 5 and the output data information acquisition device 3.

【0013】また、上記スクロール命令は、上へスクロ
ールする命令および下へスクロールする命令を含む。
The scroll instruction includes an instruction to scroll up and an instruction to scroll down.

【0014】さらに、上記出力データ情報は、全出力デ
ータ情報の数を示す出力データ情報数、出力データ、そ
の出力データが画面に表示中の先頭か否かを示す状態フ
ラグおよびその出力データの文字数を含み、上記出力装
置の現在の状態は現在表示中の画面の横幅を含む。
Further, the output data information includes the number of output data information indicating the total number of output data information, output data, a status flag indicating whether the output data is the first one displayed on the screen, and the number of characters of the output data. And the current state of the output device includes the width of the currently displayed screen.

【0015】このような構成のスクロール量計算装置の
動作について説明する。
The operation of the scroll amount calculating device having such a configuration will be described.

【0016】図2は本発明のスクロール量計算装置の出
力データ解析装置の処理を示すフローチャートである。
図3は本発明のスクロール量計算装置の出力データ情報
取得装置の処理を示すフローチャートである。図4は本
発明のスクロール量計算装置のスクロール量制御装置の
処理を示すフローチャートである。
FIG. 2 is a flow chart showing the processing of the output data analysis device of the scroll amount calculation device of the present invention.
FIG. 3 is a flowchart showing the processing of the output data information acquisition device of the scroll amount calculation device of the present invention. FIG. 4 is a flowchart showing the processing of the scroll amount control device of the scroll amount calculation device of the present invention.

【0017】図1において、出力装置6がCRTディス
プレイのときに、文章データをスクロール表示する場合
について説明する。
In FIG. 1, the case where the text data is scroll-displayed when the output device 6 is a CRT display will be described.

【0018】まず、入力装置7から上へスクロールせよ
と命令が発行されると、出力データ解析装置1は、画面
に表示させる出力データを入力し、文章の区切りとなる
改行、改頁またはデータ終了となるまでの文字数を計算
し、文章データおよび文字数を出力データ保存装置2に
格納する。次に、スクロール量制御装置4は、入力装置
7の制御に基づき現在画面上の先頭に表示されている文
書データの文字数を出力データ情報取得装置3に要求
し、画面の横幅を出力装置状態取得装置5に要求する。
First, when a command to scroll up is issued from the input device 7, the output data analysis device 1 inputs the output data to be displayed on the screen, and a line break, a page break, or the end of data, which serves as a sentence delimiter. The number of characters until the above is calculated, and the sentence data and the number of characters are stored in the output data storage device 2. Next, the scroll amount control device 4 requests the output data information acquisition device 3 for the number of characters of the document data currently displayed at the top of the screen based on the control of the input device 7, and acquires the width of the screen for the output device state acquisition. Request device 5.

【0019】出力データ情報取得装置3は、出力データ
保存装置2から画面上の先頭に表示されていることを示
すフラグがTRUEになっているデータを取出し、スク
ロール量制御装置4へ出力する。スクロール量制御装置
4は、出力データ情報取得装置3から受取った現在画面
上の先頭に表示されている文書データの文字数と出力装
置状態取得装置5から受取った画面の横幅からスクロー
ル量を計算し出力装置6へ出力する。
The output data information acquisition device 3 takes out from the output data storage device 2 the data whose flag indicating that it is displayed at the top of the screen is TRUE, and outputs it to the scroll amount control device 4. The scroll amount control device 4 calculates the scroll amount from the number of characters of the document data currently displayed on the top of the current screen received from the output data information acquisition device 3 and the width of the screen received from the output device status acquisition device 5, and outputs the scroll amount. Output to the device 6.

【0020】次に、図2を参照して出力データ解析装置
の詳細な説明をする。
Next, the output data analysis apparatus will be described in detail with reference to FIG.

【0021】まず、出力データ情報の数をカウントする
エリアを「0」で初期化する(S11)。出力データ情
報の中の状態フラグにTRUEをセットする(S1
2)。出力データ情報に格納する文字数をカウントする
エリアを「0」で初期化する(S13)。出力データか
ら1文字を読出し(S14)、文字数をカウントアップ
する(S15)。改行、改頁またはデータ終了となるま
でステップS14〜S16を繰返す。出力データ情報の
数をカウントアップする(S17)。状態フラグ、文字
数および出力データからなる出力データ情報を格納する
(S18)。データがある場合には状態フラグをFAL
SEにセットし、データが無くなるまでステップS13
〜S20を繰返す。以上により先頭の出力データ情報だ
けがTRUEとなり、以後の出力データ情報はFALS
Eとなる。
First, the area for counting the number of output data information is initialized to "0" (S11). TRUE is set to the status flag in the output data information (S1
2). An area for counting the number of characters stored in the output data information is initialized with "0" (S13). One character is read from the output data (S14), and the number of characters is counted up (S15). Steps S14 to S16 are repeated until a line feed, page break, or data end. The number of output data information is counted up (S17). Output data information including a state flag, the number of characters, and output data is stored (S18). If there is data, set the status flag to FAL
Set to SE and step S13 until there is no data
~ Repeat S20. As a result, only the first output data information becomes TRUE, and the subsequent output data information becomes FALS.
It becomes E.

【0022】次に、図3を参照して出力データ情報取得
装置の詳細な説明をする。
Next, the output data information acquisition device will be described in detail with reference to FIG.

【0023】まず、出力データ情報を先頭から順に読出
し、状態フラグがTRUEのものを取出す(S31、S
32)。取出した出力データ情報をワークエリアへ退避
する(S33)。取出した出力データ情報がスクロール
されると画面上の先頭ではなくなるために、状態フラグ
をFALSEに書換える(S34、S35)。スクロー
ルした結果、画面上の先頭となる出力データ情報を取出
し、状態フラグをTRUEに書換える(S36〜S4
0)。出力データ情報をスクロール方向によって切りわ
けてセットし、スクロール量制御装置4に出力する(S
41〜S43)。
First, the output data information is read in order from the beginning, and the one whose status flag is TRUE is taken out (S31, S).
32). The extracted output data information is saved in the work area (S33). When the fetched output data information is scrolled, it is not at the top of the screen, so the status flag is rewritten to FALSE (S34, S35). As a result of scrolling, the top output data information on the screen is taken out, and the status flag is rewritten to TRUE (S36 to S4).
0). The output data information is set by dividing it according to the scroll direction and output to the scroll amount control device 4 (S
41-S43).

【0024】次に、図4を参照してスクロール量制御装
置の詳細な説明をする。
Next, the scroll amount control device will be described in detail with reference to FIG.

【0025】出力データ情報取得装置3から出力データ
情報を取得する(S51)。出力装置状態取得装置5か
ら現在出力中の画面の横幅を取得する(S52)。取得
した出力データ情報と画面の横幅とからスクロールさせ
る行数を計算する(S53)。スクロール量を出力装置
6へ出力しスクロールさせる(S55、S56)。
The output data information is acquired from the output data information acquisition device 3 (S51). The width of the screen currently being output is acquired from the output device status acquisition device 5 (S52). The number of lines to be scrolled is calculated from the acquired output data information and the width of the screen (S53). The scroll amount is output to the output device 6 and scrolled (S55, S56).

【0026】[0026]

【発明の効果】以上説明したように、本発明は、参照し
たいデータを1回のスクロールで適正な位置に表示させ
ることができる優れた効果がある。
As described above, the present invention has an excellent effect that data to be referred to can be displayed at an appropriate position by scrolling once.

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

【図1】本発明一実施例スクロール量計算装置のブロッ
ク構成図。
FIG. 1 is a block configuration diagram of a scroll amount calculation device according to an embodiment of the present invention.

【図2】本発明のスクロール量計算装置の出力データ解
析装置の処理を示すフローチャート。
FIG. 2 is a flowchart showing the processing of the output data analysis device of the scroll amount calculation device of the present invention.

【図3】本発明のスクロール量計算装置の出力データ情
報取得装置の処理を示すフローチャート。
FIG. 3 is a flowchart showing the processing of the output data information acquisition device of the scroll amount calculation device of the present invention.

【図4】本発明のスクロール量計算装置のスクロール量
制御装置の処理を示すフローチャート。
FIG. 4 is a flowchart showing a process of a scroll amount control device of the scroll amount calculation device of the present invention.

【図5】本発明のスクロール量計算装置の出力データ情
報の構成を示す図。
FIG. 5 is a diagram showing a configuration of output data information of the scroll amount calculation device of the present invention.

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

1 出力データ解析装置 2 出力データ保存装置 3 出力データ情報取得装置 4 スクロール量制御装置 5 出力装置状態取得装置 6 出力装置 7 入力装置 1 Output data analysis device 2 Output data storage device 3 Output data information acquisition device 4 Scroll amount control device 5 Output device status acquisition device 6 Output device 7 Input device

───────────────────────────────────────────────────── フロントページの続き (72)発明者 久住 綾子 新潟県新潟市万代4丁目4番27号 新潟日 本電気ソフトウェア株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Ayako Kusumi 4-4-2, Bandai 4-chome, Niigata City, Niigata Prefecture Niigata Nippon Electric Software Co., Ltd.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 スクロール命令を出力する入力装置と、
入力するスクロール量に基づきスクロールを行う出力装
置とを備えたスクロール量計算装置において、 入力する出力データ情報を格納する出力データ保存装置
と、上記スクロール命令に基づき出力データを入力し解
析して上記出力データ情報を生成する出力データ解析装
置と、入力する状態取得要求に基づき上記出力装置の現
在の状態を取出す出力装置状態取得装置と、入力する出
力データ情報取得要求に基づき上記出力データ保存装置
の内容を取出す出力データ情報取得装置と、上記スクロ
ール命令に基づき上記状態取得要求および上記出力デー
タ情報取得要求を出力し上記出力装置状態取得装置およ
び上記出力データ情報取得装置の出力に基づき上記スク
ロール量を計算して出力するスクロール量制御装置とを
備えたことを特徴とするスクロール量計算装置。
1. An input device for outputting a scroll command,
In a scroll amount calculation device including an output device that performs scrolling based on an input scroll amount, an output data storage device that stores input output data information and output data that is input and analyzed based on the scroll command. Output data analysis device for generating data information, output device status acquisition device for extracting the current status of the output device based on the input status acquisition request, and contents of the output data storage device for the input output data information acquisition request An output data information acquisition device for extracting the output data information acquisition device, and the output device information acquisition request and the output data information acquisition request based on the scroll command to calculate the scroll amount based on the output device status acquisition device and the output data information acquisition device output. And a scroll amount control device for outputting the Crawling amount calculator.
【請求項2】 上記スクロール命令は、上へスクロール
する命令および下へスクロールする命令を含む請求項1
記載のスクロール量計算装置。
2. The scroll instruction includes an instruction to scroll up and an instruction to scroll down.
The scroll amount calculation device described.
【請求項3】 上記出力データ情報は、全出力データ情
報の数を示す出力データ情報数、出力データ、その出力
データが画面に表示中の先頭か否かを示す状態フラグお
よびその出力データの文字数を含み、上記出力装置の現
在の状態は現在表示中の画面の横幅を含む請求項1記載
のスクロール量計算装置。
3. The output data information includes the output data information number indicating the number of all output data information, output data, a status flag indicating whether or not the output data is the first one displayed on the screen, and the number of characters of the output data. 2. The scroll amount calculation device according to claim 1, further comprising: a current state of the output device including a width of a screen currently displayed.
JP4127595A 1992-05-20 1992-05-20 Scroll amount calculating device Pending JPH05324254A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4127595A JPH05324254A (en) 1992-05-20 1992-05-20 Scroll amount calculating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4127595A JPH05324254A (en) 1992-05-20 1992-05-20 Scroll amount calculating device

Publications (1)

Publication Number Publication Date
JPH05324254A true JPH05324254A (en) 1993-12-07

Family

ID=14963974

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4127595A Pending JPH05324254A (en) 1992-05-20 1992-05-20 Scroll amount calculating device

Country Status (1)

Country Link
JP (1) JPH05324254A (en)

Similar Documents

Publication Publication Date Title
US6704034B1 (en) Method and apparatus for providing accessibility through a context sensitive magnifying glass
KR880002089A (en) Display control device for compound document processing device
WO2004090743A2 (en) Enhanced readability with flowed bitmaps
JPH05323941A (en) Scrolling controller
CN111915705A (en) Picture visual editing method, device, equipment and medium
JPH05324254A (en) Scroll amount calculating device
JP3712749B2 (en) Window display processing method in information processing equipment
JP2003256459A (en) Pop-up display method and program
JP3288738B2 (en) Natural language processing apparatus and method
JPH04278992A (en) Character string display method
JPH064392A (en) Information processing system
JPH036731A (en) Message display device
JP2525581B2 (en) Japanese processor
JP2995975B2 (en) Document processing device
JP3027834B2 (en) Document file name display
JPS61296469A (en) Screen display control system due to kana (japanese syllabary)-kanji (chinese character) conversion at the time of input
JPH0799507B2 (en) Error display device
JPH09198375A (en) Mathematical expression/chemical formula inputting and editing system
JPS61211767A (en) Sentence forming device
JP2776813B2 (en) Shape reduction display method
JPH0685163B2 (en) Graph display device
JPH0350665A (en) Kana/kanji converting method
JP3213991B2 (en) Word processor
JPH0696070A (en) Document input system
JPS63113597A (en) Document generator