JPH0877169A - Document processing apparatus and method thereof - Google Patents
Document processing apparatus and method thereofInfo
- Publication number
- JPH0877169A JPH0877169A JP6212392A JP21239294A JPH0877169A JP H0877169 A JPH0877169 A JP H0877169A JP 6212392 A JP6212392 A JP 6212392A JP 21239294 A JP21239294 A JP 21239294A JP H0877169 A JPH0877169 A JP H0877169A
- Authority
- JP
- Japan
- Prior art keywords
- display mode
- document
- display
- structural element
- holding
- 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.)
- Withdrawn
Links
Landscapes
- Document Processing Apparatus (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は文書処理装置およびその
方法に関し、例えば、文書の論理構造を利用して文書の
作成や編集を行う文書処理装置に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document processing apparatus and method thereof, and more particularly, to a document processing apparatus for creating and editing a document by utilizing the logical structure of the document.
【0002】[0002]
【従来の技術】文書の論理構造を利用して文書作成・編
集を行う構造エディタなどの文書処理装置およびその方
法において、その表示モードを切替える単位は文書構造
全体である。2. Description of the Related Art In a document processing apparatus such as a structure editor for creating / editing a document by utilizing the logical structure of the document and its method, the unit for switching the display mode is the entire document structure.
【0003】[0003]
【発明が解決しようとする課題】しかし、上記従来例に
おいては、次のような問題点があった。However, the above-mentioned conventional example has the following problems.
【0004】例えば、構造全体を一つの表示モードで表
示するため、ある部分の構造要素群についてはその属性
を知りたく、また別の部分では実際のレイアウトを見た
いというようなユーザの要求に応えられず、また、複雑
なレイアウトの場合はそのレイアウト表示するのに時間
がかかるので、例えレイアウトが単純な部分だけを見た
い場合でも、文書全体をレイアウト表示することになり
時間を要する。つまり、各表示モードにはそれぞれ利点
があるが、一つの文書中においては、それぞれの利点を
生かした表示を行うことができない欠点がある。For example, in order to display the entire structure in one display mode, it is possible to meet the user's request such as wanting to know the attribute of a structural element group at a certain portion and seeing the actual layout at another portion. If the layout is complicated, it takes time to display the layout. Therefore, even if only the simple portion of the layout is desired to be viewed, the entire document is displayed in the layout, which requires time. That is, each display mode has its own advantages, but there is a drawback in that it is not possible to perform display utilizing each advantage in one document.
【0005】本発明は、上述の問題を解決するためのも
のであり、構造要素毎にその表示モードを指定すること
ができる文書処理装置およびその方法を提供することを
目的とする。An object of the present invention is to solve the above-mentioned problems, and it is an object of the present invention to provide a document processing apparatus and method capable of designating a display mode for each structural element.
【0006】[0006]
【課題を解決するための手段】および[Means for Solving the Problems] and
【作用】本発明は、前記の目的を達成する一手段とし
て、以下の構成を備える。The present invention has the following structure as one means for achieving the above object.
【0007】本発明にかかる文書処理装置は、異なる複
数の表示モードで文書を表示する文書処理装置であっ
て、文書の構造要素に対応する表示モードを指定する指
定手段と、前記指定手段によって指定された構造要素毎
の表示モードを保持する保持手段と、前記保持手段に保
持された表示モードを参照して、前記文書の構造要素毎
に指定された表示モードでその文書を表示する表示手段
とを有することを特徴とする。A document processing apparatus according to the present invention is a document processing apparatus for displaying a document in a plurality of different display modes, and a designating means for designating a display mode corresponding to a structural element of the document and a designating means designated by the designating means. Holding means for holding the display mode for each of the structural elements, and display means for displaying the document in the display mode specified for each of the structural elements of the document with reference to the display mode held by the holding means. It is characterized by having.
【0008】また、本発明にかかる文書処理方法は、異
なる複数の表示モードで文書を表示する文書処理方法で
あって、文書の構造要素に対応する表示モードを指定す
る指定ステップと、前記指定ステップで指定された構造
要素毎の表示モードを保持手段に保持させる保持ステッ
プと、前記保持手段に保持された表示モードを参照し
て、前記文書の構造要素毎に指定された表示モードでそ
の文書を表示する表示ステップとを有することを特徴と
する。A document processing method according to the present invention is a document processing method for displaying a document in a plurality of different display modes, and a designating step for designating a display mode corresponding to a structural element of the document, and the designating step. With reference to the holding step for holding the display mode for each structural element designated by the holding means and the display mode held by the holding means, the document is displayed in the display mode designated for each structural element of the document. And a display step of displaying.
【0009】[0009]
【実施例】以下、本発明にかかる一実施例の文書処理装
置を図面を参照して詳細に説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A document processing apparatus according to an embodiment of the present invention will be described in detail below with reference to the drawings.
【0010】[構成]図1は本発明にかかわる一実施例
の文書処理装置の処理構成例を示す図である。[Structure] FIG. 1 is a diagram showing a processing structure example of a document processing apparatus according to an embodiment of the present invention.
【0011】同図において、1は表示命令獲得処理部
で、ユーザの表示命令を獲得するためのものである。2
は表示モード保持部で、各構造要素が自分自身の表示モ
ードを保持するためのものである。3は表示モード伝播
処理部で、上位構造要素から下位構造要素へ表示モード
を伝播し、各構造要素の表示モードを決定するためのも
のである。4は表示情報決定処理部で、表示モード保持
部3に保持された各構造要素の表示モードを基に、全体
の表示画面を決定するものである。5は表示処理部で、
表示情報決定処理部4で決定された表示情報を実際の出
力装置に出力するものである。In the figure, reference numeral 1 denotes a display command acquisition processing unit for acquiring a display command of a user. 2
Is a display mode holding unit for each structural element to hold its own display mode. Reference numeral 3 is a display mode propagation processing unit for propagating the display mode from the upper structure element to the lower structure element and determining the display mode of each structure element. A display information determination processing unit 4 determines the entire display screen based on the display mode of each structural element held in the display mode holding unit 3. 5 is a display processing unit,
The display information determined by the display information determination processing unit 4 is output to an actual output device.
【0012】また、6は文書論理構造定義保持部で、表
示モード伝播処理部3によって伝播される構造要素を決
定するための情報を保持する。7は表示モード伝播タイ
プ保持部で、表示モード伝播処理部3による伝播方法を
保持するものである。A document logical structure definition holding unit 6 holds information for determining the structural element propagated by the display mode propagation processing unit 3. A display mode propagation type holding unit 7 holds the propagation method by the display mode propagation processing unit 3.
【0013】図2は本実施例の文書処理装置の構成例を
示すブロック図である。FIG. 2 is a block diagram showing an example of the arrangement of the document processing apparatus of this embodiment.
【0014】同図において、21は入力装置で、表示命令
獲得処理部1がユーザが命令などを入力するためのもの
である。22は出力装置で、表示処理部5によって実際に
表示が行われるものである。23はメモリで、文書論理構
造定義保持部6,表示モード伝播タイプ保持部7や表示モ
ード保持部3などとして使用されるものである。24は中
央処理装置で、以下で説明する処理を制御するものであ
る。これらの各装置は、バス25によって相互に接続され
ている。In FIG. 1, reference numeral 21 denotes an input device, which is used by the display command acquisition processing section 1 for the user to input a command or the like. Reference numeral 22 denotes an output device, which is actually displayed by the display processing unit 5. A memory 23 is used as the document logical structure definition holding unit 6, the display mode propagation type holding unit 7, the display mode holding unit 3, and the like. A central processing unit 24 controls the processes described below. Each of these devices is interconnected by a bus 25.
【0015】[処理]図3は本実施例の処理手順の一例
を示すフローチャートである。なお、以下では、図4に
示すような論理構造をもつ文書「月報」を処理する例を
説明するが、この文書「月報」は、最初、図5に示すよ
うな「帳票モード」で表示されているものとする。[Processing] FIG. 3 is a flow chart showing an example of the processing procedure of this embodiment. In the following, an example of processing a document “monthly report” having a logical structure as shown in FIG. 4 will be described. This document “monthly report” is initially displayed in the “form mode” as shown in FIG. It is assumed that
【0016】ユーザは入力装置21によって、図3のステ
ップS1で表示モードを変更したい構造要素を指定し、ス
テップS2でその構造要素の表示モードを指定する。な
お、ステップS1とS2は、表示命令獲得処理部1で実行さ
れる処理である。ここで、例えば、表示モードを変更す
る構造要素に「フロントマター」が、その表示モードに
「レイアウトモード」が指定されたものとする。The user uses the input device 21 to specify the structural element whose display mode is to be changed in step S1 of FIG. 3, and the display mode of the structural element in step S2. Note that steps S1 and S2 are processes executed by the display command acquisition processing section 1. Here, for example, it is assumed that “front matter” is designated as the structural element for changing the display mode and “layout mode” is designated as the display mode.
【0017】続いて、ステップS3で表示モード蓄積部3
の指定された構造要素に対応する部分に指定された表示
モードを設定する。図6は表示モードの設定状態例を表
す図で、ステップS3の処理によって、構造要素「フロン
トマター」の表示モードが「レイアウト」モードに設定
され、他の構造要素については「帳票」のままである。Subsequently, in step S3, the display mode storage unit 3
Sets the display mode specified in the part corresponding to the specified structuring element of. FIG. 6 is a diagram showing a setting state example of the display mode, the display mode of the structural element “front matter” is set to the “layout” mode by the process of step S3, and the other structural elements remain “form”. is there.
【0018】続いて、ステップS4で、文書論理構造定義
保持部6と表示モード伝播タイプ保持部7に保持されてい
る情報を元に、上位構造から下位構造へ表示モードを伝
播する。文書論理構造定義保持部6には、図4に符号41で
示す点線枠内のような文書論理構造要素の構成が記述さ
れていて、この記述に従って表示モードを伝播する。例
えば、表示モード伝播タイプ保持部7に保持された伝播
タイプが「下位構造要素のすべてに伝播」の場合、「フ
ロントマター」の下位構造要素に当る「年」「月」「著
者」「テーマ」および「目標」の表示モードは、この処
理によってすべて「レイアウト」モードに変更される
(図7参照)。Then, in step S4, the display mode is propagated from the upper structure to the lower structure based on the information held in the document logical structure definition holding unit 6 and the display mode propagation type holding unit 7. In the document logical structure definition holding unit 6, the structure of the document logical structure element as shown by the dotted line frame 41 in FIG. 4 is described, and the display mode is propagated according to this description. For example, when the propagation type held in the display mode propagation type holding unit 7 is "Propagate to all subordinate structural elements", "year", "month", "author", and "theme" that correspond to subordinate structural elements of "front matter" The display modes of “target” and “target” are all changed to “layout” mode by this process (see FIG. 7).
【0019】続いて、ステップS5で伝播され決定された
各構造要素の表示モードに従って文書全体の表示画面を
決定し表示する。図8はこの処理により「フロントマタ
ー」以下の構造が「レイアウト」モード表示に変更され
た様子を示す図である。Subsequently, the display screen of the entire document is determined and displayed according to the display mode of each structural element propagated and determined in step S5. FIG. 8 is a diagram showing a state in which the structure under “front matter” is changed to the “layout” mode display by this processing.
【0020】次に、表示モード伝播タイプが「混合構造
要素まで伝播」に設定されている場合の処理例について
説明する。なお、混合構造要素とは、図9に一例を示す
ように、その下位構造要素として実際のデータと論理構
造要素の両方をもつような構造要素である。Next, a processing example when the display mode propagation type is set to "propagation to mixed structuring element" will be described. The mixed structuring element is a structuring element having both actual data and a logical structuring element as its subordinate structuring element, as shown in an example in FIG.
【0021】以下では、図10に示すような論理構造をも
つ文書「エッセイ」を処理する例を説明するが、構造要
素「本文」は混合構造要素である。また、この文書「月
報」は、最初、図11に示すような「帳票モード」で表示
されているものとする。An example of processing a document "essay" having a logical structure as shown in FIG. 10 will be described below, but the structural element "text" is a mixed structural element. The document "monthly report" is initially displayed in the "form mode" as shown in FIG.
【0022】ユーザが、図3に示したステップS1で構造
要素「エッセイ」を指定し、ステップS2で「レイアウ
ト」モードを指定すると、ステップS4で、その伝播タイ
プ「混合構造要素まで伝播」に従って表示モードが伝播
される。この場合、図12に示すように、構造要素「本
文」は上述したように混合構造要素であるから、「レイ
アウト」モードの伝播は「本文」までであり、それより
下位の構造要素は「帳票」モードのままになる。また、
その上位に混合構造要素をもたない構造要素「見出し」
には表示モードが伝播される。When the user specifies the structural element "essay" in step S1 shown in FIG. 3 and the "layout" mode in step S2, it is displayed according to the propagation type "propagation to mixed structural element" in step S4. The mode is propagated. In this case, as shown in FIG. 12, since the structural element "body" is a mixed structural element as described above, the propagation of the "layout" mode is up to "body", and the structural elements lower than that are "form". Remain in mode. Also,
Structural element "heading" that does not have a mixed structural element above it
The display mode is propagated to.
【0023】図13は以上の処理により混合構造要素まで
が「レイアウト」モード表示に変更された様子を示す図
である。FIG. 13 is a diagram showing a state in which even the mixed structuring element is changed to the "layout" mode display by the above processing.
【0024】以上説明したように、本実施例によれば、
構造要素毎にその表示モードを指定することができ、ユ
ーザの意図する表示結果を得ることができる。例えば、
一つの文書中において表示モードそれぞれの利点を生か
した表示を行ったり、必要な部分だけをレイアウト表示
して短時間にレイアウト表示を得られるなどパフォーマ
ンスを向上することができる。As described above, according to this embodiment,
The display mode can be specified for each structural element, and the display result intended by the user can be obtained. For example,
It is possible to improve performance such that a display that makes the best use of the respective display modes is displayed in one document, or only a necessary part is displayed in a layout and a layout display is obtained in a short time.
【0025】また、構造要素それぞれについて表示モー
ドを指定する手間を省くため、上位の構造要素から下位
の構造要素へ表示モードを伝播して、各構造要素の表示
モードを決定することができる。Further, in order to save the trouble of designating the display mode for each structural element, the display mode of each structural element can be determined by propagating the display mode from the upper structural element to the lower structural element.
【0026】なお、本発明は、複数の機器から構成され
るシステムに適用しても、一つの機器からなる装置に適
用してもよい。The present invention may be applied to either a system composed of a plurality of devices or an apparatus composed of a single device.
【0027】また、本発明は、システムあるいは装置に
プログラムを供給することによって達成される場合にも
適用できることはいうまでもない。Further, it goes without saying that the present invention can be applied to the case where it is achieved by supplying a program to a system or an apparatus.
【0028】[0028]
【発明の効果】以上説明したように、本発明によれば、
構造要素毎にその表示モードを指定することができる文
書処理装置およびその方法を提供することができる。As described above, according to the present invention,
It is possible to provide a document processing apparatus and its method capable of designating the display mode for each structural element.
【図1】本発明にかかわる一実施例の文書処理装置の処
理構成例を示す図、FIG. 1 is a diagram showing a processing configuration example of a document processing apparatus according to an embodiment of the present invention,
【図2】本実施例の文書処理装置の構成例を示すブロッ
ク図、FIG. 2 is a block diagram showing a configuration example of a document processing apparatus of this embodiment,
【図3】本実施例の処理手順の一例を示すフローチャー
ト、FIG. 3 is a flowchart showing an example of a processing procedure of the present embodiment,
【図4】文書の論理構造の一例を示す図、FIG. 4 is a diagram showing an example of a logical structure of a document,
【図5】図4に示す論理構造をもつ文書の表示例を示す
図、5 is a diagram showing a display example of a document having the logical structure shown in FIG.
【図6】図4に示す論理構造をもつ文書の表示モードの
設定状態例を示す図、6 is a diagram showing an example of a setting state of a display mode of a document having the logical structure shown in FIG.
【図7】図6に示す表示モードの設定状態が処理によっ
て変更された状態を示す図、FIG. 7 is a diagram showing a state in which the setting state of the display mode shown in FIG. 6 has been changed by processing;
【図8】図5に示す文書の表示が処理によって変更され
た様子を示す図、8 is a diagram showing a state in which the display of the document shown in FIG. 5 has been changed by processing,
【図9】混合構造要素を説明する図、FIG. 9 illustrates a mixed structural element,
【図10】混合構造要素を含む文書の論理構造例および
表示モードの設定状態例を示す図、FIG. 10 is a diagram showing an example of a logical structure of a document including a mixed structuring element and an example of a setting state of a display mode;
【図11】図10に示す論理構造をもつ文書の表示例を示
す図、11 is a diagram showing a display example of a document having the logical structure shown in FIG.
【図12】図10に示す表示モードの設定状態が処理によ
って変更された状態を示す図、FIG. 12 is a diagram showing a state in which the setting state of the display mode shown in FIG. 10 is changed by processing;
【図13】図11に示す文書の表示が処理によって変更さ
れた様子を示す図である。13 is a diagram showing a state in which the display of the document shown in FIG. 11 is changed by the processing.
1 表示命令獲得処理部 2 表示モード保持部 3 表示モード伝播処理部 4 表示情報決定処理部 5 表示処理部 6 文書論理構造定義保持部 7 表示モード伝播タイプ保持部 21 入力装置 22 出力装置 23 メモリ 24 中央処理装置 1 Display command acquisition processing unit 2 Display mode holding unit 3 Display mode propagation processing unit 4 Display information decision processing unit 5 Display processing unit 6 Document logical structure definition holding unit 7 Display mode propagation type holding unit 21 Input device 22 Output device 23 Memory 24 Central processing unit
Claims (5)
る文書処理装置であって、 文書の構造要素に対応する表示モードを指定する指定手
段と、 前記指定手段によって指定された構造要素毎の表示モー
ドを保持する保持手段と、 前記保持手段に保持された表示モードを参照して、前記
文書の構造要素毎に指定された表示モードでその文書を
表示する表示手段とを有することを特徴とする文書処理
装置。1. A document processing device for displaying a document in a plurality of different display modes, comprising: designating means for designating a display mode corresponding to a structural element of the document; and displaying for each structural element designated by the designating means. It is characterized by comprising: holding means for holding the mode; and display means for displaying the document in a display mode designated for each structural element of the document with reference to the display mode held by the holding means. Document processing device.
前記保持手段に保持された表示モードを他の構造要素へ
伝播する伝播手段を有することを特徴とする請求項1に
記載された文書処理装置。2. The document processing according to claim 1, further comprising a propagating unit that propagates the display mode held by the holding unit to another structural element based on the structural relationship of the document. apparatus.
表示モードを伝播する範囲を決定する決定手段を有する
ことを特徴とする請求項2に記載された文書処理装置。3. The document processing apparatus according to claim 2, further comprising a determining unit that determines a range in which the display mode is propagated based on a type of a structural element.
対応して指定された表示モードを、その構造要素の下位
の構造要素へ伝播することを特徴とする請求項2または
請求項3に記載された文書処理装置。4. The method according to claim 2, wherein the propagating means propagates the display mode designated corresponding to the structural element of the document to a structural element subordinate to the structural element. Document processing device described.
る文書処理方法であって、 文書の構造要素に対応する表示モードを指定する指定ス
テップと、 前記指定ステップで指定された構造要素毎の表示モード
を保持手段に保持させる保持ステップと、 前記保持手段に保持された表示モードを参照して、前記
文書の構造要素毎に指定された表示モードでその文書を
表示する表示ステップとを有することを特徴とする文書
処理方法。5. A document processing method for displaying a document in a plurality of different display modes, comprising a designating step of designating a display mode corresponding to a structural element of the document, and displaying for each structural element designated in the designating step. A holding step of holding the mode in holding means; and a display step of displaying the document in a display mode designated for each structural element of the document with reference to the display mode held in the holding means. Characteristic document processing method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6212392A JPH0877169A (en) | 1994-09-06 | 1994-09-06 | Document processing apparatus and method thereof |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6212392A JPH0877169A (en) | 1994-09-06 | 1994-09-06 | Document processing apparatus and method thereof |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0877169A true JPH0877169A (en) | 1996-03-22 |
Family
ID=16621831
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP6212392A Withdrawn JPH0877169A (en) | 1994-09-06 | 1994-09-06 | Document processing apparatus and method thereof |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0877169A (en) |
-
1994
- 1994-09-06 JP JP6212392A patent/JPH0877169A/en not_active Withdrawn
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH04166990A (en) | Display control device | |
| JPH03204687A (en) | Presentation device | |
| JPH0877169A (en) | Document processing apparatus and method thereof | |
| JPH01227182A (en) | Map information using device | |
| JPH05216458A (en) | Character pattern data converter | |
| JPS62186289A (en) | display control device | |
| JPH0227489A (en) | Display method for picture input data | |
| JPH04148272A (en) | Automatic control system for character string pouring area | |
| JP3160436B2 (en) | Target information display device | |
| JPS6139092A (en) | Display unit | |
| JPH04248675A (en) | Lsi design supporting device | |
| JPS6084588A (en) | Graphic processing device | |
| JPH01197826A (en) | Screen display method for computer system | |
| JPS58166388A (en) | Image processor | |
| JPS62226330A (en) | Cursor control method | |
| JPH0415762A (en) | Graphic editing system | |
| JPH04215121A (en) | Display data creation device | |
| JPH03189691A (en) | Color display device and its display method and computer | |
| JPH0373073A (en) | Information processing device with image editing function | |
| JPH05242117A (en) | System for determining cell length in table calcultion software | |
| JPH01120619A (en) | Menu display system | |
| JPH0594165A (en) | Screen redisplaying system | |
| JPH05298219A (en) | Checking device for communication input/ output method | |
| JPS6249567A (en) | Graphic display device | |
| JPH02153763A (en) | Image input/output system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20011106 |