JP2986505B2 - Automatic numbering method for document creation support - Google Patents

Automatic numbering method for document creation support

Info

Publication number
JP2986505B2
JP2986505B2 JP2066146A JP6614690A JP2986505B2 JP 2986505 B2 JP2986505 B2 JP 2986505B2 JP 2066146 A JP2066146 A JP 2066146A JP 6614690 A JP6614690 A JP 6614690A JP 2986505 B2 JP2986505 B2 JP 2986505B2
Authority
JP
Japan
Prior art keywords
document
numbering
input
format information
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.)
Expired - Fee Related
Application number
JP2066146A
Other languages
Japanese (ja)
Other versions
JPH03266070A (en
Inventor
博司 諸星
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)

Description

【発明の詳細な説明】 〔概要〕 文書を作成する際に,章番号や図番などの一連の通し
番号を自動設定する文書作成支援における自動採番処理
方式に関し, 利用者の望む形式により,文書中の章番号や図番など
の番号の自動設定ができるようにすることを目的とし, 利用者が指定した番号の書式情報を入力し,書式情報
における変数部と固定文字部とを解析する書式情報入力
/解析処理部と,自動採番の対象となる文書を入力し,
採番箇所を抽出する文書入力/解析処理部と,各採番箇
所に対し,書式情報における変数部の採番を行う採番処
理部と,書式情報に応じた採番結果を文書中に埋め込
み,出力する文書編集/出力処理部とを備え,指定され
た任意の形式により番号の自動設定を行うように構成す
る。
DETAILED DESCRIPTION OF THE INVENTION [Summary] An automatic numbering processing method in document creation support for automatically setting a series of serial numbers such as a chapter number and a figure number when creating a document. A format for inputting the format information of the number specified by the user and analyzing the variable part and fixed character part in the format information with the purpose of enabling automatic setting of chapter numbers and figure numbers inside. Input the information input / analysis processing section and the document to be automatically numbered,
A document input / analysis processing unit that extracts numbering locations, a numbering processing unit that numbers variable portions in format information for each numbering location, and a numbering result according to the format information embedded in the document , And a document editing / output processing unit for output, and is configured to automatically set a number in an arbitrary specified format.

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

本発明は,文書を作成する際に,章番号や図番などの
一連の通り番号を自動設定する文書作成支援における自
動採番処理方式に関する。
The present invention relates to an automatic numbering processing method in document creation support for automatically setting a series number such as a chapter number or a figure number when creating a document.

文書処理作業の効率化・高度化のために,文書を作成
する際の単純作業については,より容易な操作で自由度
の高い処理ができるようにすることが要求されている。
このため,章番号や図番などを設定するような単純作業
は,自動化が試みられているが,形式などについて自由
度を持たせることも必要とされている。
In order to improve the efficiency and sophistication of document processing work, it is required that simple work in creating a document be performed with a higher degree of freedom through easier operation.
For this reason, simple work such as setting chapter numbers and figure numbers has been attempted to be automated, but it is also necessary to have a degree of freedom in the format and the like.

〔従来の技術〕[Conventional technology]

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

計算機を利用して文書を作成する際に,一連の章番号
や図番などの設定が必要になる。この設定を手入力で行
うのは,時間がかかり,また入力ミスなども生じやす
い。特に,章や節の挿入/削除,図や表の挿入/削除を
行ったときには,後続の番号をすべて変更する必要があ
るので,その操作は煩雑である。
When creating a document using a computer, it is necessary to set a series of chapter numbers and figure numbers. Performing this setting manually requires time, and input errors are likely to occur. In particular, when a chapter or section is inserted / deleted or a figure or table is inserted / deleted, all subsequent numbers must be changed, and the operation is complicated.

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

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

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

書式項目選択画面40において,章番号として「n」を
選択すると,章番号は,1,2,3,…と付与される。「第n
章」を選択すると,章番号は,第1章,第2章,第3章
というように付与される。節番号,図番号,また図示省
略した表番号なども同様である。
When "n" is selected as the chapter number on the format item selection screen 40, the chapter numbers are assigned as 1, 2, 3,. "The nth
When "Chapter" is selected, chapter numbers are assigned to Chapter 1, Chapter 2, Chapter 3, and so on. The same applies to section numbers, figure numbers, and table numbers not shown.

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

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

しかし,特定の書式を持っている文書の性格により,
システムが用意している形式では不十分なことがあり,
このような場合には,自動設定をした後に,人間が一つ
ずつ修正していくか,または自動設定機能を使用しない
で,初めから必要な書式で人間が採番し,入力しなけれ
ばならなかった。そのため,本来無駄な単純作業が必要
になり,採番ミスも生じやすいという問題があった。
However, due to the nature of documents that have a particular format,
The format provided by the system may not be enough,
In such a case, after the automatic setting, the humans must make corrections one by one, or the humans shall number and input in the required format from the beginning without using the automatic setting function. Did not. For this reason, there is a problem that originally useless simple work is required, and a numbering mistake is likely to occur.

本発明は上記問題点の解決を図り,利用者の望む形式
により,文書中の章番号や図番などの番号を自動設定で
きるようにすることを目的としている。
SUMMARY OF THE INVENTION It is an object of the present invention to solve the above problems and to enable automatic setting of numbers such as chapter numbers and figure numbers in a document in a format desired by a user.

〔課題を解決するための手段〕[Means for solving the problem]

第1図は本発明の構成例を示す。 FIG. 1 shows a configuration example of the present invention.

第1図において,10は文書が格納された文書ファイル,
11は入力文書,12は出力文書,13はCPUおよびメモリなど
からなる処理装置,14は文書入力/解析処理部,15は採番
処理部,16は書式情報入力/解析処理部,17は文書編集/
出力処理部,18はディスプレイ/キーボードなどの入出
力装置を表す。
In FIG. 1, reference numeral 10 denotes a document file storing a document,
11 is an input document, 12 is an output document, 13 is a processing device including a CPU and a memory, 14 is a document input / analysis processing unit, 15 is a numbering processing unit, 16 is a format information input / analysis processing unit, and 17 is a document. Edit /
The output processing unit 18 represents 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 designated by the user from the format information input screen of the input / output device 18, and analyzes the variable part and the fixed character part in the format information.

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

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

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

〔作用〕[Action]

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

〔実施例〕〔Example〕

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

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

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

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

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

自動採番の対象となる文書を1レコードずつ入力
し,文書作成時に特定の文字列または制御コードが付与
された採番箇所を抽出する。または,書式情報で指定さ
れた固定文字部のパターンが記入されていたときに,そ
の部分を採番箇所と認識するようにしてもよい。
A document to be automatically numbered is input one record at a time, and a numbered portion to which a specific character string or control code is added at the time of document creation is extracted. Alternatively, when a pattern of a fixed character part specified by the format information is entered, the 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, and alphabets.

採番した変数部と固定文字部とを組み合わせ,文書
の該当箇所の文字コード列と置き換える編集を行う。
An edit is performed in which the numbered variable part and the fixed character part are combined and replaced with the character code string of the corresponding part of the document.

編集した文書テキストを,テキストバッファまたは
文書ファイルに出力する。
Outputs the edited document text to a text buffer or document file.

文書の終わりになったかどうかを判定し,終わりで
ない場合には,処理へ戻り,同様に処理を繰り返す。
終わりになったならば,文書ファイルのクローズなどの
後処理を行い,自動採番処理を終了する。
It is determined whether the end of the document has been reached. If not, the process returns to the process, and the process is repeated.
When the process ends, post-processing such as closing the document file is performed, and the automatic numbering process ends.

端末からの利用者の書式の指定は,例えば第3図
(イ)に示すような書式情報入力画面の入力域20に,変
数部と固定文字部とを組み合わせた文字列を入力するこ
とにより行う。なお,項目一覧の書式情報入力画面では
なく,「章=」,「節=」,…というようなプロンプト
表示に従って,設定形式を入力するようにしてもよい。
The specification of the user's format from the terminal is performed, for example, by inputting a character string combining a variable part and a fixed character part into an input area 20 of a format information input screen as shown in FIG. . The setting format may be input according to a prompt display such as “chapter =”, “section =”,... Instead of the item list format information input screen.

本実施例では,利用者が指定した書式において,変数
部を次のように認識する。
In this embodiment, the variable part is recognized as follows in the format specified by the user.

n, m……算用数字 一 ……漢数字 I ……ローマ数字(大文字) i ……ローマ数字(小文字) A ……アルファベット(大文字) a ……アルファベット(小文字) ……丸付き数字 なお,これは一例であり,例えば変数部に特定の記号
「X」を割り当て,この変数の種類を別に指定するよう
にしてもよい。
n, m… Arithmetic number 1… Kanji number I… Roman numeral (uppercase) i …… Roman numeral (lowercase) A …… Alphabet (uppercase) a …… Alphabet (lowercase) …… Number with circle This is merely an example. For example, a specific symbol “X” may be assigned to the variable part, and the type of the variable may be specified separately.

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

I章,II章,III章,IV章,…… 節は次のように設定される。 Chapter I, Chapter II, Chapter III, Chapter IV, ... Sections are set as follows.

a節,b節,c節,d節,…… 図は次のように設定される。 Section a, section b, section c, section d, ... The figure is set as follows.

図1.1,図1.2,…,図2.1,図2.2,… また,第3図(ハ)に示すように利用者が指定した場
合,章は次のように設定される。
.., FIG. 2.1, FIG. 2.2,... When the user specifies as shown in FIG. 3 (c), the chapter is set as follows.

□1,□2,□3,□4,…… 節は次のように設定される。 □ 1, □ 2, □ 3, □ 4, ... The clauses are set as follows.

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

図1−A,図1−B,…,図2−A,図2−B,… 以上のように,利用者が定義して設定した書式情報
が,文書内で使用される番号に反映される。表番や他の
番号についても同様に採番することができる。上述の実
施例では,書式情報について,端末から対話形式で入力
しているが,代わりに,あらかじめ文書として作成した
書式の定義データを利用してもよく,またテーブルデー
タ等の他のデータ形式で扱うようにしてもよい。
Fig. 1-A, Fig. 1-B, ..., Fig. 2-A, Fig. 2-B, ... As described above, the format information defined and set by the user is reflected in the numbers used in the document. You. Table numbers and other numbers can be similarly assigned. In the above-described embodiment, the format information is input interactively from the terminal. Alternatively, definition data of a format created in advance as a document may be used, or other data formats such as table data may be used. It may be handled.

〔発明の効果〕〔The invention's effect〕

以上説明したように,本発明によれば,番号の書式情
報を利用者が指定可能になるため,利用者の望む形式で
番号設定を行うことができるようになる。したがって,
文書の性格に合致した番号の設定された文書を容易に作
成することができ,文書の品質および生産性の向上に寄
与するところが大きい。
As described above, according to the present invention, since the format information of the number can be specified by the user, the number can be set in a format desired by the user. Therefore,
A document with a number matching the character of the document can be easily created, which greatly contributes to the improvement of the quality and productivity of the document.

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

第1図は本発明の構成例, 第2図は本発明の一実施例処理フロー, 第3図は本発明の一実施例による利用者の指定例, 第4図は従来技術の例を示す。 図中,10は文書ファイル,11は入力文書,12は出力文書,13
は処理装置,14は文書入力/解析処理部,15は採番処理
部,16は書式情報入力/解析処理部,17は文書編集/出力
処理部,18は入出力装置を表す。
FIG. 1 shows a configuration example of the present invention, FIG. 2 shows a processing flow of an embodiment of the present invention, FIG. 3 shows an example of user designation according to an embodiment of the present invention, and FIG. . In the figure, 10 is a document file, 11 is an input document, 12 is an output document, 13
Denotes a processing device, 14 denotes a document input / analysis processing unit, 15 denotes a numbering processing unit, 16 denotes a format information input / analysis processing unit, 17 denotes a document editing / output processing unit, and 18 denotes an input / output device.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】文書内の部,章,節,図または表に対する
番号の自動設定機能を有する文書作成支援システムにお
いて, 利用者が指定した番号の書式情報を入力し,書式情報に
おける変数部と固定文字部とを解析する書式情報入力/
解析処理部(16)と, 自動採番の対象となる文書を入力し,採番箇所を抽出す
る文書入力/解析処理部(14)と, 各採番箇所に対し,書式情報における変数部の採番を行
う採番処理部(15)と, 書式情報に応じた採番結果を文書中に埋め込み,出力す
る文書編集/出力処理部(17)とを備え, 指定された任意の形式により番号の自動設定を行うよう
にしたことを特徴とする文書作成支援における自動採番
処理方式。
In a document creation support system having an automatic number setting function for a part, chapter, section, figure, or table in a document, format information of a number designated by a user is input, and a variable part in the format information is input. Input of format information for analyzing fixed character part /
An analysis processing section (16), a document input / analysis processing section (14) for inputting documents to be automatically numbered and extracting numbering locations, and a variable section in format information for each numbering location. A numbering processing unit (15) that performs numbering, and a document editing / output processing unit (17) that embeds and outputs a numbering result according to the format information in the document and outputs the number in any specified format Automatic numbering processing method in document creation support, wherein automatic setting is performed.
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 JPH03266070A (en) 1991-11-27
JP2986505B2 true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3873298B2 (en) * 1995-06-20 2007-01-24 セイコーエプソン株式会社 Document editing device

Also Published As

Publication number Publication date
JPH03266070A (en) 1991-11-27

Similar Documents

Publication Publication Date Title
JP2001344562A (en) Device and method for reading document
JP2986505B2 (en) Automatic numbering method for document creation support
JP2003186870A (en) Document display method, document display device, program, and recording medium
JPH0785215A (en) Character recognizing device
JP2504471B2 (en) Text editing device
JPH05324645A (en) Document processing method and device
JPH09330107A (en) Comment adding method of ladder chart generation cad system for programmable controller
JPH06162107A (en) Electronic filing system
JP3237709B2 (en) Document processing apparatus and document processing method
JPH09230992A (en) Information processor
JPH04158469A (en) Document preparing device
JP2889052B2 (en) Character typeface processing method and apparatus
JP3077580B2 (en) Character reader
JP2874815B2 (en) Japanese character reader
JPH05151195A (en) Kanji input device
JP2757367B2 (en) Character processor
JPH06348889A (en) Character recognizing device
JPH0216671A (en) Document preparation supporting device
JPH0421164A (en) Document processor
JPH06187342A (en) Area specifying device
JPS63286965A (en) Document generation device
JPH0512358A (en) Drawing input device
JPH0764776A (en) Input editing system for program source
JPH07121285A (en) Character string input system
JPH05313875A (en) Text collection/evaluation system

Legal Events

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