JPH0192866A - Document producing device - Google Patents

Document producing device

Info

Publication number
JPH0192866A
JPH0192866A JP62247844A JP24784487A JPH0192866A JP H0192866 A JPH0192866 A JP H0192866A JP 62247844 A JP62247844 A JP 62247844A JP 24784487 A JP24784487 A JP 24784487A JP H0192866 A JPH0192866 A JP H0192866A
Authority
JP
Japan
Prior art keywords
character string
character
display
coordinates
text
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.)
Granted
Application number
JP62247844A
Other languages
Japanese (ja)
Other versions
JPH0778792B2 (en
Inventor
Sayuri Ooshima
大島 早由里
Hirotada Ishikawa
石川 裕惟
Tsukasa Hasegawa
司 長谷川
Akira Nakajima
晃 中島
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 JP62247844A priority Critical patent/JPH0778792B2/en
Publication of JPH0192866A publication Critical patent/JPH0192866A/en
Publication of JPH0778792B2 publication Critical patent/JPH0778792B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To speed up processing by providing the title device with a storage device for storing respective characters in a character string or the display coordinates of each character string. CONSTITUTION:The display position of each character string is stored in a text memory 209 and only a changed part is calculated on the basis of unchanged data. The text memory 209 is constituted of a coordinate control part 101 and a text part 102. The coordinate control part 101 is furthermore divided into a display coordinate area 103 for storing the display coordinates of a character string, a character number area 104 for storing the number of characters included in the character string and an address pointer 105 indicating an address in a text part 102 practically including the characters. Dividing codes are inserted into the text part, a space between two dividing codes is defined as a character string and one coordinate control part 101 is provided in to the character string. Consequently, data in the coordinate control part 101 can be contracted and the processing can be speeded up.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、文書作成装置に保9、特に、数式等の作成に
好適な文書作成装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a document creation device, and particularly to a document creation device suitable for creating mathematical formulas and the like.

〔従来の技術〕[Conventional technology]

従来、数式入力を実現している文書作成装置としては、
富士ゼロックス社製のJStarがある。この装置では
、例えば、数式 ΣX1におけるΣ、1=1 1=1.n、X−のように、その表示位置に従属関係の
める文字列の入力を受は付け、上記従属関係により各文
字列の表示位置を計算し、表示することができる。
Traditionally, document creation devices that have been able to input mathematical formulas include:
There is JStar manufactured by Fuji Xerox. In this device, for example, Σ in the formula ΣX1, 1=1 1=1. It is possible to accept the input of character strings such as n and X- whose display positions have a dependency relationship, and calculate and display the display position of each character string based on the dependency relationship.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかしながら、上記従来の装置では、文字列の内容の訂
正に伴なう文字表示位置の変更という点については、配
慮されていなかった。すなわち、各文字列の座標をプロ
グラムにより一意的に求める方式を採用しているため、
文字列表示内容の訂正時には、文字列の従属関係金もと
に、すべての文字列の表示座標を再計算することが必要
であっ    ′た。この几め、文字列の内容の訂正を
行なう際の座標計算処理に時間を要するという問題があ
った。
However, in the above-mentioned conventional devices, no consideration was given to changing the character display position due to correction of the contents of the character string. In other words, since we use a method to uniquely determine the coordinates of each character string,
When correcting the contents of a character string display, it was necessary to recalculate the display coordinates of all character strings based on the dependencies of the character strings. This method poses a problem in that it takes time to calculate coordinates when correcting the contents of a character string.

本発明の目的は、文字列表示内容の訂正に伴なう計算を
高速化することにある。
An object of the present invention is to speed up calculations associated with correction of character string display contents.

〔問題点を解決するための手段〕[Means for solving problems]

上記目的を達成する九めに、本発明は、文書情報を表示
装置上に表示し、入力装置からの指示により文書の作成
または校正編集を行なう文書作成装置であって、各文字
列間の従属関係をもつ文字列群を入力する手段と上記文
字列群を表示する手段と上記従属関係を記憶する手段と
上記文字列群の各文字列を修正する手段とを有するもの
において、 上記文字列の文字毎または文字列毎の表示座標を記憶す
る記憶手段を設けるようにしたものである。
Ninthly, the present invention provides a document creation device that displays document information on a display device and creates or proofreads and edits a document based on instructions from an input device. A means for inputting a group of character strings having a relationship, a means for displaying the group of character strings, a means for storing the dependent relationship, and a means for modifying each character string of the group of character strings, A storage means for storing display coordinates for each character or each character string is provided.

上記文字列の文字毎または文字列毎の表示座標は、数式
の表示画面上のある点を基準とした絶対座標で表わされ
るものであっても、また、上記従属関係にしたがった相
対座標で表わされるものであってもよい。
The display coordinates for each character or character string in the above character string may be expressed as absolute coordinates based on a certain point on the display screen of the mathematical formula, or as relative coordinates according to the above dependency relationship. It may be something that can be used.

なお、本明細書において、「文字列」は、−組の文字、
記号のめつまりであり、場合によっては、1個の文字、
記号をも含む。また、「各文字列間に従属関係をもつ文
字列群」とは、各文字列、記号の位置関係が予め定まっ
ている数式、化学式等をいう。
In addition, in this specification, a "character string" refers to a set of characters,
A collection of symbols, in some cases a single letter,
Also includes symbols. Furthermore, "a group of character strings having a dependent relationship between each character string" refers to a mathematical formula, a chemical formula, etc. in which the positional relationship of each character string and symbol is determined in advance.

〔作用〕[Effect]

上記文字列の表示座標を記憶する記憶手段は、例えば、
文書上の基準点を原点とした場合の文字列の表示位置を
X座標、X座標に分けて記憶する。
The storage means for storing the display coordinates of the character string is, for example,
The display position of the character string when the reference point on the document is set as the origin is stored separately as an X coordinate and an X coordinate.

上記文字列の内容を変更する場合には、上記記憶手段の
、変更前のデータを基にして求められた新しい座標を格
納する。文字列を再び表示する場合に上記記憶手段に格
納された座標へ表示することにより、文字列表示位置の
計算を簡略化する。
When changing the contents of the character string, new coordinates determined based on the data before the change are stored in the storage means. When a character string is displayed again, it is displayed at the coordinates stored in the storage means, thereby simplifying the calculation of the character string display position.

また、文字列の座標の表現方法も、文書上の固定の点を
基準とした絶対座標で表現するのではなく、文字列の従
属関係にしたがった相対座標で表現することにより、デ
ータ量が少なくなる。このにおいて、Σと1=1%n、
X、などとの間の関係tいう。
In addition, the method of expressing the coordinates of a character string is not expressed as absolute coordinates based on a fixed point on the document, but as relative coordinates according to the dependency relationships of the character strings, which reduces the amount of data. Become. In this, Σ and 1=1%n,
The relationship between X, etc. is called t.

〔実施例〕〔Example〕

以下、図面を参照して本発明をワードプロセッサに適用
した場合の実施例を説明する。
Hereinafter, an embodiment in which the present invention is applied to a word processor will be described with reference to the drawings.

第2図は、本発明の1jlA器構成図である。第2図に
おいて、処理装置201は例えばマイクロプロセッサで
あり、プログラムメモリ204に格納されたプログラム
を実行するとともに、パスライン205を介して各ブロ
ックの制御およびデータ転送を行なり。
FIG. 2 is a block diagram of the 1jlA device of the present invention. In FIG. 2, a processing device 201 is, for example, a microprocessor, and executes a program stored in a program memory 204, and also controls each block and transfers data via a pass line 205.

データ入力装置の一部であるキー人力装置205η・ら
数式中の文字が入力されると、その文字に対応する文字
コードがキーコードメモリ202に格納される。処理装
置201は、入力された文字のパターンを、パターン発
生袋Q206Kj:t)発生させ、表示制御回路208
を通じて表示装[210に表示する。また、入力された
文字コードはテキストメモリ209に格納される。
When a character in a mathematical formula is input from the key input device 205η, which is a part of the data input device, the character code corresponding to the character is stored in the key code memory 202. The processing device 201 generates a pattern of the input characters in a pattern generation bag Q206Kj:t), and displays it in the display control circuit 208.
The information is displayed on the display device [210] through the display device [210]. Further, the input character code is stored in the text memory 209.

数式がすべて入力されるとl&理装r1it2Djは外
部記憶装置制御回路212全通してその数式を外部記憶
装置213に記憶する。
When all the formulas are input, l&riso r1it2Dj stores the formulas in the external storage device 213 through the entire external storage device control circuit 212.

通常の文字が入力された場合には文字を行にし九がって
配列すればよいが、Σやfなどのように上下左右に添字
の連なる記号(以下、単に数式記号と呼ぶ)の場合には
、各記号固有の添字位置にしたがって添字を配列する必
要がある。数式記号メモリ207には上記の数式記号固
有の添字位置を格納しておく。
When normal characters are input, they can be arranged in rows, but in the case of symbols such as Σ and f that have subscripts on the top, bottom, left and right (hereinafter referred to simply as mathematical symbols), requires that the subscripts be arranged according to each symbol's unique subscript position. The mathematical symbol memory 207 stores subscript positions unique to the mathematical symbols described above.

第3図は、上記の数式記号メモリ207の構造を表わし
たものである。301は各数式記号を示すコードを記憶
する部分であり、502はその数式記号の添字の個数を
記憶する。303は実際に添字の座標を記憶する添字座
標部304の該当するアドレスを記憶する。添字座標部
504には数式記号の位置を原点とした場合の相対座標
を記憶しておく。数式記号の表示位置が明らかな場合に
は、数式記号メモリ207の情報により各添字の表示位
v1″f、−意に求めることができる。しかし、この方
法では添字の位置を決定した後に操作者が内容を訂正し
た場合には、すべての文字列の表示座標を再計算しなけ
ればならない。そこで本実施例ではテキストメモリ20
9中に各文字列の表示位置を記憶し、変更前のデータを
基にして変更のあった部分のみ計算をし、処理を高速化
した。
FIG. 3 shows the structure of the above-mentioned mathematical symbol memory 207. 301 is a part that stores a code indicating each mathematical symbol, and 502 stores the number of subscripts of the mathematical symbol. 303 stores the corresponding address of the subscript coordinate section 304 that actually stores the coordinates of the subscript. The subscript coordinate section 504 stores relative coordinates when the position of the mathematical symbol is set as the origin. When the display position of the mathematical symbol is clear, the display position of each subscript can be arbitrarily determined using the information in the mathematical symbol memory 207. However, in this method, the operator If the content is corrected, the display coordinates of all character strings must be recalculated.Therefore, in this embodiment, the text memory 20
9, the display position of each character string is memorized, and only the changed portions are calculated based on the data before the change, speeding up the processing.

第1図は本実施例のテキストメモリ209の構造を表わ
している。
FIG. 1 shows the structure of the text memory 209 of this embodiment.

テキストメモリ209は座標管理部101と、テキスト
部102の二つから構成される。
The text memory 209 is composed of a coordinate management section 101 and a text section 102.

座標管理部101は、さらに細かく、文字列の表示座標
を記憶する表示座標領域103、文字列に含まれる文字
数を記憶する文字数領域104、実際に文字の入ってい
るテキスト部102のアドレスを示すアドレスボイ/り
105に分けられる。
The coordinate management unit 101 further details a display coordinate area 103 that stores the display coordinates of a character string, a character count area 104 that stores the number of characters included in the character string, and an address that indicates the address of the text area 102 that actually contains characters. Divided into 105 categories.

テキスト部102のデータ1文字分に対して、一つの座
標管理部101ヲもつことも可能である。しかし、1文
字単位に文字表示位置を変更するという場合はほとんど
ない。そこで本実施例では、テキスト部中に区切り記号
を挿入し、区切り記号〃・ら区切り記号まで全一つの文
字列として、一つの座標管理部101全もつこととした
。これにより、座標管理部101のデータを大幅に縮小
できる。
It is also possible to have one coordinate management section 101 for one character of data in the text section 102. However, there are almost no cases where the character display position is changed on a character-by-character basis. Therefore, in this embodiment, a delimiter is inserted into the text portion, and one coordinate management section 101 is provided as one character string from delimiter to delimiter. Thereby, the data in the coordinate management section 101 can be significantly reduced.

本実施例では、キー人力装置205より数式が入力され
ると、数式記号メモリ207の情報音基に文字列の表示
位置を計算し、テキストメモリ209中の座標管理部1
01に記憶する。数式全編集した結果、文字列の内容が
変更され次場合には、座標管理部101のデータより変
更した文字列の座標を計算し、再び座標管理部101に
格納する。
In this embodiment, when a mathematical formula is input from the key manual device 205, the display position of the character string is calculated based on the information phonetic base of the mathematical symbol memory 207, and the coordinate management unit 1 in the text memory 209
Stored in 01. If the content of the character string is changed as a result of editing the entire formula, the coordinates of the changed character string are calculated from the data in the coordinate management unit 101 and stored in the coordinate management unit 101 again.

この座標管理部101の座標の表わし方にもいろいろな
方法がある。数式の表示画面上のある点を基準とし次絶
対座標で各文字列の座標を表現するの座標は、第5図の
(xo、 yo)になる。しかし、数式を構成する文字
列には、従属関係をもつものがあるので、この関係を利
用した相対座標を用いることにより、データ量を縮小す
ることができる。
There are various ways of expressing the coordinates in the coordinate management section 101. The coordinates of each character string expressed in absolute coordinates based on a certain point on the display screen of the mathematical formula are (xo, yo) in Fig. 5. However, since some of the character strings that make up a mathematical formula have a dependent relationship, the amount of data can be reduced by using relative coordinates that take advantage of this relationship.

前述の数式において、数式記号Σには、下限値、上限値
、項の三つの文字列が連なることがわかっている。そこ
で、座標管理部101に、これらの従属する文字列の表
示座標領域のアドレスを指す従属ポインタを設け、この
ポインタにし九がい、従属文字列の座標は、数式記号か
らの相対座標で表現する。第5図は、第4図の数式のX
□の座標を本方式により表現したものであるが、明らか
に座標値(x、、yl)は、第4図の(xo、 yo)
よりも小さくなっている。以上のように、相対座標では
、座標の最大値が小さくなるため、座標データが少なく
てすむという利点がある。
In the above formula, it is known that the formula symbol Σ is a series of three character strings: a lower limit value, an upper limit value, and a term. Therefore, the coordinate management unit 101 is provided with a dependent pointer that points to the address of the display coordinate area of these dependent character strings, and the coordinates of the dependent character strings are expressed as relative coordinates from the mathematical symbol. Figure 5 shows the formula X in Figure 4.
The coordinates of □ are expressed using this method, but clearly the coordinate values (x,, yl) are (xo, yo) in Figure 4.
It is smaller than. As described above, relative coordinates have the advantage of requiring less coordinate data because the maximum value of the coordinates is smaller.

〔発明の効果〕 本発明によれば、各文字列の表示座標を記憶しておくの
で、文字列の内容を訂正した場合に、すべての文字列の
表示座標を再計算する必要がなくなり、処理を高速化す
ることができる。また、上記文字列の座標を相対座標で
もつεとにより、データ量を縮小することができる。
[Effects of the Invention] According to the present invention, since the display coordinates of each character string are stored, when the contents of a character string are corrected, there is no need to recalculate the display coordinates of all character strings, and the processing can be accelerated. Further, by using ε having the coordinates of the character string as relative coordinates, the amount of data can be reduced.

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

第1図に本発明の実施例の文字列の表示座標の記憶した
テキストメモリを示した模式図であり、第2図は本発明
の機器構成図、第3図は第2図の数式記号メモリの内部
構造を示した模式図、第4図は文字列の座標を絶対座標
で表現した場合の説明図、第5図は相対座標で示した場
合の説明図である。 101・・・座標管理部、102・・・テキスト部、1
05・・・表示座標領域、104・・・文字数領域、1
05・・・アドレスポインタ。 代理人 弁理士 /J、用勝男 ・、ソ“第 2図 第4図 第5図
FIG. 1 is a schematic diagram showing a text memory storing the display coordinates of a character string according to an embodiment of the present invention, FIG. 2 is an equipment configuration diagram of the present invention, and FIG. 3 is a mathematical symbol memory shown in FIG. FIG. 4 is an explanatory diagram showing the internal structure of the character string, FIG. 4 is an explanatory diagram when the coordinates of a character string are expressed in absolute coordinates, and FIG. 5 is an explanatory diagram when the coordinates of a character string are expressed in relative coordinates. 101...Coordinate management section, 102...Text section, 1
05... Display coordinate area, 104... Character number area, 1
05...Address pointer. Agent: Patent attorney /J, Katsuo Yoko, SO “Figure 2 Figure 4 Figure 5

Claims (1)

【特許請求の範囲】 1、文書情報を表示装置上に表示し、入力装置からの指
示により文書の作成または校正編集を行なう文書作成装
置であって、各文字列間の従属関係をもつ文字列群を入
力する手段と上記文字列群を表示する手段と上記従属関
係を記憶する手段と上記文字列群の各文字列を修正する
手段とを有するものにおいて、 上記文字列の文字毎または文字列毎の表示座標を記憶す
る記憶手段を設けたことを特徴とする文書作成装置。 2、上記文字列の文字毎または文字列毎の表示座標は、
上記従属関係にしたがった相対座標で表わされる特許請
求の範囲第1項記載の文書作成装置。
[Scope of Claims] 1. A document creation device that displays document information on a display device and creates or proofreads and edits a document based on instructions from an input device, the document creation device including character strings having subordination relationships between each character string. A means for inputting a group, a means for displaying the group of character strings, a means for storing the subordination relationship, and a means for modifying each character string of the group of character strings, wherein each character of the character string or character string 1. A document creation device comprising a storage means for storing display coordinates for each display coordinate. 2. The display coordinates for each character or character string in the above character string are:
The document creation device according to claim 1, wherein the document creation device is expressed by relative coordinates according to the dependent relationship.
JP62247844A 1987-10-02 1987-10-02 Document creation device Expired - Lifetime JPH0778792B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62247844A JPH0778792B2 (en) 1987-10-02 1987-10-02 Document creation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62247844A JPH0778792B2 (en) 1987-10-02 1987-10-02 Document creation device

Publications (2)

Publication Number Publication Date
JPH0192866A true JPH0192866A (en) 1989-04-12
JPH0778792B2 JPH0778792B2 (en) 1995-08-23

Family

ID=17169507

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62247844A Expired - Lifetime JPH0778792B2 (en) 1987-10-02 1987-10-02 Document creation device

Country Status (1)

Country Link
JP (1) JPH0778792B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5938833A (en) * 1982-08-27 1984-03-02 Alps Electric Co Ltd System for direct retrieval of character correction position in character proofreading machine
JPS6177981A (en) * 1984-09-25 1986-04-21 Canon Inc Picture processing system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5938833A (en) * 1982-08-27 1984-03-02 Alps Electric Co Ltd System for direct retrieval of character correction position in character proofreading machine
JPS6177981A (en) * 1984-09-25 1986-04-21 Canon Inc Picture processing system

Also Published As

Publication number Publication date
JPH0778792B2 (en) 1995-08-23

Similar Documents

Publication Publication Date Title
JPH0192866A (en) Document producing device
JPS58163036A (en) Automatic numbering device
JPH0522933B2 (en)
JP3082940B2 (en) Character processing apparatus and method
JP2824169B2 (en) Scroll bar movement control method
JP3029123B2 (en) Character processing apparatus and method
JP2571043B2 (en) Character replacement device
JPH09174798A (en) Kerning method and device therefor
JPH0731671B2 (en) Formula input editing method
JPS61211767A (en) Sentence forming device
JP2839306B2 (en) Attribute setting method in interactive graphic processing
JPH02111995A (en) Input data processing and displaying method by plural cursors
JPH0525115B2 (en)
JPH02255909A (en) Voiced sound/semivoiced sound symbol processor for japanese word input device
JPH04310170A (en) Document preparing device including numerical formula
JPH03176716A (en) Electronic apparatus
JP2003150563A (en) Calculator and calculation processing program
JPS63187338A (en) Expression input device being capable of checking expression syntax
JPS59197927A (en) Documentation device
JPH03129555A (en) Character processor with dictionary registering function
JPH08255204A (en) Data input device
JPH01300371A (en) Character processor
JPS6325761A (en) Character processor
JPH0581947B2 (en)
JPH01232465A (en) Numerical formula input editing system