JPH0575143B2 - - Google Patents

Info

Publication number
JPH0575143B2
JPH0575143B2 JP62159327A JP15932787A JPH0575143B2 JP H0575143 B2 JPH0575143 B2 JP H0575143B2 JP 62159327 A JP62159327 A JP 62159327A JP 15932787 A JP15932787 A JP 15932787A JP H0575143 B2 JPH0575143 B2 JP H0575143B2
Authority
JP
Japan
Prior art keywords
heading
document
storage means
symbol
heading number
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
JP62159327A
Other languages
Japanese (ja)
Other versions
JPS643772A (en
Inventor
Shunichi Fukushima
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
Nippon 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP62159327A priority Critical patent/JPS643772A/en
Publication of JPS643772A publication Critical patent/JPS643772A/en
Publication of JPH0575143B2 publication Critical patent/JPH0575143B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Machine Translation (AREA)
  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、入力された文書を加工する文書処理
装置に関するものである。特にワードプロセツサ
における文書編集などで利用されるものである。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a document processing device that processes input documents. It is especially used for document editing in word processors.

(従来の技術) 通常、文書のサイズがある程度大きくなると、
文書の内容を、「章」「節」「項」「部」などの単位
に分けて管理することが行われている。そして、
そのような単位ごとに、見出しが付けられるのが
普通である。さらに、この見出しに見出し番号を
付けることによつて、見出しの階層関係や順序を
明確にすることが行われている。
(Prior art) Normally, when the size of a document increases to a certain extent,
The contents of documents are managed by dividing them into units such as "chapters,""sections,""paragraphs," and "parts." and,
A heading is usually attached to each such unit. Furthermore, by assigning heading numbers to these headings, the hierarchical relationships and order of the headings are made clear.

近年、ワードプロセツサなどによる文書作成が
行われるようになり、文書が電子化されて扱われ
るようになつてきた。電子化された文書には、機
械的な処理が加えやすい。その機械的な処理のひ
とつとして、先に述べた見出し番号付けが考えら
れている。
In recent years, documents have come to be created using word processors and the like, and documents have come to be handled electronically. Electronic documents are easily subjected to mechanical processing. As one of the mechanical processes, the heading numbering mentioned above is considered.

特開昭60−254366号公報の「ワードプロセツ
サ」は、見出し番号の種類を記憶する手段と、番
号を順次発生する手段とを設けることにより、見
出しの位置がユーザにより指定されたならば、そ
の見出しに対して自動的に見出し番号を付けるこ
とを可能としている(この引用発明では、さら
に、見出しの位置に対応する頁番号を抽出する手
段等を設け、目次を作成することも可能としてい
る)。この引用発明における見出し番号の種類を
記憶する手段は、ローマ数字大文字、ローマ数字
小文字、英字大文字、英字小文字、算用数字など
予め用意された番号の種類と、[],(),),§,
§などの予め用意されたパターンとを記憶してい
るものである。ユーザは、その予め用意された番
号とパターンとの組み合わせによつて、見出し番
号の種類を指定する。
The "word processor" disclosed in Japanese Patent Application Laid-open No. 60-254366 is provided with means for storing the type of heading number and means for sequentially generating the numbers, so that once the position of the heading is specified by the user, It is possible to automatically attach a heading number to the heading (this cited invention also provides a means for extracting the page number corresponding to the position of the heading, and also makes it possible to create a table of contents). ). The means for storing the types of heading numbers in this cited invention includes pre-prepared types of numbers such as uppercase Roman numerals, lowercase Roman numerals, uppercase letters, lowercase letters, and arithmetic numerals, and [], (), ), §. ,
It stores previously prepared patterns such as §. The user specifies the type of heading number using a combination of the number and pattern prepared in advance.

また、「プランup操作マニユアル」(株式会社
ダイナウエア発行、1986年)によると、パーソナ
ル・コンピユータ上で動作するソフトウエアであ
る「プランup」では、目次の作成の際に、「番号
書式」という機能を実行すると、階層レベルごと
に、見出し番号が、次ような11種類のなかから選
択できるようになつている。
Also, according to the "Plan Up Operation Manual" (published by Dynaware Co., Ltd., 1986), "Plan Up", a software that runs on a personal computer, uses a "number format" when creating a table of contents. When you run the function, you will be able to select from the following 11 types of heading numbers for each hierarchy level.

1. 1) (1) A. A) (A) a. a) (a) なし 「プランup」では、例えば、階層レベル1(1
段目)の書式を「1.」とし、階層レベル2(2段
目)の書式を「(A)」とし、階層レベル3(3段
目)の書式を「」とすると、次のような見出し
番号の付いた目次ができあがる。
1. 1) (1) A. A) (A) a. a) (a) None In "Plan up", for example, hierarchy level 1 (1
If the format of hierarchy level 2 (second row) is "1.", the format of hierarchy level 2 (second row) is "(A)", and the format of hierarchy level 3 (third row) is "", then the following A table of contents with heading numbers is created.

1.…… (A)…… …… …… (B)…… …… …… …… 2.…… (A)…… (B)…… 3.…… (発明が解決しようとする問題点) 以上に説明した従来の技術では、見出しに付加
できる見出し番号の種類は、文書処理装置に予め
用意されたもののみに制限される。そこで、見出
し番号の種類に制限なく、自由な見出し番号を付
けられることが望まれる。
1.…… (A)…… …… …… (B)…… …… …… 2.…… (A)…… (B)…… 3.…… (Problem that the invention seeks to solve Point) In the conventional technology described above, the types of heading numbers that can be added to headings are limited to those prepared in advance in the document processing device. Therefore, it is desirable to be able to freely assign heading numbers without any restrictions on the types of heading numbers.

本発明の目的は、文書の見出し部分に自動的に
見出し番号を付けることができ、しかも、見出し
番号の種類が予め用意されたものに制限されるよ
うなことなく自由な見出しを指定できる文書処理
装置を提供することである。
An object of the present invention is to provide a document processing that can automatically attach a heading number to the heading part of a document, and also allows the user to freely specify a heading without being limited to the types of heading numbers prepared in advance. The purpose is to provide equipment.

(問題を解決するための手段) 本発明は、入力された文書を記憶する文書記憶
手段と、前記文書記憶手段に記憶された文書にお
ける見出し部分を設定する見出し部設定手段と、
前記見出し部設定手段によつて設定された見出し
部分の位置を記憶する見出し位置記憶手段と、見
出し部分に付加する見出し番号の例を入力する見
出し番号例入力手段と、前記見出し番号例入力手
段から入力された見出し番号例を解析し順序記号
部分を識別する見出し番号例解析手段と、順序記
号を順番に発生する順序記号発生手段と、前記見
出し番号例解析手段の解析結果における前記順序
記号部分に対して前記順序記号発生手段の順次発
生する順序記号をあてはめることによつて見出し
番号を順次生成し文書中の前記見出し位置記憶手
段に記憶された位置に書き込む見出し番号付加手
段とを備えたことを特徴とする文書処理装置であ
る。
(Means for solving the problem) The present invention includes a document storage means for storing an input document, a heading part setting means for setting a heading part in the document stored in the document storage means,
a heading position storage means for storing the position of the heading part set by the heading part setting means; a heading number example inputting means for inputting an example of a heading number to be added to the heading part; and a heading number example inputting means. Heading number example analysis means for analyzing an inputted heading number example and identifying an ordinal code part; Sequential code generation means for sequentially generating ordinal symbols; and a heading number adding means for sequentially generating heading numbers by applying the sequentially generated ordering symbols of the ordering code generating means and writing them at the positions stored in the heading position storage means in the document. This is a characteristic document processing device.

(実施例) 図面を用いて、本発明の構成・作成を説明す
る。
(Example) The configuration and production of the present invention will be explained using the drawings.

第1図は本発明の文書処理装置の一実施例の構
成を示すブロツク図である。
FIG. 1 is a block diagram showing the configuration of an embodiment of a document processing apparatus according to the present invention.

第1図において、文書入力手段1は、文書を入
力する手段であり、キーボード、かな漢字変換装
置、文字認識装置などが用いられる。
In FIG. 1, document input means 1 is a means for inputting a document, and includes a keyboard, a kana-kanji conversion device, a character recognition device, and the like.

文書記憶手段2は、文書入力手段1によつて入
力された文書、および、見出し番号付加手段8の
処理結果を記憶する手段であり、ICメモリ、磁
気デイスク装置などが用いられる。
The document storage means 2 is a means for storing the documents inputted by the document input means 1 and the processing results of the heading number addition means 8, and uses an IC memory, a magnetic disk device, or the like.

見出し部設定手段3は、文書記憶手段2に記憶
された文書における見出し部分を設定する手段で
ある。実現方法としては、ユーザに見出し部分
(見出しの先頭位置と末尾位置)を指定させる方
法や、改行までの文字列の長さや句読点の付け方
などから自動的に見出し部分を判定する方法(例
えば、改行までが40文字以下で、かつ、末尾に句
点・ピリオドが付いていない文字列を見出しとす
る方法)などが考えられる。
The heading part setting means 3 is means for setting a heading part in a document stored in the document storage means 2. This can be achieved by having the user specify the heading part (the beginning and end position of the heading), or by automatically determining the heading part based on the length of the character string up to the line break and the punctuation (for example, the line break). A possible method is to use a string of characters up to 40 characters long and without a period or period at the end as a heading).

見出し位置記憶手段4は、見出し部設定手段3
によつて設定された見出し部分の位置(見出しの
先頭位置と末尾位置)を記憶する手段であり、
ICメモリ、磁気デイスク装置などが用いられる。
見出し位置記憶手段4は、文書記憶手段2と一体
化させることが可能である。
The heading position storage means 4 includes the heading section setting means 3.
It is a means of storing the position of the heading part (heading position and end position of the heading) set by
IC memory, magnetic disk devices, etc. are used.
The heading position storage means 4 can be integrated with the document storage means 2.

見出し番号例入力手段5は、見出し部分に付加
する見出し番号の例を入力する手段であり、キー
ボード、かな漢字変換装置、文字認識装置などが
用いられる。見出し番号例入力手段5は、文書入
力手段1と一体化させることが可能である。
The heading number example input means 5 is a means for inputting an example of a heading number to be added to a heading portion, and uses a keyboard, a kana-kanji converter, a character recognition device, or the like. The heading number example input means 5 can be integrated with the document input means 1.

見出し番号例解析手段6は、見出し番号例入力
手段5から入力された見出し番号例を解析し、順
序記号部分を識別する手段である。順次記号と
は、例えば、次のような順序を示すのに用いられ
る記号のことである。
The heading number example analysis means 6 is a means for analyzing the heading number example input from the heading number example input means 5 and identifying the ordinal code part. A sequential symbol is a symbol used to indicate the following order, for example.

算用数字 (1,2,3,4,……) 漢数字 (一,二,三,四,……) ローマ数字 (,,,,……) 丸数字 (,,,,……) 英大文字 (A,B,C,D,……) 英小文字 (a,b,c,d,……) 見出し番号解析手段6は、まず、見出し番号例
入力手段5から入力された見出し番号例の文字列
から、上記のような順序記号を検出する。この順
序記号の検出は、見出し番号例の文字列のコード
と順序記号の文字コードを照合し、一致するもの
を見つければよい。次に、見出し番号例解析手段
6は、検出した順序記号を、その種類(上記の例
では、算用数字、漢数字、ローマ数字、丸数字、
英大文字、英小文字の6種類)に対応した識別コ
ードに置き換える。例えば、次のような制御コー
ドに置き換えるものとする。ただし、算用数字が
連続して出現した場合には、算用数字の1つ1つ
を制御コードに置き換えるのではなく、連続した
算用数字をひとまとめにして1つの制御コードに
置き換える。漢数字の場合も同様である。
Arithmetic numerals (1, 2, 3, 4,...) Chinese numerals (1, 2, 3, 4,...) Roman numerals (,,,,,...) Round numbers (,,,,,...) Alphabet Uppercase letters (A, B, C, D,...) Lowercase letters (a, b, c, d,...) The heading number analysis means 6 first reads the heading number example input from the heading number example input means 5. Detect ordering symbols like the one above from a string. To detect this order symbol, it is sufficient to match the code of the character string of the heading number example with the character code of the order symbol and find a match. Next, the heading number example analysis means 6 analyzes the detected ordinal symbol by its type (in the above example, arithmetic numerals, Chinese numerals, Roman numerals, round numerals,
Replace with an identification code that corresponds to 6 types of uppercase and lowercase English letters). For example, let's replace it with the following control code: However, when arithmetic numbers appear consecutively, instead of replacing each arithmetic number with a control code one by one, the consecutive arithmetic numbers are grouped together and replaced with one control code. The same applies to Kanji numerals.

算用数字列 →@1 漢数字列 →@一 ローマ数字 →@ 丸数字 →@ 英大文字 →@A 英小文字 →@a そして、見出し番号例解析手段6は、見出し番
号例の順序記号を制御コードに置き換えた結果
を、見出し番号付加手段8に送る。
Arithmetic numeral string → @1 Chinese numeral string → @1 Roman numeral → @ Round numeral → @ Uppercase English letter → @A Lowercase English letter → @a Then, the heading number example analysis means 6 converts the ordinal symbol of the heading number example into a control code. The result of the substitution is sent to the heading number adding means 8.

順序記号発生手段7は、順序記号を順番に発生
する手段である、順序記号発生手段7は、まず、
見出し番号付加手段8から順序記号の種類を示す
コード(例えば、上記の@1,@一,@,
@,@A,@aのいずれか)を受け取り、その
種類の最初の順序記号(@1ならば「1」、@一
ならば「一」、@ならば「」、@ならば
「」、@Aならば「A」、@aならば「a」)を、
見出し番号付加手段8へ返す。この処理は、順序
記号の種類とその最初の順序記号を対応させたテ
ーブルを持てば容易に実現できる。続いて、順序
記号発生手段7は、見出し番号付加手段8からの
「次の順序記号を要求する信号」を受け取つたな
らば、その直前に見出し番号付加手段8へ返した
順序記号の次の順序記号を、見出し番号付加手段
8へ返す。JISで定められた文字コードにおいて、
順序記号の文字コードは、その順番にコードが与
えられているので、この処理は容易に実現でき
る。(算用数字と漢数字の場合には、桁の繰り上
げが必要であるが、それも容易である)。
The ordinal symbol generating means 7 is a means for sequentially generating ordinal symbols. The ordinal symbol generating means 7 firstly
A code indicating the type of order symbol (for example, the above @1, @1, @,
@, @A, @a) and receives the first ordinal symbol of that kind (@1 means "1", @1 means "1", @ means "", @ means "", @A then "A", @a then "a"),
It is returned to the heading number adding means 8. This process can be easily realized by having a table that associates the types of ordinal symbols with their first ordinal symbols. Subsequently, upon receiving the "signal requesting the next sequence symbol" from the index number addition means 8, the sequence symbol generation means 7 generates the next order of the sequence symbol returned to the index number addition means 8 immediately before. The symbol is returned to the heading number adding means 8. In the character code specified by JIS,
Since the character codes of the ordinal symbols are given in their order, this process can be easily realized. (In the case of arithmetic numerals and kanji numerals, it is necessary to round up the digits, but that is also easy).

見出し番号付加手段8は、見出し番号例解析手
段6の解析結果における順序記号部分に対して、
順序記号発生手段7の順次発生する順序記号をあ
てはめることによつて、見出し番号を順次生成
し、文書中の見出し位置記憶手段4に記憶された
位置に書き込む手段である。
The heading number addition means 8 adds the following information to the ordinal symbol part in the analysis result of the heading number example analysis means 6:
This is a means for sequentially generating heading numbers by applying the sequentially generated ordering symbols of the ordering symbol generating means 7, and writing them at the positions stored in the heading position storage means 4 in the document.

見出し番号付加手段8は、まず、見出し番号例
解析手段6から解析結果を受け取り、その解析結
果のなかの順序記号の識別コードを検出する。そ
して、見出し番号付加手段8は、その識別コード
を順序記号発生手段7へ送り、順序記号発生手段
7からその識別コードに対応した順序記号を受け
取る。続いて、順序記号発生手段7から受け取つ
たその順序記号を、見出し番号例解析手段6から
受け取つた解析結果における識別コードと置き換
えることによつて、最初の見出し番号を生成す
る。そして、その見出し番号を、文書記憶手段2
に記憶された文書における、見出し位置記憶手段
4に記憶された先頭の見出し位置に対応する位置
に書き込む。
The heading number adding means 8 first receives the analysis result from the heading number example analyzing means 6, and detects the identification code of the ordinal symbol in the analysis result. Then, the heading number adding means 8 sends the identification code to the ordering code generating means 7, and receives the ordering code corresponding to the identification code from the ordering code generating means 7. Subsequently, the first heading number is generated by replacing the ordering code received from the ordering code generation means 7 with the identification code in the analysis result received from the heading number example analysis means 6. Then, the heading number is stored in the document storage means 2.
The heading position is written in the document stored in the document at the position corresponding to the first heading position stored in the heading position storage means 4.

以後は、順序記号発生手段7に対して「次の順
序記号を要求する信号」を送つて、順次、次の順
序記号を受け取りながら、見出し番号を生成し、
見出し位置記憶手段4に記憶された次の見出し位
置に書き込んでゆく。ただし、見出し位置を文書
の先頭からの文字数で見出し位置記憶手段4に記
憶している場合には、見出し番号を1つ書き込む
ごとに、対応する見出しの位置が、見出し番号の
文字列長分だけずれるので、見出し番号付加手段
8では、そのずれを考慮して、見出し位置記憶手
段4から読み出した文字位置を補正する。
Thereafter, a heading number is generated by sending a "signal requesting the next ordering symbol" to the ordering symbol generating means 7 and receiving the next ordering symbol in sequence.
Writing is continued at the next heading position stored in the heading position storage means 4. However, if the heading position is stored in the heading position storage means 4 as the number of characters from the beginning of the document, each time a heading number is written, the position of the corresponding heading is changed by the character string length of the heading number. Since there is a shift, the heading number adding means 8 corrects the character position read from the heading position storage means 4 in consideration of the shift.

次にこの実施例の動作を例を用いて説明する。 Next, the operation of this embodiment will be explained using an example.

文書入力手段1から文書が入力され、第3図a
のような文書が、文書記憶手段2に記憶されてい
るものとする。
A document is input from the document input means 1, and as shown in FIG.
It is assumed that a document like this is stored in the document storage means 2.

次に、見出し部設定手段3によつて、第3図b
の下線の部分が、見出し部分として設定されたも
のとする。
Next, by the heading section setting means 3, as shown in FIG.
It is assumed that the underlined part is set as the heading part.

そして、見出し番号例入力手段5より、次の(1)
のような見出し番号例が入力されたものとする。
Then, from the heading number example input means 5, the following (1)
Assume that an example heading number such as is input.

第3部: ……(1) 見出し番号例解析手段6が、この見出し番号例
(1)の解析を行つた結果は、次の(2)のようになる。
(2)の下線部分は順序記号の識別コードである。な
お、見出し番号として、「第1部:」「第10部:」
などと入力されても、解析結果は(2)と同様にな
る。
Part 3: ...(1) The heading number example analysis means 6 uses this heading number example
The result of analyzing (1) is as shown in (2) below.
The underlined part in (2) is the identification code of the ordinal symbol. In addition, as heading numbers, "Part 1:""Part10:"
Even if you input something like this, the analysis result will be the same as (2).

@1部: ……(2) 見出し番号付加手段8は、この結果(2)を受け取
り、識別コード「@1」を順序記号発生手段7へ
送る。順序記号発生手段7は、識別コード
「@1」に対して、「1」を返す。
Part @1 : ...(2) The heading number addition means 8 receives this result (2) and sends the identification code "@1" to the sequence code generation means 7. The ordinal symbol generating means 7 returns "1" in response to the identification code "@1".

そこで、見出し番号付加手段8は、(2)における
識別コード「@1」を「1」に置き換えて、次の
(3)のような見出し番号を生成する。
Therefore, the heading number adding means 8 replaces the identification code "@1" in (2) with "1" and reads the following.
Generate a heading number like (3).

第1部: ……(3) そして、見出し番号付加手段8は、(3)を文書中
に書き込む。
Part 1: ...(3) Then, the heading number adding means 8 writes (3) into the document.

続いて、見出し番号付加手段8は、順序記号発
生手段7へ「次の順序記号を要求する信号」を送
り、「2」を受け取る。そして、(2)における識別
コード「@1」を「2」に置き換えて、次の(4)の
ような見出し番号を制止し、文書へ書き込む。
Subsequently, the heading number adding means 8 sends a "signal requesting the next sequential symbol" to the sequential symbol generating means 7, and receives "2". Then, the identification code "@1" in (2) is replaced with "2", and the heading numbers as shown in (4) below are suppressed and written into the document.

第2部: ……(4) 以下、同様に、見出し番号付加手段8は、順序
記号発生手段7へ「次の順序記号を要求する信
号」を送り、「3」を受け取り、見出し番号「第
3部:」を生成し、文書へ書き込む。
Part 2: ...(4) Similarly, the heading number adding means 8 sends a "signal requesting the next ordering symbol" to the ordering symbol generating means 7, receives "3", and adds the heading number "No. Part 3:" is generated and written to the document.

その結果、文書記憶手段2に記憶された文書
は、第3図cのようになる。第3図bの見出し番
号部分に対して、見出し番号例として入力された
種類の見出し番号が、順次付加されている。
As a result, the document stored in the document storage means 2 becomes as shown in FIG. 3c. Headline numbers of the type inputted as examples of the header numbers are sequentially added to the header number portion of FIG. 3b.

同様に、見出し番号例入力手段5から入力され
た見出し番号例が「(1)」であつた場合には、第
3図cの代わりに、第3図dのような見出し番号
の付いた文書が得られる。また、第3図eと第3
図fは、それぞれ、見出し番号例入力手段5から
入力された見出し番号例が「第4章」、「**2**
であつた場合に得られる文書を表している。
Similarly, if the heading number example input from the heading number example input means 5 is "(1)", the document with the heading number as shown in Fig. 3 d instead of Fig. 3 c is obtained. Also, Figure 3 e and Figure 3
In Figure f, the heading number examples input from the heading number example input means 5 are "Chapter 4" and " ** 2 ** ", respectively.
This represents the document that would be obtained if .

第2図は、本発明の文書処理装置を、従来のワ
ードプロセツサに組み込んだ実施例である。ワー
ドプロセツサ制御部11、デイスプレイ9、キー
ボード10、文書記憶手段2が従来のワードプロ
セツサの構成であり、それに対して、見出し部設
定手段3、見出し位置記憶手段4、見出し番号例
入力手段5、見出し番号例解析手段6、順次記号
発生手段7、見出し番号付加手段8を追加されて
いる。
FIG. 2 shows an embodiment in which the document processing device of the present invention is incorporated into a conventional word processor. A word processor control section 11, a display 9, a keyboard 10, and a document storage means 2 constitute a conventional word processor.On the other hand, a heading part setting means 3, a heading position storage means 4, and a heading number example inputting means 5 , a heading number example analysis means 6, a sequential symbol generation means 7, and a heading number adding means 8 are added.

各構成要素、動作は、第1図の実施例と同様で
ある。
Each component and operation are similar to the embodiment shown in FIG.

第4図は、第1図の実施例に、目次作成手段1
2を加えた第3実施例である。
FIG. 4 shows a table of contents creation means 1 in addition to the embodiment shown in FIG.
This is a third embodiment in which 2 is added.

目次作成手段12は、見出し位置記憶手段4か
ら見出し位置を受け取り、文書記憶手段2から、
それらの見出し位置に対応する見出しと頁番号を
抽出し、見出しと頁番号を所定の書式で出力する
手段である。この目次作成手段12は、特開昭60
−254366号公報「ワードプロセツサ」、特開昭61
−131163号公報「文書編集制御方式」などで実現
されており、公知のもでのである。
The table of contents creation means 12 receives the heading position from the heading position storage means 4, and from the document storage means 2,
This is means for extracting headings and page numbers corresponding to those heading positions and outputting the headings and page numbers in a predetermined format. This table of contents creation means 12 is
−254366 “Word Processor”, JP-A-61
This is a well-known method that has been realized in Publication No. 131163 ``Document Editing Control System''.

これにより、見出しを付けた文書について、さ
らに、目次を自動的に作成することも可能とな
る。
This also makes it possible to automatically create a table of contents for a document with headings.

(発明の効果) 以上説明したように、本発明によれば、文書の
見出し部分に自動的に見出し番号を付けることが
でき、しかも、見出し番号例解析手段を設けたの
で見出し番号の種類が予め用意されたものに制限
されるようなことはなく自由な見出し番号を指定
できる文書処理装置が実現できる。
(Effects of the Invention) As explained above, according to the present invention, it is possible to automatically attach a heading number to the heading part of a document, and since the heading number example analysis means is provided, the type of the heading number can be determined in advance. It is possible to realize a document processing device that can freely specify a heading number without being limited to a prepared one.

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

第1図と第2図と第4図は本発明の実施例の構
成を示すブロツク図、第3図は本発明の動作例を
示す図である。 図において、1……文書入力手段、2……文書
記憶手段、3……見出し文書設定手段、4……見
出し位置記憶手段、5……見出し番号例入力手
段、6……見出し番号例解析手段、7……順序記
号発生手段、8……見出し番号付加手段、9……
デイスプレイ、10……キーボード、11……ワ
ードプロセツサ制御部、12……目次出力手段。
1, 2, and 4 are block diagrams showing the configuration of an embodiment of the present invention, and FIG. 3 is a diagram showing an example of the operation of the present invention. In the figure, 1... document input means, 2... document storage means, 3... heading document setting means, 4... heading position storage means, 5... heading number example input means, 6... heading number example analysis means. , 7... Ordinal code generation means, 8... Heading number addition means, 9...
Display, 10...Keyboard, 11...Word processor control unit, 12...Table of contents output means.

Claims (1)

【特許請求の範囲】[Claims] 1 入力された文書を記憶する文書記憶手段と、
前記文書記憶手段に記憶された文書における見出
し部分を設定する見出し部設定手段と、前記見出
し部設定手段によつて設定された見出し部分の位
置を記憶する見出し位置記憶手段と、見出し部分
に付加する見出し番号の例を入力する見出し番号
例入力手段と、前記見出し番号例入力手段から入
力された見出し番号例を解析し順序記号部分を識
別する見出し番号例解析手段と、順序記号を順番
に発生する順序記号発生手段と、前記見出し番号
例解析手段の解析結果における前記順序記号部分
に対して前記順序記号発生手段の順次発生する順
序記号をあてはめることによつて見出し番号を順
次生成し文書中の前記見出し位置記憶手段に記憶
された位置に書き込む見出し番号付加手段とを備
えたことを特徴とする文書処理装置。
1 document storage means for storing input documents;
a heading part setting means for setting a heading part in the document stored in the document storage means; a heading position storage means for storing the position of the heading part set by the heading part setting means; Heading number example input means for inputting an example of a heading number; Heading number example analysis means for analyzing the heading number example inputted from the heading number example input means and identifying an ordinal symbol portion; and generating an ordinal symbol in order. A sequence code generation means and a sequence code generated sequentially by the sequence code generation unit are applied to the sequence code portion in the analysis result of the table number example analysis unit to sequentially generate heading numbers. 1. A document processing device comprising: heading number adding means for writing in a position stored in heading position storage means.
JP62159327A 1987-06-25 1987-06-25 Sentence processing unit Granted JPS643772A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62159327A JPS643772A (en) 1987-06-25 1987-06-25 Sentence processing unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62159327A JPS643772A (en) 1987-06-25 1987-06-25 Sentence processing unit

Publications (2)

Publication Number Publication Date
JPS643772A JPS643772A (en) 1989-01-09
JPH0575143B2 true JPH0575143B2 (en) 1993-10-19

Family

ID=15691389

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62159327A Granted JPS643772A (en) 1987-06-25 1987-06-25 Sentence processing unit

Country Status (1)

Country Link
JP (1) JPS643772A (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3147233B2 (en) * 1989-10-27 2001-03-19 キヤノン株式会社 Document processing method and apparatus
JPH04665A (en) * 1990-04-18 1992-01-06 Hitachi Ltd Document structure input device and its method and input device used for these device or method
JPH0778280A (en) * 1993-06-25 1995-03-20 Kiwa Ishiwatari Carrier and storage device of papaer money
JP3873298B2 (en) * 1995-06-20 2007-01-24 セイコーエプソン株式会社 Document editing device

Also Published As

Publication number Publication date
JPS643772A (en) 1989-01-09

Similar Documents

Publication Publication Date Title
KR0163178B1 (en) Method and apparatus for encoding and decoding chinese characters
JPS61502495A (en) Cryptographic analysis device
JPH0575143B2 (en)
JPS6126192A (en) Method for recognizing hungul character from hungul letter string
JPS59231583A (en) Electronic appliance
JP2634926B2 (en) Kana-Kanji conversion device
JPS5928190A (en) Character pattern generation system
JPH0677252B2 (en) Japanese data input processor
JPS59230754A (en) Electronic appliance
JPH0361217B2 (en)
JPS58137084A (en) Character processor
JPS59231584A (en) Electronic appliance
JPS59231590A (en) Electronic appliance
JPS6120176A (en) Roman character/chinese character converter
JPH0630106B2 (en) Character processor
JPS59231585A (en) Electronic appliance
JPH05108616A (en) Document processor
JPH09259225A (en) Character recognizing and converting method and character data processor
JPH0352102B2 (en)
JPH039475A (en) Circuit diagram input system in cad system
JPS5856132A (en) Typewriter input equipment
JPH06266768A (en) Retrieval system in electronic book and electronic book player
KR930018921A (en) Facsimile Hangul Character Transmission and Recording Control and Method
JPH07254044A (en) Handwritten character recognizing device
JPH0554180A (en) Slop format defining system for optical character reader

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071019

Year of fee payment: 14