JPS58146982A - Device for editing document - Google Patents

Device for editing document

Info

Publication number
JPS58146982A
JPS58146982A JP57028911A JP2891182A JPS58146982A JP S58146982 A JPS58146982 A JP S58146982A JP 57028911 A JP57028911 A JP 57028911A JP 2891182 A JP2891182 A JP 2891182A JP S58146982 A JPS58146982 A JP S58146982A
Authority
JP
Japan
Prior art keywords
document
character
storage device
line
spacing
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
JP57028911A
Other languages
Japanese (ja)
Other versions
JPH0430048B2 (en
Inventor
Miwako Doi
美和子 土井
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Tokyo Shibaura Electric Co 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 Toshiba Corp, Tokyo Shibaura Electric Co Ltd filed Critical Toshiba Corp
Priority to JP57028911A priority Critical patent/JPS58146982A/en
Publication of JPS58146982A publication Critical patent/JPS58146982A/en
Publication of JPH0430048B2 publication Critical patent/JPH0430048B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers

Abstract

PURPOSE:To specify a document to be edited easily even when character size, spaces between characters and spaces between lines are different by storing constitutional elements in every line of a displayed document. CONSTITUTION:A document editing device consists of a display device 1, a specification device 3 to specify the display part of the display device 1, a storage device 5 to store the document in displaying at an editable format, a structure storage device 4 to store the structure of the displayed document, and a CPU2 to control said devices to make the displayed document correspond to the contents of the storage device 5. An arithmetic unit 2 inputs information such as character size, character space and line space from the storage device 5 while referring the contents of the structure storage device 4. On the basis of the information from the device 2, a required character is pointed out from the storage device 5.

Description

【発明の詳細な説明】 〔発明の技術分野] この発明は、複数の文字サイズ、字間、行間を含む文書
のボインティングを容易にする文書編集装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a document editing device that facilitates pointing of a document including a plurality of character sizes, character spacings, and line spacings.

[発明の技術的背景とその問題点] 従来、ワードプロセッサでは、文字間、行間にかかわら
ず表示画面上に表示できる文字数(但し半角2文字は全
角1文字に倍角1文字は全角2文字に対応)は決まって
いる。例えば、12行×36文字の画面では、表示画面
は第1図(a)に示すように、12X 36の行列に分
割されている。一方、文書データに第1図(b)に示す
ように、仮想的に12x36の行列に対応する形式で記
憶されている。
[Technical background of the invention and its problems] Conventionally, word processors have limited the number of characters that can be displayed on the display screen regardless of character spacing or line spacing (however, two half-width characters correspond to one full-width character, and one double-width character corresponds to two full-width characters). has been decided. For example, in a screen with 12 lines x 36 characters, the display screen is divided into 12 x 36 matrices, as shown in FIG. 1(a). On the other hand, as shown in FIG. 1(b), the document data is stored in a format corresponding to a virtual 12x36 matrix.

もし、第1図(a)に示す部分がボインティングされた
ときには、第1図(b)より、行列の同じ場所にある文
字、この場合「と」が指示される。
If the part shown in FIG. 1(a) is pointed, the character at the same location in the matrix, in this case "to", is indicated from FIG. 1(b).

このような方法においては、例えば、半角は、行列の一
つの要素の中に2文字含まれており、半角は常に2文字
車位に訂正しなければならない。従って12X36の行
列中の要素単位でしか、ポインティングが行えないので
、同一文書中に複数の文字サイズ、字間、行間を含むよ
うな場合は、扱うことができない。
In such a method, for example, two half-width characters are included in one element of the matrix, and the half-width character must always be corrected to two characters. Therefore, since pointing can only be performed in units of elements in a 12×36 matrix, cases in which the same document contains multiple character sizes, character spacings, and line spacings cannot be handled.

[発明の目的] 本発明は、このような事情を鑑みて、複数の文字サイズ
、字間、行間がある場合にも、容易にポインティングを
行える文書編集装置を提供することを目的とする。
[Object of the Invention] In view of the above circumstances, an object of the present invention is to provide a document editing device that allows easy pointing even when there are multiple character sizes, character spacings, and line spacings.

「発明の実施例」 以下、この光明の一実施例を図面に従い説明する。“Embodiments of the invention” An embodiment of this light will be described below with reference to the drawings.

第2図において、単一の文字サイズ、字間、行間のみな
らず複数の文字サイズ、字間、行間の文章、あるいは図
形、表も表示可能な、例えばCRTディスプレイ等から
なる表示装置1と表示装置1上の当該部分を指示するた
めの、例えばタブレットあるいはジョイスティック等か
らなる指示装置i13と、表示中の文書を編集可能な形
式で記憶するための記憶装置5と、表示中の文書の構造
を記憶するための構造記憶装置4と、これらを制御し、
表示中の文書と記憶装置5内の文書との対応を行うため
のCPU2とから、構成されている。
In FIG. 2, a display device 1 consisting of, for example, a CRT display, capable of displaying not only a single font size, character spacing, and line spacing, but also multiple font sizes, character spacing, and line spacing, text, figures, and tables, and a display device 1 are shown. An instruction device i13 comprising, for example, a tablet or a joystick, for instructing the relevant part on the device 1; a storage device 5 for storing the document being displayed in an editable format; and a storage device 5 for storing the structure of the document being displayed. a structure storage device 4 for storing and controlling these;
It is composed of a CPU 2 for making correspondence between the document being displayed and the document in the storage device 5.

次に以上のような文書編集装置の作用を説明する。Next, the operation of the document editing device as described above will be explained.

例えば第3図に示すような横書きの文書が表示されてい
るとする。段落1と段落2とでは文字サイズ、字間、行
間とも異なっているとする。この文書は、構造記憶装置
4では、例えば第4図に示されているとする。段N1は
、表示装置1上で、座標値y110から始まっているこ
とが、示されている。更に段落1は記憶装置5において
アドレスR1にあることが示されている。また、段落1
内の各行は行単位に半角等の修飾情報11(第4図の斜
線部)と、行の先頭の記憶装置5におけるアトより、指
示されたとする。この位置の座標(X3、y3)とする
。演算装置2は、構造記録装置4の内容(第4図)を参
照し、指示された位置がylくy3〈y2であることよ
り、段落1に含まれる1 ことを知る。このときアドレスR1,12をもとに、記
憶装置5より、段落1に関する、文字サイズ、字間、行
間等の情報を知る。次に行間の情報をもとに計篩し、y
3座標が段落1の第4行に対応していることを知る。第
4行の先頭のアドレスはr4であり、更に修飾情報より
、半角の制御が継続中であることを知る。このことと、
文字サイズ、字間の情報をもとに×3座標が第4行の先
頭より、3番目の文字であることを知り、記憶装置5よ
り、当該文字をポインティングすることができる。同′
様に段落2中の文字が指示された場合にも、文字サイズ
、字間、行間を知ることにより、容易に各行の先頭を見
出すことができる。
For example, assume that a horizontally written document as shown in FIG. 3 is displayed. It is assumed that paragraph 1 and paragraph 2 are different in character size, character spacing, and line spacing. It is assumed that this document is stored in the structure storage device 4 as shown in FIG. 4, for example. It is shown that the stage N1 starts on the display device 1 from the coordinate value y110. Furthermore, paragraph 1 is shown to be located at address R1 in storage device 5. Also, paragraph 1
It is assumed that each line is specified by the half-width, etc., modification information 11 (the shaded area in FIG. 4) on a line-by-line basis and the at in the storage device 5 at the beginning of the line. Let the coordinates of this position be (X3, y3). The arithmetic device 2 refers to the contents of the structure recording device 4 (FIG. 4) and learns that the specified position is y1 included in paragraph 1, since y3<y2. At this time, information such as character size, character spacing, line spacing, etc. regarding paragraph 1 is obtained from the storage device 5 based on addresses R1 and R12. Next, calculate based on the information between the lines, and y
We know that the 3 coordinate corresponds to the 4th line of paragraph 1. The first address of the fourth line is r4, and it is known from the modification information that half-width control is continuing. This and
Based on the character size and character spacing information, the user knows that the x3 coordinate is the third character from the beginning of the fourth line, and can point to the character from the storage device 5. same'
Even when the characters in paragraph 2 are specified, the beginning of each line can be easily found by knowing the character size, character spacing, and line spacing.

[発明の効果] 以上のように、本発明によれば、複数の文字サイズ、字
間、行間を含んでいる文書においても、容易にポインテ
ィングを行うことができ、印刷書式に近い形で編集が行
えるので、その効果は大きい。
[Effects of the Invention] As described above, according to the present invention, even documents containing multiple character sizes, character spacings, and line spacings can be easily pointed, and editing can be performed in a format similar to the printed format. The effect is great because it can be done.

更に、第5図のように、文書中に図がある場合でも、第
4図と同様に各行の先頭のアドレスを記憶しておくだけ
で、ポインティングを容易に行うことができる。
Furthermore, even if there is a figure in the document as shown in FIG. 5, pointing can be easily performed by simply storing the beginning address of each line as in FIG. 4.

又、図中の標題、説明等の文字あるいは表中の文章も第
4図と同様の形式で記憶することにより、文章中の文字
と同様にポインティングを行うことができる。
Furthermore, by storing characters such as titles and explanations in figures or sentences in tables in the same format as in FIG. 4, pointing can be performed in the same way as the characters in the sentences.

なお、実施例中では、文字サイズ、字間、行間等の情報
は、記憶装置5にあるが、高速のポインティングを実施
するため、前記情報を構造記憶装置4上にあわせて有す
ることも可能である。第4図の構造においては、半角等
の修飾情報を各行毎に有しているが、これらの修飾情報
が、記憶装置5において、各文字毎に付加される形式で
あるならば、構造記憶装置4に、修飾情報を有する必要
はない。この場合の構造は、例えば第6図のようになる
In the embodiment, information such as character size, character spacing, and line spacing is stored in the storage device 5, but in order to perform high-speed pointing, it is also possible to store the above information in the structure storage device 4. be. In the structure shown in FIG. 4, each line has modification information such as half-width, but if this modification information is added to each character in the storage device 5, the structure storage device 4, there is no need to have modification information. The structure in this case is, for example, as shown in FIG.

更に各行の先頭のアドレスが例としてあげられているが
、この他に、各行に含まれる文字コード、制御コードの
バイト数の総計を保持する形式など種々の変形が考えら
れる。
Further, although the first address of each line is given as an example, various other modifications are possible, such as a format in which the total number of bytes of character codes and control codes included in each line is held.

以上述べたように、本発明によれば、複数の文字サイズ
、字間、行間を含む文書のボインティングを容易に行う
ことができる。
As described above, according to the present invention, it is possible to easily point a document including a plurality of character sizes, character spacings, and line spacings.

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

第1図は従来の実施例における表示画面と文書構造との
対応を示す図、第2図は、本発明の一実施例を示すブロ
ック図、第3図は、実施例中の表示画面例を示す図、第
4図は、実施例中の文書構造例を示す図、第5図は、実
施例中の別の表示画面例を示す図、第6図は実施例中の
別の文書構造例を示す図である。 1・・・表示装置、 2・・・演算装置、3・・・指示
装置、 4・・・構造記憶装置、5・・・記憶装置 代理人 弁理士 則近憲佑(ほか1名)第  1 図 (a) 第2図 435− 第3図 第4図 第  6 図 第  5 図
FIG. 1 is a diagram showing the correspondence between a display screen and a document structure in a conventional embodiment, FIG. 2 is a block diagram showing an embodiment of the present invention, and FIG. 3 is an example of a display screen in the embodiment. 4 is a diagram showing an example of a document structure in the example, FIG. 5 is a diagram showing another example of a display screen in the example, and FIG. 6 is another example of document structure in the example. FIG. 1...Display device, 2...Arithmetic device, 3...Instruction device, 4...Structure storage device, 5...Storage device agent Patent attorney Norichika Kensuke (and 1 other person) 1st Figure (a) Figure 2 435- Figure 3 Figure 4 Figure 6 Figure 5

Claims (1)

【特許請求の範囲】[Claims] 単一の文字サイズ、文字間、行間あるいは複数の文字サ
イズ、文字間、行間を含む文章あるいは図形、表から構
成される文書を表示するための表示手段と、前記表示手
段上に表示中の文書の構造を記憶するための構造記憶手
段と、文書を記憶するための記憶手段と、編集の対象を
指示するための指示手段と、前記表示手段上の文書と記
憶手段上の文書との対応を行う情報処理手段とからなる
文−編集装置において、表示中の文書の行単位に構成要
素を記憶することにより文字サイズ、文字間あるいは行
間が異なる場合にも、編集対象の指示を容易ならしめる
ことを特徴とする文書編集装置。
A display means for displaying a document consisting of sentences, figures, and tables that include a single font size, character spacing, and line spacing or multiple font sizes, character spacing, and line spacing, and a document being displayed on the display device. a structure storage means for storing the structure of the document, a storage means for storing the document, an instruction means for instructing the object to be edited, and a correspondence between the document on the display means and the document on the storage means. In a text-editing device comprising an information processing means, by storing constituent elements for each line of a document being displayed, it is possible to easily specify an editing target even when character size, character spacing, or line spacing is different. A document editing device characterized by:
JP57028911A 1982-02-26 1982-02-26 Device for editing document Granted JPS58146982A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57028911A JPS58146982A (en) 1982-02-26 1982-02-26 Device for editing document

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57028911A JPS58146982A (en) 1982-02-26 1982-02-26 Device for editing document

Publications (2)

Publication Number Publication Date
JPS58146982A true JPS58146982A (en) 1983-09-01
JPH0430048B2 JPH0430048B2 (en) 1992-05-20

Family

ID=12261579

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57028911A Granted JPS58146982A (en) 1982-02-26 1982-02-26 Device for editing document

Country Status (1)

Country Link
JP (1) JPS58146982A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60110030A (en) * 1983-11-19 1985-06-15 Canon Inc Character processor

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5513405A (en) * 1978-07-12 1980-01-30 Nippon Telegr & Teleph Corp <Ntt> Character input device
JPS55133087A (en) * 1979-04-02 1980-10-16 Nippon Telegraph & Telephone Character*symbol display processing system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5513405A (en) * 1978-07-12 1980-01-30 Nippon Telegr & Teleph Corp <Ntt> Character input device
JPS55133087A (en) * 1979-04-02 1980-10-16 Nippon Telegraph & Telephone Character*symbol display processing system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60110030A (en) * 1983-11-19 1985-06-15 Canon Inc Character processor
JPH0522933B2 (en) * 1983-11-19 1993-03-31 Canon Kk

Also Published As

Publication number Publication date
JPH0430048B2 (en) 1992-05-20

Similar Documents

Publication Publication Date Title
US5563626A (en) Smooth text display system
JPS58146982A (en) Device for editing document
JPH0438005B2 (en)
JPS63251856A (en) Address printing device
JP2621486B2 (en) Document editing method and apparatus
JPH067307B2 (en) Cursor display method
JP2813814B2 (en) Layouter for flyers and catalogs
JPS61180283A (en) Word processor
JPS59136783A (en) Multiwindow bit map display unit
JPS63228194A (en) Holding of character font
JPH05298003A (en) Data processor
JPS61194495A (en) Rule display color controller
JPS6151264A (en) Document processing device
JPH03152659A (en) Word processor
JPH0571111B2 (en)
JPH0535461B2 (en)
JPS63184863A (en) Graphic data taking-in system
JPH0464464A (en) Output device
JPS5991486A (en) Display unit
JPH01180673A (en) Picture processor
JPS6289991A (en) Document generator
JPS6214194A (en) Bit map mover
JPH02288969A (en) Document processor
JPH06236369A (en) Word processor and replacing method for page
JPH0273454A (en) Document processor