JPS62245286A - Character string display system - Google Patents

Character string display system

Info

Publication number
JPS62245286A
JPS62245286A JP61087920A JP8792086A JPS62245286A JP S62245286 A JPS62245286 A JP S62245286A JP 61087920 A JP61087920 A JP 61087920A JP 8792086 A JP8792086 A JP 8792086A JP S62245286 A JPS62245286 A JP S62245286A
Authority
JP
Japan
Prior art keywords
cell
character
display area
characters
display
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
JP61087920A
Other languages
Japanese (ja)
Inventor
亨 高橋
白濱 律雄
山田 公稔
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP61087920A priority Critical patent/JPS62245286A/en
Publication of JPS62245286A publication Critical patent/JPS62245286A/en
Pending legal-status Critical Current

Links

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は文字列表示方式に関し、更に詳しくは、画面上
に文字列を表示する端末装置、ワークステーション等に
おいて、特に大小の文字の混在する表示文字列の書き換
えおよび編集の高速化に適した文字列表示方式に関する
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a character string display method, and more specifically, it is used in terminal devices, workstations, etc. that display character strings on the screen, especially when large and small characters are mixed. This invention relates to a string display method suitable for speeding up the rewriting and editing of displayed strings.

[従来の技術] 従来、端末装置やワードプロセッサ等においては、半角
文字と全角文字、あるいはそれらの拡大文字など、大き
さの異なる文字の混在表示が行なわれている。これらの
文字列表示において、訂正のための文字の書き込み位置
の指定、あるいは編集対象範囲を指定する場合、例えば
特開昭59−1737831号公報等で記載されている
ように、従来は文字単位に指定が行なわれている。
[Prior Art] Conventionally, terminal devices, word processors, and the like display a mixture of characters of different sizes, such as half-width characters, full-width characters, or enlarged characters thereof. When displaying these character strings, when specifying the writing position of a character for correction or the range to be edited, conventionally, as described in Japanese Patent Application Laid-Open No. 1737831/1983, it was done in character units. The designation has been made.

[発明が解決しようとする問題点コ 従来の文字列表示方式では、大小の文字が混在して表示
されている文字表示領域について、その任意のセル位置
を指定して文字の書き込みや編集操作を行う点について
配慮がされておらず、業務プログラムの側で、表示領域
内に表示されている各文字の位置と大きさを常に把握し
ていない限り、表示領域の内容を正確に書換えることが
できない。
[Problems to be solved by the invention] In the conventional character string display method, in a character display area where characters of different sizes are displayed, it is possible to write or edit characters by specifying any cell position in the character display area. Unless the business program always knows the position and size of each character displayed in the display area, it is not possible to accurately rewrite the contents of the display area. Can not.

このため、業務プログラムの処理内容が複雑となり、業
務プログラムの開発が容易でないという問題があった。
For this reason, there is a problem in that the processing contents of the business program become complicated, making it difficult to develop the business program.

本発明の目的は、表示領域を、表示される最小の文字で
ある半角文字サイズのセルに分割して管理することによ
り、任意のセル位置を指定して文字の書き込み4編集等
の操作を可能にすることにある。
The purpose of the present invention is to divide and manage the display area into cells of half-width character size, which is the smallest displayed character, so that operations such as writing, editing, etc. of characters can be performed by specifying any cell position. It is to make it.

[問題点を解決するための手段] 上記目的を達成するため1本発明による文字列表示領域
制御部においては、表示領域の管理チーデル内に1表示
領域を構成する各セルの属性を表わすデータを保持する
。この場合、保持するデータとしては、当該セルが文字
表示の際に基準位置となるセル(以下、親セルと言う)
か、それ以外のセル(以下、子セルと言う)かを示すフ
ラグと、当該セルが親セルであった場合に、その文字が
占めるセル範囲を示すデータ、および尚早セルが子セル
であった場合、これと対応する親セルの位置を示すデー
タが含まれる。このようにセル単位にその属性を管理す
ることにより、大小の文字が混在する表示領域内で、任
意のセル位置を指定して、文字の書込み、挿入および削
除等の編集操作を行うことができる。
[Means for Solving the Problems] In order to achieve the above object, in the character string display area control unit according to the present invention, data representing the attributes of each cell constituting one display area is stored in the display area management codel. Hold. In this case, the data to be retained is the cell that serves as the reference position when displaying characters (hereinafter referred to as the parent cell).
or any other cell (hereinafter referred to as a child cell); if the cell is a parent cell, data indicating the cell range occupied by the character; and if the cell is a child cell. If so, data indicating the position of the corresponding parent cell is included. By managing the attributes of each cell in this way, you can specify any cell position in a display area where large and small characters are mixed, and perform editing operations such as writing, inserting, and deleting characters. .

[作用] 上記構成にすると、例えば、表示領域内の或セル位置を
指定して文字の上書きを行う場合、上書き文字の占める
範囲内に含まれるセルの属性を調べることにより、上書
き文字と重複する文字の位置、および、それらの文字の
占めるセル範囲を全て求めることができる。従って、上
書き文字の表示に先立って、これらの文字を消去してお
くことにより1表示制御および表示データ管理上の不整
合をなくすことができる。
[Operation] With the above configuration, for example, when specifying a certain cell position in the display area and overwriting a character, by checking the attributes of the cells included in the range occupied by the overwritten character, you can check the attributes of the cells that overlap with the overwritten character. The positions of characters and the cell ranges occupied by those characters can all be determined. Therefore, by erasing overwritten characters before displaying these characters, inconsistencies in single display control and display data management can be eliminated.

[実施例] 以下、本発明の一実施例を図面により説明する。[Example] An embodiment of the present invention will be described below with reference to the drawings.

第1図は、本発明を実施するための計算機システムの構
成図である。第1図において、101は文字列を含む各
種情報の出力内容、あるいは形式等を決定する業務プロ
グラムであり、二のプログラムは1表示端末装置を構成
する計算機上で稼動する場合と1表示端末装置とは独立
した別の計算機上で稼動する場合とがある。後者の場合
には。
FIG. 1 is a configuration diagram of a computer system for implementing the present invention. In FIG. 1, 101 is a business program that determines the output content or format of various information including character strings, and the second program is a program that runs on a computer constituting one display terminal device and one display terminal device. In some cases, it may run on a separate computer. In the latter case.

通信回線等の伝送路を経由して1表示制御命令が端末装
置に送られることになる。いずれの場合にも、業務プロ
グラム101で決定した出力は、表示制御命令として端
末管理部102に与えられる。
A single display control command is sent to the terminal device via a transmission path such as a communication line. In either case, the output determined by the business program 101 is given to the terminal management unit 102 as a display control command.

端末管理部102は、業務プログラムからの表示制御命
令を解析する表示制御命令解析部103、画面上の表示
領域に対する操作を行う表示領域制御部104、表示領
域内に表示されたデータを管理する表示領域管理テーブ
ル105から成る。業務プログラムから送られた表示制
御命令は、表示制御命令解析部103で解析され1表示
領域に対する操作指示に変換された後、表示領域制御部
104に与えられる0表示領域制御部104は、操作指
示に従って表示領域管理テーブル105の内容を変更し
、また、その変更に対応する画面表示情報を生成して表
示装置106に出力する。これにより、操作内容に応じ
た画面が得られる。
The terminal management unit 102 includes a display control command analysis unit 103 that analyzes display control commands from a business program, a display area control unit 104 that operates the display area on the screen, and a display unit that manages data displayed within the display area. It consists of an area management table 105. The display control command sent from the business program is analyzed by the display control command analysis unit 103 and converted into an operation instruction for one display area, and then given to the display area control unit 104. The content of the display area management table 105 is changed according to the change, and screen display information corresponding to the change is generated and output to the display device 106. As a result, a screen corresponding to the operation content can be obtained.

第2図は、画面上の表示領域と1表示された文字のセル
配置を示す6表示領域201は、一定の行数1桁数で整
格子状に配置された矩形領域(セル)から構成される。
Figure 2 shows the display area on the screen and the cell arrangement of one displayed character.6 The display area 201 is composed of rectangular areas (cells) arranged in a regular grid with a fixed number of rows and one digit. Ru.

各セルは半角文字で1文字分に相当する表示領域であり
、各文字は単一のセル、または互いに隣接する複数個の
セルを占める。
Each cell is a display area corresponding to one half-width character, and each character occupies a single cell or a plurality of adjacent cells.

第2図では全角縦横2倍の文字202は8個のセルを占
めているが、これら複数のセルのうち、文字描画の際の
基準位置となるセルを親セル、その他のセルを子セルと
定義する。拡大して示したセル配置e!203に示すよ
うに、この実施例では、文字の左下隅のセルを親セルと
指定している。また、各子セルには、親セルとの相対的
位装置関係を示すセル番号が与えら九る。セル番号は、
親セルの右隣りの子セルを1とし下段から上段に順次右
方向へ進む毎に1ずつ増す数値を与える0表示領域のう
ち、表示情報を全く含まない部分は、半角の空白文字で
満たされているものとする。
In Figure 2, the full-width double-height and double-width characters 202 occupy eight cells, and among these multiple cells, the cell that serves as the reference position when drawing characters is the parent cell, and the other cells are child cells. Define. Expanded cell arrangement e! As shown at 203, in this embodiment, the cell at the lower left corner of the character is designated as the parent cell. Furthermore, each child cell is given a cell number indicating its relative positional relationship with the parent cell. The cell number is
In the 0 display area, where the child cell to the right of the parent cell is set to 1 and increases by 1 each time you move from the bottom row to the top row to the right, the part that does not contain any display information is filled with half-width blank characters. It is assumed that

第3図は、上述した表示領域の表示内容に対応するデー
タを管理するための表示領域管理テープルを示す0表示
領域管理テーブル105は1表示領域の行数301桁数
302および表示領域を構成する各セルの属性303を
保持する。セルの属性303は、そのセルが親セルかど
うかを示すフラグ304を持つ。親セルの場合は、30
3Aに示すように、そのセルが属する文字の幅305と
高さ306(いずれもセル単位)および文字コード30
7を保持する。これに対して、子セルの場合は、303
Bに示すように、その親セルを示すセル番号308を保
持する。
FIG. 3 shows a display area management table 105 for managing data corresponding to the display contents of the display area described above. A display area management table 105 includes the number of lines 301 and the number of digits 302 of one display area and the display area. The attribute 303 of each cell is held. A cell attribute 303 has a flag 304 indicating whether the cell is a parent cell. For parent cell, 30
As shown in 3A, the width 305 and height 306 (both in cell units) of the character to which the cell belongs and the character code 30
Hold 7. On the other hand, in the case of a child cell, 303
As shown in B, a cell number 308 indicating its parent cell is held.

以上のように、親セルには文字の占める範囲を示すデー
タ、子セルには自身の属する文字の親セルの位置を示す
データを保持することにより、特定のセル範囲を指定し
てその内容を変更する操作を行う場合、その操作の影響
を受ける文字を全て検出できるようにしている。従って
、成る操作の結果、占有するセルの一部分だけが書換え
られてしまう文字がある場合、予めそれらの文字を消去
、すなわち、その文字が占有する全てのセルを半角の空
白文字で置き換え1表示の上でも消去しておくことによ
り、表示データの内容に不整合が生じるのを防ぐことが
できる。
As described above, by storing data indicating the range occupied by characters in the parent cell and data indicating the position of the parent cell of the character to which it belongs in the child cell, you can specify a specific cell range and specify its contents. When performing a change operation, all characters affected by the operation can be detected. Therefore, if there is a character that only partially rewrites the cell it occupies as a result of the above operation, delete those characters in advance, that is, replace all the cells occupied by that character with half-width blank characters. By deleting the information above as well, it is possible to prevent inconsistencies from occurring in the contents of display data.

第4図は、上記の処理を具体的に示すために、既に表示
されている文字列の上に他の文字を上書きする場合の処
理の例を、ブローチヤード形式で表わしたものである0
文字の上書きを行う場合。
In order to specifically illustrate the above process, Figure 4 shows an example of the process for overwriting the already displayed character string with another character, expressed in brooch yard format.
When overwriting characters.

まず上書き位置と上書き文字の大きさから、上書き文字
と重複するセル範囲を求める(ステップ401)、次に
、その範囲内の全てのセルについて、セルの種別を判定
する(ステップ402〜403)、そのセルが子セルで
ある場合、セル属性内のセル番号から、親セルの位置を
求め(ステップ404)、次に、親セルの属性からその
文字の占めるセル範囲を求め、これを消去する(ステッ
プ405)、最終に、上書き文字と重複する全ての文字
を消去した後、上書き文字の書込みを行う(ステップ4
06)。
First, a cell range that overlaps with the overwritten character is determined from the overwritten position and the size of the overwritten character (step 401), and then, the cell type is determined for all cells within that range (steps 402 to 403). If the cell is a child cell, find the position of the parent cell from the cell number in the cell attributes (step 404), then find the cell range occupied by the character from the attributes of the parent cell, and delete it ( Step 405), finally, after erasing all characters that overlap with the overwritten character, the overwritten character is written (step 4
06).

第5図は、表示領域内の特定のセル範囲の内容に対して
、消去、挿入、削除等の編集操作を加える場合の処理の
例を、フローチャート形式で表わしたものである。この
場合、先ず編集操作の対象となる領域と、外部の領域と
の間の境界線を求める(ステップ501)、次に1編集
対象領域に含まれるセルのうち、この境界線と接する全
てのセルについて、セルの種別を判定しくステップ50
2〜503)、子セルであれば、親セル位置を求める(
ステップ504)、次に、親セルの属性からその文字の
占めるセル範囲を求め(ステップ505)、文字が境界
線にまたがって存在しているかどうかを判定する(ステ
ップ506)、文字が境界線にまたがって存在している
場合、その文字を消去する(ステップ507)、境界線
に接する全てのセルについて以上の処理を実行した後、
編集対象範囲に対して、指定された編集操作を加える(
ステップ508)。
FIG. 5 is a flowchart showing an example of processing when editing operations such as deletion, insertion, and deletion are applied to the contents of a specific cell range within the display area. In this case, first find the boundary line between the area to be edited and the external area (step 501), then find all the cells that are in contact with this boundary line among the cells included in one editing target area. Step 50 to determine the type of cell for
2 to 503), if it is a child cell, find the parent cell position (
Step 504), Next, the cell range occupied by the character is determined from the attributes of the parent cell (Step 505), and it is determined whether the character straddles the border (Step 506). If the character exists across the boundary line, delete that character (step 507). After performing the above process for all cells touching the border line,
Add the specified editing operation to the editing target range (
Step 508).

なお1本実施例では、子セルの属性として、親セルとの
間の相対的位置関係を表わすセル番号を保持する方式と
したが、親セルの位置または親セルの属性データのアド
レスを直接保持する方式とすることも可能である。また
、本実施例では親セル位置が文字の左下欄にある場合に
ついて述べたが、本発明は、文字内のどこに親セルが位
置している場合にも適用可能である。
Note that in this embodiment, the cell number representing the relative positional relationship with the parent cell is held as an attribute of the child cell, but it is also possible to directly hold the position of the parent cell or the address of the attribute data of the parent cell. It is also possible to adopt a method of doing so. Further, in this embodiment, the case where the parent cell position is located in the lower left column of the character has been described, but the present invention is applicable to cases where the parent cell is located anywhere within the character.

[発明の効果] 以上説明したように、本発明によれば1表示領域を、表
示される最小の文字である半角文字1文字分の領域に対
応するセルに分割して管理することにより、大小の文字
が混在して表示されている表示領域に対して、任意のセ
ル位置を指定して文字の書き込み、編集等の操作を加え
ることが可能になる。また1本発明により、業務プログ
ラムの側では表示領域内に表示されている各文字の位置
と大きさを把握していなくても、任意のセル位置を指定
して表示内容の書き換えが可能となるため、業務プログ
ラムの簡略化、処理速度の向上に効果がある。
[Effects of the Invention] As explained above, according to the present invention, one display area is managed by dividing it into cells corresponding to the area of one half-width character, which is the smallest character to be displayed. It becomes possible to designate any cell position and perform operations such as writing and editing characters in a display area where a mixture of characters is displayed. Furthermore, according to the present invention, even if the business program does not know the position and size of each character displayed within the display area, it is possible to specify any cell position and rewrite the displayed content. Therefore, it is effective in simplifying business programs and improving processing speed.

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

第1図は1本発明の一実施例を示す計算機システムの構
成図、第2図は1画面上における表示領域の構造と文字
のセル配置を示す図、第3図は。 処理の過程で参照、更新する表示領域管理テーブルの構
成を示す図、第4図および第5図は、それぞれ文字の上
書きと編集操作の場合について、処理の過程を具体的に
示すフローチャート図である。 105・・・表示領域管理テーブル、303A・・・親
セルのセル属性、303B・・・子セルのセル属性。 第を目
FIG. 1 is a configuration diagram of a computer system showing an embodiment of the present invention, FIG. 2 is a diagram showing the structure of a display area and cell arrangement of characters on one screen, and FIG. 3 is a diagram showing the structure of a display area on one screen. Figures 4 and 5, which show the structure of a display area management table that is referenced and updated in the process of processing, are flowcharts that specifically show the process of overwriting characters and editing operations, respectively. . 105... Display area management table, 303A... Cell attribute of parent cell, 303B... Cell attribute of child cell. the second eye

Claims (1)

【特許請求の範囲】[Claims] 文字列または文字列を含む各種の情報を画面上に表示す
るシステムにおいて、表示端末装置を管理する部分に文
字表示領域に関する情報を記憶する際、半角文字一文字
分の表示領域であるセル毎に情報を保持し、複数セルを
占める文字については、文字描画の基準位置となるセル
にはその文字の占めるセル範囲に関する情報、その他の
セルには基準セルの位置を示す情報を保持することによ
り、大小各種の文字の混在する文字列表示領域に対して
、任意のセル位置を指定して文字の書込み、偏編等の操
作を行うことを可能にしたことを特徴とする文字列表示
方式。
In a system that displays character strings or various information containing character strings on the screen, when storing information regarding the character display area in the part that manages the display terminal device, information is stored for each cell, which is the display area for one half-width character. For characters that occupy multiple cells, the cell that serves as the standard position for character drawing stores information about the cell range occupied by the character, and other cells store information indicating the position of the standard cell, so the size can be adjusted. A character string display method is characterized in that it is possible to perform operations such as writing characters, uneven editing, etc. by specifying an arbitrary cell position in a character string display area where various characters are mixed.
JP61087920A 1986-04-18 1986-04-18 Character string display system Pending JPS62245286A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61087920A JPS62245286A (en) 1986-04-18 1986-04-18 Character string display system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61087920A JPS62245286A (en) 1986-04-18 1986-04-18 Character string display system

Publications (1)

Publication Number Publication Date
JPS62245286A true JPS62245286A (en) 1987-10-26

Family

ID=13928354

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61087920A Pending JPS62245286A (en) 1986-04-18 1986-04-18 Character string display system

Country Status (1)

Country Link
JP (1) JPS62245286A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH045755A (en) * 1990-04-23 1992-01-09 Sharp Corp Japanese word processor
JPH0415862A (en) * 1990-05-09 1992-01-21 Sharp Corp Japanese word processor
JPH0415861A (en) * 1990-05-09 1992-01-21 Sharp Corp Japanese word processor
JPH0415744A (en) * 1990-05-02 1992-01-21 Sharp Corp Character processor

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH045755A (en) * 1990-04-23 1992-01-09 Sharp Corp Japanese word processor
JPH0415744A (en) * 1990-05-02 1992-01-21 Sharp Corp Character processor
JPH0415862A (en) * 1990-05-09 1992-01-21 Sharp Corp Japanese word processor
JPH0415861A (en) * 1990-05-09 1992-01-21 Sharp Corp Japanese word processor

Similar Documents

Publication Publication Date Title
CA1280524C (en) Multiple window display system
US4713754A (en) Data structure for a document processing system
US5335323A (en) Computer human interface with multiapplication display
US7665017B2 (en) Computer system integrating different data types into a single environment
US7120892B1 (en) Process for adjusting data structures of a floorplan upon changes occurring
US20050198605A1 (en) System for representing the logical and physical information of an integrated circuit
US20080022196A1 (en) Method and apparatus for implementing web pages having smart tables
CN103279455A (en) Spreadsheet style processing method and device
JPH05197790A (en) Map graphic data managing system
JPS595277A (en) Display indication system for multi-window screen
JPS62245286A (en) Character string display system
US6973642B2 (en) Multi-dimensional programming device and multi-dimensional programming method
JPH0377997A (en) Window display system and method
JPH0271342A (en) Memory controller
JPS63313234A (en) File index display system
JPH04288593A (en) Image display device
CN116341496A (en) Document typesetting method, device and equipment
CA1232077A (en) System control means for data processing system
JPH0421229B2 (en)
CN110543732A (en) free-form finite element model data reading method based on regional navigation code
JPS60107086A (en) Menue control system
JPH02214964A (en) Computer system
JPS59228295A (en) Editing display system
JPS63280317A (en) Term help system
JPH0340171A (en) Method and device for editing document