JPH06110883A - Document processor - Google Patents

Document processor

Info

Publication number
JPH06110883A
JPH06110883A JP4262599A JP26259992A JPH06110883A JP H06110883 A JPH06110883 A JP H06110883A JP 4262599 A JP4262599 A JP 4262599A JP 26259992 A JP26259992 A JP 26259992A JP H06110883 A JPH06110883 A JP H06110883A
Authority
JP
Japan
Prior art keywords
heading
character string
document
structured document
processing
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
JP4262599A
Other languages
Japanese (ja)
Other versions
JP3525443B2 (en
Inventor
Katsuyuki Kondo
勝行 近藤
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP26259992A priority Critical patent/JP3525443B2/en
Publication of JPH06110883A publication Critical patent/JPH06110883A/en
Application granted granted Critical
Publication of JP3525443B2 publication Critical patent/JP3525443B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To make a header or a non-header of an arbitrary character string without paying the attention to the level of the header neither bringing about contradictions in the document structure with respect to documentation under the display of a print image. CONSTITUTION:When a character string which a header is not made of is selected by a selecting part 11 and it is indicated by an indicating part 12 that a header should be made of this character string, a specifying part 22 specifies the paragraph structure based on the structured document stored in a document data storage part 30, and a header making processing part 23 generates a header structure corresponding to the character string. If it is indicated by the indicating part 12 that a header should not made of the character string, it is processed by a non-header making processing part 25. A numbering part 26 redetermines a header number like a chapter number or a section number of the header of the structured document reflecting the processing result of the header making processing part 23 or the non-header making processing part 25 and displays it on a display part 40.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、ワークステーション
や高機能パーソナルコンピュータ上で動作する対話型シ
ステムを適用したワードプロセッサなどの文書処理装置
に関し、特に構造化された文書データを扱う文書処理装
置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document processing apparatus such as a word processor to which an interactive system operating on a workstation or a high-performance personal computer is applied, and more particularly to a document processing apparatus which handles structured document data.

【0002】[0002]

【従来の技術】従来、対話型システムは利用者とシステ
ムとの対話によってデータ処理を行っていくものであ
り、利用者がシステムに処理内容を指示し、それに対し
てシステムが表示画面に結果を表示する、ということを
繰り返すことによって処理を進めていく。ワードプロセ
ッサは、このような対話型システムを文書処理に適用し
たものである。
2. Description of the Related Art Conventionally, an interactive system is one in which data processing is performed by the interaction between the user and the system. The user instructs the system what to process, and the system displays the result on the display screen. The process is advanced by repeating displaying. A word processor is an application of such an interactive system to document processing.

【0003】一般の文書においては、章や節のタイトル
には章番号や節番号を付与したり、タイトル文字を本文
とは違った見せ方をすることによって、視覚的な効果を
得ることができる。このような文書を容易に作成するた
めのワードプロセッサとしては、キヤノンから1987
年に発行された「キヤノワードプロ1000 活用の手
引」の刊行物に開示されたものが知られている。
In a general document, a visual effect can be obtained by giving a chapter number or a section number to the title of a chapter or a section, or by displaying the title character differently from the text. . A word processor for easily creating such a document is available from Canon 1987.
It is known that it was disclosed in the publication of "Guide for Utilizing the Canon Word Pro 1000" published in 2010.

【0004】上記刊行物に開示された技術を採用したワ
ードプロセッサにおいては、章や節のタイトルに用いる
ための見出しの種類として、大見出し/中見出し/小見
出し/同行見出し、という4種類の見出しを用意してお
き、ユーザが選択した文字列を前記4種類の見出しの
内、どの種類の見出しとするかを指定することにより、
見出しの登録を行うことができる。なお、それぞれの見
出しには、見出し番号の付け方、見出し文字列の書体、
見出しのレイアウトの仕方などに関する設定を別々行う
ことができるため、例えば、ある文字列を大見出しにし
たとすると、大見出しに設定されている見出し番号、書
体、レイアウト方法などが、その文字列に適用される。
In the word processor adopting the technique disclosed in the above publication, four types of headings, ie, large heading / medium heading / small heading / accompanying heading, are prepared as heading types to be used for chapter and section titles. By specifying which kind of heading among the four kinds of heading the character string selected by the user is set,
You can register the headline. In addition, for each heading, the method of assigning a heading number, the font of the heading character string,
Since settings related to the layout of headings can be set separately, for example, if you set a certain character string as a major heading, the heading number, typeface, layout method, etc. set for the major heading are Applied.

【0005】また上記刊行物に開示された技術を採用し
たワードプロセッサでは、ウィジウィグ(WYSIWY
G(What You See Is What You Get=プリンタで出力し
た場合に、こう見えるであろうという状態を画面上に表
示する))形式で文書を表示することもできる。
Further, in the word processor adopting the technique disclosed in the above publication, WYSIWY
It is also possible to display the document in G (What You See Is What You Get = displays on the screen the state that would look like when printed by a printer) format.

【0006】しかしながら、WYSIWYG形式のワー
ドプロセッサにおいては、文書データが構造化されたも
のではなく、見出しは単なる印であるため、該印を付け
るためにどのレベルの見出し(大見出し、中見出し、小
見出しのいずれかの見出し)にするかをユーザが意識し
なくてはならない。また操作を続けている途中で、見出
しの階層関係に矛盾が生じることもあった。
However, in the word processor of the WYSIWYG format, the document data is not structured, and the heading is just a mark. Therefore, at which level of heading (large heading, middle heading, and sub heading) is added to make the marking. The user must be aware of which headline). Also, in the middle of continuing the operation, there was a case where a contradiction occurred in the hierarchical relationship of headings.

【0007】また従来においては、WYSIWYG形式
のワードプロセッサの他に、構造化された文書データを
扱う文書処理装置も実現されており、この様な文書処理
装置としては、アウトラインプロセッサと呼ばれる、構
造を意識した文書作成に有効な装置(例えば、特開昭6
1−195455号公報に開示されたものがある)があ
る。
Further, conventionally, in addition to a word processor of WYSIWYG format, a document processing apparatus for handling structured document data has been realized. As such a document processing apparatus, a structure consciously called an outline processor is considered. Device effective for creating a document (for example, Japanese Laid-Open Patent Publication No.
1-195455).

【0008】しかし、アウトラインプロセッサの場合
は、見出しの階層関係に矛盾が生じることはないが、表
示形式がWYSIWYGでないため、ユーザが出来上り
の文書の状態をイメージしながら、文書を作成すること
は極めて困難であった。
However, in the case of the outline processor, there is no contradiction in the hierarchical relation of headings, but since the display format is not WYSIWYG, it is extremely difficult for the user to create a document while imagining the state of the completed document. It was difficult.

【0009】[0009]

【発明が解決しようとする課題】このように上記従来の
ワードプロセッサや文書処理装置などの装置では、構造
化された文書は扱えないが、WYSIWYG形式の表示
に重点を置いて文書を作成するのか、あるいはWYSI
WYG形式で文書を表示できないが、構造化された文書
の作成に重点を置くものか、のいずれかであったため、
WYSIWYG形式の表示を維持しつつ、文書の構造に
矛盾が生じないように文書を作成することはできなかっ
た。
As described above, although the structured document cannot be handled by the above-described conventional word processor, document processing device, or the like, whether or not the document is created with emphasis on the WYSIWYG format display. Or WYSI
I can't display the document in WYG format, but I focused on creating a structured document.
It has not been possible to create a document so that the WYSIWYG format display is maintained and the structure of the document is consistent.

【0010】この発明は、実際に印刷したときの印刷結
果に対応する印刷イメージの表示形式の下で構造化文書
の作成を行いつつ、任意の文字列の見出し化或いは任意
の見出しの非見出し化を、ユーザが見出しのレベルを意
識することなく、且つ、文書構造に矛盾が生じることな
く行うことのできる文書処理装置を提供することを目的
とする。
According to the present invention, a structured document is created under a display format of a print image corresponding to a print result when actually printed, and at the same time, a heading of an arbitrary character string or a non-heading of an arbitrary heading is performed. It is an object of the present invention to provide a document processing apparatus that allows a user to perform the above without being aware of the level of the headline and without causing a contradiction in the document structure.

【0011】[0011]

【課題を解決するための手段】上記目的を達成するた
め、第1の発明の文書処理装置では、表示手段と、見出
し構造と段落構造とを含む構造化文書を、実際に印刷し
たときの印刷結果に対応する印刷イメージの表示形式
で、前記表示手段に表示させるウィンドウ処理手段と、
前記表示手段に表示された前記構造化文書中から、見出
し化されていない文字列を選択する選択手段と、見出し
化すべき旨を指示する指示手段と、該指示手段からの指
示に従って、前記選択手段により選択された文字列が属
している段落構造を特定する特定手段と、該特定手段に
より特定された段落構造内から、前記構造化文書の論理
的な構造において前記選択された文字列以降に出現する
構造を切り離すとともに、この切り離された構造に基づ
いて、前記選択された文字列に対応して見出し化すべく
見出し構造を生成する見出し化処理手段と、該見出し化
処理手段による処理結果を反映した前記構造化文書の見
出しの見出し番号を再決定するナンバリング手段とを具
えている。
In order to achieve the above object, in the document processing apparatus of the first invention, printing when actually printing a structured document including a display means, a heading structure and a paragraph structure. Window processing means for displaying on the display means in a display format of a print image corresponding to the result,
From the structured document displayed on the display means, a selection means for selecting a character string that has not been captioned, an instruction means for instructing that the caption should be captioned, and the selection means according to the instruction from the instruction means. Specifying means for specifying the paragraph structure to which the character string selected by means of, and from the paragraph structure specified by the specifying means appear after the selected character string in the logical structure of the structured document And the structure of the heading processing means for generating a heading structure for heading corresponding to the selected character string based on the separated structure, and reflecting the processing result by the heading processing means. And numbering means for re-determining the heading number of the heading of the structured document.

【0012】また、第2の発明の文書処理装置では、表
示手段と、見出し構造と段落構造とを含む構造化文書
を、実際に印刷したときの印刷結果に対応する印刷イメ
ージの表示形式で、前記表示手段に表示させるウィンド
ウ処理手段と、前記表示手段に表示された前記構造化文
書中から、見出し化されている文字列を選択する選択手
段と、非見出し化すべき旨を指示する指示手段と、該指
示手段からの指示に従って、前記選択手段により選択さ
れた文字列が属している見出し構造を特定する特定手段
と、該特定手段により特定された見出し構造を段落構造
に変換すると共に、この変換され段落構造を、前記構造
化文書の論理的な構造において当該特定された見出し構
造の直前に存在していた見出し構造に属すように処理す
る非見出し化処理手段と、該非見出し化処理手段による
処理結果を反映した前記構造化文書の見出しの見出し番
号を再決定するナンバリング手段とを具えている。
Further, in the document processing apparatus of the second invention, the display means and the display format of the print image corresponding to the print result when the structured document including the heading structure and the paragraph structure is actually printed, Window processing means to be displayed on the display means, selection means for selecting a character string that has been captioned from the structured document displayed on the display means, and instruction means for instructing decapsulation According to an instruction from the instructing means, specifying means for specifying a heading structure to which the character string selected by the selecting means belongs, and converting the heading structure specified by the specifying means into a paragraph structure, A non-heading processing unit that processes the specified paragraph structure so that it belongs to the heading structure existing immediately before the specified heading structure in the logical structure of the structured document. When, and comprising a numbering unit for re-determining the heading number of heading of the structured document that reflects the results of processing by said non-headlines processing means.

【0013】更に、第3の発明の文書処理装置では、第
2の発明において、前記特定された見出し構造が非見出
し化可能であるか否かを、現時点での構造化文書の論理
的な構造に基づいて判断する判断手段を更に具え、この
判断手段により非見出し化可能であると判定された見出
し構造対象のみを非見出し化することを特徴としてい
る。
Further, in the document processing apparatus of the third invention, in the second invention, it is determined whether or not the specified heading structure can be made non-heading by the logical structure of the structured document at the present time. It is characterized in that it further comprises a judging means for judging based on the above, and unmarks only the heading structure object judged to be non-heading by this judging means.

【0014】[0014]

【作用】第1の発明によれば、選択手段によって見出し
化されていない文字列が選択され、更に指示手段によっ
て見出し化すべき旨を指示すると、特定手段は、前記選
択手段により選択された文字列が属している段落構造を
特定し、これを見出し化処理手段に渡す。見出し化処理
手段では、前記特定手段により特定された段落構造か
ら、前記構造化文書の論理的な構造(論理構造)におい
て前記選択された文字列以降に出現する構造を切り離す
と共に、この切り離された構造に基づいて、前記選択手
段により選択された文字列に対応して見出し化すべく見
出し構造を生成する。更にナンバリング手段は、見出し
化処理手段による処理結果を反映した前記構造化文書の
見出しの、章番号や節番号等の見出し番号を再決定す
る。
According to the first aspect of the invention, when the selecting means selects a character string that has not been headed and the instructing means further indicates that the heading should be headed, the specifying means causes the character string selected by the selecting means. Specifies the paragraph structure to which it belongs and passes it to the heading processing means. In the heading processing means, the structure that appears after the selected character string in the logical structure (logical structure) of the structured document is separated from the paragraph structure specified by the specifying means, and this separation is performed. Based on the structure, a heading structure is generated so as to be headed corresponding to the character string selected by the selecting means. Further, the numbering means redetermines the heading numbers such as chapter numbers and section numbers of the headings of the structured document reflecting the processing result by the heading processing means.

【0015】第2の発明によれば、選択手段によって見
出し化されている文字列が選択され、更に、指示手段に
よって非見出し化すべき旨を指示すると、特定手段は、
前記選択手段により選択された文字列が属している見出
し構造を特定し、これを非見出し化処理手段に渡す。非
見出し化処理手段では、前記特定手段により特定された
見出し構造を段落構造に変換すると共に、この変換され
段落構造を、構造化文書の論理的な構造(論理構造)に
おいて当該特定された見出し構造の直前に存在していた
見出し構造に属すように処理する。更にナンバリング手
段は、非見出し化処理手段による処理結果を反映した前
記構造化文書の見出しの、章番号や節番号等の見出し番
号を再決定する。
According to the second aspect of the invention, when the character string headed by the selecting means is selected and the instruction means instructs the non-heading, the specifying means
The heading structure to which the character string selected by the selecting means belongs is specified and passed to the non-heading processing means. The non-heading processing unit converts the heading structure specified by the specifying unit into a paragraph structure, and converts the converted paragraph structure into the specified heading structure in the logical structure (logical structure) of the structured document. Process as if it belongs to the heading structure that existed immediately before. Further, the numbering means redetermines the heading numbers such as chapter numbers and section numbers of the headings of the structured document reflecting the processing result by the non-heading processing means.

【0016】第3の発明によれば、第2の発明おいて、
判断手段によって前記特定された見出し構造が非見出し
化可能であると判断された場合のみ、前記特定された見
出し構造が非見出し化される。
According to the third invention, in the second invention,
Only when it is judged by the judging means that the specified heading structure can be made non-heading, the specified heading structure is made non-heading.

【0017】[0017]

【実施例】以下、本発明の実施例を添付図面を参照して
説明する。
Embodiments of the present invention will be described below with reference to the accompanying drawings.

【0018】図1は本発明に係る文書処理装置の一実施
例を示す機能ブロック図である。同図において、文書処
理装置は、入力部10、制御部20、文書データ記憶部
30及び表示部40を備えている。
FIG. 1 is a functional block diagram showing an embodiment of the document processing apparatus according to the present invention. In the figure, the document processing apparatus includes an input unit 10, a control unit 20, a document data storage unit 30, and a display unit 40.

【0019】文書データ記憶部30には、見出し構造と
段落構造とを含む構造化文書データが記憶されている。
この実施例では、構造化文書データは木構造のデータ構
造形式で記憶されている。
The document data storage unit 30 stores structured document data including a heading structure and a paragraph structure.
In this embodiment, the structured document data is stored in a tree-structured data structure format.

【0020】表示部40には、制御部20によって文書
データ記憶部30から読み出された構造化データ文書
が、WYSIWYG形式で表示される。
On the display unit 40, the structured data document read from the document data storage unit 30 by the control unit 20 is displayed in the WYSIWYG format.

【0021】入力部10は、表示部40に表示された構
造化文書中から、見出し化されていない文字列(見出し
化すべく文字列)を選択したり、見出し化されている文
字列(非見出し化すべく見出し)を選択する選択部11
と、見出し化すべき旨や非見出し化すべき旨を指示する
指示部12とを有している。
The input unit 10 selects a character string that has not been captioned (a character string to be captioned) from the structured document displayed on the display unit 40, or a character string that has been captioned (non-captioned). Selector 11 for selecting headings)
And an instruction unit 12 for instructing that it should be captioned or should not be captivated.

【0022】制御部部20において、ウィンドウ処理部
21は、文書データ記憶部30から構造化文書データを
読み出して、実際に印刷したときの印刷結果に対応する
印刷イメージの表示形式つまり、WYSIWYG形式で
表示部40に表示させる。
In the control unit 20, the window processing unit 21 reads the structured document data from the document data storage unit 30 and displays the print image corresponding to the print result when actually printing, that is, in the WYSIWYG format. It is displayed on the display unit 40.

【0023】特定部22は、指示部12から見出し化す
べき旨の指示があると、文書データ記憶部30内の構造
化文書(木構造)を参照して、選択部11により選択さ
れた文字列が属している段落構造を特定する。また指示
部12から非見出し化すべき旨の指示があると、文書デ
ータ記憶部30内の構造化文書(木構造)を参照して、
選択部11により選択された文字列が属している見出し
構造を特定する。こうして特定された段落構造あるいは
見出し構造は、特定部22から見出し化処理部23に通
知される。
When the specifying unit 22 receives an instruction from the instruction unit 12 to make a heading, the specifying unit 22 refers to the structured document (tree structure) in the document data storage unit 30 and selects the character string selected by the selecting unit 11. Specifies the paragraph structure to which belongs. Further, when there is an instruction from the instruction unit 12 to de- headline, the structured document (tree structure) in the document data storage unit 30 is referred to,
The heading structure to which the character string selected by the selection unit 11 belongs is specified. The paragraph structure or heading structure thus specified is notified from the specifying unit 22 to the heading processing unit 23.

【0024】見出し化処理部23は、特定部22により
特定された段落構造から、構造化文書における論理的な
構造において、選択部11により選択された文字列以降
に出現する構造を切り離すと共に、この切り離された構
造に基づいて、選択部11により選択された文字列に対
応して見出し化すべく見出し構造を生成する。
The heading processing unit 23 separates the structure that appears after the character string selected by the selection unit 11 in the logical structure of the structured document from the paragraph structure specified by the specification unit 22, and Based on the separated structure, a heading structure is generated so as to be headed corresponding to the character string selected by the selection unit 11.

【0025】判断部24は、特定部22により特定され
た見出し構造が非見出し化可能であるか否かを、文書デ
ータ記憶部30に記憶されている現時点での構造化文書
の論理的な構造に基づいて判断し、この結果を非見出し
化処理部25に通知する。
The judgment unit 24 determines whether or not the heading structure specified by the specifying unit 22 can be made non-heading, based on the logical structure of the structured document at the present time stored in the document data storage unit 30. And the result is notified to the non-heading processing unit 25.

【0026】非見出し化処理部25は、判断部24によ
る判断結果が非見出し化可能であった場合は、特定手部
22により特定された見出し構造を段落構造に変換する
と共に、この変換され段落構造を、構造化文書における
論理的構造において当該特定された見出し構造の直前に
存在していた見出し構造に属すように処理する。
When the judgment result of the judgment unit 24 indicates that the judgment can be made non-heading, the non-heading processing unit 25 converts the heading structure specified by the specifying unit 22 into a paragraph structure, and the converted paragraphs. The structure is processed to belong to the heading structure existing immediately before the specified heading structure in the logical structure in the structured document.

【0027】ナンバリング部26は、見出し化処理部2
3によって見出し化された結果あるいは非見出し化処理
部25によって非見出し化された結果を考慮した構造化
文書の見出しの見出し番号を再決定する。つまり章番
号、節番号などの見出し番号を振り直す。
The numbering unit 26 is a heading processing unit 2.
The heading number of the heading of the structured document is re-determined in consideration of the heading result of 3 or the heading result of the non-heading processing unit 25. In other words, renumber heading numbers such as chapter numbers and section numbers.

【0028】図2は、図1に示した実施例の装置を実現
するためのハードウェア構成を示すブロック図であり、
この装置はコンピュータやワークステーションやワード
プロセッサなどに適用される。同図において、装置は、
制御装置201及び主記憶装置202から構成された処
理装置203と、表示装置204と、キーボード205
及びマウス206から構成された入力装置207と、補
助記憶装置208とを有している。制御装置201は制
御部20に、主記憶装置202は文書データ記憶部30
に、表示装置204は表示部40に、入力装置207は
入力部10にそれぞれ対応している。補助記憶装置20
8は構造化文書をファイル形式で保存するためのもので
ある。
FIG. 2 is a block diagram showing a hardware configuration for realizing the apparatus of the embodiment shown in FIG.
This device is applied to computers, workstations, word processors and the like. In the figure, the device is
A processing device 203 including a control device 201 and a main storage device 202, a display device 204, and a keyboard 205.
And an input device 207 including a mouse 206 and an auxiliary storage device 208. The control device 201 is the control unit 20, and the main storage device 202 is the document data storage unit 30.
The display device 204 corresponds to the display unit 40, and the input device 207 corresponds to the input unit 10. Auxiliary storage device 20
Reference numeral 8 is for saving the structured document in a file format.

【0029】係る構成において、文書処理装置による処
理の全体の流れについて、図3に示すフローチャート及
び上述した図1を参照して説明する。
With such a configuration, the overall flow of processing by the document processing apparatus will be described with reference to the flowchart shown in FIG. 3 and the above-mentioned FIG.

【0030】入力部10によって文字列を選択し、更に
所望のコマンドを入力すると、制御部20は、入力部1
0からの文字列情報およびコマンドを受取り(ステップ
301)、そのコマンドを解釈する。そして制御部20
は、コマンドを解釈した結果に基づいて、見出し化を実
行するのか否かを判断し(ステップ302)、見出し化
する場合には、見出し化処理を実行し(ステップ30
3)、一方、見出し化しない場合は、非見出し化を実行
するのか否かを判断する(ステップ304)。ここで、
非見出し化する場合には、非見出し化処理を実行し(ス
テップ305)、一方、非見出し化しない場合は、コマ
ンドに応じた処理を実行する(ステップ306)。
When a character string is selected by the input unit 10 and a desired command is further input, the control unit 20 causes the input unit 1 to
The character string information and the command from 0 are received (step 301), and the command is interpreted. And the control unit 20
Judges whether or not to execute heading based on the result of interpreting the command (step 302), and in the case of heading, executes heading processing (step 30).
3) On the other hand, if the heading is not performed, it is determined whether the non-heading is executed (step 304). here,
In the case of non-heading, the non-heading processing is executed (step 305). On the other hand, in the case of non-heading processing, processing according to the command is executed (step 306).

【0031】次に、見出し化処理について、図4乃至図
8及び上述した図1を参照して説明する。なお、図4は
見出し化処理動作を示すフローチャートであり、図5乃
至図8は見出し化処理を説明するための図である。
Next, the captioning process will be described with reference to FIGS. 4 to 8 and FIG. 1 described above. 4 is a flowchart showing the captioning process operation, and FIGS. 5 to 8 are diagrams for explaining the captioning process.

【0032】今、表示部40には、図5に示す様なWY
SIWYGウィンドウ500が表示されているものとす
る。このウィンドウ500は、特許明細書に関する文書
を作成中であるウィンドウを示しており、このウィンド
ウ500においては、既に、第1レベルの見出しとして
「1章 発明の名称」、「2章 特許請求の範囲」及び
「3章 発明の詳細な説明」が存在し、また第2レベル
の見出しとして「3.1 産業上の利用分野」及び
「3.2節 発明が解決しようとする課題」が存在して
いる。
Now, on the display unit 40, WY as shown in FIG.
It is assumed that the SIWYG window 500 is displayed. This window 500 shows a window in which a document relating to a patent specification is being created. In this window 500, "Chapter 1 Invention Title" and "Chapter 2 Claims" have already been set as the first level headings. And “Chapter 3 Detailed Explanation of the Invention” exist, and as the second level heading, there are “3.1 Industrial Application Field” and “Section 3.2 Problems to be Solved by the Invention”. There is.

【0033】この様な表示状態のときには、当該構造化
文書は、図6に示すような木構造形式のデータ構造で文
書データ記憶部30に記憶されている。図6に示すデー
タ構造において、600Aで示される部分は論理構造を
示しており、見出し3、タイトル3等は論理構造の構成
要素である。また600Bで示される部分は文書の内容
部を示している。更に論理構造において内容部を持つ構
成要素と該構成要素と対応する内容部とは、例えばポイ
ンタで対応つけられている。具体的には、内容部を持つ
構成要素に、該当する内容部へのポインタが保持されて
いる。
In such a display state, the structured document is stored in the document data storage unit 30 with a tree-structured data structure as shown in FIG. In the data structure shown in FIG. 6, a portion indicated by 600A indicates a logical structure, and the heading 3, title 3 and the like are constituent elements of the logical structure. The portion indicated by 600B indicates the content portion of the document. Further, in the logical structure, a component having a content part and a content part corresponding to the component are associated with each other, for example, by a pointer. Specifically, a pointer to the corresponding content part is held in the component having the content part.

【0034】なお、図6に示す論理構造においては、図
5に示す構造化文書における第1レベルの見出しである
「1章 発明の名称」及び「2章 特許請求の範囲」の
見出しの見出し構造については省略している。仮に、そ
れらの見出し構造を図示するならば、「1章 発明の名
称」に関する見出し構造は「見出し1」となり、「2章
特許請求の範囲」に関する見出し構造は「見出し2」
となり、その「見出し1」及び「見出し2」は、図6に
示す論理構造において「見出し3」の構成要素と同レベ
ルとなる。
In the logical structure shown in FIG. 6, the heading structure of the heading of "Chapter 1 Invention Name" and "Chapter 2 Claims" which are the first level headings in the structured document shown in FIG. Are omitted. If those heading structures are illustrated, the heading structure for “Chapter 1 Title of Invention” is “Heading 1”, and the heading structure for “Chapter 2 Claims” is “Heading 2”.
Thus, the "heading 1" and the "heading 2" are at the same level as the constituent elements of the "heading 3" in the logical structure shown in FIG.

【0035】さて図5に示される表示状態で、3.1節
中の段落である「従来の技術」を見出し化する場合は、
選択部11によって3.1節中の段落中の文字列「従来
の技術」を選択し、次に指示部12によって「見出し
化」コマンドを選択し実行すべき旨を指示する。
Now, in the display state shown in FIG. 5, when the paragraph "prior art" in section 3.1 is to be indexed,
The selecting unit 11 selects the character string "conventional technique" in the paragraph in Section 3.1, and then the instructing unit 12 selects the "heading" command to instruct the execution.

【0036】これにより、選択部11により選択された
「従来の技術」の文字列情報及び、指示部12により指
示された「見出し化」コマンドは特定部22に入力され
るので、図4に示すように、特定部22は入力された文
字列を認識すると共に(ステップ401)、入力された
コマンドを解釈する(ステップ402)。
As a result, the "conventional technique" character string information selected by the selection unit 11 and the "heading" command instructed by the instruction unit 12 are input to the specification unit 22 and are shown in FIG. As described above, the identifying unit 22 recognizes the input character string (step 401) and interprets the input command (step 402).

【0037】次に特定部22は、文書データ記憶部30
内に記憶されている図6に示す様な木構造のデータを参
照し(ステップ403)、現在選択されている文字列
「従来の技術」を含む段落構造を特定し(ステップ40
4)、更に、その特定した段落構造を見出し化処理部2
3に渡す。この例では、段落構造610(図6参照)が
特定されて、見出し化処理部23に渡されることにな
る。
Next, the specifying unit 22 uses the document data storage unit 30.
6 is referred to (step 403), and the paragraph structure including the currently selected character string "prior art" is specified (step 40).
4) Further, the specified paragraph structure is added to the heading processing unit 2
Pass to 3. In this example, the paragraph structure 610 (see FIG. 6) is specified and passed to the heading processing unit 23.

【0038】見出し化処理部23では、渡された段落構
造610から、図6に示される論理構造において、選択
された文字列以降に出現する構造を切り離し(ステップ
405)、該切り離した構造に基づいて見出し構造を生
成する(ステップ406)。この例では、段落構造61
0から構造611(図6参照)が切り離されることにな
る。
In the heading processing section 23, the structure that appears after the selected character string in the logical structure shown in FIG. 6 is separated from the passed paragraph structure 610 (step 405), and based on the separated structure. To generate a headline structure (step 406). In this example, the paragraph structure 61
Structure 611 (see FIG. 6) will be disconnected from 0.

【0039】次に見出し化処理部23は、ステップ40
6において生成した見出し構造にタイトル番号を付与し
て(ステップ407)、木構造の所定の位置に配置し
(ステップ408)、その後、その旨をナンバリング部
26に通知する。
Next, the heading processing unit 23 performs step 40.
A title number is added to the heading structure generated in 6 (step 407) and the heading structure is arranged at a predetermined position in the tree structure (step 408), and then the numbering unit 26 is notified of that fact.

【0040】ナンバリング部26では、ステップ406
において生成された見出し構造が配置された木構造にお
いて、当該見出し構造の次に出現する見出し構造のタイ
トル番号を振り直し(ステップ409)、その後、ナン
バリング終了の旨をウィンドウ処理部21に通知する。
ナンバリング部26によってタイトル番号が振り直され
た後の木構造のデータ構造は、図7に示す様な内容にな
っている。
In the numbering unit 26, step 406
In the tree structure in which the heading structure generated in (3) is arranged, the title number of the heading structure that appears next to the heading structure is reassigned (step 409), and then the window processing unit 21 is notified of the end of the numbering.
The data structure of the tree structure after the title numbers are reassigned by the numbering unit 26 has a content as shown in FIG.

【0041】すなわち、図7に示すように、図6におい
て、見出し4の下部構造であった文字列4(“従来の技
術”)が見出し化されることによって、文字列4と文字
列5が見出し4から切り離され、新たな見出し構造が生
成されると共にタイトル番号が割り振られ、第2レベル
の見出しとして木構造に加えられている。このときの見
出しレベルとしては、見出し化される段落が属している
見出しレベルと同じレベルが割り当てられる。また、そ
れ以降の見出しはタイトル番号が振り直されている。な
お、図7に示すデータ構造は、第1レベルの見出しであ
る「1章 発明の名称」及び「2章 特許請求の範囲」
の見出しの見出し構造については省略している。
That is, as shown in FIG. 7, the character string 4 (“prior art”), which is a substructure of the heading 4 in FIG. It is separated from the heading 4, a new heading structure is generated, a title number is assigned, and it is added to the tree structure as a second level heading. At this time, the same level as the heading level to which the paragraph to be headed belongs is assigned as the heading level. In addition, the title numbers are re-assigned to the subsequent headings. The data structure shown in FIG. 7 is the first-level heading “Chapter 1 Invention Name” and “Chapter 2 Claims”.
The heading structure of the heading is omitted.

【0042】さて、ウィンドウ処理部21では、ナンバ
リング終了の通知を受け取ると、文書データ記憶部30
に記憶されている図7に示す木構造のデータに基づい
て、当該構造化文書を、WYSIWYG形式で表示部4
0に再表示する(ステップ410)。すなわち、図5に
示した表示内容は図8に示す表示内容に変更される。図
8から明らかなように、図5における「従来の技術」と
いう段落が第2レベルの見出し「3.2節 従来の技
術」という見出しに置き換わったのに加えて、それ以降
の章番号の付け替えが起こるため、図5における第2レ
ベルの見出し「3.2節 発明か解決しようとする課
題」が、「3.3節 発明が解決しようとする課題」に
変更されている。
When the window processing unit 21 receives the numbering end notification, the document data storage unit 30.
The structured document is displayed in the WYSIWYG format on the basis of the tree-structured data shown in FIG.
It is displayed again at 0 (step 410). That is, the display content shown in FIG. 5 is changed to the display content shown in FIG. As is clear from FIG. 8, in addition to replacing the paragraph “Conventional Technology” in FIG. 5 with the heading “Section 3.2 Conventional Technology” at the second level, the chapter numbering after that has been changed. Therefore, the second-level heading “Section 3.2 Invention or problem to be solved” in FIG. 5 is changed to “Section 3.3 Problem to be solved by the invention”.

【0043】次に、図2に示す装置による見出し化処理
について、図9を参照しながら簡単に説明する。
Next, the heading process by the apparatus shown in FIG. 2 will be briefly described with reference to FIG.

【0044】最初に、ユーザが、ある段落中の文字列上
で入力装置207のマウス206に設けられているボタ
ンをクリック(901)すると、表示装置204はその
文字列が選択されたことを示す表示(902)を行う。
この状態でユーザが、マウス206を操作して、メニュ
ー等の項目から「見出し化」コマンド(903)を指示
し実行すべき旨を指示すると、制御装置201は、その
コマンドを解釈(904)し、見出し化処理を実行す
る。すなわち、制御装置201は、主記憶装置202内
に記憶されている木構造の文書データ(905)を参照
して、現在選択されている文字列を含む段落構造を特定
し、この段落構造に基づいて、適切なレベルの見出し構
造を生成(906)する。また、その見出し構造と文書
データ記憶部30に記憶されている木構造における段落
構造とを入れ替え、その後、見出しのタイトル番号を新
たにナンバリング(907)する。このようにして更新
された木構造の文書データ(908)の内容を反映し
て、見出しの表示(909)が表示装置204によって
行われる。
First, when the user clicks on a button (901) provided on the mouse 206 of the input device 207 on a character string in a certain paragraph, the display device 204 indicates that the character string is selected. Display (902) is performed.
In this state, when the user operates the mouse 206 to instruct a "heading" command (903) from an item such as a menu to instruct execution, the control device 201 interprets the command (904). , Perform heading processing. That is, the control device 201 refers to the tree-structured document data (905) stored in the main storage device 202 to identify the paragraph structure including the currently selected character string, and based on this paragraph structure. And generate an appropriate level of heading structure (906). Also, the heading structure is replaced with the paragraph structure in the tree structure stored in the document data storage unit 30, and then the title number of the heading is newly numbered (907). The display device 204 displays the headline (909) by reflecting the content of the tree-structured document data (908) updated in this way.

【0045】次に、非見出し化処理について、図10乃
至図14及び上述した図1を参照しながら説明する。な
お、図10は非見出し化処理動作を示すフローチャート
であり、図11乃至図14は非見出し化処理を説明する
ための図である。
Next, the non-heading processing will be described with reference to FIGS. 10 to 14 and the above-mentioned FIG. 10 is a flowchart showing the non-heading processing operation, and FIGS. 11 to 14 are diagrams for explaining the non-heading processing.

【0046】今、表示部40には、図8に示すようなW
YSIWYGウィンドウ500が表示されているものと
する。この様な表示状態のときには、構造化文書は、図
11に示す様な木構造形式のデータ構造で文書データ記
憶部30に記憶されている。図11に示すデータ構造
は、図7に示したデータ構造に、第1レベルの見出しで
ある「2章 特許請求の範囲」の見出しの見出し構造が
追加された構造になっている。
Now, on the display section 40, W as shown in FIG.
It is assumed that the YSIWYG window 500 is displayed. In such a display state, the structured document is stored in the document data storage unit 30 in a tree-structured data structure as shown in FIG. The data structure shown in FIG. 11 is a structure obtained by adding the heading structure of the heading “Chapter 2 Claims”, which is the first level heading, to the data structure shown in FIG. 7.

【0047】ここでは、上記見出し化処理によって得ら
れた図8に示したウィンドウ内に表示されている構造化
文書において、第1レベルの見出しである「3章 発明
の詳細な説明」を非見出し化にする場合の処理について
説明する。
Here, in the structured document displayed in the window shown in FIG. 8 obtained by the above heading processing, the first level heading "Chapter 3 Detailed Description of the Invention" is not headed. The process for converting to a computer will be described.

【0048】さて図11に示される表示状態で、選択部
11によって「3章 発明の詳細な説明」を選択し、次
に指示部12によって「非見出し化」コマンドを選択し
実行すべき旨を指示する。
Now, in the display state shown in FIG. 11, the selecting section 11 selects "Chapter 3 Detailed explanation of the invention", and then the instructing section 12 selects the "non-heading" command. Give instructions.

【0049】これにより、選択部11により選択された
文字列情報及び、指示部12により指示された「非見出
し化」コマンドは特定部22に入力されるので、図10
に示すように、特定部22は入力された見出しを認識す
るとともに(ステップ1001)、入力されたコマンド
を解釈する(ステップ1002)。
As a result, the character string information selected by the selecting unit 11 and the "non-heading" command instructed by the instructing unit 12 are input to the specifying unit 22.
As shown in, the identifying unit 22 recognizes the input headline (step 1001) and interprets the input command (step 1002).

【0050】次に特定部22は、文書データ記憶部30
内に記憶されている図12に示す様な木構造のデータを
参照して(ステップ1003)、現在選択されている見
出し「3章 発明の詳細な説明」を含む見出し構造を特
定すると共に(ステップ1104)、該特定した見出し
構造を判断部24に渡す。この例では、見出し構造12
10(図12参照)が特定されて、判断部24に渡され
ることになる。
Next, the specifying unit 22 uses the document data storage unit 30.
By referring to the data of the tree structure as shown in FIG. 12 stored in (step 1003), the heading structure including the currently selected heading "Chapter 3 Detailed Description of the Invention" is specified (step 1003). 1104) and passes the specified heading structure to the determination unit 24. In this example, the heading structure 12
10 (see FIG. 12) is identified and passed to the determination unit 24.

【0051】判断部24では、渡された見出し構造11
10が非見出し化可能であるか否かを、文書データ記憶
部30内の文書データにおける論理構造を参照して判断
する(ステップ1005)。非見出し化可能の場合は、
その旨及び渡された見出し構造を非見出し化処理部26
に渡す。なお、判断部24は見出しを非見出し化するに
際し、選択されている見出しの下位に見出しが存在しな
い場合のみ、その見出しを非見出し化にするようにして
いる。
In the judgment section 24, the passed heading structure 11
Whether or not 10 can be made non-heading is determined by referring to the logical structure of the document data in the document data storage unit 30 (step 1005). If non-heading is possible,
To that effect and the passed heading structure, the non-heading processing unit 26
Pass to. Note that the determination unit 24, when making a headline non-heading, makes the headline non-heading only when there is no heading below the selected heading.

【0052】さて非見出し化処理部26では、上記渡さ
れた見出し構造に基づいて段落構造を生成するとともに
(ステップ1006)、その生成した段落構造を、図1
2に示す論理構造における上記渡された見出し構造の直
前に位置していた見出し構造に属すように配置処理し
(ステップ1007)、その後、その旨をナンバリング
部26に通知する。
The non-heading processing section 26 generates a paragraph structure based on the above-mentioned passed heading structure (step 1006), and the generated paragraph structure is shown in FIG.
Arrangement processing is performed so that the heading structure located immediately before the passed heading structure in the logical structure shown in 2 belongs (step 1007), and the numbering unit 26 is notified of that.

【0053】ナンバリング部26では、論理的に、上記
生成された段落構造以降に出現する見出し構造のタイト
ル番号を振り直し(ステップ1008)、ナンバリング
終了の旨をウィンドウ処理部21に通知する。
The numbering unit 26 logically renumbers the title numbers of the heading structures appearing after the generated paragraph structure (step 1008) and notifies the window processing unit 21 of the end of the numbering.

【0054】ナンバリング部26によってタイトル番号
が振り直された後の木構造のデータ構造は、図12に示
す様な内容になっている。
The data structure of the tree structure after the title numbers are reassigned by the numbering unit 26 has the contents shown in FIG.

【0055】すなわち、図12においては、図11にお
いて見出し2が非見出し化されることによって、その見
出し3は木構造から削除され、またタイトル文字列
(“発明の詳細な説明”)を基にして新たな段落構造が
生成され、更に見出し2の下部構造として木構造に加え
られている。また図12においては、図11において見
出し3の下部構造であった見出し4、5、6は、それぞ
れ見出し3、4、5として見出し2の下部構造に付け替
えられ、タイトル番号が振り直されている。
That is, in FIG. 12, the heading 2 in FIG. 11 is made non-heading so that the heading 3 is deleted from the tree structure, and based on the title character string (“Detailed Description of the Invention”). A new paragraph structure is created and added to the tree structure as a substructure of Heading 2. Further, in FIG. 12, headings 4, 5, and 6 which are substructures of heading 3 in FIG. 11 are replaced with substructures of heading 2 as headings 3, 4, and 5, respectively, and title numbers are reassigned. .

【0056】ウィンドウ処理部21では、ナンバリング
終了の通知を受け取ると、文書データ記憶部30に記憶
されている図12に示される木構造のデータに基づい
て、当該構造化文書を、WYSIWYG形式で表示部4
0に再表示する(ステップ1009)。即ち、図8に示
した表示内容は図13に示す表示内容に変更される。図
13から明らかなように、図8において「3章 発明の
詳細な説明」という見出しであったのが、「2章 特許
請求の範囲」という見出し下の段落に置き換わったのに
加え、3章に含まれていた各節が2章に付けかわり、そ
れに伴ってタイトル番号も振り直されている。
Upon receiving the numbering end notification, the window processing unit 21 displays the structured document in WYSIWYG format based on the tree-structured data shown in FIG. 12 stored in the document data storage unit 30. Part 4
It is displayed again at 0 (step 1009). That is, the display content shown in FIG. 8 is changed to the display content shown in FIG. As is clear from FIG. 13, the heading “Chapter 3 Detailed Description of the Invention” in FIG. 8 has been replaced by the paragraph under the heading “Chapter 2 Claims”, and in addition to Chapter 3 Each section included in was replaced in Chapter 2, and the title number was renumbered accordingly.

【0057】なお、判断部24は、ステップ1005に
おいて見出しを非見出し化にできない場合は、その旨を
ユーザに提示し(ステップ1010)、処理を中断する
(ステップ1011)。
If the headline cannot be made non-heading in step 1005, the judgment section 24 presents the fact to the user (step 1010) and interrupts the processing (step 1011).

【0058】ここで、見出しを、非見出し化できる場合
と、非見出し化出来ない場合とについて、具体例を用い
て説明する。
Here, the case where the headline can be made non-heading and the case where the heading cannot be made non-heading will be described by using a specific example.

【0059】例えば、見出しレベルが図14に示すよう
な階層構造になっていたとする。図14に示す例におい
ては、矩形は見出しのレベルを表し、その矩形内の数字
はタイトル番号を表す。
For example, assume that the heading level has a hierarchical structure as shown in FIG. In the example shown in FIG. 14, the rectangle represents the level of the headline, and the number in the rectangle represents the title number.

【0060】第1レベルの見出しとして「1」、「2」
の各見出しが存在し、第1レベルの下位に存在する第2
レベルの見出しとして「1.1」、「1.2」、「2.
1」及び「2.2」の各見出しが存在し、また第2レベ
ルの下位に存在する第3レベルの見出しとして「1.
1.1」、「1.1.2」及び「1.1.1」がの各見
出しが存在し、更に第3レベルの下位に存在する第4レ
ベルの見出しとして「1.2.1.1」の見出しが存在
している。
"1", "2" as the first level heading
Each heading of exists, and the second that exists under the first level
The level headings are “1.1”, “1.2”, “2.
There are headings "1" and "2.2", and "1.
1.1 ”,“ 1.1.2 ”, and“ 1.1.1 ”are present, and as a fourth-level heading that is subordinate to the third level,“ 1.2.1. There is a heading "1".

【0061】このような階層構造の見出しにおいては、
各レベルの先頭の見出しは、下位層に見出しを持たない
場合のみ「非見出し化」が可能であり、一方、下位層に
見出しを持つ場合は「非見出し化」処理は禁止される。
In the heading of such a hierarchical structure,
The heading at the beginning of each level can be "non-heading" only when there is no heading in the lower layer, while the "non-heading" processing is prohibited when the heading is in the lower layer.

【0062】図15において、記号「×」で示される見
出しは非見出し化することはできないことを示し、また
記号「○」で示される見出しは非見出し化することがで
きることを示している。例えば「1章」の見出しは
「1.n節」ある場合には「非見出し化」を実行できな
い。
In FIG. 15, the heading indicated by the symbol “x” indicates that the heading cannot be made non-heading, and the heading indicated by the symbol “◯” indicates that the heading can be made non-heading. For example, when the heading of "Chapter 1" is "1.n section", "non-heading" cannot be executed.

【0063】次に、図2に示す装置による非見出し化処
理について、図15を参照しながら簡単に説明する。
Next, the non-heading processing by the apparatus shown in FIG. 2 will be briefly described with reference to FIG.

【0064】最初に、ユーザが、ある見出しの近傍で入
力装置207のマウス206に設けられているボタンを
クリック(1501)すると、表示装置204はその見
出しが選択されたことを示す表示(1502)を行う。
この状態でユーザが、マウス206を操作して、メニュ
ー等の項目から「非見出し化」コマンド(1503)を
指示し実行すべき旨を指示すると、制御装置201はそ
のコマンドを解釈(1504)し、非見出し化処理を実
行する。すなわち、制御装置201は、主記憶装置20
2内に記憶されている文書データ(木構造)(150
5)を参照し、その木構造から、現在選択されている見
出しの文字列から段落構造を生成する(1506)。ま
た、その段落構造と文書データ記憶部30が保持する木
構造の見出し構造とを入れ替え、その後、見出しのタイ
トル番号を新たにナンバリング(1507)する。この
ようにして更新された木構造の文書データ(1508)
の内容を反映して、非見出し化された段落(文字列)の
表示(1509)が表示装置204によって行われる。
First, when the user clicks a button provided on the mouse 206 of the input device 207 near a headline (1501), the display device 204 displays a display indicating that the headline is selected (1502). I do.
In this state, when the user operates the mouse 206 to instruct a "non-heading" command (1503) from an item such as a menu to instruct execution, the control device 201 interprets the command (1504). , Non-heading processing is executed. That is, the control device 201 controls the main storage device 20.
Document data (tree structure) stored in 2 (150
5), the paragraph structure is generated from the tree structure from the character string of the currently selected heading (1506). Further, the paragraph structure is replaced with the tree-structured heading structure held by the document data storage unit 30, and then the title number of the heading is newly numbered (1507). The tree-structured document data updated in this way (1508)
The display device 204 displays (1509) the decapitalized paragraph (character string) by reflecting the content of (1).

【0065】なお、制御装置201は、段落構造生成
(1506)において、文書構造に矛盾が起きないよう
に構造の変更を行うが、もし、文書構造の矛盾を解決す
ることができない場合は、ユーザに非見出し化できない
旨を通知して処理を中断する。そして、非見出し化でき
ない旨が表示装置204に表示される。
The control device 201 changes the structure in the paragraph structure generation (1506) so that no contradiction occurs in the document structure. However, if the contradiction in the document structure cannot be resolved, the user changes the structure. Is notified that it cannot be decapitated and the process is interrupted. Then, the fact that it cannot be decapitated is displayed on the display device 204.

【0066】以上説明したように本実施例によれば、W
YSIWYG形式の表示下で構造化文書の見出しに関す
る操作を、文書構造に矛盾を生じることなく行うことが
できる。また出来上りの文書を確認しながら見出しや段
落などの文書要素に対して直接操作ができる。更に見出
しのレベルを意識することなく、論理的に矛盾のない構
造を持つ文書を作成することができる。
As described above, according to this embodiment, W
The operation related to the heading of the structured document can be performed under the display in the YSIWYG format without causing a contradiction in the document structure. In addition, it is possible to directly operate on document elements such as headings and paragraphs while checking the finished document. Further, it is possible to create a document having a logically consistent structure without paying attention to the heading level.

【0067】[0067]

【発明の効果】以上説明したように本発明によれば、見
出し構造と段落構造とを含む構造化文書を、実際に印刷
したときの印刷結果に対応する印刷イメージの表示形式
で表示手段に表示しつつ、見出し化されていない文字列
を見出し化すべく操作が行われると、その非見出し化の
文字列を、文書構造に矛盾を生じることなく、見出し化
することができる。
As described above, according to the present invention, a structured document including a heading structure and a paragraph structure is displayed on the display means in a print image display format corresponding to the print result when actually printed. On the other hand, if an operation is performed to make a non-heading character string into a heading, the non-heading character string can be headed without causing a contradiction in the document structure.

【0068】また見出し化されている見出しを非見出し
化すべく操作が行われると、その見出し化されている見
出しを、文書構造に矛盾を生じることなく、非見出し化
することができる。
When an operation is performed to make a headlined headline non-heading, the headlined headline can be made non-heading without causing a contradiction in the document structure.

【0069】従って、ユーザは、構造化文書の作成及び
編集に際しては、見出し化されていない文字列の見出し
化あるいは見出し化された見出しの非見出し化の際に
は、見出しのレベルを意識することなく、対象とするも
のを選択し、見出し化あるいは非見出し化すべき旨を指
示することにより、所望の構造化文書を作成・編集する
ことができる。
Therefore, when creating and editing a structured document, the user should be aware of the level of the headline when the unheaded character string is headed or the headed heading is unheaded. Instead, it is possible to create and edit a desired structured document by selecting a target object and instructing that it should be captioned or non-captioned.

【0070】従って、実際に印刷したときの印刷結果に
対応する印刷イメージの表示形式の下で構造化文書の作
成を行いつつ、任意の文字列の見出し化或いは任意の見
出しの非見出し化を、ユーザが見出しのレベルを意識す
ることなく、且つ、文書構造に矛盾が生じることなく行
うことのできる文書処理装置を提供することができると
いう効果を奏する。
Therefore, while creating a structured document under the display format of the print image corresponding to the print result when actually printed, the heading of any character string or the non-heading of any heading is performed. It is possible to provide a document processing device that can be performed by the user without being conscious of the level of the headline and without causing a contradiction in the document structure.

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

【図1】本発明に係る文書処理装置の一実施例を示す機
能ブロック図。
FIG. 1 is a functional block diagram showing an embodiment of a document processing apparatus according to the present invention.

【図2】図1に示した実施例の装置を実現するためのハ
ードウェア構成を示すブロック図。
FIG. 2 is a block diagram showing a hardware configuration for realizing the apparatus of the embodiment shown in FIG.

【図3】本実施例の文書処理の全体の流れを示すフロー
チャート。
FIG. 3 is a flowchart showing the overall flow of document processing according to this embodiment.

【図4】本実施例の見出し化処理動作を示すフローチャ
ート。
FIG. 4 is a flowchart showing a heading processing operation of this embodiment.

【図5】本実施例で用いた見出し化処する前の構造化文
書の表示例を示す図。
FIG. 5 is a diagram showing a display example of a structured document before heading processing used in the present embodiment.

【図6】図5に示す構造化文書のデータ構造を示す図。6 is a diagram showing a data structure of the structured document shown in FIG.

【図7】図6に示すデータ構造に対して見出し化処理を
施した後のデータ構造を示す図。
FIG. 7 is a diagram showing a data structure after performing a captioning process on the data structure shown in FIG. 6;

【図8】図7に示すデータ構造に基づいて表示された構
造化文書の表示例を示す図。
8 is a diagram showing a display example of a structured document displayed based on the data structure shown in FIG.

【図9】図2に示す装置による見出し化処理の概略を説
明するための図。
FIG. 9 is a diagram for explaining an outline of a captioning process performed by the apparatus shown in FIG.

【図10】本実施例の非見出し化処理動作を示すフロー
チャート。
FIG. 10 is a flowchart showing a non-heading processing operation of this embodiment.

【図11】図7に示す構造化文書のデータ構造を示す
図。
11 is a diagram showing a data structure of the structured document shown in FIG. 7. FIG.

【図12】図11に示すデータ構造に対して非見出し化
処理を施した後のデータ構造を示す図。
FIG. 12 is a diagram showing a data structure after performing a non-heading process on the data structure shown in FIG. 11;

【図13】図12に示すデータ構造に基づいて表示され
た構造化文書の表示例を示す図。
FIG. 13 is a view showing a display example of a structured document displayed based on the data structure shown in FIG.

【図14】見出しを非見出し化できる場合と非見出し化
できない場合とを説明するための図。
FIG. 14 is a diagram for explaining a case where a headline can be made non-heading and a case where it cannot be made non-heading.

【図15】図2に示す装置による非見出し化処理の概略
を説明するための図。
FIG. 15 is a diagram for explaining an outline of a non-heading process by the device shown in FIG.

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

10…入力部、11…選択部、12…指示部、20…制
御部、21…ウィンドウ処理部、22…特定部、23…
見出し化処理部、24…判断部、25…非見出し化処理
部、26…ナンバリング部、30…文書データ記憶部、
40…表示部、201…制御装置、202…種記憶装
置、203…処理装置、204…表示装置、205…キ
ーボード、206…マウス、207…入力措置、208
…補助記憶装置。
10 ... Input part, 11 ... Selection part, 12 ... Instruction part, 20 ... Control part, 21 ... Window processing part, 22 ... Specification part, 23 ...
Heading processing unit, 24 ... Judgment unit, 25 ... Non-heading processing unit, 26 ... Numbering unit, 30 ... Document data storage unit,
40 ... Display unit, 201 ... Control device, 202 ... Seed storage device, 203 ... Processing device, 204 ... Display device, 205 ... Keyboard, 206 ... Mouse, 207 ... Input device, 208
… Auxiliary storage device.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】表示手段と、 見出し構造と段落構造とを含む構造化文書を、実際に印
刷したときの印刷結果に対応する印刷イメージの表示形
式で、前記表示手段に表示させるウィンドウ処理手段
と、 前記表示手段に表示された前記構造化文書中から、見出
し化されていない文字列を選択する選択手段と、 見出し化すべき旨を指示する指示手段と、 前記指示手段からの指示に従って、前記選択手段により
選択された文字列が属している段落構造を特定する特定
手段と、 前記特定手段により特定された段落構造内から、前記構
造化文書の論理的な構造において前記選択された文字列
以降に出現する構造を切り離すとともに、この切り離さ
れた構造に基づいて、前記選択された文字列に対応して
見出し化すべく見出し構造を生成する見出し化処理手段
と、 前記見出し化処理手段による処理結果を反映した前記構
造化文書の見出しの見出し番号を再決定するナンバリン
グ手段とを具えたことを特徴とする文書処理装置。
1. Display means, and window processing means for displaying the structured document including a heading structure and a paragraph structure on the display means in a display format of a print image corresponding to a print result when actually printed. , Selecting means for selecting a character string that has not been headed from the structured document displayed on the display means, instructing means for instructing that it should be headed, and selecting in accordance with an instruction from the instructing means Specifying means for specifying the paragraph structure to which the character string selected by the means belongs, and from within the paragraph structure specified by the specifying means, after the selected character string in the logical structure of the structured document A heading process for separating an appearing structure and for generating a heading structure for heading corresponding to the selected character string based on the separated structure. Document processing apparatus comprising: the stage, that equipped with a numbering means for re-determining the heading number of heading of the structured document that reflects the results of processing by the title processing means.
【請求項2】表示手段と、 見出し構造と段落構造とを含む構造化文書を、実際に印
刷したときの印刷結果に対応する印刷イメージの表示形
式で、前記表示手段に表示させるウィンドウ処理手段
と、 前記表示手段に表示された前記構造化文書中から、見出
し化されている文字列を選択する選択手段と、 非見出し化すべき旨を指示する指示手段と、 前記指示手段からの指示に従って、前記選択手段により
選択された文字列が属している見出し構造を特定する特
定手段と、 前記特定手段により特定された見出し構造を段落構造に
変換すると共に、この変換され段落構造を、前記構造化
文書の論理的な構造において当該特定された見出し構造
の直前に存在していた見出し構造に属すように処理する
非見出し化処理手段と、 前記非見出し化処理手段による処理結果を反映した前記
構造化文書の見出しの見出し番号を再決定するナンバリ
ング手段とを具えたことを特徴とする文書処理装置。
2. A display means, and a window processing means for displaying the structured document including a heading structure and a paragraph structure on the display means in a display format of a print image corresponding to a print result when actually printed. , Selecting means for selecting a headlined character string from the structured document displayed on the display means, instructing means for instructing non-heading, and following the instruction from the instructing means Specifying means for specifying the heading structure to which the character string selected by the selecting means belongs, and converting the heading structure specified by the specifying means into a paragraph structure, and converting the converted paragraph structure into the structured document A non-heading processing means for processing so as to belong to a heading structure existing immediately before the specified heading structure in a logical structure; and the non-heading processing means Document processing apparatus is characterized in that comprises a numbering means for re-determining the heading heading number of the structured document that reflects the processing result by.
【請求項3】前記特定された見出し構造が非見出し化可
能であるか否かを、現時点での構造化文書の論理的な構
造に基づいて判断する判断手段を更に具え、この判断手
段により非見出し化可能であると判定された見出し構造
対象のみを非見出し化することを特徴とする請求項2記
載の文書処理装置。
3. Further comprising a judging means for judging whether or not the specified heading structure can be made non-heading based on the logical structure of the structured document at the present time. 3. The document processing apparatus according to claim 2, wherein only the heading structure target that is determined to be capturable is decapsulated.
JP26259992A 1992-09-30 1992-09-30 Document processing device Expired - Lifetime JP3525443B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26259992A JP3525443B2 (en) 1992-09-30 1992-09-30 Document processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26259992A JP3525443B2 (en) 1992-09-30 1992-09-30 Document processing device

Publications (2)

Publication Number Publication Date
JPH06110883A true JPH06110883A (en) 1994-04-22
JP3525443B2 JP3525443B2 (en) 2004-05-10

Family

ID=17378039

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26259992A Expired - Lifetime JP3525443B2 (en) 1992-09-30 1992-09-30 Document processing device

Country Status (1)

Country Link
JP (1) JP3525443B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08272772A (en) * 1995-03-31 1996-10-18 Fujitsu Ltd Processing system for questionnaire document
JP2010244412A (en) * 2009-04-08 2010-10-28 Konica Minolta Business Technologies Inc Apparatus, method and program for processing document

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08272772A (en) * 1995-03-31 1996-10-18 Fujitsu Ltd Processing system for questionnaire document
JP2010244412A (en) * 2009-04-08 2010-10-28 Konica Minolta Business Technologies Inc Apparatus, method and program for processing document

Also Published As

Publication number Publication date
JP3525443B2 (en) 2004-05-10

Similar Documents

Publication Publication Date Title
JP3849880B2 (en) Computer / human interface system for compound documents
JP4916237B2 (en) Image display apparatus, image display method, program for causing computer to execute the method, and image display system
JPH11282829A (en) Font sharing system and method, and storage medium storing program to execute the sharing method
JPH0352098B2 (en)
JPH04344928A (en) Method and apparatus for graphically associating user-dialogue display with main application in data processing system
US7793224B1 (en) Methods and apparatus for formatting identified content
US7032171B1 (en) System and method for selecting and processing information in an electronic document
JPS641793B2 (en)
JPH0689324A (en) Tool kit and method for establishing form
JP3525443B2 (en) Document processing device
JP2009130705A (en) Document processing system
JP3471854B2 (en) Character processing apparatus and method
JP3965836B2 (en) Image processing system
JP2000076226A (en) Document data editing system
Dreyer Using Microsoft PowerPoint for electronic presentations
JP3866859B2 (en) Editing device
JPH10244727A (en) Form overlay apparatus, form overlay method, and computer readable recording medium in which program for control of overlay printing is recorded
JP2879940B2 (en) Score editing system
JP2001265378A (en) Device, method, and system for information processing and storage medium
JP3807805B2 (en) Data modifier
JPS61229161A (en) Documentation and editing device
JPH02103622A (en) Multimedia document preparing system
JPH103371A (en) Page layout comparator and page layout display device
JP2002140657A (en) Data processor, computer readable medium and program
JPH0764981A (en) Document processor

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040127

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040209

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090227

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100227

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110227

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120227

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130227

Year of fee payment: 9

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130227

Year of fee payment: 9