JPH07200562A - Document formatting method - Google Patents

Document formatting method

Info

Publication number
JPH07200562A
JPH07200562A JP5354268A JP35426893A JPH07200562A JP H07200562 A JPH07200562 A JP H07200562A JP 5354268 A JP5354268 A JP 5354268A JP 35426893 A JP35426893 A JP 35426893A JP H07200562 A JPH07200562 A JP H07200562A
Authority
JP
Japan
Prior art keywords
heading
document
input
pattern
memory
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
JP5354268A
Other languages
Japanese (ja)
Inventor
Yoichi Murakami
陽一 村上
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP5354268A priority Critical patent/JPH07200562A/en
Publication of JPH07200562A publication Critical patent/JPH07200562A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

(57)【要約】 【目的】 同一レベルの見出しを何回も繰り返して入力
する場合、最初の見出しに対応付けてその書式情報を設
定しておけば、2回目以降の同一レベルの見出しを通常
通りに入力するだけでそれに対応する書式を自動的に設
定する。 【構成】 CPU1は入力された文書データと見出しパ
ターンメモリ2−3の内容とを照合する。入力された文
書データが見出しパターンに該当する見出し文書である
場合、CPU1は同一パターンの見出し文書がテキスト
メモリ3−2に既に入力されているかを判別する。同一
パターンが既に入力されている場合、CPU1はその文
書に対応する書式情報テキストメモリ3−2から呼び出
し、今回テキストメモリ3−2に入力された見出し文書
の対応付け位置に複写設定する。
(57) [Summary] [Purpose] When inputting the same level of heading many times, if the format information is set by associating with the first heading, the heading of the same level after the second heading is usually used. Just type it exactly and it will automatically set the corresponding format. [Configuration] The CPU 1 collates the input document data with the contents of the headline pattern memory 2-3. When the input document data is a heading document corresponding to the heading pattern, the CPU 1 determines whether the heading document of the same pattern is already input in the text memory 3-2. When the same pattern is already input, the CPU 1 calls it from the format information text memory 3-2 corresponding to the document, and sets the copy to the corresponding position of the headline document input to the text memory 3-2 this time.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、ワードプロセッサ等
の文書データ処理装置において、入力された文書データ
に対応付けてその書式情報をテキストメモリに設定する
文書書式設定方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document data processing apparatus such as a word processor, and more particularly to a document data format setting method for setting format information in a text memory in association with input document data.

【0002】[0002]

【従来の技術】一般に、ワードプロセッサ等において例
えば「第1章」、「第1項」等の見出し項目毎に文書デ
ータを項目分けして入力する場合、上位項目の見出しと
下位項目の見出しとの相違を強調するために本文書式と
は別に、上位項目専用の書式、下位項目専用の書式をそ
れぞれ設定するようにしている。この結果、文字の大き
さ、書体、修飾等の書式情報を見出し文書を入力する毎
に設定するようにしていた。
2. Description of the Related Art Generally, in a word processor or the like, when inputting document data itemized by heading items such as "Chapter 1" and "First item", a heading of a higher item and a heading of a lower item are input. In order to emphasize the difference, in addition to the body format, a format dedicated to upper items and a format dedicated to lower items are set. As a result, format information such as character size, typeface, and decoration is set every time a heading document is input.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、「第1
章」、「第2章」等のように上位項目の見出し(同一レ
ベルの見出し)を入力する場合でも同じ書式情報を何回
も繰り返して設定しなければならず、非常に面倒である
と共に設定ミスのおそれもあった。そこで、従来では見
出し文書の書式情報を予め登録しておき、必要に応じて
呼び出せる機能を持ったワードプロセッサも知られてい
るが、この種のものは文書作成を一時中断して「呼び出
し」という新たな作業を必要とし、作業効率の点等にお
いても満足できるものではなかった。この発明の課題
は、同一レベルの見出しを何回も繰り返して入力する場
合、最初の見出しに対応付けてその書式情報を設定して
おけば、2回目以降の同一レベルの見出しを通常通りに
入力するだけでそれに対応する書式を自動的に設定でき
るようにすることである。
[Problems to be Solved by the Invention]
Even if you enter a heading for a higher-level item (heading at the same level) such as "Chapter" or "Chapter 2", you have to set the same format information many times, which is very troublesome and difficult to set. There was a risk of mistakes. Therefore, conventionally, there is also known a word processor having a function of registering the format information of the heading document in advance and calling it as needed, but this kind of thing is temporarily interrupted the document creation and called "call". However, it was not satisfactory in terms of work efficiency. An object of the present invention is to, when inputting a heading of the same level many times, set the format information in association with the first heading and input the heading of the same level after the second time as usual. It is to be able to set the corresponding format automatically just by doing.

【0004】[0004]

【課題を解決するための手段およびその作用】この発明
の手段およびその作用は次の通りである。入力された文
書データに対応付けてその書式情報をテキストメモリに
設定する文書データ処理装置において、入力された文書
データと予め設定されている見出しパターンとを照合
し、入力された文書データが見出しパターンに該当する
見出し文書である場合に、同一パターンの見出し文書が
テキストメモリに既に入力されているか否かを判別し、
同一パターンを持った見出し文書がテキストメモリに入
力されていない場合には、今回入力された見出し文書の
書式情報を当該見出し文書に対応付けてテキストメモリ
に設定し、同一パターンの見出し文書がテキストメモリ
に既に入力されている場合には、その見出し文書に対応
する書式情報を呼び出して今回テキストメモリに入力さ
れた見出し文書の対応位置に複写設定する。なお、書式
情報とは文字サイズ、書体、修飾(例えば、影付き)等
である。したがって、同一レベルの見出しを何回も繰り
返して入力する場合、最初の見出しに対応付けてその書
式情報を設定しておけば、2回目以降の同一レベルの見
出しを通常通りに入力するだけでそれに対応する書式を
自動的に設定することができる。
Means for Solving the Problem and Its Action The means of the present invention and its action are as follows. In a document data processing device that sets the format information in a text memory in association with input document data, the input document data is collated with a preset heading pattern, and the input document data is converted into a heading pattern. If it is a heading document corresponding to, it is determined whether or not the heading document of the same pattern is already input in the text memory,
If a heading document with the same pattern is not entered in the text memory, the format information of the heading document input this time is set in the text memory in association with the heading document, and the heading document with the same pattern is set in the text memory. If it has already been input into the text memory, the format information corresponding to the heading document is called and the copy setting is made at the corresponding position of the heading document input in the text memory this time. The format information includes character size, typeface, decoration (for example, with shadow) and the like. Therefore, when you enter the same level headline many times, if you set the format information by associating it with the first headline, you can enter the same level headline after the second time as usual. The corresponding format can be set automatically.

【0005】[0005]

【実施例】以下、図1〜図6を参照して一実施例を説明
する。図1はワードプロセッサのブロック構成図であ
る。CPU1はROM2内のプログラムメモリ2−1や
RAM3内のプログラムメモリ3−1に格納されている
各種プログラムにしたがってこのワードプロセッサの全
体動作を制御する中央演算処理装置であり、その周辺デ
バイスであるキーボード4、CRT表示部5、フロッピ
ーディスク6、プリンタ7に対してその入出力動作を制
御する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment will be described below with reference to FIGS. FIG. 1 is a block diagram of a word processor. The CPU 1 is a central processing unit that controls the overall operation of the word processor according to various programs stored in the program memory 2-1 in the ROM 2 and the program memory 3-1 in the RAM 3, and a keyboard 4 which is a peripheral device thereof. , CRT display unit 5, floppy disk 6, and printer 7 to control their input / output operations.

【0006】ROM2は各種プログラムを記憶するプロ
グラムメモリ2−1、文字フォントデータを記憶する文
字フォントメモリ2−2の他、本実施例においては見出
しパターンメモリ2−3が設けられている。この見出し
パターンメモリ2−3は予め固定的に設定された見出し
パターンを記憶するもので、図2に示すように構成され
ている。即ち、見出しパターンメモリ2−3には「第+
数字」形の見出しパターンとして「第、n1(アラビア
数字)、章」、「第、n2(漢数字)、章」、「括弧+
数字」形の見出しパターンとして「(n1)」、「(n
2)」、「(n3(数字記号))」、「ハイフンで数字
を挟む」形の見出しパターンとして「n1、−、n1、
−、n1」、例えば「1−3−3」……が記憶されてい
る。その他に、例えば、「≪3≫」、「四章」「1.
3.3」等を示す見出しパターンが記憶されている。こ
の見出しパターンは入力された文書データが見出し文書
か否かを判別するために、入力された文書と見出しパタ
ーンとを照合する際に使用されるものである。
The ROM 2 is provided with a program memory 2-1 for storing various programs, a character font memory 2-2 for storing character font data, and a headline pattern memory 2-3 in this embodiment. The headline pattern memory 2-3 stores headline patterns fixedly set in advance, and is configured as shown in FIG. In other words, the headline pattern memory 2-3 has "+
As a heading pattern in the form of “number”, “No., n1 (Arabic numeral), chapter”, “No., n2 (Chinese numeral), chapter”, “bracket +
"(N1)", "(n
2) ”,“ (n3 (numerical symbol)) ”, and“ n1, −, n1,
−, N1 ”, for example,“ 1-3-3 ”... Is stored. In addition, for example, “<< 3 >>”, “four chapters”, “1.
A heading pattern indicating "3.3" or the like is stored. This headline pattern is used when the input document is compared with the headline pattern in order to determine whether or not the input document data is the headline document.

【0007】RAM3はアプリケーションプログラムを
記憶するプログラムメモリ3−1、入力された文書デー
タを記憶するテキストメモリ3−2の他、ワークメモリ
3−3を有する構成となっている。ここで、テキストメ
モリ3−2は入力された文書データをコード形式で記憶
するもので、入力された1行分のキャラクタコード(1
文字2バイト)に対応付けてその書式情報(行情報)を
記憶する。この書式情報は文書書式として文字の大きさ
(ポイント)、書体、網かけ等の修飾を定義する情報で
ある。ワークメモリ3−3は図4に示すように入力され
た文書データが「第3章」や「第1項」等の見出し文書
である場合に、その見出しパターンが格納されている見
出しパターンメモリ2−3のアドレスとテキストメモリ
3−2のアドレスとを対応付けて記憶する。
The RAM 3 has a program memory 3-1 for storing application programs, a text memory 3-2 for storing input document data, and a work memory 3-3. Here, the text memory 3-2 stores the input document data in a code format, and the character code (1
The format information (line information) is stored in association with the character (2 bytes). This format information is information that defines the character size (points), typeface, and shading as a document format. The work memory 3-3 is a heading pattern memory 2 in which the heading patterns are stored when the input document data is a heading document such as "Chapter 3" or "1st term" as shown in FIG. -3 and the address of the text memory 3-2 are stored in association with each other.

【0008】キーボード4は文書データや各種コマンド
を入力するもので、CPU1はキーボード制御部8をア
クセスしてキャラクタコードが入力されている場合には
文書作成処理を行い、RAM3内テキストメモリ3−2
に格納したり、キャラクタコードを表示データに変換し
てビデオRAM(VRAM)8に書き込む。この場合、
CRT制御部10はVRAM9から表示データを読み出
してCRT表示部5から表示出力させる。また、キーボ
ード4から文書印字指令が入力されると、CPU1はテ
キストメモリ3−2内の文書データをその書式情報と共
にプリンタ制御部11に与え、プリンタ7から設定書式
に応じた印字形態で文書データを印刷出力させる。更
に、キーボード4から文書保存指令が入力されると、C
PU1はテキストメモリ3−2の内容を読み出して外部
記憶制御部12に与え、フロッピーディスク6に登録さ
せ、あるいはフロッピーディスク6から外部記憶制御部
12を介して取り込んだ文書データをテキストメモリ3
−2にセーブしたり、アプリケーションプログラムをプ
ログラムメモリ3−1にセーブする。
The keyboard 4 is for inputting document data and various commands. The CPU 1 accesses the keyboard control unit 8 to perform document creation processing when a character code is input, and the text memory 3-2 in the RAM 3 is executed.
Or the character code is converted into display data and written in the video RAM (VRAM) 8. in this case,
The CRT control unit 10 reads display data from the VRAM 9 and causes the CRT display unit 5 to display and output the display data. When a document print command is input from the keyboard 4, the CPU 1 gives the document data in the text memory 3-2 to the printer control unit 11 together with the format information, and the printer 7 prints the document data in a print form according to the set format. Is printed out. Furthermore, when a document save command is input from the keyboard 4, C
The PU 1 reads the content of the text memory 3-2 and gives it to the external storage control unit 12 to register it in the floppy disk 6 or to retrieve the document data fetched from the floppy disk 6 via the external storage control unit 12 into the text memory 3
-2 or save the application program in the program memory 3-1.

【0009】次に、本実施例の動作を図5および図6を
参照して説明する。図5は文書作成処理を示したフロー
チャートである。先ず、キーボード4から通常のキー操
作手順にしたがって文書データが入力されていると、C
PU1は入力された文書データを表示出力させたり、テ
キストメモリ3−2に格納する通常のテキスト入力処理
を行う(ステップS1)。このテキスト入力処理は、1
行分のデータ入力が終り、改行キーが操作されたことが
ステップS2で検出されるまで繰り返される。いま、改
行キーが操作されると、ステップS3に進み、見出しパ
ターン照合処理が行われる。
Next, the operation of this embodiment will be described with reference to FIGS. FIG. 5 is a flowchart showing the document creation process. First, when document data is input from the keyboard 4 according to a normal key operation procedure, C
The PU 1 displays the input document data and outputs it, and performs a normal text input process of storing it in the text memory 3-2 (step S1). This text input process is 1
The data input for the lines is completed, and the operation of the line feed key is repeated until it is detected in step S2. Now, when the line feed key is operated, the process proceeds to step S3, and the headline pattern matching process is performed.

【0010】この見出しパターン照合処理は、入力され
た文書データと見出しパターンメモリ2−3の内容とを
照合することによって入力された文書データの全部また
は一部に見出しパターンに該当する文書が含まれている
か否か、つまり、入力された文書データは見出し文書か
否かの判別を行う。この場合、入力された文書データの
先頭文字から1文字ずつ見出しパターンメモリ2−3の
内容と照合する。いま、図6に示すように1行目の文書
には「第3章」が含まれているので、見出しパターンメ
モリ2−3内の見出しパターン「第、n1、章」に該当
する見出し文書であることがステップS4で判別され
る。なお、ステップS4で見出し行の文書でないことが
判別されると、ステップS8に進み、本文テキストの書
式として予め設定されている書式情報をその文書データ
に対応付けてテキストメモリ3−2に設定したのち、ス
テップS1に戻る。このように見出し文書ではない通常
の文書が入力された場合には、本文テキストの書式情報
がその行末部分に続けてテキストメモリ3−2に設定さ
れる。
In this headline pattern matching process, the document corresponding to the headline pattern is included in all or part of the input document data by matching the input document data with the contents of the headline pattern memory 2-3. Whether the input document data is a headline document or not is determined. In this case, the contents of the headline pattern memory 2-3 are checked character by character from the first character of the input document data. Now, as shown in FIG. 6, since the document on the first line includes "Chapter 3", it is a header document corresponding to the header pattern "th, n1, chapter" in the header pattern memory 2-3. It is determined in step S4 that there is. If it is determined in step S4 that the document is not the header line document, the process proceeds to step S8, and the format information preset as the body text format is set in the text memory 3-2 in association with the document data. After that, the process returns to step S1. When a normal document other than the headline document is input in this way, the format information of the body text is set in the text memory 3-2 following the end of the line.

【0011】一方、図6の1行目に示すように、行頭部
分に「第3章」を含む見出し行が入力された場合に
は、この見出しに該当する見出しパターン(具体的には
見出しパターンメモリ2−3のアドレス)がワークメモ
リ3−3に既に登録済かをチェックする(ステップS
5)。ここで、ワークメモリ3−3は同一パターンの重
複登録を避けるために、新たな見出しパターンであるこ
とが認識された場合に限りそのパターンが格納されてい
る見出しパターンメモリ2−3のアドレスとその文書の
格納を示すテキストアドレスとを対応付けて記憶するも
ので、最初の1行目入力時には何も格納されていない。
したがって、1行目入力時には、通常と同様にその見出
し行の書式として入力された書式情報をその見出し文書
に対応付けてテキストメモリ3−2に設定する(ステッ
プS9)。この場合、図6の1行目の見出し行の書式
情報として(文字の大きさ=20ポイント、書体=ゴシ
ック体、修飾=影付き)を定義する書式が設定されたも
のとする。次に、その文書の見出しパターンが格納され
ている見出しパターンメモリ2−3のアドレスとその文
書の格納位置を示すテキストメモリ3−2のアドレスと
を対応付けてワークメモリ3−3に登録する(ステップ
S10)。
On the other hand, as shown in the first line of FIG. 6, when a heading line including "Chapter 3" is input at the beginning of the line, a heading pattern (specifically, heading pattern) corresponding to this heading is input. It is checked whether the address of the memory 2-3) has already been registered in the work memory 3-3 (step S
5). Here, in order to avoid duplicate registration of the same pattern, the work memory 3-3 stores the address and the address of the heading pattern memory 2-3 in which the pattern is stored only when it is recognized as a new heading pattern. It is stored in association with the text address indicating the storage of the document, and nothing is stored when the first line is input.
Therefore, when inputting the first line, the format information input as the format of the heading line is set in the text memory 3-2 in association with the heading document in the same manner as usual (step S9). In this case, it is assumed that a format for defining (character size = 20 points, typeface = Gothic style, decoration = shaded) is set as the format information of the first heading line in FIG. Next, the address of the headline pattern memory 2-3 in which the headline pattern of the document is stored and the address of the text memory 3-2 indicating the storage position of the document are associated and registered in the work memory 3-3 ( Step S10).

【0012】次に、図6に示す見出し行を入力すると
共に、その書式情報として(文字の大きさ=12ポイン
ト、書体=明朝、修飾=強調)を入力したものとする。
この場合、その行頭部分の「3−1.」によって見出し
行であることが見出しパターン照合処理の結果、判別さ
れるが、この見出しパターンはワークメモリ3−3内に
登録されている見出し行のパターンと相違するため、
上述の場合と同様に、入力された書式情報をテキストメ
モリ3−2に設定すると共に(ステップS9)、ワーク
メモリ3−3にその見出しパターンアドレスとテキスト
アドレスとを新規登録する(ステップS10)。ここ
で、図6に示すように見出し行の次に本文テキストを
入力したものとすると、上述したようにテキストメモリ
3−2にはその文書データに対応付けて本文テキスト書
式情報が設定されることは通常の文書入力の場合と同様
である。
Next, it is assumed that the heading line shown in FIG. 6 is input, and the format information (character size = 12 points, typeface = Mincho, decoration = emphasized) is also input.
In this case, as a result of the heading pattern matching process, the heading line is identified as "heading line" by "3-1." At the beginning of the line, but this heading pattern corresponds to the heading line registered in the work memory 3-3. Because it differs from the pattern,
As in the case described above, the input format information is set in the text memory 3-2 (step S9), and the heading pattern address and text address are newly registered in the work memory 3-3 (step S10). Here, if the body text is input after the heading line as shown in FIG. 6, the body text format information is set in the text memory 3-2 in association with the document data as described above. Is similar to the case of normal document input.

【0013】次に、図6に示す見出し行を入力したも
のとする。この見出し行は既に入力した見出し行と
同一パターンであるので、ステップS5でそのことが検
出されてステップS6に進み、ワークメモリ3−3内に
登録されている同一パターンのアドレスを検索し、この
見出しパターンアドレスに対応するテキストアドレスを
ワークメモリ3−3から読み出す。次に、このアドレス
にしたがってテキストメモリ3−2をアドレス指定し、
その指定領域内に設定されている書式情報を今回入力し
たテキストメモリ3−2内の対応位置に複写して設定す
る(ステップS7)。したがって、見出し行に対応し
てテキストメモリ3−2には見出し行に設定した書式
情報(文字の大きさ=12ポイント、書体=明朝、修飾
=強調)が自動設定されることになる。
Next, it is assumed that the heading line shown in FIG. 6 has been input. Since this heading line has the same pattern as the heading line that has already been input, this is detected in step S5 and the process proceeds to step S6 to search for the address of the same pattern registered in the work memory 3-3. The text address corresponding to the headline pattern address is read from the work memory 3-3. Then address the text memory 3-2 according to this address,
The format information set in the designated area is copied and set in the corresponding position in the text memory 3-2 input this time (step S7). Therefore, the format information (character size = 12 points, typeface = Mincho, decoration = emphasis) set in the headline is automatically set in the text memory 3-2 corresponding to the headline.

【0014】このようにして入力作成されたテキストメ
モリ3−2の内容を印字出力させると、テキストメモリ
3−2内に行単位毎に設定された書式情報にしたがって
文書印刷が行われ、図6に示すような文書が得られる。
この場合、見出し行は文字の大きさ=20ポイント、
書体=ゴシック体、修飾=影付きで印刷され、また、見
出し行およびは文字の大きさ=12ポイント、書体
=明朝、修飾=強調で印刷される。
When the contents of the text memory 3-2 input and created in this way are printed out, the document is printed according to the format information set for each line in the text memory 3-2. The document shown in is obtained.
In this case, the heading line has a character size of 20 points,
It is printed with typeface = Gothic type, decoration = shadowed, headline and character size = 12 points, typeface = Mincho, decoration = emphasized.

【0015】以上のように本実施例においては入力され
た文書データと予め見出しパターンメモリ2−3内に固
定的に設定されている見出しパターンとを照合し、入力
された文書データが見出しパターンに該当する見出し文
書である場合に、同一パターンの見出し文書がテキスト
メモリ3−2に既に入力されているかをワークメモリ3
−3の登録内容を参照することによって判別し、同一パ
ターンの見出し文書がテキストメモリ3−2に既に入力
されている場合には、その見出し文書に対応する書式情
報を呼び出して今回テキストメモリ3−2に入力された
見出し文書の対応付け位置に複写して設定するようにし
たから、同一パターンの見出し文書を繰り返し入力する
場合に、2回目以降からは見出し文書のみを通常通り入
力するだけでその書式情報の設定が自動的に行われる。
また、見出し文書の書式設定後において、通常の文書
(本文テキスト)が入力された場合には、本文テキスト
の書式情報が設定される状態に戻る。また、見出しパタ
ーン等を自動認識するか、キーで書式情報を指定するか
を選択する選択キーがキーボード4には設けられてお
り、選択キーの操作以降に入力された文書データに見出
しがあっても自動的に書式を設定することはなくなる。
As described above, in the present embodiment, the input document data is collated with the heading pattern fixedly set in the heading pattern memory 2-3 in advance, and the input document data becomes the heading pattern. If the heading document is a corresponding heading document, it is determined whether the heading document having the same pattern is already input to the text memory 3-2.
If the headline document of the same pattern is already input in the text memory 3-2, the format information corresponding to the headline document is called and the current text memory 3- Since the setting is made by copying to the corresponding position of the heading document input in 2, when the heading document having the same pattern is repeatedly input, only the heading document is input as usual from the second time and thereafter. Format information is set automatically.
In addition, after the heading document is formatted, if a normal document (body text) is input, the state returns to the state in which the body text format information is set. Further, the keyboard 4 is provided with a selection key for selecting whether to automatically recognize a heading pattern or the like or to specify format information with the key, and the document data input after the operation of the selection key has a heading. Will no longer automatically format it.

【0016】なお、上記実施例は見出しパターンメモリ
2−3の内容を予め固定的に設定したが、見出しパター
ンをRAM3内に設け、ユーザが任意に見出しパターン
を登録することができるようにしてもよい。また、上記
実施例は同一の見出しパターンを認識するためにワーク
メモリ3−3を設けたが、必ずしもワークメモリ3−3
を必要とするものではなく、テキストメモリ3−2の内
容から直接的に同一パターンの見出し文書かを認識する
ようにしてもよい。
Although the contents of the headline pattern memory 2-3 are fixedly set in advance in the above embodiment, the headline pattern is provided in the RAM 3 so that the user can arbitrarily register the headline pattern. Good. Further, although the working memory 3-3 is provided in order to recognize the same heading pattern in the above embodiment, the working memory 3-3 is not always necessary.
Need not be used, but it may be possible to directly recognize from the contents of the text memory 3-2 whether the heading document has the same pattern.

【0017】[0017]

【発明の効果】この発明によれば、同一レベルの見出し
を何回も繰り返して入力する場合、最初の見出しに対応
付けてその書式情報を設定しておけば、2回目以降の同
一レベルの見出しを通常通りに入力するだけでそれに対
応する書式を自動的に設定することができるので、書式
設定作業が簡単化され、文書作成を効率良く行うことが
できる。
According to the present invention, when a headline of the same level is repeatedly input, if the format information is set in association with the first headline, the headline of the same level after the second headline is set. Since the corresponding format can be automatically set only by inputting as usual, the format work can be simplified and the document can be efficiently created.

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

【図1】一実施例に係るワードプロセッサのブロック構
成図。
FIG. 1 is a block configuration diagram of a word processor according to an embodiment.

【図2】ROM2内に設けられた見出しパターンメモリ
2−3の内容を具体的に示した図。
FIG. 2 is a diagram specifically showing the contents of a heading pattern memory 2-3 provided in a ROM 2.

【図3】テキストメモリ3−2に格納されるデータ内容
を説明するための図。
FIG. 3 is a diagram for explaining data contents stored in a text memory 3-2.

【図4】ワークメモリ3−3の内容を示した図。FIG. 4 is a diagram showing the contents of a work memory 3-3.

【図5】文書作成処理を示したフローチャート。FIG. 5 is a flowchart showing a document creation process.

【図6】入力作成された文書例を示した図。FIG. 6 is a diagram showing an example of a document created by inputting.

【符号の説明】[Explanation of symbols]

1 CPU 2 ROM 2−1、3−1 プログラムメモリ 2−3 見出しパターンメモリ 3 RAM 3−2 テキストメモリ 3−3 ワークメモリ 4 キーボード 1 CPU 2 ROM 2-1, 3-1 Program memory 2-3 Heading pattern memory 3 RAM 3-2 Text memory 3-3 Work memory 4 Keyboard

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 9288−5L G06F 15/20 550 F ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification number Office reference number FI technical display location 9288-5L G06F 15/20 550F

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】入力された文書データに対応付けてその書
式情報をテキストメモリに設定する文書データ処理装置
において、 入力された文書データと予め設定されている見出しパタ
ーンとを照合し、 入力された文書データが見出しパターンに該当する見出
し文書である場合に、同一パターンの見出し文書がテキ
ストメモリに既に入力されているか否かを判別し、 同一パターンを持った見出し文書がテキストメモリに入
力されていない場合には、今回入力された見出し文書の
書式情報を当該見出し文書に対応付けてテキストメモリ
に設定し、 同一パターンの見出し文書がテキストメモリに既に入力
されている場合には、その見出し文書に対応する書式情
報を呼び出して今回テキストメモリに入力された見出し
文書の対応位置に複写設定するようにしたことを特徴と
する文書書式設定方法。
1. A document data processing apparatus which sets the format information in a text memory in association with input document data, compares the input document data with a preset heading pattern, and inputs the data. When the document data is a heading document corresponding to the heading pattern, it is determined whether or not the heading document with the same pattern is already input in the text memory, and the heading document with the same pattern is not input in the text memory. In this case, the format information of the heading document input this time is set in the text memory in association with the heading document. If the heading document of the same pattern is already input in the text memory, the heading document is supported. Call the format information to copy and set the copy to the corresponding position of the heading document input in the text memory this time. A document formatting method characterized in that.
JP5354268A 1993-12-30 1993-12-30 Document formatting method Pending JPH07200562A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5354268A JPH07200562A (en) 1993-12-30 1993-12-30 Document formatting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5354268A JPH07200562A (en) 1993-12-30 1993-12-30 Document formatting method

Publications (1)

Publication Number Publication Date
JPH07200562A true JPH07200562A (en) 1995-08-04

Family

ID=18436407

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5354268A Pending JPH07200562A (en) 1993-12-30 1993-12-30 Document formatting method

Country Status (1)

Country Link
JP (1) JPH07200562A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112861470A (en) * 2020-05-09 2021-05-28 珠海金山办公软件有限公司 Method, device, equipment and storage medium for setting official document title format

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112861470A (en) * 2020-05-09 2021-05-28 珠海金山办公软件有限公司 Method, device, equipment and storage medium for setting official document title format

Similar Documents

Publication Publication Date Title
US4608662A (en) Method for editing document
EP0094517B1 (en) Footnote assembly management
US5878198A (en) Information processing apparatus and method and memory medium storing information processing program
JPS63618A (en) word processor
JPS646470B2 (en)
JPS6019227A (en) Document processing method
EP0094546B1 (en) Footnote management for display and printing
JPH07200562A (en) Document formatting method
JP3187032B2 (en) Address data processing apparatus and address data processing method in document processing apparatus
EP0094516B1 (en) Footnote formatting
JPS605470B2 (en) typesetting system
JPH01223530A (en) Print processing device
JPH08174951A (en) Information processing apparatus and information processing method
JP2995975B2 (en) Document processing device
JP3056850B2 (en) Document creation device with graph creation function
JPH03263258A (en) Document edit supporting device
JPH0944580A (en) Record creation method
JPH0216671A (en) Document preparation supporting device
JPH02301862A (en) Document preparing device
JPH07271790A (en) Document processor
JPH0512267A (en) Automatic paragraphing system
JPH06290175A (en) Document processor
JPH0816557A (en) Data processing device
JPH07325798A (en) Document creation device
JPH07230453A (en) Document processing apparatus and document processing method