JPH07200590A - Method for setting hierarchized style and definition registration method therefor - Google Patents

Method for setting hierarchized style and definition registration method therefor

Info

Publication number
JPH07200590A
JPH07200590A JP5351450A JP35145093A JPH07200590A JP H07200590 A JPH07200590 A JP H07200590A JP 5351450 A JP5351450 A JP 5351450A JP 35145093 A JP35145093 A JP 35145093A JP H07200590 A JPH07200590 A JP H07200590A
Authority
JP
Japan
Prior art keywords
style
setting
current
hierarchical
definition
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
JP5351450A
Other languages
Japanese (ja)
Inventor
Koichi Ida
光一 井田
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP5351450A priority Critical patent/JPH07200590A/en
Publication of JPH07200590A publication Critical patent/JPH07200590A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide a method for setting hierarchized styles capable of easily setting the hierarchized styles corresponding to a document structure. CONSTITUTION:A current style is initialized to the highest style of the hierarchized styles provided with constitution styles successively moved from a high order to a low order by paragraph breaks in a current style initialization step S21. The completion of a hierarchized style setting processing is judged in a hierarchized style completion judgement step S24, a changing method is discriminated based on the changing instruction of the current style in a current style changing method judgement step S25 and the current style is changed to the constitution style of an upper level or a lower level corresponding to the changing instruction in current level changing steps S25 and S27.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、パーソナルコンピュー
タやワードプロセッサなどの文書作成装置により編集さ
れる文書に対する階層化スタイルの設定方法と、この階
層化スタイルの記憶装置に対する定義登録方法に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a hierarchical style setting method for a document edited by a document creating apparatus such as a personal computer or a word processor, and a definition registration method for a hierarchical style storage device.

【0002】[0002]

【従来の技術】編集文書に文書構造を示すスタイルを設
定することは、従来から行なわれており、従来は文字書
式や段落書式などの書式を一つにまとめたスタイルとし
て設定している。このために、所定のスタイルを設定す
ると、スタイル設定後に入力編集される段落の文字書式
や段落書式などが、一括して設定したスタイルに設定さ
れる。そして、スタイル設定対象の段落の区切りが入力
されると、次の段落のスタイルの設定のために、定義項
目として次のスタイルを指定するようにしている。
2. Description of the Related Art A style indicating a document structure has been conventionally set in an edited document. Conventionally, a style such as a character format or a paragraph format is set as one style. For this reason, when a predetermined style is set, the character format and paragraph format of paragraphs that are input and edited after the style is set are set to the set style collectively. Then, when the paragraph break of the style setting target is input, the next style is specified as the definition item for setting the style of the next paragraph.

【0003】また、この種のスタイルのデータを、文書
作成装置で使用可能なように記憶装置に格納する場合に
も、段落の文字書式や段落書式などが、一括したスタイ
ルに設定され、スタイル設定対象の段落の区切りでは、
次の段落のスタイルの設定のために、定義項目として次
のスタイルを指定するようにデータを格納する。
Also, when data of this type of style is stored in a storage device so that it can be used by a document creation device, the character format of paragraphs, paragraph format, etc. are set to a collective style, and style setting is performed. At the target paragraph break,
Store the data so that the next style is specified as the definition item for setting the style of the next paragraph.

【0004】[0004]

【発明が解決しようとする課題】従来のように定義項目
として次のスタイルを指定する方法では、文書の階層構
造、例えば「第1章タイトル、第1章本文、第1章第1
節タイトル、第1章第1節本文、・・・」のような構造
の文書に対応するスタイルに設定しようとすると、段落
区切りの度に次々とスタイルが変わってしまう。このた
め、前記例示したようなタイトル及び本文が1段落で構
成される場合にしか適用することができない。
In the conventional method of designating the following style as a definition item, a hierarchical structure of a document, for example, "Chapter 1 title, Chapter 1 text, Chapter 1 Chapter 1" is used.
When a style corresponding to a document having a structure such as section title, chapter 1, section 1, body text, ... Is set, the style changes one after another at each paragraph break. Therefore, it can be applied only when the title and the text as exemplified above are composed of one paragraph.

【0005】これを回避するためには、本文など複数の
段落の繰り返しが頻繁に行なわれる部分の段落に対する
スタイルを定義する場合に、次のスタイル定義項目を定
義スタイル自身に指定し、タイトル及び本文が切り替わ
る度にスタイルを適宜再設定する必要があり、操作が煩
雑になるという問題があった。
To avoid this, when defining a style for a paragraph in which a plurality of paragraphs are frequently repeated, such as the body, the following style definition item is specified in the definition style itself, and the title and body are specified. There was a problem in that the operation would be complicated because it was necessary to reset the style as appropriate each time the display was switched.

【0006】本発明は、前述したような文章構造を示す
スタイル設定の現状に鑑みてなされたもので、その第1
の目的は、文書構造に対応した階層化スタイルを、操作
性を低下させることなく容易に設定し得る階層化スタイ
ルの設定方法を提供することにある。
The present invention has been made in view of the current state of style setting indicating a sentence structure as described above.
It is an object of the present invention to provide a hierarchical style setting method capable of easily setting a hierarchical style corresponding to a document structure without deteriorating operability.

【0007】また、本発明の第2の目的は、文書構造に
対応した階層化スタイルを容易に設定可能なように、階
層化スタイルを定義登録し得る階層化スタイルの定義登
録方法を提供することにある。
A second object of the present invention is to provide a hierarchical style definition registration method capable of defining and registering a hierarchical style so that a hierarchical style corresponding to a document structure can be easily set. It is in.

【0008】[0008]

【課題を解決するための手段】前記第1の目的を達成す
るために、本発明の第1発明は、文書作成装置により編
集される文書に対して階層化スタイルを設定する階層化
スタイル設定方法において、階層化スタイルの最上位ス
タイルにカレントスタイルを初期化設定するカレントス
タイル初期化ステップと、段落区切りに応じてカレント
スタイルの変更を要するか否かを判別するカレントスタ
イル変更判別ステップと、該カレントスタイル変更判別
ステップにより変更を要すると判別された時にカレント
スタイルを上位レベルまたは下位レベルの構成スタイル
に変更するカレントスタイル変更ステップとを有するこ
とを特徴とするものである。
In order to achieve the first object, a first aspect of the present invention is a hierarchical style setting method for setting a hierarchical style for a document edited by a document creating apparatus. In step 1, the current style initialization step of initializing and setting the current style to the top style of the layered style, the current style change determination step of determining whether or not the current style needs to be changed according to the paragraph break, and the current style And a current style changing step of changing the current style to an upper-level or lower-level constituent style when it is judged by the style change judging step that the change is necessary.

【0009】また、前記第2の目的を達成するために、
本発明の第2発明は、文書作成装置により編集される文
書に設定する階層化スタイルを定義登録する階層化スタ
イル定義登録方法において、階層化スタイルの索引名称
を定義登録する名称登録ステップと、この名称登録ステ
ップで索引名称が登録される階層化スタイルに対して段
落区切りにより移動する構成スタイルの設定順序を定義
登録する順序登録ステップと、この順序登録ステップで
登録される構成スタイルに設定繰り返しを指定登録する
繰り返し定義登録ステップと、前記構成スタイルの設定
の逆戻りを指定登録する逆戻り定義登録ステップと、前
記構成スタイルの設定の先送りを指定登録する先送り定
義登録ステップと、前記階層化スタイル設定の終了を指
定登録する終了定義登録ステップとを有することを特徴
とするものである。
Further, in order to achieve the second object,
A second aspect of the present invention is a name registration step of defining and registering an index name of a hierarchical style in a hierarchical style definition registration method for defining and registering a hierarchical style to be set in a document edited by a document creation device. Defines the setting order of the composition style that moves by paragraph breaks for the hierarchical style for which the index name is registered in the name registration step, and specifies the sequence repetition step for the composition style registered in this order registration step A repetitive definition registration step of registering, a reversal definition registration step of designating and registering reversion of the configuration style setting, a deferral definition registration step of registering deferral of the configuration style setting, and an end of the layered style setting. It is characterized in that it has a termination definition registration step of performing designated registration.

【0010】[0010]

【作用】第1発明の階層化スタイルの設定方法は、カレ
ントスタイル初期化ステップで、階層化スタイルの最上
位スタイルにカレントスタイルが初期化設定され、カレ
ントスタイル変更判定ステップで、段落区切りに応じて
カレントスタイルの変更を要するか否かが判別され、変
更を要すると判別された時カレントスタイル変更ステッ
プで、カレントスタイルが上位レベルまたは下位レベル
の構成スタイルに変更される。これにより、文書構造に
対応した階層化スタイルを、操作性を低下させることな
く容易に設定し得る。
In the hierarchical style setting method according to the first aspect of the invention, the current style is initialized in the highest style of the hierarchical style in the current style initialization step, and the current style change determination step determines whether the current style is changed according to the paragraph break. It is determined whether or not the current style needs to be changed, and when it is determined that the current style needs to be changed, the current style is changed to a higher-level or lower-level constituent style in the current-style change step. Thereby, the hierarchical style corresponding to the document structure can be easily set without deteriorating the operability.

【0011】また、第2発明の階層化スタイルの定義登
録方法は、名称登録ステップで階層化スタイルの索引名
称が定義登録され、順序登録ステップで名称登録ステッ
プにより索引名称が登録される階層化スタイルの構成ス
タイルの順序が定義登録され、繰り返し定義登録ステッ
プで順序登録ステップにより登録される構成スタイルの
設定繰り返しが指定登録され、逆戻り定義登録ステップ
で構成スタイルの設定順序の逆戻りが指定登録され、先
送り定義登録ステップで、構成スタイルの設定順序の先
送りが指定登録され、終了定義登録ステップで階層化ス
タイル設定の終了が指定登録される。これにより、文書
構造に対応した階層化スタイルを容易に設定可能なよう
に、階層化スタイルを定義登録し得る
In the hierarchical style definition registration method of the second invention, the hierarchical style index name is defined and registered in the name registration step, and the index name is registered in the name registration step in the order registration step. The configuration style sequence of is registered by definition, the configuration style setting repetition registered by the sequence registration step is specified and registered in the repeat definition registration step, and the reversal of the configuration style setting order is registered and registered in the reversal definition registration step In the definition registration step, the postponement of the setting order of the composition style is designated and registered, and in the end definition registration step, the end of the hierarchical style setting is designated and registered. As a result, the hierarchical style can be defined and registered so that the hierarchical style corresponding to the document structure can be easily set.

【0012】[0012]

【実施例】以下、本発明の実施例を図面に基づき説明す
る。
Embodiments of the present invention will be described below with reference to the drawings.

【0013】(第1実施例)先ず、階層化スタイルの設
定方法に係る第1実施例を、図1乃至図3を参照して説
明する。図1は、本実施例に係わる階層化スタイルの設
定方法を実施するための文書作成装置の構成を示すブロ
ック図、図2は、本実施例に係わる階層化スタイルの設
定方法の制御手順を示すフローチャート、図3は、本実
施例に係る階層化スタイルの設定方法により該階層化ス
タイルを設定時に表示装置に表示されるユーザインタフ
ェースを示す説明図である。
(First Embodiment) First, a first embodiment of a hierarchical style setting method will be described with reference to FIGS. FIG. 1 is a block diagram showing the configuration of a document creating apparatus for implementing the hierarchical style setting method according to the present embodiment, and FIG. 2 shows the control procedure of the hierarchical style setting method according to the present embodiment. FIG. 3 is a flowchart showing the user interface displayed on the display device when the hierarchical style is set by the hierarchical style setting method according to the present embodiment.

【0014】本実施例に係わる階層化スタイルの設定方
法を実施するための文書作成装置は、図1に示すよう
に、本装置全体の動作を制御する中央処理装置1を有し
ている。この中央処理装置1には、バスBを介して、記
憶装置2、入力装置3及び出力装置4がそれぞれ接続さ
れている。記憶装置2は、階層化スタイルの設定のプロ
グラムを含む制御プログラムが格納されるROMと、制
御動作時に各種のデータが格納され且つ読み出されるR
AMと、編集文書データが最終的に格納されるフロッピ
ーディスク或はハードディスクなどの外部記憶装置とを
それぞれ備えている。入力装置3は、各種のデータの入
力操作を行なうキーボードやマウスなどのポインティン
グデバイスである。出力装置4は、各種のデータや編集
文書が表示されるディスプレイと、プリント出力するプ
リンタとを備えている。
As shown in FIG. 1, the document creating apparatus for carrying out the hierarchical style setting method according to the present embodiment has a central processing unit 1 for controlling the operation of the entire apparatus. A storage device 2, an input device 3, and an output device 4 are connected to the central processing unit 1 via a bus B, respectively. The storage device 2 includes a ROM that stores a control program including a program for setting a hierarchical style, and an R that stores and reads various data during a control operation.
It has an AM and an external storage device such as a floppy disk or a hard disk in which edited document data is finally stored. The input device 3 is a pointing device such as a keyboard or a mouse for inputting various data. The output device 4 includes a display that displays various data and edited documents, and a printer that prints out.

【0015】本実施例に係わる階層化設定方法により編
集文書に設定される階層化スタイルは、上層から下層に
例えば「報告書タイトル」、「日付」、「所属」、「報
告者名」、「本文要約」、「見出し1」、「本文1」・
・・のように、複数の構成スタイルが順序付けられて配
置されたものである。そして、段落編集の段落区切り
(段落改行)の入力によって、一般には、上位から下位
へと順次カレントスタイルが変更されて行くが、特定の
構成スタイル(本実施例では、本文要約と本文)には、
繰り返し設定が行なわれるようになっており、繰り返し
設定が行なわれていると、段落編集の段落区切り(段落
改行)の入力によっても、カレントスタイルは変更され
ない。更に、カレントスタイルを、階層化スタイル中で
上層のスタイルへ、或は下層のスタイルへ変更すること
を可能にしてある。
The layering style set in the edited document by the layering setting method according to the present embodiment is, for example, "report title", "date", "affiliation", "reporter name", "from the upper layer to the lower layer. "Summary of text", "Heading 1", "Text 1"
.., a plurality of composition styles are arranged in order. Then, by inputting a paragraph break (paragraph line break) in paragraph editing, generally, the current style is sequentially changed from the higher order to the lower order. However, in a specific configuration style (the text summary and the text in this embodiment), ,
When the repeat setting is performed, the current style is not changed even if the paragraph break (paragraph line break) is input in paragraph editing. Further, it is possible to change the current style to the style of the upper layer or the style of the lower layer in the hierarchical style.

【0016】そのために本実施例では、図3に示すよう
なスタイル設定のユーザインタフェース30が、出力装
置4のディスプレイ上に表示されるようにしてある。こ
のユーザインタフェース30には、複数の階層化スタイ
ルの名称及び上位から下位に順次配列された構成スタイ
ルがそれぞれ表示されるスタイルリスト27、選択した
階層化スタイル名が表示されるスタイル名表示ボックス
21、カレントスタイルの変更と設定の終了をセットす
るスタイル移動コントロール22及び現在処理中のカレ
ントスタイルが表示される表示ボックス26がそれぞれ
設けてある。スタイルリスト27の中で階層化スタイル
名には、他と明確に区別するためにその先頭に○印が付
されている。
Therefore, in this embodiment, a style setting user interface 30 as shown in FIG. 3 is displayed on the display of the output device 4. The user interface 30 includes a style list 27 in which names of a plurality of layered styles and constituent styles sequentially arranged from the upper layer to the lower layer are displayed, a style name display box 21 in which a selected layered style name is displayed, A style movement control 22 for setting the change of the current style and the end of the setting and a display box 26 for displaying the current style currently being processed are respectively provided. In the style list 27, the hierarchical style name is marked with a circle at the head thereof for the purpose of clearly distinguishing it from the others.

【0017】このユーザインタフェース30に対する入
力操作に対応して、中央処理装置1は、制御プログラム
に基づいてカレントスタイルを階層化スタイルの最上位
スタイルに初期化設定する機能、階層化スタイル設定処
理の終了を判別する機能、カレントスタイルの変更方法
を判別する機能及びカレントスタイルを上位レベルまた
は下位レベルに変更する機能を実現する。
In response to the input operation on the user interface 30, the central processing unit 1 initializes the current style to the highest style of the hierarchical style based on the control program, and finishes the hierarchical style setting processing. A function for discriminating the current style, a function for discriminating a method for changing the current style, and a function for changing the current style to an upper level or a lower level are realized.

【0018】次に、本実施例に係わる階層化スタイルの
設定方法の制御手順を、図2のフローチャートに基づい
て説明する。まず、ステップS21で、オペレータは入
力装置3を使用してユーザインタフェース30に対して
所定の操作を行ない、階層化スタイルの索引名称とし
て、例えば「報告書」を選択すると、図3のスタイル名
表示ボックス21に「報告書」が表示され、最上位構成
スタイルでカレントスタイルを初期設定し、図3のカレ
ントスタイル表示ボックス26に「報告書タイトル」が
表示され、次いで、ステップS22に進んでカレントス
タイルが、編集対象段落に適用される。
Next, the control procedure of the hierarchical style setting method according to this embodiment will be described with reference to the flowchart of FIG. First, in step S21, when the operator performs a predetermined operation on the user interface 30 using the input device 3 and selects, for example, "report" as the index name of the hierarchical style, the style name display in FIG. “Report” is displayed in the box 21, the current style is initialized by the highest-level composition style, “report title” is displayed in the current style display box 26 in FIG. 3, and then the process proceeds to step S22 to set the current style. Applies to the paragraph being edited.

【0019】本実施例では、「報告書タイトル」、「日
付」、「所属」、「報告者名」、「本文要約」、「見出
し」、「本文」・・・が、順次段落に対応して設定され
るようにセットされる。そこで、オペレータは、ステッ
プS23で報告書のタイトルを入力した後、段落区切り
を入力すると、ステップS24からステップS25へ進
み、報告書タイトルの場合、下位レベルへの移行と判断
され、ステップS27でカレントスタイルとして、次の
日付が設定表示されるので、日付データとして「平成5
年5月13日」を入力すると、更に、次の「所属」が設
定表示される。
In this embodiment, "report title", "date", "affiliation", "reporter name", "text summary", "headline", "text" ... Be set as set. Therefore, when the operator inputs the title of the report in step S23 and then inputs the paragraph break, the process proceeds from step S24 to step S25. In the case of the report title, it is determined to move to a lower level, and in step S27, the current The following date is set and displayed as the style, so the date data is "Heisei 5
When "May 13th of the year" is input, the next "affiliation" is further set and displayed.

【0020】このようにして、ステップS23では設定
されるカレントスタイルに対して段落編集処理が行なわ
れ、報告書が作成されて行く。この場合、「本文要約」
及び「本文」では、設定繰り返しが定義されているの
で、段落区切りが入力されてもステップS25から前記
ステップS22へ進み、カレントスタイルは移動しな
い。また、オペレータが階層化スタイル終了釦24を選
択することにより、ステップS24で階層化スタイルの
編集が終了したと判定され、本処理動作を終了する。ま
た、前記ステップS25において、レベル変更が判別さ
れ、繰り返しが定義されていれば、レベル変更はないの
で、前記ステップS22に戻って、同一の処理が繰り返
される。
In this way, in step S23, the paragraph editing process is performed on the current style set, and a report is created. In this case, "text summary"
Since the setting repetition is defined in "and body", even if a paragraph break is input, the process proceeds from step S25 to step S22, and the current style does not move. When the operator selects the layered style end button 24, it is determined in step S24 that the layered style has been edited, and this processing operation ends. If the level change is discriminated in step S25 and repetition is defined, there is no level change. Therefore, the process returns to step S22 and the same process is repeated.

【0021】一方、繰り返しが定義されていないか、ま
たはオペレータがスタイル下レベル移動釦25を選択す
ると、ステップS27に進んでカレントスタイルを一段
下位に移動し、また、オペレータがスタイル上レベル移
動釦23を選択すると、ステップS26に進んでカレン
トスタイルが上位に一段変更される。そして、前記各ス
テップS27及びステップS26の処理後は、いずれも
前記ステップS22に戻って、同一の処理が繰り返され
る。
On the other hand, if repetition is not defined or the operator selects the style lower level movement button 25, the process proceeds to step S27 to move the current style one step lower, and the operator also moves the style upper level movement button 23. If is selected, the process proceeds to step S26, and the current style is changed to a higher level. Then, after the processes of the steps S27 and S26, the process returns to the step S22 and the same process is repeated.

【0022】この様に、本実施例に係わる階層化スタイ
ルの設定方法によれば、階層化スタイルの最上位スタイ
ルに、カレントスタイルが初期化設定され、段落区切り
でカレントスタイルが順次移動するが、設定繰り返しが
セットされているカレントスタイルでは、カレントスタ
イルの変更指示が発せられない限り、段落区切りではカ
レントスタイルが移動しないので、文書構造に応じた階
層化スタイルを容易且つ効率的に設定して、所定の文書
構造の文書編集を操作性よく能率的に行なうことが可能
になる。
As described above, according to the hierarchical style setting method according to the present embodiment, the current style is initialized to the highest style of the hierarchical style, and the current style is sequentially moved at paragraph breaks. In the current style in which the setting repetition is set, the current style does not move at the paragraph break unless an instruction to change the current style is issued, so you can easily and efficiently set the hierarchical style according to the document structure. It becomes possible to efficiently and efficiently edit a document having a predetermined document structure.

【0023】(第2実施例)次に、階層化スタイルの定
義登録方法に係る第2実施例を、図4及び図5を参照し
て説明する。図4は本実施例に係わる階層化スタイルの
定義登録方法の制御手順を示すフローチャート、図5は
本実施例に係わる階層化スタイルの定義登録の一例の説
明図である。
(Second Embodiment) Next, a second embodiment of the method for registering the definition of the hierarchical style will be described with reference to FIGS. 4 and 5. FIG. 4 is a flowchart showing the control procedure of the hierarchical style definition registration method according to the present embodiment, and FIG. 5 is an explanatory diagram of an example of the hierarchical style definition registration according to the present embodiment.

【0024】本実施例に係わる階層化スタイルの定義登
録方法を実施するための文書作成装置は、上述した第1
実施例の図1に示す文書作成装置と基本的には同一であ
るから、同図を流用して説明する。
The document creating apparatus for implementing the hierarchical style definition registration method according to the present embodiment is the above-mentioned first embodiment.
Since it is basically the same as the document creating apparatus shown in FIG. 1 of the embodiment, the description will be made by diverting the drawing.

【0025】本実施例に係わる階層化スタイルの定義登
録方法を実施するための文書作成装置の入力装置3は、
階層化スタイルの定義登録に際して、それぞれ対応する
入力操作を行なう機能を有している。また、中央処理装
置1は、入力装置3の入力操作に対応して、階層化スタ
イルに関する各種の定義登録を、記憶装置2の外部記憶
装置に対して行なう機能を有している。この定義登録の
機能には、階層化スタイルの索引名称を定義登録する機
能、階層化スタイルの構成スタイルの順序を定義登録す
る機能、構成スタイルに設定繰り返しを指定登録する機
能、構成スタイルの設定の逆戻りを指定登録する機能、
構成スタイルの設定の先送りを指定登録する機能及び階
層化スタイルの終了を指定登録する機能がそれぞれ具備
されている。
The input device 3 of the document creation device for implementing the hierarchical style definition registration method according to the present embodiment is
When registering the definition of a hierarchical style, it has a function of performing a corresponding input operation. Further, the central processing unit 1 has a function of performing various definition registrations related to the hierarchical style to the external storage device of the storage device 2 in response to the input operation of the input device 3. This definition registration function includes the function to define and register the index name of the hierarchical style, the function to define and register the order of the constituent styles of the hierarchical style, the function to specify the setting repetition for the composition style, and the setting of the composition style. A function to specify and register a reversal,
It has a function of designating and registering the postponement of the setting of the configuration style and a function of designating and registering the end of the hierarchical style.

【0026】次に、本実施例に係る階層化スタイルの定
義登録方法の制御手順を、図4のフローチャートを参照
して説明する。
Next, the control procedure of the hierarchical style definition registration method according to this embodiment will be described with reference to the flowchart of FIG.

【0027】まず、ステップS41において、入力装置
3のキーボードを操作して階層化スタイルに参照用の索
引名称、例えば「報告書」を入力し、所定のキーを操作
して該名称を定義登録し、次のステップS42に進んで
前記キーボードの操作によって構成スタイルの設定順序
が定義登録される。この設定順序は、例えば「日付」、
「所属」、「報告者名」、「本文要約」、「見出し」、
「本文」のように定義登録される。
First, in step S41, a reference index name, for example, "report" is input to the hierarchical style by operating the keyboard of the input device 3, and a predetermined key is operated to define and register the name. In the next step S42, the setting order of the constituent styles is defined and registered by operating the keyboard. This setting order is, for example, "date",
"Affiliation", "reporter name", "text summary", "headline",
It is defined and registered like "text".

【0028】このようなステップS42の処理に続い
て、ステップS43で、先送り、逆戻り及び終了の指定
の定義登録が行なわれる。本実施例では、先送りの指定
にはコントロールキーと、アルファベットキーの内の
「F」キーとを同時に操作することが定義登録され、逆
送りの指定にはコントロールキーと、アルファベットキ
ーの内の「B」キーとを同時に操作することが定義登録
され、終了の指定にはコントロールキーと、アルファベ
ットキーの内の「Q」キーとを同時に操作することが定
義登録される。
Following the processing of step S42, in step S43, definition registration for designation of forwarding, reversing and ending is performed. In this embodiment, it is defined and registered that the control key and the "F" key of the alphabet keys are simultaneously operated to specify the advance feed, and the reverse key is specified by the control key and the "F" key of the alphabet keys. Simultaneous operation of the "B" key is registered by definition, and simultaneous operation of the control key and the "Q" key of the alphabet keys is registered by definition for the end designation.

【0029】次いで、ステップS44においてスタイル
設定の繰り返しが定義登録され、本実施例では構成スタ
イルの内、「本文要約」と「本文」とにスタイル設定の
繰り返しが定義登録される。
Next, in step S44, the repetition of the style setting is defined and registered, and in the present embodiment, the repetition of the style setting is registered in the "text summary" and the "text" of the constituent styles.

【0030】一般に文書編集で段落区切りの入力によっ
て、構成スタイルは上位から下位に順次移動するが、繰
り返し定義がなされると段落区切りによっても、構成ス
タイルは移動しない。次いで、ステップS45で入力装
置3の所定キーにより格納操作を行なうことにより、中
央処理装置1によって全ての定義登録データが記憶装置
2の外部記憶装置に格納された後、本処理動作を終了す
る。
In general, when a paragraph break is input in document editing, the composition style is sequentially moved from the higher order to the lower order. However, when the definition is repeated, the paragraph break does not move the composition style. Then, in step S45, a storage operation is performed with a predetermined key of the input device 3 to store all the definition registration data in the external storage device of the storage device 2 by the central processing device 1, and then the present processing operation is ended.

【0031】このようにして、定義登録されたデータ
は、階層化スタイルの索引名称で記憶装置2から読み出
され、構成スタイルは図3に示すようなユーザインタフ
ェース31として出力装置4のディスプレイ上に表示す
ることができる。この表示により、階層化スタイルの構
成スタイルが、上位から下位に「報告書タイトル」、
「日付」、「所属」、「報告者名」、「本文要約」、
「見出し」、「本文」で、「本文要約」と「本文」に繰
り返し定義がなされていることが示される。
In this way, the data registered and defined is read from the storage device 2 by the index name of the hierarchical style, and the composition style is displayed on the display of the output device 4 as the user interface 31 as shown in FIG. Can be displayed. By this display, the composition style of the layered style is changed from the top to the bottom, "report title",
"Date", "affiliation", "reporter name", "text summary",
It is shown that "headline" and "body" are repeatedly defined in "body summary" and "body".

【0032】また、逆戻りにはコントロールキーと、ア
ルファベットキーの内の「B」キーとを同時に押せばよ
く、先送りにはコントロールキーと、アルファベットキ
ーの内の「F」キーとを押せばよく、終了にはコントロ
ールキーと、アルファベットキーの内の「Q」キーとを
押せばよいことになる。この定義登録されたデータは、
他の階層化スタイルを定義登録する場合のベースとして
も利用することが可能である。
To return, press the control key and the "B" key of the alphabet keys at the same time. To advance, press the control key and the "F" key of the alphabet keys. To finish, press the control key and the "Q" key of the alphabet keys. The data registered by this definition is
It can also be used as a base when other hierarchical styles are defined and registered.

【0033】このように、本実施例に係わる階層化スタ
イルの定義登録方法によると、階層化スタイルの索引名
称が定義登録され、該階層化スタイルの構成スタイルの
順序が定義登録され、必要な構成スタイルには設定繰り
返しが指定され、構成スタイルの設定順序の逆戻り、先
送り指定の定義が登録され、階層化スタイル設定の終了
の指定が定義登録され、これらの定義登録データが全て
記憶装置に格納されるので、索引名称で簡単に読み出し
て編集文書に階層化スタイルを設定し、所定の文書構造
の文書の編集を容易且つ能率的に行なうことができる。
As described above, according to the method of registering the definition of the hierarchical style according to the present embodiment, the index name of the hierarchical style is defined and registered, the order of the constituent styles of the hierarchical style is defined and registered, and the necessary configuration is obtained. Repeated setting is specified for the style, the configuration style setting sequence is reverted, the definition of the forwarding specification is registered, the specification of the end of the layered style setting is registered, and all the definition registration data is stored in the storage device. Therefore, it is possible to easily and efficiently edit a document having a predetermined document structure by reading it by the index name and setting a hierarchical style in the edited document.

【0034】[0034]

【発明の効果】第1発明の階層化スタイルの設定方法に
よれば、階層化スタイルの最上位スタイルに、カレント
スタイルが初期化設定され、段落区切りでカレントスタ
イルが順次移動するが、設定繰り返しがセットされてい
るカレントスタイルでは、カレントスタイルの変更指示
が発せられない限り、段落区切りではカレントスタイル
が移動しないので、文書構造に応じた階層スタイルを容
易且つ効率的に設定して、所定の文書構造の文書編集を
操作性よく能率的に行なうことができる。
According to the hierarchical style setting method of the first aspect of the invention, the current style is initialized and set in the topmost style of the hierarchical style, and the current style is sequentially moved at paragraph breaks. With the current style that is set, the current style does not move at paragraph breaks unless an instruction to change the current style is issued. Therefore, you can easily and efficiently set the hierarchical style according to the document structure and set the specified document structure. The document editing can be performed efficiently and efficiently.

【0035】また、第2発明の階層化スタイルの定義登
録方法によれば、階層化スタイルの索引名称が定義登録
され、該階層化スタイルの構成スタイルの順序が定義登
録され、必要な構成スタイルには設定繰り返しが指定さ
れ、構成スタイルの設定順序の逆戻り、先送り指定の定
義が登録され、階層化スタイル設定の終了の指定が定義
登録され、これらの定義登録データが全て記憶装置に格
納されるので、索引名称で簡単に読み出して編集文書に
階層化スタイルを設定し、所定の文書構造の文書の編集
を能率的に行なうことができる。
According to the layered style definition registration method of the second invention, the index name of the layered style is defined and registered, the order of the constituent styles of the layered style is defined and registered, and the necessary constituent style is added. Setting is specified, the configuration style setting sequence is reverted, the definition of the postponement specification is registered, the specification of the end of the layered style setting is defined and registered, and all the definition registration data is stored in the storage device. , It is possible to easily read by the index name, set a hierarchical style in an edited document, and efficiently edit a document having a predetermined document structure.

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

【図1】本発明の第1実施例に係わる階層化スタイルの
設定方法を実施するための文書作成装置の構成を示すブ
ロック図である。
FIG. 1 is a block diagram showing a configuration of a document creating apparatus for carrying out a hierarchical style setting method according to a first embodiment of the present invention.

【図2】同実施例に係わる階層化スタイルの設定方法の
制御手順を示すフローチャートである。
FIG. 2 is a flowchart showing a control procedure of a hierarchical style setting method according to the embodiment.

【図3】同実施例に係わる階層化スタイルの設定方法に
おけるユーザインタフェースの説明図である。
FIG. 3 is an explanatory diagram of a user interface in a hierarchical style setting method according to the embodiment.

【図4】本発明の第2実施例に係わる階層化スタイルの
定義登録方法の制御手順を示すフローチャートである。
FIG. 4 is a flowchart showing a control procedure of a hierarchical style definition registration method according to a second embodiment of the present invention.

【図5】同実施例に係わる階層化スタイルの定義登録の
一例の説明図である。
FIG. 5 is an explanatory diagram of an example of hierarchical style definition registration according to the embodiment;

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

1 中央処理装置 2 記憶装置 3 入力装置 4 表示装置 1 Central Processing Unit 2 Storage Device 3 Input Device 4 Display Device

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 文書作成装置により編集される文書に対
して階層化スタイルを設定する階層化スタイル設定方法
において、階層化スタイルの最上位スタイルにカレント
スタイルを初期化設定するカレントスタイル初期化ステ
ップと、段落区切りに応じてカレントスタイルの変更を
要するか否かを判別するカレントスタイル変更判別ステ
ップと、該カレントスタイル変更判別ステップにより変
更を要すると判別された時にカレントスタイルを上位レ
ベルまたは下位レベルの構成スタイルに変更するカレン
トスタイル変更ステップとを有することを特徴とする階
層化スタイル設定方法。
1. A hierarchy style setting method for setting a hierarchy style for a document edited by a document creation device, comprising: a current style initialization step for initializing and setting the current style to the highest style of the hierarchy style. , A current style change determination step for determining whether or not the current style needs to be changed according to a paragraph break, and the current style is configured at an upper level or a lower level when the current style change determination step determines that a change is required. And a step of changing the current style to change the style.
【請求項2】 文書作成装置により編集される文書に設
定する階層化スタイルを定義登録する階層化スタイル定
義登録方法において、階層化スタイルの索引名称を定義
登録する名称登録ステップと、この名称登録ステップで
索引名称が登録される階層化スタイルに対して段落区切
りにより移動する構成スタイルの設定順序を定義登録す
る順序登録ステップと、この順序登録ステップで登録さ
れる構成スタイルに設定繰り返しを指定登録する繰返し
定義登録ステップと、前記構成スタイルの設定の逆戻り
を指定登録する逆戻り定義登録ステップと、前記構成ス
タイルの設定の先送りを指定登録する先送り定義登録ス
テップと、前記階層化スタイル設定の終了を指定登録す
る終了定義登録ステップとを有することを特徴とする階
層化スタイルの定義登録方法。
2. A name registration step of defining and registering an index name of a hierarchy style in a hierarchy style definition registration method for defining and registering a hierarchy style set in a document edited by a document creation device, and this name registration step. An index registration step is defined to register the setting order of the composition style that moves by paragraph breaks for the hierarchical style for which the index name is registered, and a repetition is specified and registered to the composition style registered in this order registration step. A definition registration step, a reversal definition registration step that specifies and registers a reversion of the configuration style setting, a deferment definition registration step that specifies and registers a deferral of the configuration style setting, and a registration that specifies the end of the layered style setting Definition of hierarchical style, characterized by having an end definition registration step How to register.
JP5351450A 1993-12-28 1993-12-28 Method for setting hierarchized style and definition registration method therefor Pending JPH07200590A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5351450A JPH07200590A (en) 1993-12-28 1993-12-28 Method for setting hierarchized style and definition registration method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5351450A JPH07200590A (en) 1993-12-28 1993-12-28 Method for setting hierarchized style and definition registration method therefor

Publications (1)

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

Family

ID=18417373

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5351450A Pending JPH07200590A (en) 1993-12-28 1993-12-28 Method for setting hierarchized style and definition registration method therefor

Country Status (1)

Country Link
JP (1) JPH07200590A (en)

Similar Documents

Publication Publication Date Title
JPH09204289A (en) Document editing device
US4931987A (en) Word processor for locating beginning position of text element and displaying corresponding formatting data and formatting mark separately
JPH0628136A (en) Function selection system of information processor
US5504850A (en) Data processing apparatus with headline representation
JPH07200590A (en) Method for setting hierarchized style and definition registration method therefor
JPH0326421B2 (en)
JP2656286B2 (en) Document creation device
JP2003015807A (en) Method and program for controlling input
JP2004062312A (en) Input device and program for making computer function as input device
JPH10187325A (en) Data inputting device
JP2001075962A (en) Electronic dictionary and recording medium recording electronic dictionary program
JPH07141363A (en) Document editing method
JPH0962666A (en) Document processing method and device therefor
JPH07160692A (en) Document display device
JPS61265664A (en) Homonym selecting mechanism in word processor
JPS63128424A (en) Data processing system
JPH04282746A (en) Document preparing device
JPH0644251A (en) Menu display method
JPH05101044A (en) Document processor
JPH0782493B2 (en) Character processing device with dictionary registration function
JPH05189115A (en) Numeral input device
JPH0619882A (en) Method and device for processing character
JPH07141358A (en) Document processor
JPH07191984A (en) Character processor
JPH04215119A (en) Character input device

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040622