JPH07104858B2 - Document data processor - Google Patents

Document data processor

Info

Publication number
JPH07104858B2
JPH07104858B2 JP63090933A JP9093388A JPH07104858B2 JP H07104858 B2 JPH07104858 B2 JP H07104858B2 JP 63090933 A JP63090933 A JP 63090933A JP 9093388 A JP9093388 A JP 9093388A JP H07104858 B2 JPH07104858 B2 JP H07104858B2
Authority
JP
Japan
Prior art keywords
character
display
block
attribute
character string
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP63090933A
Other languages
Japanese (ja)
Other versions
JPH01261774A (en
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP63090933A priority Critical patent/JPH07104858B2/en
Publication of JPH01261774A publication Critical patent/JPH01261774A/en
Publication of JPH07104858B2 publication Critical patent/JPH07104858B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

【発明の詳細な説明】 〔概 要〕 表示装置に多様な書体、大きさ及び表示形体の文字列を
表示するための、文書データの処理に関し、 文字ごとの表示属性制御データを、該データの変更、追
加、削除が容易で、所要メモリ量が少なく、且つ国際規
格のISO−CGI等に従う制御が容易なように構成する文書
データ処理装置を目的とし、 文字列を指定の表示属性に従って表示する表示装置に表
示するための文書データを処理するシステムにおいて、
該文書データには、該文字列を所定の条件によって分割
した論理セグメントごとに対応する論理セグメント管理
ブロックと、各該論理セグメント管理ブロックから指示
され、該論理セグメント内の行ごとに設け、相互に連鎖
される行管理ブロックと、各該行管理ブロックから指示
され、相互に連鎖される1以上の座標制御ブロック及び
1以上の文字属性制御ブロックと、前記文字列を構成す
る文字の文字コードを保持するコードテーブルを設け、
各該座標制御ブロックは所要の文字の行内相対表示位置
情報を保持し、各該文字属性制御ブロックは、所定形式
の表示属性情報と、該表示属性情報によって規定する表
示属性を適用すべき前記コードテーブル上の文字列を指
示する情報とを保持するように構成する。
DETAILED DESCRIPTION OF THE INVENTION [Summary] Regarding processing of document data for displaying character strings of various typefaces, sizes and display forms on a display device, display attribute control data for each character is Displaying character strings according to specified display attributes for the purpose of a document data processing device that is easy to change, add, and delete, requires a small amount of memory, and is easy to control in accordance with international standards such as ISO-CGI. In a system that processes document data for display on a display device,
In the document data, a logical segment management block corresponding to each logical segment obtained by dividing the character string according to a predetermined condition, and a logical segment management block instructed by each logical segment management block, are provided for each line in the logical segment, and are mutually provided. Holds chained row management blocks, one or more coordinate control blocks and one or more character attribute control blocks that are instructed by each row management block and are chained to each other, and character codes of characters that form the character string. Code table
Each of the coordinate control blocks holds in-line relative display position information of a desired character, and each of the character attribute control blocks applies the display attribute information of a predetermined format and the display attribute defined by the display attribute information. It is configured to hold information indicating a character string on the table.

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

本発明は、表示装置に多様な書体、大きさ及び表示形体
の文字列を表示するための、文書データの処理装置に関
する。
The present invention relates to a document data processing apparatus for displaying character strings of various typefaces, sizes and display forms on a display device.

〔従来の技術と発明が解決しようとする課題〕[Problems to be Solved by Conventional Techniques and Inventions]

複数の異なる文字サイズ及び書体等の文字が混合した文
字列として表示されるための文書データを処理する場合
に、そのような文書データは各文字についてすべての表
示属性を決定する必要があるので、各文字の文字コード
ごとに対応してそれらの表示属性を指定する表示属性情
報を持つ構造が一般に用いられている。
When processing document data that is to be displayed as a character string in which characters of different character sizes and typefaces are mixed, such document data needs to determine all display attributes for each character. A structure having display attribute information that specifies the display attributes corresponding to each character code of each character is generally used.

他方、高度の印刷物の出力を可能とする文書データを、
印刷結果と同等に表示装置のCRT表示器等に表示する、
いわゆるWYSIWYG(What you see is what you get)の
要求を満足するようにするためには、書体、字高等のみ
ならず、文字の太さ、面塗り、影付け、斜体、微細な文
字位置指定、その他の指定が必要になり、表示属性情報
が多量になるために上記の構造では文書データの記憶容
量の膨大化が問題になる。
On the other hand, document data that enables the output of high-quality printed matter,
Display on the CRT display etc. of the display device in the same way as the print result,
In order to satisfy the requirements of so-called WYSIWYG (What you see is what you get), not only the typeface, height, etc., but also the thickness of characters, surface painting, shadowing, italics, minute character position designation, Since other designations are required and the display attribute information becomes large, the above structure poses a problem of enormous storage capacity of document data.

又、前記のような詳細な文字列表示を行うには、文字で
あっても単に行、桁位置に基づく制御のみでなく、図形
と同等の表示機能を利用できるようにすることが必要に
なり、その場合に例えば国際標準化機構の国際規格であ
る公知のいわゆるISO−CGIの図形装置機能セットに従う
表示装置とのインタフェースによる制御がし易いよう
に、文書データを構成することが望まれる。
In addition, in order to perform the detailed character string display as described above, it is necessary to enable not only the control based on the line and the column position but also the display function equivalent to the graphic even for the character. In that case, for example, it is desirable to configure the document data so as to be easily controlled by an interface with a display device according to the well-known ISO-CGI graphic device function set which is an international standard of the International Organization for Standardization.

前記ISO−CGIの図形装置機能セットでは、表示に関する
情報をセグメントに分割し、表示位置、図形、大きさ等
の各情報をそれぞれセグメント内要素として管理し、セ
グメント識別名とセグメント内要素番号によって要素を
特定して、要素ごとの変更、追加、削除等することが可
能であり、又表示装置への属性情報の通知で、前の図形
単位の要素と同一内容の要素は、装置側がセグメントを
保持することによって、次の図形単位について通知を省
略できる。
In the ISO-CGI graphic device function set, information on display is divided into segments, each information such as display position, graphic, and size is managed as an element in the segment, and the element is identified by the segment identification name and the element number in the segment. It is possible to specify, change, add, delete, etc. for each element, and when the attribute information is notified to the display device, the device side retains the segment for the element with the same content as the previous graphic unit element. By doing so, notification can be omitted for the next graphic unit.

本発明は、文書データを文字ごとの表示属性制御データ
の変更、追加、削除等が容易で、所要メモリ量が少な
く、且つ前記のISO−CGI等に従う制御が容易なように構
成する文書データ処理方式を目的とする。
The present invention is a document data processing that configures document data such that the display attribute control data for each character can be easily changed, added, deleted, the required memory amount is small, and the control according to the ISO-CGI or the like is easy. Intended for the scheme.

〔課題を解決するための手段〕[Means for Solving the Problems]

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

図は文書データの構成を示し、2は例えはページごとの
ページ管理ブロック1から指示され、所定の条件によっ
て区切られる文字列ごとの論理セグメント管理ブロッ
ク、3は行ごとに設けられて論理セグメント管理ブロッ
ク2から指示される行管理ブロック、4は行管理ブロッ
ク3から指示される制御ブロックチェイン中にあり文字
列の表示位置を示す座標制御ブロック、5は同じチェイ
ン中にあり文字列とその表示属性を指定する情報を保持
する文字属性制御ブロック、6は文字列を保持するコー
ドテーブルである。
The figure shows the structure of document data, 2 is a logical segment management block for each character string that is instructed from the page management block 1 for each page, and is delimited by a predetermined condition, 3 is a logical segment management for each line A line management block designated by the block 2 is a coordinate control block 4 which is in the control block chain designated by the line management block 3 and which indicates a display position of a character string, and 5 is a coordinate string which is in the same chain and its display attribute Is a character attribute control block that holds information designating the character string, and 6 is a code table that holds a character string.

〔作 用〕[Work]

表示装置に表示するための文書データを処理する文書デ
ータ処理装置において、表示する文字列を例えばページ
内の強制改行で分割した論理セグメントごとに対応する
論理セグメント管理ブロック2と、各論理セグメント管
理ブロック2から指示されるチェインに文字列の行ごと
に設ける行管理ブロック3をつなぎ、各行管理ブロック
3から指示される各制御ブロックチェインに1以上の座
標制御ブロック4と文字属性制御ブロック5をつなぐ。
又各文字コードをコードテーブル6に保持する。
In a document data processing device for processing document data to be displayed on a display device, a logical segment management block 2 corresponding to each logical segment obtained by dividing a character string to be displayed by, for example, forced line feed within a page, and each logical segment management block A line management block 3 provided for each line of a character string is connected to a chain designated by 2, and one or more coordinate control blocks 4 and a character attribute control block 5 are connected to each control block chain designated by each line management block 3.
Also, each character code is held in the code table 6.

各座標制御ブロック4は所要の文字の表示を開始する行
内の相対表示位置情報44を保持し、そこから順次表示す
べき1以上の各文字列について、座標制御ブロック4に
続く各文字属性制御ブロック5に、所定形式の表示属性
情報54〜56と、その表示属性を適用すべきコードテーブ
ル6上の文字列を指示する情報58、59とを保持するよう
にして文書データを構成し、この文書データを本装置の
文書データ保持手段に保持する。
Each coordinate control block 4 holds relative display position information 44 within a line for starting display of a desired character, and for each of one or more character strings to be sequentially displayed from that, each character attribute control block following the coordinate control block 4. 5, the document data is configured such that display attribute information 54 to 56 in a predetermined format and information 58 and 59 indicating a character string on the code table 6 to which the display attribute should be applied are held, and this document data is stored. The data is held in the document data holding means of this device.

本装置の処理手段は、所要の行を表示する場合に、論理
セグメント管理ブロック2、論理セグメント管理ブロッ
ク2から指示される行管理ブロック3を順次検索して、
所要の行の行管理ブロック3を決定する。
When displaying a desired line, the processing means of this device sequentially searches the logical segment management block 2 and the row management block 3 designated by the logical segment management block 2,
The row management block 3 of the required row is determined.

次に行管理ブロック3から指示される座標制御ブロック
4及び文字属性制御ブロック5の連鎖の、各該文字属性
制御ブロック5から指示されるコードテーブル6上の文
字コード列に、当該文字属性制御ブロックに保持する表
示属性に基づいて生成する表示制御情報と、座標制御ブ
ロック4の座標から生成する表示装置上の表示位置情報
とを付して生成する指令を表示装置に出力して、行の文
字列を表示させる。
Next, in the chain of the coordinate control block 4 and the character attribute control block 5 designated by the line management block 3, the character code string on the code table 6 designated by each character attribute control block 5 is added to the character attribute control block. The command generated by adding the display control information generated based on the display attribute held in the display and the display position information on the display device generated from the coordinates of the coordinate control block 4 is output to the display device, and the character of the line is displayed. Display columns.

以上の文書データの構成により、同じ属性の文字列ごと
に一括して表示属性を保持するので、データ量は必要最
小限に圧縮され、又上記のようなチェイン構成により、
文字コードや属性情報の変更、加除を局部的に処理でき
ると共に、前記の構成はISO−CGI等のセグメント内要素
番号との対応を容易にする。
With the above document data configuration, display attributes are collectively held for each character string having the same attribute, so the data amount is compressed to the required minimum, and with the above chain configuration,
Change and addition / deletion of character codes and attribute information can be locally processed, and the above-mentioned configuration facilitates correspondence with the element number within a segment such as ISO-CGI.

〔実施例〕〔Example〕

本発明により、文書データは文書の例えば1ページごと
に対応して、第1図に示すように構成する。
According to the present invention, the document data is configured as shown in FIG. 1 corresponding to each page of the document, for example.

第1図において、ページ管理ブロック1は、ここからリ
ンクをたどることにより、1ページ内の全文書データを
アクセスするためのルートとなる制御情報であり、項10
にページ内の論理セグメント数を保持し、項11のセグメ
ント開始ポインタで論理セグメント管理ブロック2のチ
ェインの先頭ブロックを指示し、項12のセグメント終了
ポインタで論理セグメント管理ブロック2のチェインの
末尾ブロックを指示する。
In FIG. 1, the page management block 1 is control information that serves as a route for accessing all document data in one page by following a link from here.
Holds the number of logical segments in a page, the segment start pointer of item 11 indicates the head block of the chain of the logical segment management block 2, and the segment end pointer of item 12 indicates the end block of the chain of the logical segment management block 2. Give instructions.

ページ管理ブロック1から指示される各論理セグメント
管理ブロック2は、項20の次ポインタで順次論理セグメ
ント管理ブロック2を指示してチェインを構成する。
又、チェインの更新処理の便のために、項21の前ポイン
タによって、チェインを逆方向にリンクしておく。
Each logical segment management block 2 designated by the page management block 1 sequentially designates the logical segment management block 2 by the next pointer of item 20 to form a chain.
Further, for convenience of chain update processing, the chain is linked in the reverse direction by the front pointer in item 21.

1ページの文書は例えば強制改行(文書作成者が意識し
て挿入した改行指定)を区切りとして、論理セグメント
に分割するものとし、このようにして区切った各論理セ
グメントごとに対応して論理セグメント管理ブロック2
を設け、論理セグメントは項22のセグメント識別名によ
って識別される。
A one-page document is divided into logical segments with, for example, forced line breaks (line breaks specified by the creator of the document being intentionally inserted) as delimiters, and logical segment management is performed for each logical segment thus delimited. Block 2
And the logical segment is identified by the segment identifier in item 22.

各論理セグメント管理ブロック2は、項23の行数で当該
論理セグメントの行数を示し、項24の先頭行ポインタで
行管理ブロック3のチェインの先頭ブロック、項25の最
終行ポインタでチェインの末尾ブロックを指示する。
Each logical segment management block 2 indicates the number of lines of the logical segment by the number of lines in item 23, the head block of the line management block 3 by the head line pointer of item 24, and the end of the chain by the last line pointer of item 25. Instruct a block.

論理セグメント管理ブロック2から指示される各行管理
ブロック3は、項30の次ポインタで順次行管理ブロック
3を指示してチェインを構成する。又、チェインの更新
処理の便のために、項31の前ポインタによって、チェイ
ンを逆方向にリンクしておく。
Each row management block 3 designated by the logical segment management block 2 sequentially designates the row management block 3 by the next pointer of item 30 to form a chain. For convenience of chain update processing, the chain is linked in the reverse direction by the previous pointer in item 31.

行管理ブロック3は、論理セグメントの各行ごとに設
け、項32の制御ブロックポインタによってその行の文字
列に関する制御情報を保持する制御ブロックチェインを
指示し、項33の行内要素数で、後述の要素数の集計値を
示し、項34の絶対座標で、行の先頭の表示面上の座標を
示し、項35の行コードポインタによって、コードテーブ
ル6に保持されるこの行の文字列の先頭の文字コードを
指示する。
The line management block 3 is provided for each line of the logical segment, and uses the control block pointer of Item 32 to instruct the control block chain that holds the control information related to the character string of that line. It shows the aggregated value of the numbers, the absolute coordinate of item 34 indicates the coordinate on the display surface of the beginning of the line, and the first character of the character string of this line held in the code table 6 by the line code pointer of item 35. Instruct the code.

又、要すれば項36以降の行ごとの固有情報として、行
頭、行末の禁則処理、行下がり等に関する指示情報を保
持するものとする。
In addition, if necessary, as the unique information for each line after item 36, the instruction information about the beginning of the line, the prohibition process at the end of the line, the line descent, etc. is held.

行管理ブロック3の項32で指示される制御ブロックチェ
インは、所要数の座標制御ブロック4及び文字属性制御
ブロック5をつないで構成されるものとする。
The control block chain designated by the item 32 of the line management block 3 is constituted by connecting a required number of coordinate control blocks 4 and character attribute control blocks 5.

座標制御ブロック4は、行内で文字列の先頭表示位置に
指示する必要のある場合、即ち行の先頭の文字列、及び
行内で空白が続いた後の文字列等の先頭の表示位置を項
44の相対座標により前記項34の絶対座標に体する行内相
対座標として示す制御ブロックであり、項40の座標制御
ブロックの表示によってブロックの種類を示し、項41の
次ポインタ及び項42の前ポインタによって制御ブロック
チェインの順逆両方向のリンクを構成する。
The coordinate control block 4 specifies the start display position of a character string within a line, that is, the start display position of a character string at the beginning of a line and a character string after a blank space continues in the line.
It is a control block shown as in-line relative coordinates that are relative to the absolute coordinates of the above item 34 by the relative coordinates of item 44, the type of block is indicated by the display of the coordinate control block of item 40, the next pointer of item 41 and the previous pointer of item 42 Constructs a link in both forward and reverse directions of the control block chain.

項43は行内要素番号であって、項44の相対座標の要素番
号を行内の相対番号として示す。こゝで要素とは、表示
装置とのセグメントを用いたインタフェーズで授受する
制御情報の単位である。
Item 43 is an in-line element number, and the element number of the relative coordinates of item 44 is shown as an in-line relative number. Here, the element is a unit of control information transmitted / received in an interphase using a segment with the display device.

即ち、前記の文字列表示位置の座標、後述の表示属性を
構成する書体、太字、面塗り、その他の各種属性値がそ
れぞれ1要素であり、又1まとめの文字列の文字コード
列も1要素として扱われ、前記のISO−CGI等の場合に、
要素はセグメント内要素番号(以下において単に要素番
号という)によって管理され、表示装置は要素番号によ
って要素を識別できるので、要素番号を指定することに
より、表示装置に送った要素の変更、削除、及び要素の
追加等の処理を、局部的な処理によって実行できるの
で、表示の部分的な変更が効率よく処理できる。
That is, the coordinate of the character string display position, the typeface, the bold face, the face paint, and other various attribute values that form display attributes described below are each one element, and the character code string of one character string is also one element. In the case of the above ISO-CGI, etc.,
The element is managed by the element number in the segment (hereinafter simply referred to as the element number), and the display device can identify the element by the element number. Therefore, by designating the element number, the change, deletion, and deletion of the element sent to the display device can be performed. Since processing such as addition of elements can be executed by local processing, partial change of display can be efficiently processed.

文字属性制御ブロック5は、制御ブロックチェイン上で
座標制御ブロック4又は前位の文字属性制御ブロック5
からリンクされ、前位の座標制御ブロック4で指定され
る座標位置、又は前位の文字属性制御ブロック5で指定
される文字列の末尾に続く座標位置、を先頭として表示
する所要の文字列に対する表示属性を示す制御ブロック
であり、項50の文字属性制御ブロックの表示により制御
ブロックの種類を示し、項51、52の次ポインタ及び前ポ
インタは前記と同様に順逆のリンクを構成するポインタ
である。
The character attribute control block 5 is the coordinate control block 4 or the preceding character attribute control block 5 on the control block chain.
From the coordinate position specified by the preceding coordinate control block 4 or the coordinate position following the end of the character string specified by the preceding character attribute control block 5 It is a control block showing the display attribute, the type of the control block is shown by the display of the character attribute control block of item 50, and the next pointer and the previous pointer of items 51 and 52 are the pointers forming the reverse link as described above. .

項53の行内要素番号は、項54に保持する内部属性束のう
ち後述のようにして、表示装置に通知した要素の先頭の
要素に対する行内要素番号を示し、項54の内部属性束は
項58、59で指示する文字列の表示属性を内容とし、表示
属性として必要なすべての要素についての指定情報を保
持する。
The in-line element number of Item 53 indicates the in-line element number for the first element of the elements notified to the display device as described later among the internal attribute bundles held in Item 54, and the internal attribute bundle of Item 54 is Item 58. , 59 contains the display attribute of the character string indicated by 59, and holds the specified information for all the elements required as the display attribute.

しかし、ISO−CGIによる表示装置に表示する場合には、
前位の文字属性制御ブロック5で通知した属性と同じ属
性値は通知を省略できるので、異なる属性値の要素を項
56の要素情報に、例えばビット対応形式で示し、該当要
素の個数を項55の要素数で示しておき、このように表示
属性情報を構成することにより、このブロックのみで当
該文字列の表示属性をすべて知ることができると共に、
表示装置へ必要な属性情報のみを通知する制御を容易に
する。
However, when displaying on a display device according to ISO-CGI,
Since the notification of the same attribute value as the attribute notified by the preceding character attribute control block 5 can be omitted, the elements with different attribute values can be specified.
In the element information of 56, for example, it is shown in a bit corresponding format, the number of corresponding elements is shown by the number of elements of the item 55, and by configuring the display attribute information in this way, the display attribute of the character string in only this block You can know all about
It facilitates the control of notifying only the necessary attribute information to the display device.

項57は項58、59で指定する文字列に対して付けられる行
内要素番号であり、又前記のように項58、59はこの制御
ブロックの内部属性束を適用する文字列の指定であっ
て、項58のコードテーブルインデックスで、コードテー
ブル6上の文字列の先頭文字コードを指示し、項59のコ
ード数で文字列の長さ(文字コード数)を指定する。
Item 57 is the inline element number given to the character string specified in Item 58, 59, and, as described above, Item 58, 59 is the specification of the character string to which the internal attribute bundle of this control block is applied. The code table index of Item 58 indicates the first character code of the character string on the code table 6, and the number of codes of Item 59 specifies the length of the character string (the number of character codes).

コードテーブル6は、文書データ中の文字コードを出現
順に配列したテーブルとし、コード欄に文字コード、内
部属性欄に当該文字を修飾するアンダーライン等の文字
ごとの属性情報を持つ構成とする。
The code table 6 is a table in which the character codes in the document data are arranged in the order of appearance, and the code field has a character code and the internal attribute field has attribute information for each character such as an underline that modifies the character.

第2図(a)は、文字属性制御ブロック5の項54の内部
属性束の構成例を示す図であり、図の例では11個の項目
の情報によって文字列の表示属性を指定するものとし、
各情報は2バイトの指標情報に圧縮して保持することに
より所要メモリ量を減少して保持し、表示装置に通知す
る場合には、所定の指令コードに復元して通知する。
FIG. 2 (a) is a diagram showing a configuration example of the internal attribute bundle of item 54 of the character attribute control block 5, and in the example of the figure, the display attribute of the character string is designated by the information of 11 items. ,
Each information is compressed and held in 2-byte index information to reduce and hold the required memory amount, and when notifying to the display device, it is restored to a predetermined command code and notified.

第2図(a)に示す内部属性束の情報において、文字列
書体指標は明朝体、ゴシック体、各種欧文書体、それら
の半角書体等20種類余の書体の1つを指定する指標であ
る。又、太字設定指標は文字を構成する線の太さの指
定、文字面塗指標は文字の線のベタ塗り、白抜き等の指
定、影付け指標は文字の影線の有無等、斜体指標は各種
の斜体化の指定、文字揃え指標は文字の回転方向、向き
等の指定、文字表示指標は重なり部分の表示の透過、不
透過の指定を指標化した情報であり、それぞれは復元さ
れたとき表示装置への1〜3個の指令要素に対応する。
In the information of the internal attribute bundle shown in FIG. 2 (a), the character string typeface index is an index that specifies one of over 20 types of typefaces such as Mincho typeface, Gothic typeface, various European typefaces, and half-width typefaces thereof. . Also, the bold setting index specifies the thickness of the lines that make up the character, the character surface coating index specifies the solid filling of the character line, the white outline, etc., the shadowing index indicates the presence or absence of the shadow line of the character, and the italic index indicates Various italicized designations, the character alignment index is the designation of the rotation direction and orientation of the characters, and the character display index is the information indicating the transparency and non-transparency of the display of the overlapping part. It corresponds to 1 to 3 command elements to the display device.

又、字高は文字の高さ、文字幅比は高さに対する幅の比
率、字間1、字間2はそれぞれ文字の表示間隔で、字間
は文書作成者が指定した字間、字間2は禁則処理等の結
果生じる空きを塞ぐ等のために割りつけた字間を示す。
Character height is the character height, character width ratio is the ratio of width to height, character spacing 1 and character spacing 2 are the display intervals of the characters, and character spacing is the character spacing specified by the document creator. Reference numeral 2 denotes a character space assigned to fill a space resulting from prohibition processing or the like.

第2図(b)は、項56の要素情報の構成例を示し、2バ
イトのうちの11ビットの各ビットを第2図(a)の各項
に、図示のように対応させて、各ビット値“0"で前位の
文字属性制御ブロックから引き継ぐ属性、ビット値“1"
で変更する属性を示し、左端の束指標ビットで11項目中
の変更属性の有無を総括して示すようにする。
FIG. 2B shows a configuration example of the element information of item 56, and 11 bits of 2 bytes correspond to each item of FIG. 2A as shown in FIG. Attribute inherited from preceding character attribute control block with bit value "0", bit value "1"
The attribute to be changed is indicated by, and the presence or absence of the changed attribute in the 11 items is generally indicated by the bundle index bit at the left end.

従って項55の要素数には、第2図(b)の要素情報にお
いてビット値“1"のビットの個数(束指標を除く)が示
される。
Therefore, the number of elements of the item 55 indicates the number of bits (excluding the bundle index) of the bit value "1" in the element information of FIG. 2 (b).

文書データ処理装置は文書データ保持手段に、以上のよ
うな構成の文書データを保持し、処理手段は表示装置に
必要な文書の表示を行うための指令を、その文書データ
を参照して発行する。
The document data processing device holds the document data having the above-described structure in the document data holding means, and the processing means issues a command for displaying the required document on the display device with reference to the document data. .

処理手段の処理は、以上に説明した文書データの各制御
ブロック間のリンク関係及び各ブロック各項の情報の意
味付けから明らかなように、ある行を表示する場合に文
書データを参照して、論理セグメント管理ブロック2、
論理セグメント管理ブロック2から指示される行管理ブ
ロック3を順次検索することにより、所要の行の行管理
ブロック3を決定し、次にその行管理ブロック3から指
示される座標制御ブロック4及び文字属性制御ブロック
5の連鎖の、各該文字属性制御ブロック5から指示され
るコードテーブル6上の文字コード列に、当該文字属性
制御ブロックに保持する表示属性に基づいて生成する表
示制御情報と、座標制御ブロック4の座標から生成する
表示装置上の表示位置情報とを付して生成する指令を表
示装置に出力して、行の文字列を表示させる。
As is apparent from the link relationship between the control blocks of the document data and the meaning of the information of each block item described above, the processing of the processing means refers to the document data when displaying a certain line, Logical segment management block 2,
The row management block 3 designated by the logical segment management block 2 is sequentially searched to determine the row management block 3 of a desired row, and then the coordinate control block 4 and the character attribute designated by the row management block 3 are determined. Display control information generated based on the display attribute held in the character attribute control block in the character code string on the code table 6 instructed from each of the character attribute control blocks 5 in the chain of control blocks 5, and coordinate control. A command generated with the display position information on the display device generated from the coordinates of the block 4 is output to the display device to display the character string of the line.

その際、本実施例では前記のとおり、指令する座標情
報、表示属性情報、文字コード列等には、それぞれ各制
御ブロックの該当項に示す行内要素番号を付して表示装
置に転送することにより、前記のように、後に要素番号
を指定して必要な指示を行うことにより、変更等を局部
的に行うことを容易にすることができる。
At this time, in the present embodiment, as described above, the coordinate information to be instructed, the display attribute information, the character code string, etc. are each assigned the inline element number shown in the corresponding item of each control block and transferred to the display device. As described above, by specifying the element number and giving a necessary instruction later, it is possible to easily make a change locally.

又、本実施例では前記のとおり、各文字属性制御ブロッ
ク5によって指令される表示属性は、後位に引き継がれ
るから、当然各文字属性制御ブロック5の処理では、前
記第2図(b)で説明した内容の要素情報56で前位と異
なることが示されているれる属性についてのみ、内部属
性束54に指定されている属性に従って指令を発行する。
Further, in the present embodiment, as described above, the display attributes instructed by each character attribute control block 5 are succeeded to the succeeding positions. Therefore, naturally, in the processing of each character attribute control block 5, the display attribute shown in FIG. The command is issued according to the attributes specified in the internal attribute bundle 54 only for the attributes that are shown to be different from the preceding by the element information 56 of the described contents.

〔発明の効果〕〔The invention's effect〕

以上の説明から明らかなように、本発明によれば、表示
装置に多様な書体、大きさ及び表示形体からなる文字列
を表示するための文書データの処理において、文字列の
表示属性情報を変更、追加、削除が容易で、所要メモリ
量が少なく、且つ国際規格のISO−CGI等に従う制御が容
易なようにして文書データが構成されるので、文書デー
タ処理システムの処理効率を向上し、経済性を改善する
という著しい工業的効果がある。
As is apparent from the above description, according to the present invention, the display attribute information of the character string is changed in the processing of the document data for displaying the character string having various typefaces, sizes and display shapes on the display device. Since the document data is configured so that it can be easily added and deleted, the required memory amount is small, and the control according to the international standard ISO-CGI, etc. is easy, the processing efficiency of the document data processing system can be improved and the economy can be improved. There is a remarkable industrial effect of improving the sex.

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

第1図は本発明の構成を示すブロック図、 第2図は内部属性束等の構成を説明する図 である。 図において、 1はページ管理ブロック、 2は論理セグメント管理ブロック、 3は行管理ブロック、4は座標制御ブロック、 5は文字属性制御ブロック、 6はコードテーブル、 20〜25、30〜36、40〜44、50〜59は項 を示す。 FIG. 1 is a block diagram showing the configuration of the present invention, and FIG. 2 is a diagram illustrating the configuration of an internal attribute bundle and the like. In the figure, 1 is a page management block, 2 is a logical segment management block, 3 is a line management block, 4 is a coordinate control block, 5 is a character attribute control block, 6 is a code table, 20-25, 30-36, 40- 44, 50 to 59 indicate items.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】文書の文字列を指定の表示属性に従って指
定の表示位置に表示する表示装置に表示するために、該
文書の文書データを処理する装置であって、 各該文書の頁を、同一の文字属性を有する1以上の文字
からなる文字列、1以上の該文字列からなる行、及び1
以上の該行からなる論理セグメントに分割して、必要な
各該文字列について、該文字列を構成する文字の文字コ
ードの列を示すコードテーブル(6)と、各該論理セグ
メントごとの論理セグメント管理ブロック(2)と、各
該行ごとの行管理ブロック(3)と、該行内の該文字列
ごとの文字属性制御ブロック(5)と、必要な該文字列
ごとの座標制御ブロック(4)とからなり、 各該頁のすべての該論理セグメント管理ブロック(2)
を連鎖し、 各該論理セグメントのすべての該行の該行管理ブロック
(3)を連鎖して、該連鎖の先頭を該論理セグメント管
理ブロック(2)のポインタで指示し、 該行のすべての該文字属性制御ブロック(5)及び該座
標制御ブロック(4)を連鎖して、当該連鎖の先頭を該
行管理ブロック(3)のポインタで指示し、 各該文字属性制御ブロック(5)は、該コードテーブル
(6)上の所要の該文字列の文字コード列を保持する位
置を指示する情報(58、59)と、当該文字列に付与すべ
き表示属性を示す情報(54〜56)とを保持し、 各該座標制御ブロック(4)は、連続する該文字列の行
内相対表示位置を示す座標(44)を保持するようにした
データを該文書データとして保持する文書データ保持手
段と、 該論理セグメント管理ブロック(2)、該論理セグメン
ト管理ブロックから指示される該行管理ブロック(3)
を順次検索して、所要の該行の行管理ブロックを決定
し、 該行管理ブロックから指示される該座標制御ブロック
(4)及び文字属性制御ブロック(5)の連鎖の、各該
文字属性制御ブロックから指示されるコードテーブル
(6)上の文字コード列に、当該文字属性制御ブロック
に保持する表示属性に基づいて生成する表示制御情報
と、該座標制御ブロックの該座標から生成する該表示装
置上の表示位置情報とを付して生成する指令を該表示装
置に出力して該行の文字列を表示させる処理手段とを有
することを特徴とする文書データ処理装置。
1. A device for processing document data of a document to display a character string of the document on a display device for displaying the character string of the document at a specified display position according to a specified display attribute, A character string composed of one or more characters having the same character attribute, a line composed of one or more character strings, and 1
A code table (6) showing a string of character codes of the characters forming the character string for each of the necessary character strings divided into the above logical segments, and a logical segment for each logical segment Management block (2), row management block (3) for each row, character attribute control block (5) for each character string in the row, and necessary coordinate control block (4) for each character string And all the logical segment management blocks (2) of each said page
Chaining the row management blocks (3) of all the rows of each logical segment, and pointing the beginning of the chain with the pointer of the logical segment management block (2) The character attribute control block (5) and the coordinate control block (4) are chained, and the head of the chain is designated by the pointer of the line management block (3). Information (58, 59) indicating a position for holding a required character code string of the character string on the code table (6), and information (54 to 56) indicating a display attribute to be given to the character string. And each of the coordinate control blocks (4) holds document data holding means for holding as the document data data that holds the coordinates (44) indicating the in-row relative display position of the continuous character string, The logical segment management block (2 , The row management block indicated by the logical segment management block (3)
Are sequentially searched to determine the row management block of the required row, and each character attribute control of the chain of the coordinate control block (4) and the character attribute control block (5) instructed by the row management block Display control information generated based on the display attribute held in the character attribute control block in the character code string on the code table (6) designated by the block, and the display device generated from the coordinates of the coordinate control block. A document data processing device, comprising: a processing unit that outputs a command generated with the above display position information to the display device to display the character string of the line.
JP63090933A 1988-04-13 1988-04-13 Document data processor Expired - Lifetime JPH07104858B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63090933A JPH07104858B2 (en) 1988-04-13 1988-04-13 Document data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63090933A JPH07104858B2 (en) 1988-04-13 1988-04-13 Document data processor

Publications (2)

Publication Number Publication Date
JPH01261774A JPH01261774A (en) 1989-10-18
JPH07104858B2 true JPH07104858B2 (en) 1995-11-13

Family

ID=14012249

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63090933A Expired - Lifetime JPH07104858B2 (en) 1988-04-13 1988-04-13 Document data processor

Country Status (1)

Country Link
JP (1) JPH07104858B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5689723A (en) * 1993-02-03 1997-11-18 International Business Machines Corp Method for allowing single-byte character set and double-byte character set fonts in a double-byte character set code page
JPH06282537A (en) * 1993-03-30 1994-10-07 Nippon Denki Micom Technol Kk Processing method for font style information
JPH0793335A (en) * 1993-06-07 1995-04-07 Internatl Business Mach Corp <Ibm> Method for provision of language function of text

Also Published As

Publication number Publication date
JPH01261774A (en) 1989-10-18

Similar Documents

Publication Publication Date Title
EP0067290B1 (en) A method for integrating structured data and string data on a text processing system
CA1169569A (en) Method for editing spatially related data in an interactive text processing system
JPH07104858B2 (en) Document data processor
JPH08161309A (en) Word processor
US4967374A (en) Character drawing method
EP0052711B1 (en) Method of processing text by insertion of a block of text in a text processing system
JP2995942B2 (en) Document printing system and method
JPH0469917B2 (en)
JP2815158B2 (en) Character processor
JPH0830587A (en) Document preparation device and format changing method
JPH05265433A (en) Character outputting method
JP3189450B2 (en) Font management method
JPH0747330B2 (en) Character output device
JPH054380A (en) Face selective system
JP2515287B2 (en) Document creation device
JPH064343B2 (en) Pattern output method
JPH05173732A (en) Printing controller
JPH0310512B2 (en)
JPS63230359A (en) Character font control system
JPS62140162A (en) Document processing system
JPS61289380A (en) Document generator
JPH03139697A (en) Displaying method for mixed-mode document
JPS62177585A (en) Document processor
JPH0744336A (en) Image processor and image processing system
JPH054406A (en) Character describing system