JP2001101165A - Document editor - Google Patents

Document editor

Info

Publication number
JP2001101165A
JP2001101165A JP27714099A JP27714099A JP2001101165A JP 2001101165 A JP2001101165 A JP 2001101165A JP 27714099 A JP27714099 A JP 27714099A JP 27714099 A JP27714099 A JP 27714099A JP 2001101165 A JP2001101165 A JP 2001101165A
Authority
JP
Japan
Prior art keywords
attribute information
data
document
displayed
character
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
JP27714099A
Other languages
Japanese (ja)
Other versions
JP3674905B2 (en
Inventor
Shigeru Tago
滋 多胡
Norio Agawa
典夫 阿川
Shinichi Koyanagi
新一 小柳
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.)
Hitachi Software Engineering Co Ltd
Original Assignee
Hitachi Software Engineering 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 Hitachi Software Engineering Co Ltd filed Critical Hitachi Software Engineering Co Ltd
Priority to JP27714099A priority Critical patent/JP3674905B2/en
Publication of JP2001101165A publication Critical patent/JP2001101165A/en
Application granted granted Critical
Publication of JP3674905B2 publication Critical patent/JP3674905B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PROBLEM TO BE SOLVED: To input a character or change an attribute by clicking one of marks by a mouse after marking data elements not displayed so as to know the existence of the data elements. SOLUTION: In the case of displaying document data including one or plural attribute information disabled from displaying a character or a graphic capable of specifying the position of the attribute information on a picture by display based on the attribute information, the attribute information, its outline or its identifier is displayed on a picture position corresponding to a position of document data storing the attribute information or on the vicinity of the picture position.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、ワードプロセッサ
等により作成された文書データをディスプレイ上に表示
し、編集する機能を持つ文書編集装置に関わり、特に、
表示する文字あるいは図形データの構造あるいは出力形
態を指示するための属性情報を含むような文書データを
処理する文書編集装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document editing apparatus having a function of displaying and editing document data created by a word processor or the like on a display.
The present invention relates to a document editing apparatus that processes document data including attribute information for designating the structure or output form of character or graphic data to be displayed.

【0002】[0002]

【従来の技術】HTML(Hyper Text Markup Languag
e)に代表されるように、出力対象の文字あるいは図形
に対し、それらを複数のデータ要素に分割し、段落や見
出しといった構造属性や、フォントの大きさあるいは色
といった出力形態属性を付加する文書データが流通して
いる。
2. Description of the Related Art HTML (Hyper Text Markup Languag)
As shown in e), a document that divides characters or figures to be output into multiple data elements and adds structural attributes such as paragraphs and headings and output form attributes such as font size and color Data is in circulation.

【0003】このような文書データに含まれる属性情報
は、その格納方法に一定のルールがあり、文書出力装置
がその属性を読み込み、その指示に従って出力すること
により、文書データの作成者が意図した出力結果を得る
ことができる。
[0003] The attribute information contained in such document data has a certain rule in the storage method, and the document output device reads the attribute and outputs it in accordance with the instruction, and is intended by the creator of the document data. Output results can be obtained.

【0004】一方、このような文書データを作成あるい
は編集するために、専用の文書編集システムが(多くの
場合ソフトウェアとして)開発され、利用されている。
これらの文書編集システムは、典型的には、ディスプレ
イ装置上に各データ要素をその属性に従って表示し、マ
ウスやキーボードからの入力に従って、編集対象の文字
データ要素あるいは図形データ要素を指示し、同じくマ
ウスやキーボードからの入力に従って、それらデータ要
素自身やそれに付加されている属性を追加あるいは修正
する機能を備えている。
On the other hand, in order to create or edit such document data, a dedicated document editing system has been developed (often as software) and used.
These document editing systems typically display each data element on a display device in accordance with its attribute, specify a character data element or graphic data element to be edited according to an input from a mouse or a keyboard, and also use the mouse. It has a function to add or modify the data elements themselves and the attributes added to them, according to the input from the keyboard and the keyboard.

【0005】[0005]

【発明が解決しようとする課題】このような文書データ
には、次のようなデータ要素が含まれる場合がある。 (1)表示対象の文字あるいは図形が1つも入力されて
いないデータ要素 (2)規則により表示対象の文字あるいは図形を持たな
い属性情報のみのデータ要素 (3)一時的に非表示を指定されているデータ要素 これらのデータ要素は、文書編集システムによってディ
スプレイ装置上に表示する処理によって視覚的に認識で
きる形で表示されないため、編集作業者がマウスやキー
ボードからの入力によって編集対象として指示しようと
意図しても、指示することができない。同様に、編集作
業者がマウスやキーボードからの入力によってそれらデ
ータ要素やそれに付加されている属性を追加あるいは修
正しようと意図しても、入力されたデータを対話的に表
示する領域を持たないため、視覚を頼りに作業すること
はできない。この場合、編集操作時に、それら表示され
ないデータ要素をデータ中での位置に対応する画面上の
適切な領域に表示する方法もあるが、非編集操作時との
表示レイアウトの差異が発生するため、レイアウト決定
の妨げとなる。
There are cases where such document data includes the following data elements. (1) A data element in which no character or graphic to be displayed has been input. (2) A data element with only attribute information that does not have a character or graphic to be displayed according to rules. (3) A temporary non-display is designated. These data elements are not displayed in such a way that they can be visually recognized by the process of displaying them on the display device by the document editing system. Even so, I can't tell. Similarly, even if the editor intends to add or modify these data elements and their attached attributes by input from the mouse or keyboard, there is no area for interactively displaying the input data. You can't work with vision. In this case, at the time of the editing operation, there is a method of displaying the data elements that are not displayed in an appropriate area on the screen corresponding to the position in the data, but a difference in the display layout from the time of the non-editing operation occurs, This hinders layout decisions.

【0006】一方、前記属性情報格納ルールには複数の
バージョンが存在する場合があるが、入力される属性情
報がどのバージョンの格納ルールに従っているのか、あ
るいはどの格納ルールにも従わないものなのかどうかを
チェックすることができない。
On the other hand, a plurality of versions of the attribute information storage rule may exist, and whether the input attribute information follows the storage rule of which version or does not comply with any storage rule is determined. Can not check.

【0007】従って、バージョンの異なる属性情報を1
つの文書データが含んでいたり、どの格納ルールにも従
わない属性情報が含まれたりする結果、文書出力装置が
意図通りの出力を行うことができないことがある。
Therefore, attribute information of different versions is
As a result, the document output device may not be able to perform the intended output as a result of including one document data or including attribute information that does not comply with any storage rules.

【0008】本発明の第1の目的は、表示されていない
データ要素についても、そこにデータ要素が存在してい
ることを分かるようにマークした上で、その1つをマウ
スでクリックすることによって、文字を入力したり、属
性を変更したりすることができる文書編集装置を提供す
ることにある。本発明の第2の目的は、各々の文書のデ
ータフォーマット中に、どのようなバージョン違いやフ
ォーマット誤りが含まれているのかを、その出力結果を
並行して出力することにより、意図しない出力結果の原
因を利用者に知らせ、データフォーマットの修正作業等
を支援することができる文書編集装置を提供することに
ある。
A first object of the present invention is to mark a data element that is not displayed so that the data element is present therein and then click one of the data elements with a mouse. It is an object of the present invention to provide a document editing apparatus capable of inputting characters and changing attributes. A second object of the present invention is to output what kind of version difference or format error is included in the data format of each document in parallel with the output result, thereby obtaining an unintended output result. It is an object of the present invention to provide a document editing apparatus which can notify a user of the cause of the error and support a data format correcting operation or the like.

【0009】[0009]

【課題を解決するための手段】本発明は、上記第1の目
的を達成するために、文書の構造あるいは文書の表示形
態を指示するための属性情報を、表示対象の文字データ
あるいは図形データ以外に特定のルールに従ってそのデ
ータ内部に格納している文書データを表示し、編集する
手段を備えた文書編集装置において、前記属性情報に従
った表示によってその属性情報の画面上の位置を特定で
きる文字あるいは図形を表示できないような属性情報を
1つあるいは複数含む文書データを表示する際に、前記
属性情報が格納されている文書データ上の位置に対応す
る画面上の位置あるいはその近傍に、前記属性情報ある
いはその概略あるいはその識別子を表示する手段を備え
ることを特徴とする。
According to the present invention, in order to achieve the first object, attribute information for designating the structure of a document or a display mode of a document is replaced with character data or graphic data to be displayed. In a document editing apparatus having means for displaying and editing document data stored inside the data according to a specific rule, a character capable of specifying the position of the attribute information on the screen by display according to the attribute information Alternatively, when displaying document data including one or more pieces of attribute information that cannot display a graphic, the attribute information is displayed at or near a position on the screen corresponding to the position on the document data where the attribute information is stored. It is characterized by comprising means for displaying information, its outline or its identifier.

【0010】また、第2の目的を達成するために、文書
の構造あるいは文書の出力形態を指示するための属性情
報を、出力対象の文字あるいは図形データ以外に特定の
ルールに従ってその内部に格納している文書データを表
示あるいは印刷する手段を備える文書編集装置におい
て、前記各性情報の格納ルールのバージョンを認識する
手段と、属性情報に従って出力された文字あるいは図形
データの2次元位置を認識する手段と、前記2次元位置
を参照者に認識可能とする補助出力を文書出力と共に行
う手段と、前記補助出力を、属性情報の格納ルールのバ
ージョンの違いを参照者に認識可能な形式で出力させる
手段とを備えることを特徴とする。
In order to achieve the second object, attribute information for designating the structure of the document or the output form of the document is stored in accordance with a specific rule in addition to the character or graphic data to be output. Means for recognizing a version of a storage rule for each gender information, and means for recognizing a two-dimensional position of character or graphic data output in accordance with attribute information in a document editing apparatus having means for displaying or printing document data. Means for performing, together with document output, an auxiliary output for making the two-dimensional position recognizable to a referrer, and means for outputting the auxiliary output in a format recognizable to a referrer for a difference in the version of the attribute information storage rule. And characterized in that:

【0011】[0011]

【発明の実施の形態】以下、本発明の実施の形態を図面
を参照して詳細に説明する。図1は、本発明の第1の実
施形態を示すシステム構成図である。図1において、1
01は、文字あるいは図形を表示する手段を持つディス
プレイ装置、102はディスプレイ装置101に表示す
る画面の画面データを生成するための表示画面生成部、
103は処理対象とする文書データの各データ要素およ
びその属性値を解析するための文書データ解析部、10
4は補助記憶装置107から特定の文書データを読み出
し、文書データ解析部103に転送するための文書デー
タ読み取り部、105は文書データ解析部103が保持
している文書データの内容を更新し、文書データ解析部
103に対し、更新された文書データの再解析を指示す
るための文書データ更新部、106はキーボード装置1
08から編集作業者が入力した各種編集操作指示を認識
し、文書データの更新内容を文書データ更新部105に
指示するための編集操作認識部、107は文書データを
保存するための補助記憶装置、108は各種編集操作を
指示するためのキーボード装置である。このキーボード
装置108に代えて、マウス装置やペン入力装置などの
他の入力装置を使用する場合もある。また、上記の各部
はコンピュータのプログラムによって実現される。
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a system configuration diagram showing a first embodiment of the present invention. In FIG. 1, 1
01 is a display device having means for displaying characters or graphics, 102 is a display screen generation unit for generating screen data of a screen to be displayed on the display device 101,
103, a document data analysis unit for analyzing each data element of the document data to be processed and its attribute value;
Reference numeral 4 denotes a document data reading unit for reading specific document data from the auxiliary storage device 107 and transferring the document data to the document data analysis unit 103. Reference numeral 105 denotes a unit for updating the contents of the document data held by the document data analysis unit 103. A document data update unit 106 instructs the data analysis unit 103 to re-analyze the updated document data.
08, an editing operation recognizing unit for recognizing various editing operation instructions input by the editing operator and instructing the document data updating unit 105 of the update contents of the document data; 107, an auxiliary storage device for storing the document data; Reference numeral 108 denotes a keyboard device for instructing various editing operations. In place of the keyboard device 108, another input device such as a mouse device or a pen input device may be used. Each of the above units is realized by a computer program.

【0012】図2は、本実施形態で処理対象とする文書
データ200の一例を示すものである。図中、「<」と
「>」で挟まれた部分が属性値であり、それ以外が文字
データである。201は一時的に非表示を指定されたデ
ータ要素であり、「<!−−」と「−−>」によって挟
まれている。202は表示対象となる文字データを持た
ないデータ要素であり、「<A>」という属性と「</
A>」という属性によって挟まれ、かつ「unknow
n」という名前を付与されている文字データを示してい
るが、付与対象である文字データを1つも持っていな
い。203は文書データ中に、規則により表示対象の文
字データを持たず、属性値のみを持つ特殊なデータ要素
として格納されるデータ要素である。「TYPE」属性
として「hidden」という値を記述することによっ
て特殊なデータ要素であることを指定している。
FIG. 2 shows an example of document data 200 to be processed in this embodiment. In the figure, the part between “<” and “>” is the attribute value, and the other part is the character data. Reference numeral 201 denotes a data element for which non-display is temporarily specified, and is sandwiched between “<! −−” and “−−>”. Reference numeral 202 denotes a data element having no character data to be displayed, and has an attribute “<A>” and “<//
A> ”and“ unknown ”
The character data to which the name “n” is assigned is shown, but there is no character data to be assigned. Reference numeral 203 denotes a data element stored in the document data as a special data element that does not have character data to be displayed according to rules and has only attribute values. A special data element is designated by describing a value "hidden" as the "TYPE" attribute.

【0013】図3は、図2の文書データ200をディス
プレイ装置101上に表示した場合の画面構成を示すも
のである。図3において、301は表示している文書デ
ータのID文字列を表示する領域である。302は文書
データ本体を文書データ解析部103によって解析し、
表示画面生成部102によって生成された画面を表示す
る領域である。303は、一時的に非表示を指定された
データ要素201が格納されている場所を示すためのマ
ークである。304は、表示対象の文字データを持たな
いデータ要素202が格納されている場所を示すための
マークである。305は、規則により表示対象の文字デ
ータを持たないデータ要素203が格納されている場所
を示すためのマークである。
FIG. 3 shows a screen configuration when the document data 200 of FIG. 2 is displayed on the display device 101. In FIG. 3, reference numeral 301 denotes an area for displaying an ID character string of the displayed document data. 302, the document data body is analyzed by the document data analysis unit 103,
This is an area where the screen generated by the display screen generation unit 102 is displayed. Reference numeral 303 denotes a mark for indicating a location where the data element 201 designated to be temporarily hidden is stored. Reference numeral 304 denotes a mark for indicating a location where the data element 202 having no character data to be displayed is stored. Reference numeral 305 denotes a mark indicating the location where the data element 203 having no character data to be displayed is stored according to the rules.

【0014】図4は、図3によって示された各データ要
素が格納されている場所を示すためのマークを選択して
いる様子を示す図である。図4において、401は、表
示対象の文字データを持たないデータ要素202が格納
されている場所を示すためのマークであり、キーボード
装置108から入力された指示に従い、選択状態となっ
ている。選択状態にあることは、マークの四隅に表示さ
れた小さい矩形によって示されている。
FIG. 4 is a diagram showing a state in which a mark for indicating a location where each data element shown in FIG. 3 is stored is selected. In FIG. 4, reference numeral 401 denotes a mark indicating the location where the data element 202 having no character data to be displayed is stored, and is in a selected state according to an instruction input from the keyboard device 108. The selected state is indicated by small rectangles displayed at the four corners of the mark.

【0015】図5は、図4で選択されたマークに対応す
るデータ要素の属性値を変更するための画面の様子を示
す図である。図5において、501は、文書データを表
示するための領域とは独立に(例えばマルチウィンドウ
形式で)表示される属性値入力用の小ウィンドウであ
る。502は、キーボード装置108からの入力に従
い、属性値を入力あるいは編集するための文字入力領域
である。
FIG. 5 is a diagram showing a screen for changing the attribute value of the data element corresponding to the mark selected in FIG. In FIG. 5, reference numeral 501 denotes a small window for inputting attribute values which is displayed independently (for example, in a multi-window format) from an area for displaying document data. Reference numeral 502 denotes a character input area for inputting or editing an attribute value according to an input from the keyboard device 108.

【0016】図6は、図4で選択されたマークに対応す
るデータ要素の文字データを入力するための画面の様子
を示す図である。図6において、601は、キーボード
装置108からの入力に従い、文字データを入力あるい
は編集するための文字入力領域である。
FIG. 6 is a diagram showing a screen for inputting character data of a data element corresponding to the mark selected in FIG. In FIG. 6, reference numeral 601 denotes a character input area for inputting or editing character data according to an input from the keyboard device.

【0017】図7は、図2で示したように、一時的に非
表示を指定されたデータ要素中の文字データを、一時的
に表示する操作を行ったときの画面の様子を示す図であ
る。図7において、701は、データ要素201に含ま
れる文字データを表示している部分である。
FIG. 7 is a view showing a state of a screen when an operation of temporarily displaying character data in a data element designated to be temporarily hidden as shown in FIG. 2 is performed. is there. In FIG. 7, reference numeral 701 denotes a portion displaying the character data included in the data element 201.

【0018】図8は、図2で示したように、一時的に非
表示を指定されたデータ要素中の文字データを、表示す
るよう指示する操作を行ったときの画面の様子を示す図
である。図8において、801は、データ要素201に
含まれる文字データを表示している部分である。
FIG. 8 is a diagram showing a state of a screen when an operation for instructing to display character data in a data element for which non-display is temporarily specified as shown in FIG. 2 is performed. is there. In FIG. 8, reference numeral 801 denotes a portion displaying the character data included in the data element 201.

【0019】図9〜図12は、本実施形態の処理内容の
詳細を示すフローチャートである。以下、これらのフロ
ーチャートに従い、本実施形態の詳細を説明する。図9
は、表示されないデータ要素の属性値を変更する処理を
示すフローチャートである。この処理では、まずステッ
プ901において、文書データのID文字列をキーボー
ド装置108から入力し、その文書データを文書データ
読み取り部104により補助記憶装置107から読み出
す。次に、ステップ902において、読み取られた文書
データを文書データ解析部103により解析し、表示対
象の文字データおよび属性情報を取り出す。次に、ステ
ップ903において、ステップ902によって取り出さ
れた属性情報に従い、表示対象の文字データの表示サイ
ズおよび表示位置を決定する。次に、ステップ904に
おいて、文書データを領域302に表示する。次に、ス
テップ905において、201〜203に示されている
表示されないデータ要素を抜き出し、それらが格納され
ている位置の近傍にマーク303〜305を表示する。
さらに、マーク303〜305と、格納場所との間を矢
印で結ぶ。次に、ステップ906において、キーボード
装置108から複数あるマーク303〜305のうちの
1つを指示し、選択状態とする。この時、図4の401
に示されている通り、選択されていることを示す矩形を
表示する。次に、ステップ907において、キーボード
装置108から属性情報の修正を実行することを指示す
る。この結果、図5のような入力エリア501および5
02が表示される。次に、ステップ908において、入
力エリア502に対し、キーボード装置108から属性
情報を入力する。入力後、入力エリア501および50
2は画面上から消去される。次に、ステップ909にお
いて、入力された属性値を文書データ中の更新前の属性
情報が格納されている部分に格納する。次に、ステップ
903に戻り、更新後の属性情報に従い、表示対象の文
字データの表示サイズおよび表示位置を決定し、以下、
ステップ903〜909を繰り返す。
FIGS. 9 to 12 are flowcharts showing details of the processing contents of this embodiment. Hereinafter, the details of the present embodiment will be described with reference to these flowcharts. FIG.
9 is a flowchart showing a process of changing an attribute value of a data element that is not displayed. In this process, first, in step 901, an ID character string of document data is input from the keyboard device 108, and the document data is read from the auxiliary storage device 107 by the document data reading unit 104. Next, in step 902, the read document data is analyzed by the document data analysis unit 103, and character data to be displayed and attribute information are extracted. Next, in step 903, the display size and display position of the character data to be displayed are determined according to the attribute information extracted in step 902. Next, in step 904, the document data is displayed in the area 302. Next, in step 905, the data elements which are not displayed as indicated by 201 to 203 are extracted, and the marks 303 to 305 are displayed near the positions where they are stored.
Further, the arrows connect the marks 303 to 305 and the storage locations. Next, in step 906, one of the plurality of marks 303 to 305 is instructed from the keyboard device 108 to be in a selected state. At this time, 401 in FIG.
, A rectangle indicating that it is selected is displayed. Next, in step 907, an instruction is issued from the keyboard device 108 to correct the attribute information. As a result, input areas 501 and 5 as shown in FIG.
02 is displayed. Next, in step 908, attribute information is input from the keyboard device 108 to the input area 502. After input, input areas 501 and 50
2 is deleted from the screen. Next, in step 909, the input attribute value is stored in the portion of the document data where the attribute information before update is stored. Next, returning to step 903, the display size and display position of the character data to be displayed are determined according to the updated attribute information.
Steps 903 to 909 are repeated.

【0020】図10は、図4で選択されたマーク401
に対応するデータ要素の文字データを入力する処理を示
している。ステップ1001〜ステップ1006は図9
と同様の処理を行う。次に、ステップ1007におい
て、選択されたマーク401に対応するデータ要素への
文字データの入力開始を指示する。これにより、選択さ
れたデータ要素が格納されている場所に対応した画面上
の場所に、文字データの入力エリアを表示する。次に、
ステップ1008において、キーボード装置108から
文字データを入力する。次に、ステップ1009におい
て、文書データ中の選択されたデータ要素の文字データ
を更新する。この時、表示画面上には入力された文字デ
ータが表示されており、かつ、前記データ要素を示すマ
ーク401は消去されている。次に、ステップ1003
に戻り、更新後の属性情報に従い、表示対象の文字デー
タの表示サイズおよび表示位置を決定し、以下、ステッ
プ1003〜1009を繰り返す。
FIG. 10 shows the mark 401 selected in FIG.
Shows a process of inputting character data of a data element corresponding to. Steps 1001 to 1006 correspond to FIG.
The same processing is performed. Next, in step 1007, an instruction to start inputting character data to a data element corresponding to the selected mark 401 is issued. As a result, an input area for character data is displayed at a location on the screen corresponding to the location where the selected data element is stored. next,
In step 1008, character data is input from the keyboard device. Next, in step 1009, the character data of the selected data element in the document data is updated. At this time, the input character data is displayed on the display screen, and the mark 401 indicating the data element is deleted. Next, step 1003
Then, the display size and the display position of the character data to be displayed are determined according to the updated attribute information, and thereafter, steps 1003 to 1009 are repeated.

【0021】図11は、一時的に非表示を指定されたデ
ータ要素中の文字データを、一時的に表示する処理を示
している。ステップ1101〜ステップ1106は図9
と同様の処理を行う。次に、ステップ1107におい
て、選択されたマークに対応するデータ要素を一時的に
表示するよう、キーボード装置108からの入力により
指示する。次に、ステップ1103に戻り、指示された
データ要素を表示することを前提として、表示対象の文
字データの表示サイズおよび表示位置を決定し、以下、
ステップ1103〜1107を繰り返す。
FIG. 11 shows a process for temporarily displaying character data in a data element designated to be temporarily hidden. Steps 1101 to 1106 correspond to FIG.
The same processing is performed. Next, in step 1107, an instruction is issued from the keyboard device 108 to temporarily display the data element corresponding to the selected mark. Next, returning to step 1103, the display size and the display position of the character data to be displayed are determined on the assumption that the designated data element is displayed.
Steps 1103 to 1107 are repeated.

【0022】図12は、一時的に非表示を指定されたデ
ータ要素中の文字データを、表示するよう指示する処理
を示している。ステップ1201〜ステップ1206は
図9と同様の処理を行う。次に、ステップ1207にお
いて、選択されたマークに対応するデータ要素を一時的
に表示するよう、キーボード装置108からの入力によ
り指示する。このとき、前記データ要素に対し付与され
ている、非表示を指示する属性情報(201における
「<!−−」および「−−>」といった文字列)を削除
し、文書データを更新する。次に、ステップ1203に
戻り、指示されたデータ要素を表示することを前提とし
て、表示対象の文字データの表示サイズおよび表示位置
を決定し、以下、ステップ1203〜1207を繰り返
す。
FIG. 12 shows a process of instructing the display of character data in a data element designated to be temporarily hidden. Steps 1201 to 1206 perform the same processing as in FIG. Next, in step 1207, an instruction is given by an input from the keyboard device 108 to temporarily display the data element corresponding to the selected mark. At this time, the attribute information (character strings such as “<! −−” and “−−>” in 201) assigned to the data element and indicating non-display is deleted, and the document data is updated. Next, returning to step 1203, assuming that the designated data element is to be displayed, the display size and display position of the character data to be displayed are determined, and thereafter, steps 1203 to 1207 are repeated.

【0023】以上のように、本実施形態によれば、表示
されていないデータ要素についても、そこにデータ要素
が存在していることを分かるようにマークした上で、そ
の1つをマウスでクリックすることによって、文字を入
力したり、属性を変更したりすることができる。
As described above, according to the present embodiment, even a data element that is not displayed is marked so that the data element is present therein, and one of the data elements is clicked with the mouse. By doing so, it is possible to input characters and change attributes.

【0024】(第2の実施形態)次に、本発明の第2の
実施形態を説明する。図13は、第2の実施形態を示す
システム構成図である。図13において、1301は文
字および図を表示するディスプレイ装置、1302はデ
ィスプレイ装置101に表示する画面データを生成する
表示画面生成部、1303は処理可能なルールに従って
属性情報を含ませた文書データを解析する文書データ解
析部、1304は文書データを補助記憶装置から読み込
み、文書データ解析部に送信する機能を持つ文書データ
読み取り部、1305は文書データを保存するための補
助記憶装置である。表示画面生成部1302、文書デー
タ解析部1303、文書データ読み取り部1304は、
コンピュータのプログラムによって実現される。
(Second Embodiment) Next, a second embodiment of the present invention will be described. FIG. 13 is a system configuration diagram showing the second embodiment. In FIG. 13, reference numeral 1301 denotes a display device for displaying characters and figures; 1302, a display screen generation unit for generating screen data to be displayed on the display device 101; 1303, which analyzes document data including attribute information in accordance with a processable rule A document data analyzing unit 1304 reads document data from the auxiliary storage device and has a function of transmitting the document data to the document data analyzing unit. Reference numeral 1305 denotes an auxiliary storage device for storing document data. The display screen generation unit 1302, the document data analysis unit 1303, and the document data reading unit 1304
It is realized by a computer program.

【0025】図14は、処理対象とする文書データの例
を示す図である。図14において、”<”および”>”
で挟まれた文字が属性情報を表し、それ以外が表示対象
の文字データを表す。1401および1403および1
405は、属性情報格納ルールの「バージョン1」に従
って記述された部分である。1402の部分は、属性情
報格納ルールの「バージョン2」に従って記述された部
分である。1404の部分は、属性情報格納ルールの
「バージョン1」および「バージョン2」のどちらにも
従わない方法で記述された部分である。
FIG. 14 is a diagram showing an example of document data to be processed. In FIG. 14, "<" and ">"
Characters sandwiched between indicate attribute information, and other characters indicate character data to be displayed. 1401 and 1403 and 1
Reference numeral 405 denotes a portion described according to “version 1” of the attribute information storage rule. A portion 1402 is a portion described according to “version 2” of the attribute information storage rule. A portion 1404 is a portion described by a method that does not follow either “version 1” or “version 2” of the attribute information storage rule.

【0026】図15は、図14の文書データをディスプ
レイ装置101に表示した際の画面の例を示す図であ
る。図15において、1501は文書データ本体を表示
する領域、1502〜1506は属性情報格納ルールの
異なるバージョンおよびどのバージョンにも従わない部
分をそれぞれ異なるパターンまたは色により塗りつぶし
た補助出力領域であり、1501に表示されている文書
データの各部分(1401〜1405)と縦方向の位置
および長さが同じ領域を塗りつぶしている。
FIG. 15 is a diagram showing an example of a screen when the document data of FIG. 14 is displayed on the display device 101. In FIG. 15, reference numeral 1501 denotes an area for displaying the body of the document data; 1502 to 1506, auxiliary output areas in which different versions of attribute information storage rules and portions which do not follow any version are filled with different patterns or colors; Areas having the same position and length in the vertical direction as the respective portions (1401 to 1405) of the displayed document data are painted out.

【0027】図16は、本実施形態の典型的な処理の流
れを示すフローチャートである。以下、図16に従い、
本実施形態の詳細を説明する。まず、ステップ1601
において、補助記憶装置107に保存されている文書デ
ータ(図14)を読み込み、文書データ解析部103に
転送する。次に、ステップ1602において、文書デー
タを解析し、複数の表示対象文字データと、それに付随
する属性情報を取り出す。次に、ステップ1603にお
いて、各表示対象文字データを、ディスプレイ装置10
1のどの位置にどの大きさで表示するかを、付随する属
性情報を元に決定する。この際、各属性情報が、どのバ
ージョンの属性情報格納ルールに従ったものかをチェッ
クし、そのバージョンID、あるいはどのバージョンに
も従っていないことを保持する。この文書データ(図1
4)の例では、1401および1403および1405
は格納ルールの「バージョン1」に従っていると解析さ
れ、1402は「justify」という属性が格納ル
ールの「バージョン1」に無く、「バージョン2」に規
定されているため、「バージョン2」に従っていると解
析され、さらに204は「DD」という属性情報の直後
に連続して同じ「DD」という属性情報が記述されてお
り、「バージョン1」および「バージョン2」のどちら
にも規定されていないと解析される。次に、ステップ1
604において、ステップ1603において得られた属
性情報格納ルールのバージョンIDに従い、図15の1
502〜1506に示した補助出力領域のどの領域をど
のパターンまたは色で塗りつぶすのかを決定する。この
とき、ステップ1603において決定された各表示対象
文字データの縦方向の表示位置および長さと、補助出力
領域の縦方向の位置および長さが同一になるように決定
する。次に、ステップ1605において、文字データを
ディスプレイ装置101の領域1501のステップ16
03で決定された位置に表示する。次に、ステップ16
06において、補助出力をディスプレイ装置101の領
域1502〜1506のステップ1604で決定された
位置に表示する。なお、補助出力の実行の有無をキーボ
ード装置などの入力装置(図示せず)から切替え、補助
出力を実行させたり、実行させなかったりすることがで
きる。
FIG. 16 is a flowchart showing a typical processing flow of the present embodiment. Hereinafter, according to FIG.
The details of the present embodiment will be described. First, step 1601
, The document data (FIG. 14) stored in the auxiliary storage device 107 is read and transferred to the document data analysis unit 103. Next, in step 1602, the document data is analyzed, and a plurality of display target character data and attribute information associated therewith are extracted. Next, in step 1603, each display target character data is
The position and size of the image to be displayed are determined based on the accompanying attribute information. At this time, it checks whether each attribute information conforms to which version of the attribute information storage rule, and holds that version ID or that it does not conform to any version. This document data (Fig. 1
In the example of 4), 1401 and 1403 and 1405
Is analyzed according to “version 1” of the storage rule, and 1402 is defined as “version 2” because the attribute “justify” is not included in “version 1” of the storage rule and is determined to be “version 2”. Analysis 204 further describes that the same attribute information “DD” is described immediately after the attribute information “DD”, and that neither “version 1” nor “version 2” is specified. Is done. Next, step 1
In step 604, according to the version ID of the attribute information storage rule obtained in step 1603, one of FIG.
It is determined which area of the auxiliary output area indicated by 502 to 1506 is to be painted with which pattern or color. At this time, it is determined that the vertical display position and length of each display target character data determined in step 1603 are the same as the vertical position and length of the auxiliary output area. Next, in step 1605, the character data is stored in the area 1501 of the display
Display at the position determined in 03. Next, step 16
At 06, the auxiliary output is displayed at the position determined in step 1604 in the areas 1502 to 1506 of the display device 101. The execution of the auxiliary output can be switched from an input device (not shown) such as a keyboard device to execute or not execute the auxiliary output.

【0028】従って、この第2の実施形態によれば、各
々の文書のデータフォーマット中に、どのようなバージ
ョン違いやフォーマット誤りが含まれているのかを、そ
の出力結果を並行して出力することにより、意図しない
出力結果の原因を利用者に知らせ、データフォーマット
の修正作業等を支援することができる。
Therefore, according to the second embodiment, it is possible to output in parallel what kind of version difference or format error is included in the data format of each document. Accordingly, it is possible to inform the user of the cause of the unintended output result, and to support a data format correction operation or the like.

【0029】[0029]

【発明の効果】以上のように本発明によれば、ディスプ
レイ装置上に表示する処理によって視覚的に認識できる
形で表示されないデータ要素について、編集作業者がマ
ウスやキーボードからの入力によって編集対象として指
示することができるようになる。
As described above, according to the present invention, a data element which is not displayed in a visually recognizable form by a process of displaying on a display device can be edited by an editing operator by inputting from a mouse or a keyboard. You will be able to give instructions.

【0030】同様に、編集作業者がマウスやキーボード
からの入力によってそれらデータ要素やそれに付加され
ている属性を追加あるいは修正しようと意図した場合、
入力されたデータを対話的に表示する領域を持たせ、視
覚を頼りに作業することができるようになる。
Similarly, if the editor intends to add or modify those data elements and the attributes attached to them by input from the mouse or keyboard,
By providing an area for interactively displaying the input data, it is possible to work with sight.

【0031】また、1つの文書データ中のどの部分にバ
ージョンの異なる属性情報、あるいはどの格納ルールに
も従わない属性情報が含まれているのかを、参照者にわ
かりやすく示すことが可能となり、そのような意図しな
い出力結果の原因を利用者に知らせ、データフォーマッ
トの修正作業等を支援することができる。また、意図し
ない出力結果の原因となる属性情報を修正するよう促す
ことができ、またどのような属性情報が意図しない出力
結果の原因となるのかを参照者に学習させることが可能
となる。
Further, it is possible to clearly show to the viewer which part of one piece of document data contains attribute information having different versions or attribute information which does not comply with any storage rules. The user can be informed of the cause of such an unintended output result, and can support a data format correction operation or the like. In addition, it is possible to urge the user to correct attribute information that causes an unintended output result, and it is possible to make a reference person learn what attribute information causes an unintended output result.

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

【図1】本発明の第1の実施形態を示すシステム構成図
である。
FIG. 1 is a system configuration diagram showing a first embodiment of the present invention.

【図2】処理対象とする文書データの例を示す図であ
る。
FIG. 2 is a diagram illustrating an example of document data to be processed;

【図3】表示画面の例を示す図である。FIG. 3 is a diagram showing an example of a display screen.

【図4】データ要素選択時の表示画面の例を示す図であ
る。
FIG. 4 is a diagram showing an example of a display screen when a data element is selected.

【図5】属性変更時の表示画面の例を示す図である。FIG. 5 is a diagram showing an example of a display screen when an attribute is changed.

【図6】文字データ入力時の表示画面の例を示す図であ
る。
FIG. 6 is a diagram illustrating an example of a display screen when character data is input.

【図7】一時的な表示を指定した場合の表示画面の例を
示す図である。
FIG. 7 is a diagram showing an example of a display screen when a temporary display is designated.

【図8】表示を指定した場合の表示画面の例を示す図で
ある。
FIG. 8 is a diagram illustrating an example of a display screen when display is specified.

【図9】表示されないデータ要素の属性情報を変更する
処理のフローチャートである。
FIG. 9 is a flowchart of a process for changing attribute information of a data element that is not displayed.

【図10】選択されたマークに対応するデータ要素の文
字データを入力する処理のフローチャートである。
FIG. 10 is a flowchart of a process for inputting character data of a data element corresponding to a selected mark.

【図11】一時的に非表示を指定されたデータ要素中の
文字データを一時的に表示する処理のフローチャートで
ある。
FIG. 11 is a flowchart of a process for temporarily displaying character data in a data element designated to be temporarily hidden.

【図12】一時的に非表示を指定されたデータ要素中の
文字データを一時的に表示するように指示する処理のフ
ローチャートである。
FIG. 12 is a flowchart of a process of instructing to temporarily display character data in a data element designated to be temporarily hidden.

【図13】本発明の第2の実施形態を示すシステム構成
図である。
FIG. 13 is a system configuration diagram showing a second embodiment of the present invention.

【図14】第2の実施形態において処理対象とする文書
データの例を示す図である。
FIG. 14 is a diagram illustrating an example of document data to be processed in the second embodiment.

【図15】第2の実施形態における表示画面の例を示す
図である。
FIG. 15 is a diagram illustrating an example of a display screen according to the second embodiment.

【図16】第2の実施形態における処理を示すフローチ
ャートである。
FIG. 16 is a flowchart illustrating a process according to the second embodiment.

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

101…ディスプレイ装置、102,1302…表示画
面生成部、103,1303…文字データ解析部、10
4,1304…文書データ読み取り部、105…文書デ
ータ更新部、106…編集操作確認部、107,130
5…補助記憶装置、108…キーボード装置、303〜
305…マーク、1502〜1506…補助出力領域。
101: display device, 102, 1302: display screen generation unit, 103, 1303: character data analysis unit, 10
4, 1304: document data reading unit, 105: document data updating unit, 106: editing operation confirmation unit, 107, 130
5 auxiliary storage device, 108 keyboard device, 303-
305: mark, 1502-1506: auxiliary output area.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 阿川 典夫 神奈川県横浜市中区尾上町6丁目81番地 日立ソフトウエアエンジニアリング株式会 社内 (72)発明者 小柳 新一 神奈川県横浜市中区尾上町6丁目81番地 日立ソフトウエアエンジニアリング株式会 社内 Fターム(参考) 5B009 NA11 RB31  ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Norio Agawa 6-81-Ouecho, Naka-ku, Yokohama-shi, Kanagawa Prefecture Hitachi Software Engineering Co., Ltd. In-house (72) Inventor Shinichi Koyanagi 6, Onoe-cho, Naka-ku, Yokohama-shi, Kanagawa 81-chome Hitachi Software Engineering Co., Ltd. In-house F-term (reference) 5B009 NA11 RB31

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 文書の構造あるいは文書の表示形態を指
示するための属性情報を、表示対象の文字データあるい
は図形データ以外に特定のルールに従ってそのデータ内
部に格納している文書データを表示し、編集する手段を
備えた文書編集装置において、 前記属性情報に従った表示によってその属性情報の画面
上の位置を特定できる文字あるいは図形を表示できない
ような属性情報を1つあるいは複数含む文書データを表
示する際に、前記属性情報が格納されている文書データ
上の位置に対応する画面上の位置あるいはその近傍に、
前記属性情報あるいはその概略あるいはその識別子を表
示する手段を備えることを特徴とする文書編集装置。
1. Displaying document data in which attribute information for designating a document structure or a display mode of the document is stored in accordance with a specific rule in addition to character data or graphic data to be displayed, according to a specific rule; In a document editing apparatus provided with an editing unit, displaying document data including one or a plurality of pieces of attribute information that cannot display characters or graphics that can specify the position of the attribute information on the screen by displaying according to the attribute information At the time, or at a position on the screen corresponding to the position on the document data in which the attribute information is stored,
A document editing apparatus, comprising: means for displaying the attribute information, its outline, or its identifier.
【請求項2】 属性情報あるいはその概略あるいはその
識別子を表示した領域を指示することにより、前記属性
情報自身の修正を受付ける手段を備えることを特徴とす
る請求項1記載の文書編集装置。
2. The document editing apparatus according to claim 1, further comprising means for receiving a correction of the attribute information itself by designating an area in which the attribute information, its outline, or its identifier is displayed.
【請求項3】 属性情報あるいはその概略あるいはその
識別子を表示した領域を指示することにより、前記属性
情報自身およびそれが付加された文字データあるいは図
形データを削除する手段を備えることを特徴とする請求
項1または2記載の文書編集装置。
3. An apparatus according to claim 1, further comprising means for deleting the attribute information itself and character data or graphic data to which the attribute information itself is added by designating an area in which the attribute information, its outline, or its identifier is displayed. Item 3. The document editing device according to Item 1 or 2.
【請求項4】 属性情報あるいはその概略あるいはその
識別子を表示した領域を指示することにより、前記属性
情報が付加される表示対象文字あるいは表示対象図形の
入力を受付ける手段を備えることを特徴とする請求項1
〜3記載のいずれかの文書編集装置。
4. A display apparatus comprising: means for receiving an input of a display target character or a display target graphic to which the attribute information is added by designating attribute information, an outline thereof, or an area in which the identifier is displayed. Item 1
4. The document editing apparatus according to any one of items 3 to 3.
【請求項5】 属性情報あるいはその概略あるいはその
識別子を表示した領域を指示することにより、前記属性
情報が付加された表示対象文字あるいは表示対象図形を
画面上に一時的に表示し、前記属性情報自身で非表示と
している表示対象文字あるいは表示対象図形を編集可能
にする手段を備えることを特徴とする請求項1〜4記載
のいずれかの文書編集装置。
5. A display target character or a display target graphic to which the attribute information is added is temporarily displayed on a screen by designating an area in which the attribute information, its outline, or its identifier is displayed. The document editing apparatus according to any one of claims 1 to 4, further comprising means for enabling editing of a display target character or a display target graphic which is not displayed by itself.
【請求項6】 属性情報あるいはその概略あるいはその
識別子を表示した領域を指示することにより、前記属性
情報が付加された表示対象文字あるいは表示対象図形を
画面上に表示するよう指示する手段を備えることを特徴
とする請求項1〜5記載のいずれかの文書編集装置。
6. Means for instructing display of a display target character or a display target graphic to which the attribute information has been added by designating attribute information, an outline thereof, or an area in which the identifier is displayed. The document editing apparatus according to any one of claims 1 to 5, wherein:
【請求項7】 文書の構造あるいは文書の出力形態を指
示するための属性情報を、出力対象の文字あるいは図形
データ以外に特定のルールに従ってその内部に格納して
いる文書データを表示あるいは印刷する手段を備える文
書編集装置において、 前記各性情報の格納ルールのバージョンを認識する手段
と、属性情報に従って出力された文字あるいは図形デー
タの2次元位置を認識する手段と、前記2次元位置を参
照者に認識可能とする補助出力を文書出力と共に行う手
段と、前記補助出力を、属性情報の格納ルールのバージ
ョンの違いを参照者に認識可能な形式で出力させる手段
とを備えることを特徴とする文書編集装置。
7. Means for displaying or printing document data in which attribute information for designating a document structure or a document output form is stored in accordance with a specific rule in addition to character or graphic data to be output. Means for recognizing the version of the storage rule of each gender information, means for recognizing the two-dimensional position of the character or graphic data output according to the attribute information, and Document editing characterized by comprising means for performing auxiliary output for enabling recognition and document output, and means for outputting the auxiliary output in a format in which a difference in the version of the attribute information storage rule can be recognized by a reference person. apparatus.
【請求項8】 前記属性情報が特定の属性情報の格納ル
ールに従わない情報である場合に、その属性情報が付随
する文字あるいは図形データに対し、格納ルールに従っ
ていないことを参照者に認識可能な形式の補助出力で出
力させる手段を備えることを特徴とする請求項7記載の
文書編集装置。
8. When the attribute information is information that does not comply with a specific attribute information storage rule, a referrer can recognize that character or graphic data accompanied by the attribute information does not comply with a storage rule. 8. The document editing apparatus according to claim 7, further comprising: means for outputting a form of auxiliary output.
【請求項9】 補助出力の実行の有無を切替えるための
指示手段を備えることを特徴とする請求項7または8記
載の文書編集装置。
9. The document editing apparatus according to claim 7, further comprising an instruction unit for switching whether to execute auxiliary output.
JP27714099A 1999-09-29 1999-09-29 Document editing device Expired - Fee Related JP3674905B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27714099A JP3674905B2 (en) 1999-09-29 1999-09-29 Document editing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27714099A JP3674905B2 (en) 1999-09-29 1999-09-29 Document editing device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2004129991A Division JP2004310780A (en) 2004-04-26 2004-04-26 Device for editing document

Publications (2)

Publication Number Publication Date
JP2001101165A true JP2001101165A (en) 2001-04-13
JP3674905B2 JP3674905B2 (en) 2005-07-27

Family

ID=17579363

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27714099A Expired - Fee Related JP3674905B2 (en) 1999-09-29 1999-09-29 Document editing device

Country Status (1)

Country Link
JP (1) JP3674905B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006051974A1 (en) * 2004-11-12 2006-05-18 Justsystems Corporation Document processing device and document processing method
CN111428452A (en) * 2019-11-27 2020-07-17 杭州海康威视数字技术股份有限公司 Comment data storage method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006051974A1 (en) * 2004-11-12 2006-05-18 Justsystems Corporation Document processing device and document processing method
CN111428452A (en) * 2019-11-27 2020-07-17 杭州海康威视数字技术股份有限公司 Comment data storage method and device
CN111428452B (en) * 2019-11-27 2023-09-05 杭州海康威视数字技术股份有限公司 Annotation data storage method and device

Also Published As

Publication number Publication date
JP3674905B2 (en) 2005-07-27

Similar Documents

Publication Publication Date Title
JP2004157927A (en) Creating system for business form input, creating program and creating method
JPH08161309A (en) Word processor
JP2001101165A (en) Document editor
JP3041883B2 (en) Document creation support method and apparatus
JPH0635987A (en) Device and mehtod for preparing circuit diagram
JPS63109578A (en) Processing system for logic diagram outline display
JP2004310780A (en) Device for editing document
JP2973906B2 (en) Character user interface device
JP2001282773A (en) Device and method for editing structured document and recording medium
JP2561000B2 (en) String output method
JP2978178B2 (en) Document creation apparatus and control method thereof
JP3267223B2 (en) Message editing method
JP2889052B2 (en) Character typeface processing method and apparatus
JPH10293686A (en) Tracking program generating method and device
JPH0696070A (en) Document input system
JPH096899A (en) Processor and method for image processing
JPH0764981A (en) Document processor
JPH06309313A (en) Document creation device
JPH05174080A (en) Graphic processing method
JPH1074197A (en) Document processing device and method and storage medium storing document processing program
JPH10324039A (en) Method for changing print format interactively, and printer emulator
JPH1074199A (en) Character processing device and method and storage medium storing character processing program
JPH08272996A (en) Method and device for graphic processing
JPH05307550A (en) Document preparing device
JPH06325111A (en) Cad device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040217

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040224

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040426

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: 20050422

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050422

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: 20080513

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110513

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees