JPH08314906A - Scroll bar display control system - Google Patents

Scroll bar display control system

Info

Publication number
JPH08314906A
JPH08314906A JP7123516A JP12351695A JPH08314906A JP H08314906 A JPH08314906 A JP H08314906A JP 7123516 A JP7123516 A JP 7123516A JP 12351695 A JP12351695 A JP 12351695A JP H08314906 A JPH08314906 A JP H08314906A
Authority
JP
Japan
Prior art keywords
scroll bar
page
document
scroll
width ratio
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
JP7123516A
Other languages
Japanese (ja)
Inventor
Masaru Shiga
勝 志賀
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 Software Niigata Ltd
Original Assignee
NIIGATA NIPPON DENKI SOFTWARE KK
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 Software Niigata Ltd filed Critical NIIGATA NIPPON DENKI SOFTWARE KK
Priority to JP7123516A priority Critical patent/JPH08314906A/en
Publication of JPH08314906A publication Critical patent/JPH08314906A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Digital Computer Display Output (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PURPOSE: To easily display a page which a user desires and to grasp rough document quantity in respective pages by giving variable scales corresponding to document quantity to a vertical scroll bar in a display controller which page-develops the documents of plural pages by means of a scroll bar. CONSTITUTION: At the time of displaying the document consisting of the plural pages, a page delimiting width ratio calculation device 104 calculates a page delimiting width ratio based on document information of a data management device 103. In a scroll bar controller 105, a guide part giving a page number at the calculated ratio is installed in the scroll bar, and scroll bar is controlled and the result is displayed on CRT in an output device 106.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、スクロールバー表示制
御システムに関し、特に、ワープロソフトウェアに関
し、複数頁からなる文書データを表示する画面中に、文
書量に応じた頁区切り幅で頁番号を付与したガイド部分
をスクロールバーに設置することにより、表示を制御す
るスクロールバー表示制御システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a scroll bar display control system, and more particularly to word processing software, and assigns page numbers with a page break width according to the amount of documents in a screen displaying document data consisting of a plurality of pages. The present invention relates to a scroll bar display control system that controls display by installing the guide portion on the scroll bar.

【0002】[0002]

【従来の技術】従来は、複数頁からなる文書データにお
けるスクロールバーでの表示制御に際し、スクロールバ
ー上に各頁の境界線および頁番号を表示することでスケ
ールの役割を果たしているが、その境界線は文書データ
における総頁数に基づいて計算されているため各頁の文
書量とは無関係に均等な区切り幅となり、文書データ上
の相対的な位置をスクロールボックスにより認識できる
だけであった。
2. Description of the Related Art Conventionally, when controlling the display of a document data consisting of a plurality of pages by a scroll bar, by displaying the boundary line and page number of each page on the scroll bar, it plays a role of scale. Since the line is calculated based on the total number of pages in the document data, it has a uniform division width regardless of the document amount of each page, and the relative position on the document data can only be recognized by the scroll box.

【0003】[0003]

【発明が解決しようとする課題】上述したように、従来
の制御システムでは、文書情報の総頁数に基づいて頁区
切り幅が計算されているので、スクロールバーに頁番号
を表示するうえで、各頁の境界が均等な区切り幅で分割
されている。よって、スクロールバーに表示されている
頁番号を目安として、マウスによりスクロールボックス
をユーザの望む頁番号付近にドラッグすることで表示で
きた。しかし、スクロールバー上の頁番号は均等な区切
り幅で分割されているため、スクロールバーにより各頁
のおおよその文書量を把握するという視覚的な効果はな
い。
As described above, in the conventional control system, the page break width is calculated based on the total number of pages of the document information. Therefore, in displaying the page number on the scroll bar, The boundary of each page is divided with a uniform division width. Therefore, by using the page number displayed on the scroll bar as a guide, the scroll box can be displayed by dragging the scroll box near the page number desired by the user. However, since the page numbers on the scroll bar are divided by the uniform division width, there is no visual effect of grasping the approximate document amount of each page by the scroll bar.

【0004】[0004]

【課題を解決するための手段】本発明のスクロールバー
表示制御システムは、入力装置からの情報を受け取り、
スクロールバーの制御のためのタイミングを指定する手
段と、スクロールバー上における、文書量に応じた頁区
切り幅を計算する手段と、その頁区切り幅で頁番号を付
与したガイド部分をスクロールバーに設置する手段とを
具備することを特徴とする。
The scroll bar display control system of the present invention receives information from an input device,
A means for designating the timing for controlling the scroll bar, a means for calculating the page break width according to the amount of documents on the scroll bar, and a guide part provided with page numbers with the page break width are installed on the scroll bar. And means for doing so.

【0005】[0005]

【実施例】本発明について、図面を参照して説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described with reference to the drawings.

【0006】図1は本発明の一実施例の構成図、図2は
図1の実施例での頁区切り幅比率算出装置の処理手順を
示す流れ図、図3はスクロールバー制御装置での頁付与
ガイド部を算出するための処理手順を示す流れ図、図4
はスクロールバー上でのスクロールボックスの文書にお
ける相対位置を検索する処理手順を示す流れ図、図5,
図6は頁区切り幅比率算出および、ガイド部を付与した
スクロールバーのイメージ図である。
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a flow chart showing a processing procedure of a page break width ratio calculating device in the embodiment of FIG. 1, and FIG. 3 is a page addition in a scroll bar control device. 4 is a flowchart showing a processing procedure for calculating the guide portion, FIG.
Is a flow chart showing a processing procedure for searching the relative position of the scroll box in the document on the scroll bar.
FIG. 6 is an image diagram of the page break width ratio calculation and a scroll bar provided with a guide portion.

【0007】図1に示すスクロールバー表示制御装置
は、マウスおよびキーボード操作の情報を受け取る入力
装置101と、利用者が文書ファイルを開く、文書を校
正する、マウスによりスクロールバー上のスクロールボ
ックスをドラッグする、またスクロールバー上をクリッ
クした時のタイミングを制御する入力制御装置102
と、文書データにおける頁数、各頁の最終行座標および
スクロールバー矩形の座標、頁区切り幅比率により算出
されたスクロールバー上の区切り座標のデータを管理す
るデータ管理装置103と、このデータを基に入力制御
装置102からのタイミングで頁区切り幅比率を算出す
る頁区切り幅比率算出装置104と、算出された比率で
頁番号を付与したガイド部分をスクロールバー脇に設置
し、スクロールバー上でのスクロールボックスの文書に
おける相対位置を検索して制御するスクロールバー制御
装置105と、その情報を基にCRTに出力する出力装
置106とから構成されている。頁区切り幅比率算出に
おいて使用する各頁の文書量としては、頁の最終行座標
から算出した表示高さを基準とするため、データ管理装
置103が上記文書情報を管理する。
The scroll bar display controller shown in FIG. 1 has an input device 101 for receiving information on mouse and keyboard operations, a user opening a document file, proofreading a document, and dragging a scroll box on the scroll bar with a mouse. The input control device 102 for controlling the timing when clicking on the scroll bar
And a data management device 103 that manages the data of the page number in the document data, the coordinates of the last line of each page and the coordinates of the scroll bar rectangle, and the data of the break coordinates on the scroll bar calculated by the page break width ratio. Further, a page break width ratio calculating device 104 for calculating the page break width ratio at the timing from the input control device 102, and a guide portion provided with page numbers at the calculated ratio are installed beside the scroll bar, and It is composed of a scroll bar control device 105 for searching and controlling the relative position of the scroll box in the document, and an output device 106 for outputting to the CRT based on the information. Since the document amount of each page used in the page break width ratio calculation is based on the display height calculated from the last line coordinate of the page, the data management device 103 manages the document information.

【0008】次に、頁区切り幅比率算出装置104にお
ける頁区切り幅を算出する処理手順を図2に示す流れ図
および図5,図6に示すイメージ図を参照して説明す
る。
Next, the processing procedure for calculating the page break width in the page break width ratio calculating device 104 will be described with reference to the flowchart shown in FIG. 2 and the image diagrams shown in FIGS.

【0009】文書ファイルを開いたとき、文書を校正し
たときに頁区切り幅比率の算出を必要とする入力制御装
置102からの情報により、頁区切り幅比率算出装置1
04は、最初にステップ201で総頁数、また各頁の文
書データの先頭行・最終行座標をデータ管理装置103
より獲得する。次にステップ202ではステップ201
より獲得した最終行座標と先頭行座標の差により、頁に
おける表示高さを算出する。図5に示すy1、y2、y
3、y4がこの表示高さのイメージを示している。ステ
ップ203およびステップ204で表示高さを文書の最
終頁まで累積していき、その結果を総頁表示高さとす
る。イメージ601におけるYが、この総頁表示高さの
イメージを示している。ステップ205でy1,y2,
y3,y4をそれぞれ、ステップ203で算出した総頁
表示高さYで除算し、イメージ602に示す頁区切り幅
比率y1/Y,y2/Y,y3/Y,y4/Yを算出す
るとともにステップ206でその情報を記憶する。
When the document file is opened, when the document is proofread, the page break width ratio calculation device 1 is required by the information from the input control device 102 that needs to calculate the page break width ratio.
First, in step 201, the total number of pages 04, and the coordinates of the first line and the last line of the document data of each page are displayed in the data management device 103
Get more. Next, in step 202, step 201
The display height on the page is calculated from the difference between the last row coordinate and the first row coordinate acquired. Y1, y2, y shown in FIG.
3 and y4 show images of this display height. In steps 203 and 204, the display height is accumulated up to the last page of the document, and the result is used as the total page display height. Y in the image 601 shows an image of this total page display height. In step 205, y1, y2
Each of y3 and y4 is divided by the total page display height Y calculated in step 203 to calculate the page break width ratios y1 / Y, y2 / Y, y3 / Y, y4 / Y shown in the image 602, and step 206 To store that information.

【0010】次に、スクロールバー制御装置での頁付与
ガイド部を算出する処理を、図3に示す流れ図および図
6に示すイメージ図を参照して説明する。
Next, the process of calculating the page giving guide portion in the scroll bar control device will be described with reference to the flowchart shown in FIG. 3 and the image diagram shown in FIG.

【0011】ステップ301でスクロールバー矩形の座
標をデータ管理装置103より獲得し、それによりイメ
ージ603に示すスクロールバー矩形高さHを算出す
る。ステップ302でデータ管理装置103より頁区切
り幅比率を獲得し、ステップ303でスクロールバー矩
形高さHに各頁区切り幅比率を乗算した結果でスクロー
ルバー脇ガイド部分の目盛りおよび頁番号を算出する。
その後、ステップ304でステップ303により算出さ
れた情報を基にスクロールバー上での頁区切り幅および
座標を記憶する。
In step 301, the coordinates of the scroll bar rectangle are acquired from the data management device 103, and the height H of the scroll bar rectangle shown in the image 603 is calculated accordingly. In step 302, the page break width ratio is obtained from the data management device 103, and in step 303, the scroll bar rectangular height H is multiplied by each page break width ratio to calculate the scale and page number of the scroll bar side guide portion.
Then, in step 304, the page break width and coordinates on the scroll bar are stored based on the information calculated in step 303.

【0012】次に、スクロールバー制御装置での、スク
ロールボックスの文書における相対位置を検索する処理
の手順を、図4に示す流れ図、および図6に示すイメー
ジ図を参照して説明する。スクロールバー制御装置10
5は、ステップ401でデータ管理装置103よりカレ
ント位置座標を獲得する。ステップ402に示すように
スクロールボックスのドラッグが行われたという情報が
通知されない場合は、ステップ407の表示処理におい
てカレント位置より表示を行う。イメージ604に示す
ようにスクロールバー脇ガイド部を目安として、マウス
により4頁中央地点にスクロールボックスをドラッグし
た場合を例にすると、ステップ403で、イメージ60
7に示すスクロールバー上のスクロールボックス位置座
標(A,B)を獲得する。さらにステップ404で頁付
与ガイド部を算出する処理において、ステップ304で
記憶されているスクロールバー上の頁区切り幅、および
その座標を獲得する。ステップ405で、イメージ60
3に示す頁区切り幅座標と、イメージ606に示すスク
ロールバー上のスクロールボックス位置座標との差を最
終頁前まで算出していき、その差が最小となる座標を基
準とする。この例においては座標(a0,b3)にあた
る。さらに、イメージ604に示す頁区切り幅(y4/
Y)×Hで、イメージ607に示すスクロールボックス
位置座標と頁区切り幅座標の差により得られるスクロー
ルバー上の高さB−b3を除算することにより文書相対
位置比率を算出する。ステップ406で、ステップ40
5により算出した文書相対位置比率に文書表示高さを乗
算し、それを座標に変換する。その結果によりスクロー
ルバー上のスクロールボックス位置が文書データ上で示
す位置を認識することができ、ステップ407で、その
座標位置より表示処理を行う。
Next, the procedure of the process for searching the relative position of the scroll box in the document in the scroll bar control device will be described with reference to the flowchart shown in FIG. 4 and the image diagram shown in FIG. Scroll bar control device 10
5 acquires the current position coordinates from the data management device 103 in step 401. When the information indicating that the scroll box has been dragged is not notified as shown in step 402, display is performed from the current position in the display processing of step 407. As shown in the image 604, when the scroll box is dragged to the center of page 4 with the mouse using the guide part of the scroll bar side as a guide, in step 403, the image 60
The scroll box position coordinates (A, B) on the scroll bar shown in 7 are acquired. Further, in the process of calculating the page addition guide portion in step 404, the page division width on the scroll bar and the coordinates thereof stored in step 304 are acquired. In step 405, the image 60
The difference between the page break width coordinate shown in FIG. 3 and the scroll box position coordinate on the scroll bar shown in the image 606 is calculated until before the final page, and the coordinate having the smallest difference is used as a reference. In this example, it corresponds to the coordinates (a0, b3). Furthermore, the page break width (y4 /
The document relative position ratio is calculated by dividing the height B-b3 on the scroll bar obtained by the difference between the position coordinates of the scroll box shown in the image 607 and the coordinate of the page break width by Y) × H. In Step 406, Step 40
The document relative position ratio calculated in step 5 is multiplied by the document display height and converted into coordinates. As a result, the position of the scroll box on the scroll bar indicated on the document data can be recognized, and in step 407, display processing is performed from the coordinate position.

【0013】[0013]

【発明の効果】以上説明してきたように、本発明によれ
ば、各頁の文書量に応じて頁区切り幅が可変となる頁番
号を付与したガイド部分を設置することにより、ユーザ
の望む頁を簡単に表示できるだけでなく、かつ各頁にお
ける表示高さを基準としたおおよその文書量をガイド部
分を目安として把握することが可能となる。
As described above, according to the present invention, by installing the guide portion provided with the page number in which the page break width is variable according to the document amount of each page, the page desired by the user can be provided. Can be displayed easily, and the approximate document amount based on the display height of each page can be grasped by using the guide portion as a guide.

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

【図1】本発明の一実施例の構成図である。FIG. 1 is a configuration diagram of an embodiment of the present invention.

【図2】図1の実施例での頁区切り幅比率算出装置の処
理手順を示す流れ図である。
FIG. 2 is a flow chart showing a processing procedure of a page break width ratio calculation device in the embodiment of FIG.

【図3】スクロールバー制御装置での頁付与ガイド部を
算出するための処理手順を示す流れ図である。
FIG. 3 is a flowchart showing a processing procedure for calculating a page giving guide unit in the scroll bar control device.

【図4】スクロールバー上でのスクロールボックスの文
書における相対位置を検索する処理手順を示す流れ図で
ある。
FIG. 4 is a flowchart showing a processing procedure for searching a relative position of a scroll box on a scroll bar in a document.

【図5】頁区切り幅比率算出のイメージ図である。FIG. 5 is an image diagram of page break width ratio calculation.

【図6】ガイド部を付与したスクロールバーのイメージ
図である。
FIG. 6 is an image diagram of a scroll bar provided with a guide portion.

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

102 入力制御装置 104 頁区切り幅比率算出装置 105 スクロールバー制御装置 102 input control device 104 page break width ratio calculation device 105 scroll bar control device

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 入力装置からの情報を受け取り、スクロ
ールバーの制御のためのタイミングを指定する手段と、
スクロールバー上における、文書量に応じた頁区切り幅
を計算する手段と、その頁区切り幅で頁番号を付与した
ガイド部分をスクロールバーに設置する手段とを具備す
ることを特徴とするスクロールバー表示制御システム。
1. A means for receiving information from an input device and designating timing for controlling a scroll bar,
Scroll bar display comprising means for calculating a page break width according to the amount of documents on the scroll bar, and means for setting a guide part with page numbers assigned to the page break width on the scroll bar Control system.
【請求項2】 マウスおよびキーボード操作の情報を受
け取る入力装置と、利用者が文書ファイルを開く、文書
を校正する、マウスによりスクロールバー上のスクロー
ルボックスをドラッグする、またスクロールバー上をク
リックした時のタイミングを制御する入力制御装置と、
文書データにおける頁数、各頁の最終行座標およびスク
ロールバー矩形の座標、頁区切り幅比率により算出され
たスクロールバー上の区切り座標のデータを管理するデ
ータ管理装置と、このデータを基に前記入力制御装置か
らのタイミングで頁区切り幅比率を算出する頁区切り幅
比率算出装置と、算出された比率で頁番号を付与したガ
イド部分をスクロールバー脇に設置し、スクロールバー
上でのスクロールボックスの文書における相対位置を検
索して制御するスクロールバー制御装置と、その情報を
基にCRTに出力する出力装置とから構成され、頁区切
り幅比率算出において使用する各頁の文書量としては、
頁の最終行座標から算出した表示高さを基準とするた
め、前記データ管理装置が前記文書情報を管理すること
を特徴とするスクロールバー表示制御システム。
2. An input device for receiving information on mouse and keyboard operations, and when a user opens a document file, proofreads a document, drags a scroll box on a scroll bar with a mouse, or clicks on the scroll bar. An input control device for controlling the timing of
A data management device that manages the data of the page number in the document data, the coordinates of the last line of each page, the coordinates of the scroll bar rectangle, and the delimiter coordinates on the scroll bar calculated by the page break width ratio, and the input based on this data. A page break width ratio calculation device that calculates the page break width ratio at the timing from the control device, and a guide part with page numbers assigned at the calculated ratio is installed next to the scroll bar, and the scroll box document on the scroll bar is installed. The scroll bar control device that searches for and controls the relative position in and the output device that outputs to the CRT based on the information, and as the document amount of each page used in the page break width ratio calculation,
A scroll bar display control system characterized in that the data management device manages the document information because the display height calculated from the coordinates of the last line of the page is used as a reference.
JP7123516A 1995-05-23 1995-05-23 Scroll bar display control system Pending JPH08314906A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7123516A JPH08314906A (en) 1995-05-23 1995-05-23 Scroll bar display control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7123516A JPH08314906A (en) 1995-05-23 1995-05-23 Scroll bar display control system

Publications (1)

Publication Number Publication Date
JPH08314906A true JPH08314906A (en) 1996-11-29

Family

ID=14862554

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7123516A Pending JPH08314906A (en) 1995-05-23 1995-05-23 Scroll bar display control system

Country Status (1)

Country Link
JP (1) JPH08314906A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461275A (en) * 2013-09-23 2015-03-25 重庆新媒农信科技有限公司 Method and device for quickly selecting pages
JP2017076228A (en) * 2015-10-14 2017-04-20 京セラドキュメントソリューションズ株式会社 Display and image forming apparatus including the same

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04232526A (en) * 1990-05-31 1992-08-20 Internatl Business Mach Corp <Ibm> Method and apparatus for displaying data
JPH05197511A (en) * 1992-01-21 1993-08-06 Sharp Corp Scroll bar movement controller
JPH05282123A (en) * 1992-03-31 1993-10-29 Toshiba Corp Device and method for controlling display

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04232526A (en) * 1990-05-31 1992-08-20 Internatl Business Mach Corp <Ibm> Method and apparatus for displaying data
JPH05197511A (en) * 1992-01-21 1993-08-06 Sharp Corp Scroll bar movement controller
JPH05282123A (en) * 1992-03-31 1993-10-29 Toshiba Corp Device and method for controlling display

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461275A (en) * 2013-09-23 2015-03-25 重庆新媒农信科技有限公司 Method and device for quickly selecting pages
CN104461275B (en) * 2013-09-23 2018-02-06 重庆新媒农信科技有限公司 A kind of method and its device of fast selecting paging
JP2017076228A (en) * 2015-10-14 2017-04-20 京セラドキュメントソリューションズ株式会社 Display and image forming apparatus including the same

Similar Documents

Publication Publication Date Title
US7543246B2 (en) Image displaying program product and an image displaying apparatus
US6025850A (en) Object boundaries identified in a raster image by a user selecting positions on the raster image and then using cost functions to predict likelihood of pixels near the position being on a boundary path
JPH08314906A (en) Scroll bar display control system
JP3192915B2 (en) Character image composite data display printing method and apparatus
JP2866287B2 (en) Music score creation device
JPS59145970A (en) Displaying method of spectrum
JPH0934678A (en) Display method for document file
JP2853144B2 (en) Image processing device
JP2713265B2 (en) Image display device
JPH09153101A (en) Data analyzing method based upon displayed graph
JP2805435B2 (en) Music score creation device
JP2781727B2 (en) Continuous display of map symbols
JP2842511B2 (en) Form creation device
JP3412203B2 (en) String output device
JPH10222338A (en) Window display control device and method, information processing unit and method, and storage medium
JP2936668B2 (en) Simple plotter output position determination method and device
JP3006446U (en) CAD system plotter automatic selection device
CN114461112A (en) Image display method and device for screen menu type regulating mode
JP2610695B2 (en) Input example display method
JPH0696070A (en) Document input system
JPH05119762A (en) Text input system
JPH06290198A (en) Slip preparation device
JPH0377994A (en) Screen display device
JPS6319062A (en) Ruled line preparing device
JPH05108780A (en) Picture processor

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19980210