JPH03266070A - Automatic sample processing system for supporting document preparation - Google Patents

Automatic sample processing system for supporting document preparation

Info

Publication number
JPH03266070A
JPH03266070A JP2066146A JP6614690A JPH03266070A JP H03266070 A JPH03266070 A JP H03266070A JP 2066146 A JP2066146 A JP 2066146A JP 6614690 A JP6614690 A JP 6614690A JP H03266070 A JPH03266070 A JP H03266070A
Authority
JP
Japan
Prior art keywords
document
format information
input
numbering
format
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2066146A
Other languages
Japanese (ja)
Other versions
JP2986505B2 (en
Inventor
Hiroshi Morohoshi
諸星 博司
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2066146A priority Critical patent/JP2986505B2/en
Publication of JPH03266070A publication Critical patent/JPH03266070A/en
Application granted granted Critical
Publication of JP2986505B2 publication Critical patent/JP2986505B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To set a number in a desired form by arbitrarily defining the set form of the number from an input/output device by a user. CONSTITUTION:A format information input/analysis processing part 16 inputs the format information of the number designated by the user from the format information input picture of an input/output device 18 and analyzes a variable part and a fixed character part in format information. A document input/ analysis processing part 14 reads the text of an input document 11 to be the object of automatic sampling, analyzes the text and extracts a spot to be sampled such as a part, chapter, clause, diagram number of list number, etc. A sampling processing part 15 samples the variable part in the format information to each extracted sampling spot, and a document edition/output part 17 integrates the sampled result into the document corresponding to the format information and outputs the result to an output document 12. Thus, the number such as the chapter number or the diagram number, etc., in the document is automatically set in the desired form for the user.

Description

【発明の詳細な説明】 〔概要〕 文書を作成する際に9章番号や図番などの一連の通し番
号を自動設定する文書作成支援における自動採番処理方
式に関し。
[Detailed Description of the Invention] [Summary] This invention relates to an automatic numbering processing method in document creation support that automatically sets a series of serial numbers such as chapter 9 numbers and figure numbers when creating a document.

利用者の望む形式により1文書中の章番号や図番などの
番号の自動設定ができるようにすることを目的とし。
The purpose is to enable automatic setting of chapter numbers, figure numbers, etc. in a document according to the user's desired format.

利用者が指定した番号の書式情報を入力し、書式情報に
おける変数部と固定文字部とを解析する書式情報入力/
解析処理部と、自動採番の対象となる文書を入力し、採
番箇所を抽出する文書入力/解析処理部と、各採番箇所
に対し、書式情報における変数部の採番を行う採番処理
部と、書式情報に応じた採番結果を文書中に埋め込み、
出力する文書編集/出力処理部とを備え、指定された任
意の形式により番号の自動設定を行うように構成する。
Format information input/ that inputs the format information of the number specified by the user and analyzes the variable part and fixed character part in the format information.
An analysis processing unit, a document input/analysis processing unit that inputs a document to be automatically numbered and extracts numbering locations, and a numbering unit that assigns numbers to variable sections in format information for each numbering location. embeds the processing part and the numbering results according to the format information in the document,
It includes a document editing/output processing unit for outputting, and is configured to automatically set numbers in a specified arbitrary format.

〔産業上の利用分野〕[Industrial application field]

本発明は2文書を作成する際に2章番号や図番などの一
連の通し番号を自動設定する文書作成支援における自動
採番処理方式に関する。
The present invention relates to an automatic numbering processing method in document creation support that automatically sets a series of serial numbers such as chapter numbers and figure numbers when creating two documents.

文書処理作業の効率化・高度化のために1文書を作成す
る際の単純作業については、より容品な操作で自由度の
高い処理ができるようにすることが要求されている。こ
のため1章番号や図番などを設定するような単純作業は
、自動化が試みられているが、形式などについて自由度
を持たせることも必要とされている。
In order to improve the efficiency and sophistication of document processing operations, there is a need to be able to perform simple tasks such as creating a single document with a higher degree of freedom with more elegant operations. For this reason, attempts have been made to automate simple tasks such as setting chapter numbers and figure numbers, but it is also necessary to provide a degree of freedom in terms of format, etc.

〔従来の技術〕[Conventional technology]

第4図は従来技術の例を示す。 FIG. 4 shows an example of the prior art.

計算機を利用して文書を作成する際に、一連の章番号や
図番などの設定が必要になる。この設定を手入力で行う
のは1時間がかかり、また入力ミスなども生じやすい、
特に9章や節の挿入/削除。
When creating a document using a computer, it is necessary to set a series of chapter numbers, figure numbers, etc. Entering this setting manually takes an hour and is prone to input errors.
In particular, the insertion/deletion of chapter 9 and sections.

図や表の挿入/削除を行ったときには、後続の番号をす
べて変更する必要があるので、その操作は煩雑である。
When inserting/deleting a figure or table, all subsequent numbers must be changed, which is a complicated operation.

そこで、従来、ある決められた形式で作成された文書中
の番号挿入箇所に対して、自動採番する設定機能が提供
されている。
Therefore, conventionally, a setting function has been provided that automatically assigns numbers to the number insertion locations in a document created in a certain predetermined format.

例えば、第4図(イ)に示すような入力文書11に対し
て、自動採番の指示が出されると1章や節の位置を検出
して、出力文書12のように1章番号や節番号部分を、
昇順の数字に置き換え、その編集結果を出力する。
For example, when an instruction for automatic numbering is issued for an input document 11 as shown in FIG. the number part,
Replace it with numbers in ascending order and output the edited result.

第4図(イ)では、入力文書中の「x」の部分を 番号
に置き換えているが、この番号の形式については、シス
テムのプログラムがいくつかの形式を固定的に用意して
おり1例えば第4図(ロ)に示すような書式項目選択画
面40により、利用者が選択するようになっている。
In Figure 4 (a), the "x" part in the input document is replaced with a number, but the system program has fixedly prepared several formats for this number. The user makes a selection using a format item selection screen 40 as shown in FIG. 4(b).

書式項目選択画面40において1章番号として「n」を
選択すると1章番号は、1,2.3.・・・と付与され
る。「第n章」を選択すると、章番号は、第1章、第2
章、第3章というように付与される0節番号1図番号、
また図示省略した表番号なども同様である。
When "n" is selected as the first chapter number on the format item selection screen 40, the first chapter number will be 1, 2, 3, etc. ...is given. If you select "Chapter n", the chapter numbers will be Chapter 1, Chapter 2.
0 section number 1 figure number given as chapter, chapter 3, etc.
The same applies to table numbers, etc., which are omitted from the drawings.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

第4図に示した従来の番号の自動設定では、利用者が番
号の形式を指定できないため、あらかじめプログラムに
定義された固定的な形式でしか番号の設定ができなかっ
た。
In the conventional automatic number setting shown in FIG. 4, the user cannot specify the number format, so the number can only be set in a fixed format predefined in the program.

しかし、特定の書式を持っている文書の性格により、シ
ステムが用意している形式では不十分なことがあり、こ
のような場合には、自動設定をした後に1人間が一つず
つ修正していくか、または自動設定機能を使用しないで
、初めから必要な書式で人間が採番し、入力しなければ
ならなかった。
However, depending on the nature of the document that has a specific format, the format provided by the system may not be sufficient. The numbers had to be manually assigned and entered in the required format from the beginning, or without using the automatic setting function.

そのため2本来無駄な単純作業が必要になり、採番ミス
も生じやすいという問題があった。
Therefore, there was a problem in that two simple operations were required which were originally wasteful, and numbering errors were likely to occur.

本発明は上記問題点の解決を図り、利用者の望む形式に
より1文書中の章番号や図番などの番号を自動設定でき
るようにすることを目的としてい〔課題を解決するため
の手段〕 第1図は本発明の構成例を示す。
The present invention aims to solve the above problems, and aims to enable automatic setting of chapter numbers, figure numbers, etc. in one document according to the format desired by the user. [Means for Solving the Problems] FIG. 1 shows an example of the configuration of the present invention.

第1図において、10は文書が格納された文書ファイル
511は入力文書、12は出力文書、13はCPUおよ
びメモリなどからなる処理装置。
In FIG. 1, reference numeral 10 denotes a document file 511 in which a document is stored, an input document, 12 an output document, and 13 a processing device comprising a CPU, memory, and the like.

14は文書入力/解析処理部、15は採番処理部16は
書式情報入力/解析処理部、17は文書編集/出力処理
部、18はデイスプレィ/キーボードなどの入出力装置
を表す。
14 is a document input/analysis processing section, 15 is a numbering processing section 16 is a format information input/analysis processing section, 17 is a document editing/output processing section, and 18 is an input/output device such as a display/keyboard.

書式情報入力/解析処理部16は、入出力装置18の書
式情報入力画面から、利用者が指定した番号の書式情報
を入力し、書式情報における変数部と固定文字部とを解
析する。
The format information input/analysis processing unit 16 inputs the format information of the number specified by the user from the format information input screen of the input/output device 18, and analyzes the variable part and fixed character part in the format information.

文書入力/解析処理部14は、自動採番の対象となる入
力文書11のテキストを読み、それを解析して1部1章
2節または図番や表番などの採番箇所を抽出する。
The document input/analysis processing unit 14 reads the text of the input document 11 to be automatically numbered, analyzes it, and extracts numbering locations such as 1 part 1 chapter 2 or figure numbers and table numbers.

採番処理部15は2文書入力/解析処理部14が抽出し
た各採番箇所に対し、書式情報における変数部の採番を
行う。
The numbering processing unit 15 performs numbering of the variable part in the format information for each numbering location extracted by the two-document input/analysis processing unit 14.

文書編集/出力処理部17は、採番処理部15による書
式情報に応じた採番結果を文書中に埋め込み、結果を出
力文書12に出力する。
The document editing/output processing section 17 embeds the numbering result according to the format information by the numbering processing section 15 into the document, and outputs the result to the output document 12.

〔作用〕[Effect]

従来技術では1番号の設定形式があらかじめ決められた
範囲内でしか選択できないのに対し2本発明では、利用
者が番号の設定形式を、入出力装置1Bから任意に定義
することができ、その利用者の指定した形式に従って、
自動設定が行われる。
In the prior art, the number setting format can only be selected within a predetermined range.However, in the present invention, the user can arbitrarily define the number setting format from the input/output device 1B. According to the format specified by the user,
Automatic configuration is performed.

〔実施例〕〔Example〕

第2図は本発明の一実施例処理フロー、第3図は本発明
の一実施例による利用者の指定例を示す。
FIG. 2 shows a processing flow according to an embodiment of the present invention, and FIG. 3 shows an example of user specification according to an embodiment of the present invention.

自由形式の自動採番要求に対し2例えば第2図に示すよ
うに処理する。以下の説明における■〜■は、第2図に
示す処理■〜■に対応する。
A free format automatic numbering request is processed as shown in FIG. 2, for example. ■ to ■ in the following description correspond to processes ■ to ■ shown in FIG.

■ 書式情報入力画面をデイスプレィに表示する。■ Display the format information input screen on the display.

■ 利用者が指定した書式情報、すなわち番号の設定形
式を入力する。
■ Input the format information specified by the user, that is, the number setting format.

■ 入力した書式情報を解析し、変数部と固定文字部を
U2議する。変数部は、変数の種別に従って決められた
文字で定義され、その特定の文字以外の部分は、固定文
字部とみなす。
■ Analyze the input format information and discuss the variable part and fixed character part in U2. The variable part is defined by characters determined according to the type of variable, and the part other than those specific characters is considered to be a fixed character part.

■ 自動採番の対象となる文書をルコードずつ入力し2
文書作成時に特定の文字列または制御コードが付与され
た採番箇所を抽出する。または、書式情報で指定された
固定文字部のパターンが記入されていたときに、その部
分を採番箇所と認識するようにしてもよい。
■ Enter the documents to be automatically numbered one code at a time.
Extract numbering locations to which specific character strings or control codes are assigned during document creation. Alternatively, when a fixed character pattern specified by the format information is written, that part may be recognized as a numbering part.

■ アラビア数字、漢数字、ローマ数字、アルファベッ
トなどの変数部の種類に応じて、初期値の番号から昇順
に採番する。
■ Numbers are assigned in ascending order from the initial value number according to the type of variable part such as Arabic numerals, Chinese numerals, Roman numerals, alphabets, etc.

■ 採番した変数部と固定文字部とを組み合わせ。■ Combine the numbered variable part and fixed character part.

文書の該当箇所の文字コード列と置き換える編集を行う
Edit to replace the character code string in the relevant part of the document.

■ &I集した文書テキストを、テキストバッファまた
は文書ファイルに出力する。
■ Output the collected document text to a text buffer or document file.

■ 文書の終わりになったかどうかを判定し。■ Determine whether you have reached the end of the document.

終わりでない場合には、処理■へ戻り1同様に処理を繰
り返す、終わりになったならば3文書ファイルのクロー
ズなどの後処理を行い、自動採番処理を終了する。
If it is not the end, return to process ① and repeat the process in the same way as in 1. If it is the end, perform post-processing such as closing the 3-document file, and end the automatic numbering process.

端末からの利用者の書式の指定は2例えば第3図(イ)
に示すような書式情報入力画面の入力域20に、変数部
と固定文字部とを組み合わせた文字列を入力することに
より行う、なお1項目−覧の書式情報入力画面ではなく
、「章=」、「節=」、・・・というようなプロンプト
表示に従って。
For example, the user can specify the format from the terminal as shown in Figure 3 (a).
This is done by entering a character string that is a combination of a variable part and a fixed character part in the input area 20 of a format information input screen as shown in Figure 2. Note that this is done by entering a character string that combines a variable part and a fixed character part. , "section =", etc., as prompted.

設定形式を入力するようにしてもよい。The setting format may also be input.

本実施例では、利用者が指定した書式において。In this embodiment, in the format specified by the user.

変数部を次のように認識する。The variable part is recognized as follows.

n、m・・・・・・算用数字 ・・・・・・漢数字 ■  ・・・・・・ローマ数字(大文字)1  ・・・
・・・ローマ数字(小文字)A  ・・・・・・アルフ
ァベット(大文字)a  ・・・・・・アルファベット
(小文字)■  ・・・・・・丸付き数字 なお、これは−例であり9例えば変数部に特定の記号「
X」を割り当て、この変数の種類を別に指定するように
してもよい。
n, m... Arithmetic numbers... Chinese numerals ■... Roman numerals (capital letters) 1...
・・・Roman numeral (lower case) A ・・・・・・Alphabet (upper case) a ・・・・・・Alphabet (lower case) ■ ・・・・・・Numbers with circles Please note that this is an example.9 For example A specific symbol “
It is also possible to assign "X" and specify the type of this variable separately.

例えば、第3図(ロ)に示すように利用者が指定した場
合1章は次のように設定される。
For example, if the user specifies as shown in FIG. 3 (b), chapter 1 will be set as follows.

!章、■章、■章、■章、・・・・・・節は次のように
設定される。
! Chapter, ■Chapter, ■Chapter, ■Chapter, . . . Sections are set as follows.

a節、b節、C節、d節、・・・・・・図は次のように
設定される。
Section a, section b, section C, section d, etc. The diagram is set as follows.

図1.11図1.2.・・・2図2.11図2.2.・
・・また、第3図(ハ)に示すように利用者が指定した
場合1章は次のように設定される。
Figure 1.11Figure 1.2. ...2 Figure 2.11 Figure 2.2.・
...Furthermore, as shown in FIG. 3 (c), if the user specifies, chapter 1 is set as follows.

011022口31口4.・・・・・・節は次のように
設定される。
011022 31 4. ...The clause is set as follows.

−1−−2−−3−・・・・・・ 図は次のように設定される。-1--2-3-... The diagram is set up as follows.

図1−A1図1−B、・・・2図2−A1図2−B、・
・・以上のように、利用者が定義して設定した書式情報
が2文書内で使用される番号に反映される。
Figure 1-A1 Figure 1-B,...2 Figure 2-A1 Figure 2-B,...
...As described above, the format information defined and set by the user is reflected in the numbers used within the two documents.

表置や他の番号についても同様に採番することができる
、上述の実施例では、書式情報について。
In the above-mentioned embodiment, format information can be assigned in the same way for display and other numbers.

端末から対話形式で入力しているが2代わりに。I am inputting it interactively from the terminal, but instead of 2.

あらかじめ文書として作成した書式の定義データを利用
してもよく、またテーブルデータ等の他のデータ形式で
扱うようにしてもよい。
Definition data in a format created in advance as a document may be used, or other data formats such as table data may be used.

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

以上説明したように1本発明によれば2番号の書式情報
を利用者が指定可能になるため、利用者の望む形式で番
号設定を行うことができるようになる。したがって2文
書の性格に合致した番号の設定された文書を容品に作成
することができ1文書の品質および生産性の向上に寄与
するところが大きい。
As explained above, 1. According to the present invention, 2. the user can specify the format information of the number, so the number can be set in the format desired by the user. Therefore, it is possible to create a document with numbers that match the characteristics of the two documents, which greatly contributes to improving the quality and productivity of one document.

第4図は従来技術の例を示す。FIG. 4 shows an example of the prior art.

図中、10は文書ファイル、11は入力文書。In the figure, 10 is a document file, and 11 is an input document.

12は出力文書、13は処理装置、14は文書入力/解
析処理部、15は採番処理部516は書式情報入力/M
解析理部、17は文書編集/出力処理部、18は入出力
装置を表す。
12 is an output document, 13 is a processing device, 14 is a document input/analysis processing section, 15 is a numbering processing section 516 is a format information input/M
An analysis department, 17 a document editing/output processing section, and 18 an input/output device.

Claims (1)

【特許請求の範囲】 文書内の部、章、節、図または表に対する番号の自動設
定機能を有する文書作成支援システムにおいて、 利用者が指定した番号の書式情報を入力し、書式情報に
おける変数部と固定文字部とを解析する書式情報入力/
解析処理部(16)と、 自動採番の対象となる文書を入力し、採番箇所を抽出す
る文書入力/解析処理部(14)と、各採番箇所に対し
、書式情報における変数部の採番を行う採番処理部(1
5)と、 書式情報に応じた採番結果を文書中に埋め込み、出力す
る文書編集/出力処理部(17)とを備え、指定された
任意の形式により番号の自動設定を行うようにしたこと
を特徴とする文書作成支援における自動採番処理方式。
[Claims] In a document creation support system having a function of automatically setting numbers for parts, chapters, sections, figures, or tables in a document, format information of a number specified by a user is input, and a variable section in the format information is provided. Format information input to parse and fixed character part/
an analysis processing unit (16); a document input/analysis processing unit (14) that inputs a document to be automatically numbered and extracts numbering locations; Numbering processing unit (1) that performs numbering
5), and a document editing/output processing unit (17) that embeds and outputs the numbering result in the document according to the format information, and automatically sets the number according to any specified format. An automatic numbering processing method for document creation support featuring the following.
JP2066146A 1990-03-16 1990-03-16 Automatic numbering method for document creation support Expired - Fee Related JP2986505B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2066146A JP2986505B2 (en) 1990-03-16 1990-03-16 Automatic numbering method for document creation support

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2066146A JP2986505B2 (en) 1990-03-16 1990-03-16 Automatic numbering method for document creation support

Publications (2)

Publication Number Publication Date
JPH03266070A true JPH03266070A (en) 1991-11-27
JP2986505B2 JP2986505B2 (en) 1999-12-06

Family

ID=13307435

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2066146A Expired - Fee Related JP2986505B2 (en) 1990-03-16 1990-03-16 Automatic numbering method for document creation support

Country Status (1)

Country Link
JP (1) JP2986505B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH096770A (en) * 1995-06-20 1997-01-10 Ee I Sofuto Kk Document editing device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH096770A (en) * 1995-06-20 1997-01-10 Ee I Sofuto Kk Document editing device

Also Published As

Publication number Publication date
JP2986505B2 (en) 1999-12-06

Similar Documents

Publication Publication Date Title
JP3425408B2 (en) Document reading device
US20030103082A1 (en) System and method for selecting and deselecting information in an electronic document
US7251667B2 (en) Unicode input method editor
JPS60164863A (en) Word processor
JPH03266070A (en) Automatic sample processing system for supporting document preparation
JPH10162098A (en) Document electrolyzing device and method therefor
JP3071703B2 (en) Table creation apparatus and method
JPS61228572A (en) Document producing and editing device
JPH01205265A (en) Document shaping device
JP3470930B2 (en) Natural language analysis method and device
WO2024014355A1 (en) Control program editing device, editing method, and program
JPH0760363B2 (en) Method for automatically creating user-defined commands
JPH11203279A (en) Kana-kanji conversion device and method and storage medium
JPS6389979A (en) Converting and processing system for logic diagram summarized description
JPH0793329A (en) Document processor and allocating method for document
JPH04158469A (en) Document preparing device
JPH05151195A (en) Kanji input device
Sprunger WordPerfect 5.0 Macro Capabilities and an Accessions List Macro
JPH08202714A (en) Multimedia document preparing/editing system
JPH03142657A (en) Document processor
JPH04195580A (en) Device for forming index term file
JPH0380362A (en) Document processor
JPH04270450A (en) Document preparing device
JPH10334095A (en) Kanji input device and recording medium readable by computer in which kanji data is recorded
JPH04199264A (en) Text editor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees