JPH038271B2 - - Google Patents

Info

Publication number
JPH038271B2
JPH038271B2 JP58192073A JP19207383A JPH038271B2 JP H038271 B2 JPH038271 B2 JP H038271B2 JP 58192073 A JP58192073 A JP 58192073A JP 19207383 A JP19207383 A JP 19207383A JP H038271 B2 JPH038271 B2 JP H038271B2
Authority
JP
Japan
Prior art keywords
text
contents
data
title
text data
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
JP58192073A
Other languages
Japanese (ja)
Other versions
JPS6082374A (en
Inventor
Keiju Yasuda
Toshio Fujibayashi
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP58192073A priority Critical patent/JPS6082374A/en
Publication of JPS6082374A publication Critical patent/JPS6082374A/en
Publication of JPH038271B2 publication Critical patent/JPH038271B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)
  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 <技術分野> 本発明は文章編集装置(ワードプロセツサ)に
関して、特に作成した文章に基いて自動的にその
文章に関する目次の作成ができる機能を有した文
章編集装置を提供するものである。
[Detailed Description of the Invention] <Technical Field> The present invention relates to a text editing device (word processor), and particularly relates to a text editing device that has a function of automatically creating a table of contents for the text based on the text that has been created. This is what we provide.

<従来技術> 最近、文章の処理能率を向上する目的で、日本
語文章編集装置(日本語ワードプロセツサ)が実
用化されている。この日本語文章編集装置は、例
えば仮名キーボードなどの入力装置によつて仮名
文を入力し、仮名漢字変換辞書を検索して対応の
漢字もしくは漢字まじり文を出力し、所定の編集
フオーマツトに従つて印字装置により文章を作成
するものである。
<Prior Art> Recently, Japanese text editing devices (Japanese word processors) have been put into practical use for the purpose of improving text processing efficiency. This Japanese text editing device inputs a kana sentence using an input device such as a kana keyboard, searches a kana-kanji conversion dictionary, outputs the corresponding kanji or a sentence mixed with kanji, and then inputs a kana sentence using an input device such as a kana keyboard. Text is created using a printing device.

所でこの様な文章編集装置によつて作成した文
章を何頁かをまとめて冊子にすることがあり、ま
たこの冊子作成において当該冊子の目次頁を付す
ことがある。この場合、当該目次頁はこの目次作
成に必要な文字データを前記文章編集装置の入力
装置から入力して目次頁の文章を作成するもので
あつた。
By the way, several pages of text created using such a text editing device may be compiled into a booklet, and a table of contents page for the booklet may be added in the booklet creation. In this case, text for the table of contents page is created by inputting character data necessary for creating the table of contents from the input device of the text editing device.

従つて、この目次の作成において、オペレータ
は既に作成した文章の各項目名と頁ナンバーを再
度入力操作する、といつた二度手間的な作業を必
要とするものであつた。
Therefore, in creating this table of contents, the operator is required to repeat the laborious task of re-entering each item name and page number of the text that has already been created.

従つて、この目次の作成において、オペレータ
は既に作成した文書の各項目名と頁ナンバーを再
度入力操作する、といつた二度手間的な作業を必
要とするものであつた。
Therefore, in creating this table of contents, the operator is required to repeat the laborious task of inputting each item name and page number of the document that has already been created.

<目的> 本発明は上述のような冊子を作成するに際し、
目次頁の文書を、冊子を構成する文書つまり本分
中の文章データに基いて自動的に作成できるよう
にした自動目次作成機能を有する文章編集装置を
提供するものである。
<Purpose> The present invention has the following objectives when creating a booklet as described above:
To provide a text editing device having an automatic table of contents creation function that allows a table of contents page document to be automatically created based on the text data of the documents constituting a booklet, that is, the main text.

<実施例> 本発明の自動目次作成機能は、第1図イに示す
ように、文章編集装置の入力装置から文字データ
を入力して文章作成する際に、予めタイトル行に
対しては特定の符号αをまた前記タイトル行より
下位のサブタイトル行に対しては異なる符号βを
夫々付して入力して文章バツフアに保持させる。
<Example> As shown in FIG. 1A, the automatic table of contents creation function of the present invention is such that when text is created by inputting character data from the input device of a text editing device, a specific table of contents is set in advance for the title line. A code α is inputted, and a different code β is added to each of the subtitle lines below the title line, and these are stored in the text buffer.

そして、目次作成モードにおいて、文章バツフ
アの文章データを順次読出して前記符号α及びβ
を検出することでタイトル行とサブタイトル行を
見つけ、そのタイトル名、サブタイトル名を第1
図イに示す様に目次のフオーマツトで印字して自
動的に目次文章を作成するものである。
Then, in the table of contents creation mode, the text data of the text buffer is sequentially read out and the codes α and β are
The title line and subtitle line are found by detecting, and the title name and subtitle name are
As shown in Figure A, the table of contents text is automatically created by printing in the format of the table of contents.

また、この場合に符号αとβの検出をカウント
させることで、タイトル名、サブタイトル名の頭
を付ける番号も同時に得られる。
Furthermore, in this case, by counting the detections of the codes α and β, the numbers prefixing the title name and subtitle name can also be obtained at the same time.

なお、前記符号αとβは通常の文書を作成する
際には印字データと区別されて印字されない制御
コードとなつている。
Note that the codes α and β are control codes that are distinguished from print data and are not printed when creating a normal document.

次に上記のような動作を行う本発明にかかわる
文章編集装置の構成を第2図のブロツク図で説明
する。
Next, the structure of the text editing apparatus according to the present invention which operates as described above will be explained with reference to the block diagram of FIG.

第2図において、1は入力装置であつて文字入
力キー郡11とフアンクシヨンキー群12とを有
している。前記文字入力キー群11は本例のよう
に日本語ワードプロセツサであるならば仮名キー
あるいは漢字タブレツトで構成される。また、英
文ワードプロセツサであればアルフアベツトキー
で構成される。
In FIG. 2, reference numeral 1 denotes an input device having a character input key group 11 and a function key group 12. The character input key group 11 is comprised of kana keys or kanji tablets in the case of a Japanese word processor as in this example. Furthermore, an English word processor is composed of alphanumeric keys.

この実施例の入力装置1は仮名キーを有し、ま
たこの入力されたカナ文字又はカナ文を漢字又は
漢字まじり文に変換するカナ漢字変換装置を有し
ている。
The input device 1 of this embodiment has a kana key and a kana-kanji conversion device that converts the input kana characters or kana characters into kanji or sentences mixed with kanji.

前記フアンクシヨンキー群12としては、自動
目次作成モードを設定するキーK1と、印字指令
キーK2と、目次の大分類のタイトル名を指示す
るキーK3(上記第1図の符号αを入力するキー)
と、小分類のタイトル名を指示するキーK4(上記
第1図の符号βを入力するキー)とで構成され
る。
The function key group 12 includes a key K1 for setting the automatic table of contents creation mode, a print command key K2 , and a key K3 for instructing the title name of the major classification of the table of contents (representing the symbol α in Fig. 1 above). key to enter)
and a key K4 (a key for inputting the code β in FIG. 1) for instructing the title name of the subcategory.

2はCPUで構成される文章編集制御装置であ
り、予め編集プログラムを記憶するROM5に従
つて編集制御をするものである。
Reference numeral 2 denotes a text editing control device comprised of a CPU, which controls editing according to a ROM 5 that stores an editing program in advance.

3はCRT装置4の表示制御部であり、文字入
力装置1より入力され、編集された文章を表示す
るものである。
Reference numeral 3 denotes a display control section of the CRT device 4, which displays text inputted from the character input device 1 and edited.

6は上記文章編集制御装置2に従つて制御さ
れ、各種バツフア、カウンタ、フラグ等を構成す
るRAMである。
Reference numeral 6 denotes a RAM which is controlled according to the text editing control device 2 and constitutes various buffers, counters, flags, etc.

7は入力装置1より入力された順序で文章デー
タを記憶する文章バツフア、8は印字装置9を制
御する印字制御装置であり、上記RAM6の中に
設けられた行出力バツフアからデータ供給を受け
て順次装置9で印字させるものである。
7 is a text buffer that stores text data in the order inputted from the input device 1; 8 is a print control device that controls the printing device 9; it receives data from the line output buffer provided in the RAM 6; The printing is performed sequentially by the device 9.

ここで上記したRAM6の構成について説明す
ると、該RAM6には文章バツフア7に記憶する
文章データを印字する際にその文章の1行文のデ
ータを記憶して印字制御部8に供給するための行
出力バツフア61と、上述した大分類のタイトル
数をカウントするカウンタKM62と、小分類の
タイトル数をカウントするカウンタKS63と、
頁数をカウントするカウンタKP64と、目次頁
の文章データを記憶する目次バツフア65と、各
フラツグFC,FM,FSを構成する部分66とで構
成される。
To explain the configuration of the RAM 6 described above, when printing the text data stored in the text buffer 7, the RAM 6 stores one line of text data and outputs a line for supplying the data to the print control unit 8. a buffer 61, a counter KM62 for counting the number of titles in the major categories mentioned above, and a counter KS63 for counting the number of titles in the minor categories;
It is comprised of a counter KP 64 that counts the number of pages, a table of contents buffer 65 that stores text data of table of contents pages, and a portion 66 that constitutes each flag FC , FM , FS .

次に上記第2図の構成について、上述した第1
図イ,ロ及び第3図の動作フローに従つてその動
作を説明する。
Next, regarding the configuration shown in FIG.
The operation will be explained according to the operation flows shown in Figures A and B and Figure 3.

第1図イは冊子文書の本分を示しており、符号
αは大分類をまた符号βは小分類の制御指示を示
している。
FIG. 1A shows the main part of a booklet document, and the symbol α indicates a major classification, and the symbol β indicates a control instruction for a minor classification.

先ず、第1図イにおいて大分類頁であるA1
の文章を入力する際、大分類を表わすK1キーを
最初に操作して文章バツフア7に制御コードαを
記憶させる。このαコードは表示および印字上に
は現出することがない。
First, in FIG. 1A, when inputting the A1 text which is the major classification page, the K1 key representing the major classification is first operated to store the control code α in the text buffer 7. This α code does not appear on display or print.

つづいて、A1部の文章が入力され、順次文章
バツフア7に記憶される。1行分の入力が終了す
る場合は、改行指令キーが操作され、文章バツフ
ア7に改行制御コードが記憶される。つづいて、
X1部の文章が入力されて文章バツフア7に記憶
される。
Subsequently, A1 copy of the text is input and sequentially stored in the text buffer 7. When the input for one line is completed, the line feed command key is operated and the line feed control code is stored in the text buffer 7. Continuing,
X One copy of the text is input and stored in the text buffer 7.

一方、第1図イにおける小分類のタイトル名
(B1、B2)を入力する場合は、上記と同様に文章
入力する前に小分類の制御キーK2が操作され、
制御コードβが文章バツフア7に記憶される。こ
れも同様に表示又は印字上には現われない。
On the other hand, when inputting the title name (B 1 , B 2 ) of the minor category in Figure 1A, the minor category control key K 2 is operated before entering the text in the same way as above.
The control code β is stored in the text buffer 7. This also does not appear on the display or print.

上記のような操作によつて第1図イの例文につ
いて入力し、この入力が完了すると印字指令をフ
アンクシヨンキーK2により行う。この印字動作
は文書バツフア7に記憶されている文章データを
一行づつRAM6の行出力バツフア61に取出
し、そして印字制御装置8へ給送して印字装置9
にて文書作成される。
The example sentence shown in FIG. 1A is input through the operations described above, and when this input is completed, a print command is issued using the function key K2 . In this printing operation, the text data stored in the document buffer 7 is taken out line by line to the line output buffer 61 of the RAM 6, and then fed to the print control device 8.
The document will be created in

一方、目次作成を行ないたい時には自動目次作
成モードを設定するキーK1を操作した後に、前
記キーK2を操作して印字指示を行う。前記キー
K1の操作に応答してフラグFCがONされる。
On the other hand, when it is desired to create a table of contents, the user operates the key K1 for setting the automatic table of contents creation mode, and then operates the key K2 to instruct printing. said key
Flag F C is turned ON in response to the operation of K1 .

また、前記印字指示に基いて第3図のS100〜
S109に従つて文章バツフア7に記憶されている
文章データを先頭より順に読出し、行出力バツフ
ア61に記憶される。
Also, based on the printing instruction, S100 to S100 in FIG.
In accordance with S109, the text data stored in the text buffer 7 is read out in order from the beginning and stored in the line output buffer 61.

この場合、読出したデータが目次フアンクシヨ
ンコードつまり符号α,βであるとS101から
S120へ移行する。そして、今、自動目次作成モ
ードでフラグFCがONであるのでS121へと進行す
る。もし、フラグFCがOFFであればこのデータ
はスキツプされて次のデータが読出される
(S107へ進行)。
In this case, if the read data is a table of contents function code, that is, codes α and β, S101
Move to S120. Since the flag F C is currently ON in the automatic table of contents creation mode, the process advances to S121. If the flag FC is OFF, this data is skipped and the next data is read out (proceed to S107).

続いて、前記S121において目次の大分類を指
示するコードつまり符号αであるか否か判定さ
れ、符号αであれば大分類のタイトル数をカウン
トするカウンタKM62を“1”だけカウントア
ツプし(カウンタKM62は初期“0”となつて
いる)、更にそのカウント値“1”を数字コード
に変換して行出力バツフア61に記憶する
(S122〜S124)。
Next, in S121, it is determined whether or not the code indicating the major classification of the table of contents is the code α, and if the code is α, the counter KM62 for counting the number of titles in the major classification is incremented by "1" (the counter is incremented by 1). The KM 62 is initially set to "0"), and the count value "1" is further converted into a numerical code and stored in the line output buffer 61 (S122 to S124).

その後、フラグFMをON(S125)にした後、
S107へ進行する。
After that, after turning on the flag F M (S125),
Proceed to S107.

従つて、前記S120〜S125を実行することで行
出力バツフア61には符号αに置換えて文章中の
先頭からの大分類通し番号が記憶される。
Therefore, by executing S120 to S125, the main classification serial number from the beginning of the text is stored in the line output buffer 61 in place of the code α.

一方、小分類の制御指示のコードつまり符号β
の場合は、上記S121の判定においてα符号でな
いことからS130へ進行し、小分類のタイトル数
をカウントするカウンタKS63を“1”だけカ
ウントアツプし、そして大分類のタイトル数を保
持するカウンタKMの値と前記カウンタKSの値
を数字コード(例えば1−1、2−1、2−2
等)に変換し、行出力バツフア61に記憶する
(S131〜S132)。その後フラグFSをON(S133)に
した後、S107へ進行する。
On the other hand, the code of the control instruction of the minor classification, that is, the code β
In this case, since it is not the alpha code in the determination in S121 above, the process proceeds to S130, increments the counter KS63 for counting the number of titles in the minor category by "1", and increments the counter KM for holding the number of titles in the major category. value and the value of the counter KS as a numerical code (e.g. 1-1, 2-1, 2-2)
etc.) and stored in the row output buffer 61 (S131-S132). After that, the flag F S is turned ON (S133), and then the process advances to S107.

従つて、前記S130〜S133を実行することで行
出力バツフア61には符号βに置換えて小分類の
通し番号が記憶される。
Therefore, by executing S130 to S133, the serial number of the subcategory is stored in the row output buffer 61 in place of the code β.

上記符号α又はβを検出して所定の処理した後
はS107に進行し、文章バツフア7から文章デー
タを読出し、この読出し操作は改行指令コードを
検出するか(S102)または行末(S105)を検出
するまで行われ、これらが検出されるとS140へ
移行して印字動作を実行する。
After detecting the code α or β and performing the predetermined processing, the process proceeds to S107, where text data is read from the text buffer 7, and this reading operation is performed by detecting a line feed command code (S102) or detecting the end of a line (S105). When these are detected, the process moves to S140 and the printing operation is executed.

即ち、ここまでの動作は第1図イにおいてA1
行が文章バツフア7から読出されるとすると最初
符号αを検出して行出力バツフア61に符号αに
代えて大分類通し番号“1”が記憶され、前記番
号“1”に続いて「はじめに」の文章データが行
出力バツフア61に収容され状態でS140以降の
印字動作を実行する。
That is, the operation up to this point is A 1 in Figure 1 A.
When a line is read out from the text buffer 7, the code α is detected first, and the main classification serial number “1” is stored in the line output buffer 61 instead of the code α, and the number “1” is followed by the “Introduction”. With the text data stored in the line output buffer 61, the printing operations from S140 onwards are executed.

前記S140以降の印字動作では行出力バツフア
61のデータを印字制御装置8へ供給し、該装置
8は受入したデータをパターン発生器にて文字パ
ターンに展開し、印字装置9で印字させる。
In the printing operation after S140, data from the line output buffer 61 is supplied to the printing control device 8, which uses a pattern generator to develop the received data into a character pattern, which is then printed by the printing device 9.

続いてフラグFM或いはFSがONであるか否か検
出し、符号αのある大分類の頁ではFMがON状態
(符号βのある小分類の頁ではFSがON状態)に
あるので、フラツグFM(或はFS)BをOFFし、そ
の時の頁数をカウントするカウンタKP64(初
期値“1”)を数字文字コードに変換して行出力
バツフア61の行末部分に挿入し(文章データと
この数字文字コードとの間に点線コードを挿入し
てもよい)、更にこの行出力バツフア61の「タ
イトル番号、タイトル名、頁数」が目次バツフア
65に記憶される(S145)。
Next, it is detected whether the flag F M or F S is ON or not, and F M is ON in the major classification page with code α (F S is ON in the minor classification page with code β). Therefore, turn off the flag F M (or F S )B, convert the counter KP64 (initial value "1") that counts the number of pages at that time into a numerical character code, and insert it at the end of the line of the line output buffer 61. (A dotted line code may be inserted between the text data and this numerical character code.) Furthermore, the "title number, title name, and page number" of this line output buffer 61 is stored in the table of contents buffer 65 (S145). .

その後S107〜S108、S100と移行して次の行の
文章データが文章バツフア7から取出されて上述
の動作が繰返えされる。
After that, the process moves to S107 to S108 and S100, and the next line of text data is taken out from the text buffer 7, and the above-mentioned operation is repeated.

ただ、第1図イのX1行のデータが文章バツフ
ア7から読出された時には符号α又はβは検出さ
れないのでフラグFS,FMともにOFF状態となつ
ており、S140→S141→S107〜S108→S100と進行
するためにこのX1行のデータは目次バツフア6
5には記憶されない。また改頁指示を検出すると
(S103)、カウンタKP64が“1”カウントアツ
プ動作される。
However, when the data in line X in Figure 1A is read out from the text buffer 7, the code α or β is not detected, so both flags F S and F M are in the OFF state, and S140 → S141 → S107 to S108 →In order to proceed with S100, this X 1 line data is table of contents buffer 6
5 is not stored. Further, when a page change instruction is detected (S103), the counter KP64 is incremented by "1".

上記動作は文章終了を検出するまで行われ
(S108)、文章終了を検出するとフラグFCがONか
OFFかの判定が行われ、今、自動目次作成モー
ドであるのでFCがONであるところからS150へ進
行する。
The above operation is performed until the end of the sentence is detected (S108), and when the end of the sentence is detected, the flag F C is ON or not.
A determination is made as to whether it is OFF, and since we are currently in the automatic table of contents creation mode, the process proceeds to S150 from where FC is ON.

従つて、これまでの動作では第1図イ例文に示
す文章が何頁分か印字され、また目次バツフア6
5には符号αとβで指示された大分類の項と小分
類の項のデータが順次記憶される。
Therefore, in the previous operation, several pages of the text shown in Figure 1 (a) are printed, and the table of contents buffer 6 is printed.
5, data of major classification terms and minor classification terms indicated by codes α and β are sequentially stored.

ただ、前記印字では符号αに対して大分類の通
し番号また符号βに対しては小分類の番号が印字
されて冊子のための何頁分かの文書が作成され
る。また、目次バツフア65には第1図eに示す
状態のデータが収容される。
However, in the above-mentioned printing, the serial number of the major classification is printed for the code α, and the number of the minor classification is printed for the code β, thereby creating a document of several pages for the booklet. The table of contents buffer 65 also stores data in the state shown in FIG. 1e.

上記S150へ進行すると、目次バツフア65の
先頭より順次データが読出されて行出力バツフア
61供給される。そして、行末を検出すると、行
出力バツフア61のデータを印字制御装置8へ供
給して装置9で印字される。この動作を順次繰返
して目次バツフア65のデータをすべて読出す
と、第1図ロに示すように目次頁が自動的に印字
されつまり冊子の文章である本文の印字後それに
続いて本分中のタイトル名が抜き出されて目次頁
が自動的に印字される。
When the process advances to S150, data is sequentially read from the top of the table of contents buffer 65 and supplied to the row output buffer 61. When the end of a line is detected, the data in the line output buffer 61 is supplied to the print control device 8 and printed by the device 9. When this operation is repeated sequentially to read out all the data in the table of contents buffer 65, the table of contents page is automatically printed as shown in Figure 1B. The title name is extracted and the table of contents page is automatically printed.

<他の実施例> 上述の例では本文の印字動作時に目次頁を自動
作成したが、本文の文章入力時にこの目次のタイ
トル指示に基いて文章バツフアとは別のそのタイ
トル名を記憶する目次メモリへ導入してこの目次
頁のデータを作成することもできる。
<Other Examples> In the above example, a table of contents page is automatically created when the main text is printed, but a table of contents memory is provided that stores the title name of the table of contents, which is different from the text buffer, based on the title instruction for the table of contents when entering the text of the main text. You can also create the data for this table of contents page by introducing it into .

また、本文の入力を完了した後に、目次のタイ
トル指示を行なつて文章バツフアよりタイトル
名、頁数を読出すことによつて目次メモリへ導入
し、この目次頁のデータを作成することもでき
る。更にタイトル番号は数字以外にアルフアベツ
ト順等の記号とすることもできる。
In addition, after completing the input of the main text, you can specify the title of the table of contents, read the title name and page number from the text buffer, and import them into the table of contents memory to create the data for this table of contents page. . Furthermore, the title number can also be a symbol such as alphabetical order in addition to numbers.

<効果> 本発明では冊子を作成する際に、この目次頁の
文章を、本文中の文章データに基いき自動的に作
成でき、従来のように目次頁のために新たに文章
入力して作成するといつた二度手間的な作業を不
用にでき、冊子の作成において極めて便利とな
る。
<Effects> With the present invention, when creating a booklet, the text for the table of contents page can be automatically created based on the text data in the main text, and it can be created by inputting new text for the table of contents page as in the past. This eliminates the need for redundant and time-consuming work, making it extremely convenient when creating a booklet.

しかも、タイトルとすべき文章データに制御コ
ードを付し、このタイトル制御コードの検出によ
りタイトルとすべき文章データの抽出を行うこと
により、文章データ抽出のために文章データその
ものの配列や形態に制限を受けることがなく、比
較的自由なタイトル付けを行うことができ、又タ
イトルとすべき文章データの指示は文章データの
入力中または入力後の何れでも行うことができる
ため、文章データの入力を特にタイトル付けを意
識せず行え、比較的自由なタイトル付けを行える
ことと相俟つて文章データの入力操作性、入力効
率の向上を図ることができる。更に、タイトルと
すべき文章データの指示を文章データの入力後で
も行えるので、既に作成された文章であつても文
章を呼び出して容易に目次頁を作成することもで
き、勿論、タイトル制御コードは通常の文字コー
ドと同じ形態で記憶でき、文章記憶手段として特
別なメモリが要求されるということもなく、実使
用面で優れたものを提供できる。
Moreover, by attaching a control code to the text data that should be used as a title, and extracting the text data that should be used as a title by detecting this title control code, restrictions are placed on the arrangement and form of the text data itself for text data extraction. Titles can be given relatively freely without being affected by text data input, and instructions for text data to be used as titles can be made either during or after inputting text data, making it easier to input text data. In particular, it is possible to add titles without being conscious of it, and it is possible to add titles relatively freely, which together with improving the operability and input efficiency of inputting text data. Furthermore, you can specify the text data to be used as a title even after inputting the text data, so even if the text has already been created, you can easily create a table of contents page by recalling the text. It can be stored in the same format as a normal character code, does not require special memory as a text storage means, and can provide excellent practical use.

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

第1図イ,ロは自動目次作成の文章例と目次作
成例を示す図、第2図は本発明の文章編集装置の
構成を示すブロツク図、第3図は同装置の動作を
示すフローチヤートである。 1:入力装置、2:文章編集制御装置、4:
CRT装置、6:RAM、7:文章バツフア、9:
印字装置、61:行出力バツフア、62〜64:
カウンタ、65:目次バツフア、K1:自動目次
作成モード、K3及びK4:タイトル名を指示する
キー。
Figures 1A and 1B are diagrams showing an example of automatic table of contents creation and a table of contents creation, Figure 2 is a block diagram showing the configuration of the text editing device of the present invention, and Figure 3 is a flowchart showing the operation of the device. It is. 1: Input device, 2: Text editing control device, 4:
CRT device, 6: RAM, 7: Text buffer, 9:
Printing device, 61: Line output buffer, 62-64:
Counter, 65: Table of contents buffer, K1 : Automatic table of contents creation mode, K3 and K4 : Keys for specifying title name.

Claims (1)

【特許請求の範囲】 1 入力された文章データを編集して所定形式で
文書作成する文章編集装置において、 入力された文章データを記憶する文章記憶手段
と、 タイトルとすべき文章データを文章データ入力
中または入力後の何れでも指示できるタイトル文
章指示手段と、 該タイトル文章指示手段の操作に基づき、タイ
トル制御コードを、タイトルとすべき文章データ
に関係付けて上記文章記憶手段に記憶させる第1
制御手段と、 目次作成を指示する目次作成指示手段と、 該目次作成指示手段の操作に基づき、上記文章
記憶手段から上記タイトル制御コードを検出し、
該タイトル制御コードにより指示される文章デー
タと該文章データが位置する頁数を抽出する第2
制御手段と、 抽出された上記文章データと頁数データを対に
して目次データとして記憶する目次記憶手段とを
備え、 上記目次記憶手段に記憶されたデータに基づき
目次を作成するよう構成したことを特徴とする自
動目次作成機能を有する文章編集装置。
[Scope of Claims] 1. A text editing device that edits input text data to create a document in a predetermined format, comprising: text storage means for storing input text data; and text data input for text data to be used as a title. a title text specifying means that can be specified either during or after the input; and a first apparatus that stores a title control code in the text storage means in association with text data to be used as a title based on the operation of the title text specifying means.
a control means; a table of contents creation instructing means for instructing the creation of a table of contents; detecting the title control code from the text storage means based on the operation of the table of contents creation instructing means;
a second extracting text data indicated by the title control code and the page number on which the text data is located;
The present invention comprises a control means, and a table of contents storage means for storing the extracted text data and page number data as a pair as table of contents data, and is configured to create a table of contents based on the data stored in the table of contents storage means. A text editing device that features an automatic table of contents creation function.
JP58192073A 1983-10-13 1983-10-13 Editing apparatus for composition having function of compiling index of contents automatically Granted JPS6082374A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58192073A JPS6082374A (en) 1983-10-13 1983-10-13 Editing apparatus for composition having function of compiling index of contents automatically

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58192073A JPS6082374A (en) 1983-10-13 1983-10-13 Editing apparatus for composition having function of compiling index of contents automatically

Publications (2)

Publication Number Publication Date
JPS6082374A JPS6082374A (en) 1985-05-10
JPH038271B2 true JPH038271B2 (en) 1991-02-05

Family

ID=16285178

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58192073A Granted JPS6082374A (en) 1983-10-13 1983-10-13 Editing apparatus for composition having function of compiling index of contents automatically

Country Status (1)

Country Link
JP (1) JPS6082374A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2560316B2 (en) * 1987-03-10 1996-12-04 カシオ計算機株式会社 Printer
JPH01111339U (en) * 1988-01-20 1989-07-27

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5858647A (en) * 1981-09-30 1983-04-07 Fujitsu Ltd Index generating processor
JPS59148944A (en) * 1983-02-14 1984-08-25 Matsushita Electric Ind Co Ltd Document forming device provided with function forming table of contents
JPS59173834A (en) * 1983-03-23 1984-10-02 Toshiba Corp Formation device of document
JPS6011917A (en) * 1983-07-01 1985-01-22 Canon Inc Character processor
JPS6017522A (en) * 1983-07-11 1985-01-29 Toshiba Corp Document forming device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5858647A (en) * 1981-09-30 1983-04-07 Fujitsu Ltd Index generating processor
JPS59148944A (en) * 1983-02-14 1984-08-25 Matsushita Electric Ind Co Ltd Document forming device provided with function forming table of contents
JPS59173834A (en) * 1983-03-23 1984-10-02 Toshiba Corp Formation device of document
JPS6011917A (en) * 1983-07-01 1985-01-22 Canon Inc Character processor
JPS6017522A (en) * 1983-07-11 1985-01-29 Toshiba Corp Document forming device

Also Published As

Publication number Publication date
JPS6082374A (en) 1985-05-10

Similar Documents

Publication Publication Date Title
EP0075732B1 (en) Method and apparatus for merge processing in a text processing system
JPH0242071B2 (en)
EP0449322B1 (en) Text processing apparatus with formatting of text
JPH038271B2 (en)
JPH0128975B2 (en)
JPH0410660B2 (en)
JPS6057422A (en) Document contents and index producer
JPS6362018B2 (en)
JPS6010348B2 (en) Automatic conversion method for half-width and full-width characters
JPS60253572A (en) Blank filling printing system
JPS62271048A (en) Index output device
JPH02116963A (en) Document data processing device
JP3273607B2 (en) Document processing device
JPS60129788A (en) Document processor
JPS63314635A (en) Printing device equipped with address list printing function
JPS63286965A (en) Document generation device
JPS61285534A (en) Index production system
JPH061470B2 (en) Text processor
JPH0218614A (en) Sort-processing method for character input device
JPH0721176A (en) Method and device for character correction
JPH04268957A (en) Document preparing device
JPS6091434A (en) Document producer
JPS605315A (en) Word processor
JPH0381864A (en) Document processor
JPS62154025A (en) Index word registration device in word processor