JPH01175663A - Document edition system - Google Patents

Document edition system

Info

Publication number
JPH01175663A
JPH01175663A JP62333365A JP33336587A JPH01175663A JP H01175663 A JPH01175663 A JP H01175663A JP 62333365 A JP62333365 A JP 62333365A JP 33336587 A JP33336587 A JP 33336587A JP H01175663 A JPH01175663 A JP H01175663A
Authority
JP
Japan
Prior art keywords
text
storage area
block
document
internal
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
JP62333365A
Other languages
Japanese (ja)
Inventor
Fumiyasu Hirano
平野 文康
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP62333365A priority Critical patent/JPH01175663A/en
Publication of JPH01175663A publication Critical patent/JPH01175663A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To efficiently edit a document described hierarchically by providing a block control means to control plural text blocks hierarchically and an editing processing means to execute an editing processing to the block control means. CONSTITUTION:It has a block control means 1 to control plural text blocks hierarchically, a structure display means 4 to display the structure between the text blocks with using a heading name named to the text block, an editing processing means 5 to execute an editing processing corresponding to a command to the block control means 1, and a document display means 6 to display the edited text block on a CRT scope according to a structure stored to the block control means 1. Thus, a document, whose contents are described hierarchically by a chapter, a paragraph and so on, can be edited efficiently.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、文書編集方式、特に、文書の内容を章2節な
どのブロックを設けることにより階層的に記述している
文書の編集方式に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a document editing method, particularly to a document editing method in which the contents of a document are described hierarchically by providing blocks such as chapters and sections 2. .

〔従来の技術〕[Conventional technology]

従来、文書を処理するワードプロセッサ、エディタにお
いては、テキストはそれを構成する文字列をポインタで
連結することにより連続的に管理されている。
Conventionally, in word processors and editors that process documents, text is continuously managed by connecting character strings that make up the text using pointers.

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

このよう従来方式は、章1節などにより階層的に内容を
記述する文書に対し、章1節単位での編集(削除、挿入
、移動など)を行う場合、その操作指定が煩雑になった
り、多くのポインタをたどりながら処理を行わなければ
ならないという問題点がある。また複数のテキストブロ
ックをグルーピングしながら、文書をまとめあげていく
という編集操作は考慮されていない。
In this conventional method, when editing (deleting, inserting, moving, etc.) a chapter-by-section unit of a document whose content is described hierarchically by chapter-by-section, etc., the operation specification becomes complicated. There is a problem in that processing must be performed while following many pointers. Also, editing operations such as grouping multiple text blocks and putting together a document are not taken into account.

本発明の目的は、前記欠点を除き、章9節などにより階
層的に内容が記述されている文書を効率的に編集するた
めの文書編集方式を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a document editing method for efficiently editing a document whose contents are described hierarchically in chapters and sections 9, etc., while eliminating the above-mentioned drawbacks.

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

本発明の文書編集方式は、 任意の長さの文字列からなるテキストブロックを一つの
単位として、複数のテキストブロックを階層的に管理す
るブロック管理手段と、可変長の文字列を記憶単位とし
てテキストを格納するテキスト記憶手段と、 前記テキストブロックに対し命名された見出し名を用い
て、テキストブロック間の構造を表示する構造表示手段
と、 文書編集のコマンドを入力するコマンド入力手段と、 入力されたコマンドに応じた編集処理を前記ブロック管
理手段に対して行う編集処理手段と、編集したテキスト
ブロックをブロック管理手段に格納された構造に従いC
RT画面上に表示する文書表示手段と、 からなることを特徴としている。
The document editing method of the present invention includes a block management means for hierarchically managing a plurality of text blocks, with a text block consisting of a character string of an arbitrary length as one unit, and a text block management means for managing a plurality of text blocks hierarchically, using a text block consisting of a character string of an arbitrary length as a storage unit. a structure display means for displaying a structure between text blocks using heading names given to the text blocks; a command input means for inputting document editing commands; an editing processing means for performing editing processing on the block management means according to a command; and editing processing means for editing the edited text block according to a structure stored in the block management means.
It is characterized by comprising: a document display means for displaying on the RT screen;

〔実施例〕 第1図は本発明の一実施例を示す。この実施例は文書内
容を章1節などのブロックを設けることにより階層的に
記述している文書の編集方式で、複数のテキストブロッ
クを階層的に管理するブロック管理手段1と、テキスト
を格納するテキスト記憶手段2と、文書編集のコマンド
を入力するコマンド入力手段3と、テキストブロックに
対し命名された見出し名を用いてテキストブロック間の
構造を表示する構造表示手段4と、コマンドに応じた編
集処理をブロック管理手段1に対して行う編集処理手段
5と、編集したテキストブロックをブロック管理手段l
に格納された構造に従いCRT画面上に表示する文書表
示手段6とを有している。
[Embodiment] FIG. 1 shows an embodiment of the present invention. This embodiment is a document editing method in which document contents are described hierarchically by providing blocks such as chapter 1, section 1, etc., and includes a block management means 1 that manages a plurality of text blocks hierarchically, and a block management means 1 that stores text. A text storage means 2, a command input means 3 for inputting document editing commands, a structure display means 4 for displaying the structure between text blocks using the heading names given to the text blocks, and editing according to the commands. an editing processing means 5 that performs processing on the block management means 1; and an editing processing means 5 that performs processing on the block management means 1;
document display means 6 for displaying the document on the CRT screen according to the structure stored in the CRT screen.

第2図は、第1図のブロック管理手段1内の記憶領域を
示した概念図であり、例えば領域11はテキストブロッ
クに付加された内部番号を格納するコード格納領域、領
域12はテキストブロックから構成される文書の階層構
造内での領域11のコードの親にあたるテキストブロッ
クのコードを格納する親コード格納領域、領域13はテ
キストブロックから構成される文書の階層構造内での領
域11のコードの右兄第にあたるテキストブロックのコ
ードを格納する右兄第コード格納領域、領域14はテキ
ストブロックから構成される文書の階層構造内での領域
11のコードの第1子にあたるコードを格納する第1子
コード格納領域、領域15はテキストブロックから構成
される文書の階層構造内での領域11のレベルを格納す
るレベル格納領域、領域16はテキストブロックへのポ
インタを格納するポインタ領域、領域17はテキストブ
ロックに対して命名された見出し名を格納する見出し名
格納領域である。
FIG. 2 is a conceptual diagram showing the storage areas in the block management means 1 shown in FIG. A parent code storage area stores the code of the text block that is the parent of the code of area 11 in the hierarchical structure of the document, and area 13 is the parent code storage area for storing the code of area 11 in the hierarchical structure of the document consisting of text blocks. The right brother code storage area stores the code of the text block that is the right brother, and area 14 is the first child that stores the code that is the first child of the code of area 11 in the hierarchical structure of the document consisting of text blocks. A code storage area, area 15 is a level storage area that stores the level of area 11 in the hierarchical structure of a document composed of text blocks, area 16 is a pointer area that stores a pointer to a text block, and area 17 is a text block. This is a heading name storage area that stores heading names named for.

第3図は、第1図のテキスト記憶手段2内の記憶領域を
示した概念図であり、例えば領域21は一つ前の文字列
記憶単位へのポインタを格納する前文字列ポインタ格納
領域、領域22は一つ後の文字列記憶単位へのポインタ
を格納する後文字列ポインタ格納領域、領域23は当該
記憶単位の記憶可能文字列数を格納する記憶可能文字列
数格納領域、領域24は当該記憶単位に現在格納されて
いる文字列数を格納する文字列数格納領域、領域25は
文字列を格納する文字列格納領域である。
FIG. 3 is a conceptual diagram showing storage areas in the text storage means 2 of FIG. 1. For example, area 21 is a previous character string pointer storage area for storing a pointer to the previous character string storage unit; Area 22 is a rear string pointer storage area that stores a pointer to the next string storage unit, area 23 is a storable string number storage area that stores the number of strings that can be stored in the storage unit, and area 24 is a storage area for storing the number of strings that can be stored in the storage unit. The character string number storage area 25 stores the number of character strings currently stored in the storage unit, and is a character string storage area that stores character strings.

第4図は、第1図のブロック管理手段1内の記憶領域に
格納されるテキストブロックの構造の例であり、PO,
PI、  ・・・、P6はそれぞれのテキストブロック
へのポインタである。
FIG. 4 is an example of the structure of a text block stored in the storage area in the block management means 1 of FIG.
PI, ..., P6 are pointers to the respective text blocks.

第5図は、第4図で示されるテキストブロックの構造が
第1図の構造表示手段4により表示される例であり、(
A)はテキストブロックの構造の全体を見出し名を用い
て表し、(B)は1つのテキストブロックの子ノードに
対応するテキストブロックをカード形式で表したもので
ある。
FIG. 5 is an example in which the structure of the text block shown in FIG. 4 is displayed by the structure display means 4 of FIG.
A) represents the entire structure of a text block using heading names, and (B) represents a text block corresponding to a child node of one text block in a card format.

第6図は、第1図の構造表示手段4におけるテキストブ
ロックの構造をCRT画面に表示する処理の例を示す流
れ図である。
FIG. 6 is a flowchart showing an example of a process for displaying the structure of a text block on a CRT screen in the structure display means 4 of FIG.

第7A図および第7B図は、第1図の編集処理手段5に
おけるテキストブロック単位でのグルーピング処理の例
を示す流れ図である。
7A and 7B are flowcharts showing an example of grouping processing in units of text blocks in the editing processing means 5 of FIG. 1. FIG.

第8A図および第8B図は、第1図の文書表示手段6に
おけるCRT画面への表示処理の例を示す流れ図である
8A and 8B are flowcharts showing an example of display processing on a CRT screen in the document display means 6 of FIG. 1.

第1図、第6図、第7A図、第7B図、第8A図、第8
B図を用いて本発明の一実施例の動作を説明する。編集
対象となる文書は、第2図、第3図で示される情報を保
持して外部記憶装置に格納されており、プログラムが起
動されたとき、ブロック管理手段1、テキスト記憶手段
2のそれぞれの領域に格納される。プログラムが終了し
た時、ブロック管理手段l、テキスト記憶手段2のそれ
ぞれの領域に格納されている文書情報は外部記憶装置に
格納される。
Figures 1, 6, 7A, 7B, 8A, 8
The operation of an embodiment of the present invention will be explained using FIG. The document to be edited is stored in an external storage device holding the information shown in FIGS. 2 and 3, and when the program is started, each of the block management means 1 and text storage means 2 is stored in the area. When the program ends, the document information stored in the respective areas of the block management means 1 and text storage means 2 is stored in the external storage device.

構造表示手段4における表示形態は、例えば第5図(A
)、  (B)に示されるような形態がとられる。
The display format in the structure display means 4 is, for example, as shown in FIG.
), (B).

構造表示手段4は、以下に示すような手順で文書の構造
をCRT画面に表示する。
The structure display means 4 displays the structure of the document on the CRT screen according to the following procedure.

構造表示手段4は、ブロック管理手段1内の親コード格
納領域12に格納されている値がNULLであるような
テキストブロックの内部番号を内部のバッファ(B F
 F)にセットしく第6図のステップA)、内部のバッ
ファ(B F F)にセットされた値がNULLになる
まで以下の処理(I)を行う(第6図のステップB)。
The structure display means 4 stores the internal number of a text block whose value stored in the parent code storage area 12 in the block management means 1 is NULL in an internal buffer (B F
In step A) of FIG. 6, the following process (I) is performed until the value set in the internal buffer (BFF) becomes NULL (step B of FIG. 6).

(I)内部のバッファ(B F F)にセットされた内
部番号に対応するテキストブロックの見出し名格納領域
17に格納されている文字列を、レベル格納領域15に
格納されている値に合わせて表示する(第6図のステッ
プC)。内部のバッフy(BFF)にセットされた内部
番号を内部のバッファ1(B’FFI)にセットし、内
部のバッファ (BFF)にセットされた内部番号に対
応する第1子コード格納領域14の値を内部のバッファ
(BFF)にセットする(第6図のステップD)。ただ
し、第1子コード格納領域14の値がNULLの場合は
、内部のバッファ1  (BFFI)にセットされてい
る内部コードの右兄第コード格納領域13の値を内部の
バッファ(B F F)にセットする(第6図のステッ
プE、 F)。内部のバッファ(B F F)にセット
された右兄第コード格納領域13の値がNULLの場合
は、内部のバッファ1  (BFFI)にセントされて
いる内部番号に対応する親コードを内部のバッファ1 
 (BFFI)にセットし、その親コードの右兄第コー
ド格納領域13の値を内部のバッファ (BFF)にセ
ントする(第6図のステップG、H)、内部のバッファ
 (BFF)にセットされた親コードの右兄第コードの
値がNULLの場合、内部のバッファ1  (BFFI
)にセットされた内部番号の親コードがNULLである
なら内部のバッファ(B F F)にNULLをセット
し、処理を終わる(第6図のステップL  J)。
(I) Match the character string stored in the heading name storage area 17 of the text block corresponding to the internal number set in the internal buffer (B F F) to the value stored in the level storage area 15. (Step C in Figure 6). The internal number set in internal buffer y (BFF) is set in internal buffer 1 (B'FFI), and the first child code storage area 14 corresponding to the internal number set in internal buffer (BFF) is The value is set in the internal buffer (BFF) (step D in FIG. 6). However, if the value of the first child code storage area 14 is NULL, the value of the right brother code storage area 13 of the internal code set in the internal buffer 1 (BFFI) is transferred to the internal buffer (B F F). (Steps E and F in Figure 6). If the value of the right brother code storage area 13 set in the internal buffer (B F 1
(BFFI), and the value of the right brother code storage area 13 of the parent code is sent to the internal buffer (BFF) (steps G and H in Figure 6). If the value of the right brother code of the parent code is NULL, internal buffer 1 (BFFI
) If the parent code of the internal number set in ) is NULL, NULL is set in the internal buffer (BFF) and the process ends (step LJ in FIG. 6).

第5図(B)の表示形態は、第5図(A)において、一
つのノードを利用者が第1図のコマンド入力手段3によ
り指定し、指定されたノードの子ノードを表示すること
により実現される。
The display form of FIG. 5(B) is obtained by the user specifying one node using the command input means 3 of FIG. 1 in FIG. 5(A), and displaying the child nodes of the specified node. Realized.

編集処理手段5は、コマンド入力手段3から編集処理名
(例えばグルーピング)、編集対象であるテキストブロ
ックに付加されている内部番号、グルーピングした集合
に命名された名称を得る(第7A図のステップA)、こ
こでグルーピング対象となるテキストブロック(g 1
.  g 2.  ・・・、gn)はすべて同一の親(
p g)を持ち、同一レベルのものとする。グルーピン
グ対象となるテキストブロック(gl、g2.  ・・
・、gn)の親コード(pg)の第1子コードを内部の
バッファ (BF)にセットする(第7A図のステップ
B)。内部のバッファ(B F)にセットされた内部番
号をもつテキストブロックの右兄第コード格納領域13
の値がNULLになるまで、内部のバッファ (BF)
にセットされた値に従い、以下の処理を行う(第7A図
のステップC)。
The editing processing means 5 obtains an editing process name (for example, grouping), an internal number added to the text block to be edited, and a name given to the grouped set from the command input means 3 (step A in FIG. 7A). ), here the text block to be grouped (g 1
.. g2. ..., gn) all have the same parent (
p g) and are of the same level. Text blocks to be grouped (gl, g2.
, gn) is set in the internal buffer (BF) (step B in FIG. 7A). Right older code storage area 13 of the text block with the internal number set in the internal buffer (BF)
The internal buffer (BF)
According to the value set in , the following processing is performed (step C in FIG. 7A).

(1)内部のバッファ(BF)にセットされた内部番号
がグルーピング対象となるテキストブロック(gl、g
2.  ・・・、gn)の番号ではない場合(第7A図
のステップD〜■) ■待避バッファ1  (SBI)に値がセットされてい
ない場合 内部のバッファ(B F)にセットされた内部番号を待
避バッファ1(SBI)と親コード(pg)の第1子コ
ード格納領域14にセフ)する。
(1) The internal number set in the internal buffer (BF) is the text block (gl, g
2. ..., gn) (Steps D to ■ in Figure 7A) ■If no value is set in save buffer 1 (SBI), use the internal number set in the internal buffer (B F). The save buffer 1 (SBI) and the first child code storage area 14 of the parent code (pg) are saved.

■待避バッファ1(SBI)に値がセットされている場
合 内部のバッファ(BP)にセットされたテキストブロッ
クの内部コードを、待避バッファ1  (SBl)にセ
ットされている内部番号を持つテキストブロックの右兄
第コード格納領域13にセットする。内部のバッファ 
(BF)にセットされた内部番号を待避バッファ(SB
I)にセットするとともに、内部のバッファ(BF)に
セットされた内部番号を持つテキストブロックの右兄第
コード格納領域13の値を内部のバッファ(BF)にセ
ットする。
■When a value is set in save buffer 1 (SBI) The internal code of the text block set in the internal buffer (BP) is set to Set it in the right brother code storage area 13. internal buffer
The internal number set in (BF) is saved in the save buffer (SB).
At the same time, the value of the right-hand older code storage area 13 of the text block having the internal number set in the internal buffer (BF) is set in the internal buffer (BF).

(2)内部のバッファ(BF)にセットされた内部番号
がグルーピング対象となるテキストブロック(gl、g
2.  ・・・、gn)の番号の場合(第7A図のステ
ップD、I、第7B図のステップJ NM) ■待避バッファ2  (SB2)に値がセットされてい
ない場合 内部のバッファ(BF)にセットされた内部番号を待避
バッファ2 (SB2)と待避バッファ3(SB3)に
セットする。
(2) The internal number set in the internal buffer (BF) is the text block (gl, g
2. ..., gn) (Steps D and I in Figure 7A, Step J NM in Figure 7B) ■If a value is not set in save buffer 2 (SB2), the internal buffer (BF) is The set internal numbers are set in save buffer 2 (SB2) and save buffer 3 (SB3).

■待避バッファ2  (SB2)に値がセ・ントされて
いる場合 内部のバッファ (BF)にセントされたテキストブロ
ックの内部コードを、待避バ・ソファ2  (SB2)
にセントされている内部番号を持つテキストブロックの
右兄第コード格納領域13にセットする。内部のバッフ
ァ (BF)にセットされた内部番号を待避バッファ2
 (SB2)にセットするとともに、内部のバッファ(
BF)にセットされた内部番号を持つテキストブロック
の右兄第コード格納領域13の値を内部のバッファ (
BF)にセ・ノドする。
■When a value is set in the save buffer 2 (SB2) The internal code of the text block sent to the internal buffer (BF) is sent to the save buffer sofa 2 (SB2).
The code is set in the right-hand older code storage area 13 of the text block having the internal number written in . Save the internal number set in the internal buffer (BF) to save buffer 2
(SB2) and the internal buffer (SB2).
The value of the right brother code storage area 13 of the text block with the internal number set in BF) is transferred to the internal buffer (
BF)

次に、ブロック管理手段1内に、グルーピングしたテキ
ストブロックの集合に新しく命名された名称に関する情
報を格納する領域(NG)を確保する(第7B図のステ
ップN)。NGのコード格納領域11に新規内部番号を
割り付け(第7B図のステップO)、待避バッファ1 
(SBI)にセットされている内部番号を持つテキスト
ブロックの右兄第コード格納領域に、NGのコード格納
領域11に格納されている新規内部番号をセットする。
Next, an area (NG) is secured in the block management means 1 to store information regarding a new name given to a set of grouped text blocks (step N in FIG. 7B). Assign a new internal number to the NG code storage area 11 (step O in Figure 7B), and save buffer 1.
The new internal number stored in the NG code storage area 11 is set in the right older code storage area of the text block with the internal number set to (SBI).

さらに、親コード格納領域12に親(p g)の内部番
号をセットし、右兄第コード格納領域13にNULLを
セットし、第1子コード格納領域14に待避バッファ3
 (SB3)に格納されているグルーピング対象となる
テキストブロックの第1子の内部番号をセットし、レベ
ル格納領域15に待避バ・ソファ(SBI)に格納され
た内部番号を持つテキストブロックと同一のレベル番号
を、ポインタ領域16に対応するテキストブロックへの
ポインタを格納するとともに、該領域にグルーピングし
たテキストブロックの集合に新しく命名された名称を格
納し、見出し名格納領域17にグルーピングしたテキス
トブロックの集合に新しく命名された名称を格納する(
第7B図のステップP)。
Furthermore, the internal number of the parent (pg) is set in the parent code storage area 12, NULL is set in the right brother code storage area 13, and the save buffer 3 is set in the first child code storage area 14.
Set the internal number of the first child of the text block to be grouped stored in (SB3), and set the same text block as the text block with the internal number stored in the shelter sofa (SBI) in the level storage area 15. A pointer to the text block corresponding to the level number is stored in the pointer area 16, a newly named name is stored for the set of text blocks grouped in the area, and a new name for the grouped text block is stored in the heading name storage area 17. Store the newly named name in the set (
Step P in Figure 7B).

次に、待避バッファ2 (SB2)に格納されているグ
ルーピング対象となるテキストブロックのか兄弟コード
格納領域にNULLをセットする(第7B図のステップ
Q)。
Next, NULL is set in the sibling code storage area of the text block to be grouped stored in the save buffer 2 (SB2) (step Q in FIG. 7B).

文書表示手段6は、ブロック管理手段1内の親コード格
納領域12に格納されている値がNUL Lであるよう
なテキストブロックの内部番号を内部のバッファ(BF
F)にセットする(第8A図のステップA)。内部のバ
ッファ (B F F)にセントされた内部番号に対応
するテキストブロックのポインタ領域16の値を内部の
バッファ1(BFFl)にセットし、以下の処理(II
)を行う(第8B図のステップK)。
The document display means 6 stores the internal number of the text block whose value stored in the parent code storage area 12 in the block management means 1 is NULL in an internal buffer (BF).
F) (Step A in Figure 8A). The value of the pointer area 16 of the text block corresponding to the internal number written in the internal buffer (B F F) is set in the internal buffer 1 (BFFl), and the following process (II
) (step K in Figure 8B).

(■)内部のバッファ (BFF)にセットされている
ポインタの値がさすテキスト記憶手段2の記憶領域内の
文字列格納領域25に格納されている文字列を、文字列
数格納領域24に格納されている文字列数だけ読み込み
、CR7画面に表示する。次にテキスト記憶手段2内の
当該記憶領域内の後文字列ポインタ格納領域の値を読み
込み内部のバッファ (BFF)にセットする。内部の
バンファ(BFF)の値がNULLになるまで繰り返す
(第8B図のステップL、M、N)。
(■) The character string stored in the character string storage area 25 in the storage area of the text storage means 2, which is pointed to by the value of the pointer set in the internal buffer (BFF), is stored in the character string number storage area 24. Reads the number of character strings specified and displays them on the CR7 screen. Next, the value of the subsequent character string pointer storage area in the relevant storage area in the text storage means 2 is read and set in the internal buffer (BFF). This process is repeated until the value of the internal buffer (BFF) becomes NULL (steps L, M, and N in FIG. 8B).

(II)において内部のバッファ1  (BFFI)の
値がNULLになったら(第8B図のステップL) 、
内部のバッファ(B F F)にセントされた内部番号
に対応する第1子コード格納領域14の値を内部のバッ
ファ(B F F)にセットする(第8A図のステップ
D)。ただし、第1子コード格納領域14の値がNUL
Lの場合は、内部のバッファ1  (BFFI)にセッ
トされている内部コードの右兄第コード格納領域13の
値を内部のバッファ(BFF)にセットする(第8A図
のステップE。
In (II), if the value of internal buffer 1 (BFFI) becomes NULL (step L in Figure 8B),
The value of the first child code storage area 14 corresponding to the internal number written in the internal buffer (BFF) is set in the internal buffer (BFF) (step D in FIG. 8A). However, the value of the first child code storage area 14 is NUL.
In the case of L, the value of the right older code storage area 13 of the internal code set in the internal buffer 1 (BFFI) is set in the internal buffer (BFF) (step E in FIG. 8A).

F)。内部のバッファ (BFF)にセットされた右兄
第コード格納領域13の値がNULLの場合は、内部の
バッファ1  (BFFI)にセットされている内部番
号に対応する親コードを内部のバッファ1  (BFF
I)にセントし、その親コードの右兄第コード格納領域
13の値を内部のバッファ(BFF)にセットする(第
8A図のステップG、H)。
F). If the value of the right brother code storage area 13 set in the internal buffer (BFF) is NULL, the parent code corresponding to the internal number set in the internal buffer 1 (BFFI) is stored in the internal buffer 1 ( BFF
I), and the value of the right older code storage area 13 of the parent code is set in the internal buffer (BFF) (steps G and H in FIG. 8A).

内部のバッファ (B F F)にセットされた親コー
ドの右兄第コードの値がNULLの場合、内部のバッフ
ァl  (BFFI)セットされた内部番号の親コード
がNULLであるなら内部のバッファ(BFF)にN 
U L Lをセットし、処理を終わる(第8A図のステ
ップI、  J)。
If the value of the right older code of the parent code set in the internal buffer (BF N to BFF)
Set ULL and end the process (steps I and J in Figure 8A).

〔発明の効果〕〔Effect of the invention〕

本発明によれば、章1節などにより階層的に内容が記述
されている文書を効率的に編集するための文書編集方式
が得られる。
According to the present invention, it is possible to obtain a document editing method for efficiently editing a document whose contents are described hierarchically in chapters and sections.

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

第1図は本発明の一実施例を示すブロック図、第2図は
第1図のブロック管理手段内の記憶領域を示した構成図
、 第3図は第1図のテキスト記憶手段内の記憶領域を示し
た概念図、 第4図は第1図のブロック管理手段内の記憶領域に格納
されるテキストブロックの構造の例を示す図、 第5図は第4図で示されるテキストブロックの構造が第
1図の構造表示手段により表示される例を示す図、 第6図、第7A図、第7B図、第8A図、第8B図は本
発明により行われる処理の一例であるグルービング処理
の流れ図である。 1・・・・・ブロック管理手段 2・・・・・テキスト記憶手段 3・・・・・コマンド入力手段 4・・・・・構造表示手段 5・・・・・編集処理手段 6・・・・・文書表示手段 代理人 弁理士  岩 佐  義 幸 第  1  図 11:コード格納領域 12:親コード格納領域 13:右兄弟コード格納領域 14:第1子コード格納領域 15ニレベル格納領域 16:ポインタ格納領域 17:見出し名格納領域 第2図 21:前文字列ポインタ格納領域 22:後文字列ポインタ格納領域 23:記憶可能文字列数格納領域 24:文字列数格納領域 25:文字列格納領域 第3図
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a block diagram showing the storage area within the block management means of FIG. 1, and FIG. 3 is a storage area within the text storage means of FIG. 1. A conceptual diagram showing areas; FIG. 4 is a diagram showing an example of the structure of a text block stored in the storage area in the block management means of FIG. 1; FIG. 5 is a structure of the text block shown in FIG. 4. 6, 7A, 7B, 8A, and 8B show examples of grooving processing, which is an example of the processing performed by the present invention. This is a flowchart. 1...Block management means 2...Text storage means 3...Command input means 4...Structure display means 5...Editing processing means 6...・Document display means agent Patent attorney Yoshiyuki Iwasa 1 Figure 11: Code storage area 12: Parent code storage area 13: Right sibling code storage area 14: First child code storage area 15 Two-level storage area 16: Pointer storage area 17: Heading name storage area FIG. 2 21: Previous character string pointer storage area 22: Next character string pointer storage area 23: Storage area for number of memorable character strings 24: Storage area for number of character strings 25: Character string storage area FIG.

Claims (1)

【特許請求の範囲】[Claims] (1)任意の長さの文字列からなるテキストブロックを
一つの単位として、複数のテキストブロックを階層的に
管理するブロック管理手段と、可変長の文字列を記憶単
位としてテキストを格納するテキスト記憶手段と、 前記テキストブロックに対し命名された見出し名を用い
て、テキストブロック間の構造を表示する構造表示手段
と、 文書編集のコマンドを入力するコマンド入力手段と、 入力されたコマンドに応じた編集処理を前記ブロック管
理手段に対して行う編集処理手段と、編集したテキスト
ブロックをブロック管理手段に格納された構造に従いC
RT画面上に表示する文書表示手段と、 からなることを特徴とする文書編集方式。
(1) Block management means that hierarchically manages multiple text blocks, with text blocks consisting of character strings of arbitrary length as one unit, and text storage that stores text using variable-length character strings as storage units. means, structure display means for displaying the structure between text blocks using heading names named for the text blocks, command input means for inputting document editing commands, and editing according to the input commands. an editing processing means for processing the block management means; and an editing processing means for processing the edited text block according to a structure stored in the block management means
A document editing method comprising: a document display means for displaying on an RT screen;
JP62333365A 1987-12-29 1987-12-29 Document edition system Pending JPH01175663A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62333365A JPH01175663A (en) 1987-12-29 1987-12-29 Document edition system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62333365A JPH01175663A (en) 1987-12-29 1987-12-29 Document edition system

Publications (1)

Publication Number Publication Date
JPH01175663A true JPH01175663A (en) 1989-07-12

Family

ID=18265290

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62333365A Pending JPH01175663A (en) 1987-12-29 1987-12-29 Document edition system

Country Status (1)

Country Link
JP (1) JPH01175663A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0461400A2 (en) * 1990-05-11 1991-12-18 Sharp Kabushiki Kaisha Text processing device
JPH1186013A (en) * 1997-09-05 1999-03-30 Nippon Saitetsukusu Kk Editing device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0461400A2 (en) * 1990-05-11 1991-12-18 Sharp Kabushiki Kaisha Text processing device
US5331555A (en) * 1990-05-11 1994-07-19 Sharp Kabushiki Kaisha Electronic apparatus
JPH1186013A (en) * 1997-09-05 1999-03-30 Nippon Saitetsukusu Kk Editing device

Similar Documents

Publication Publication Date Title
US9378190B2 (en) Word processor data organization
JPH01175663A (en) Document edition system
JPH01191270A (en) Graphic editor
JPH04360246A (en) Device for compressing file
JPH01177157A (en) Document arrangement system
JPH04260140A (en) File name table display system
JP3020213B2 (en) Document processing device
JP2003186670A (en) Automatic generation device, automatic generation method and automatic generation program for database access component
JPH01162922A (en) System for managing display window
JPS60142443A (en) Information control system
JP3722854B2 (en) Data editing device
JPH08263518A (en) Hypertext device
JP2669070B2 (en) Screen definition device
JPH05143304A (en) Consistency inspecting system
JPH1131167A (en) Drawing editing device
JPS63197229A (en) Automatic generation system for module structure
JPH0285963A (en) Unitary managing system for map data and attribute data
JPS63276124A (en) Research information processor
JPH0374769A (en) Multi-medium presentation system
JPH04111053A (en) Document processor
JPH05225038A (en) Hyper-text system
JPH01152564A (en) Japanese character storing system
JPH04248677A (en) Method and device for drawing wall or beam in building drawing or the like
JPH05233396A (en) Temporary definition system for virtual table
JPH0594292A (en) Frame type knowldge editing system