[go: up one dir, main page]

JP2007004627A - Document processing device - Google Patents

Document processing device Download PDF

Info

Publication number
JP2007004627A
JP2007004627A JP2005185610A JP2005185610A JP2007004627A JP 2007004627 A JP2007004627 A JP 2007004627A JP 2005185610 A JP2005185610 A JP 2005185610A JP 2005185610 A JP2005185610 A JP 2005185610A JP 2007004627 A JP2007004627 A JP 2007004627A
Authority
JP
Japan
Prior art keywords
document
displayed
display
unit
editing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005185610A
Other languages
Japanese (ja)
Inventor
Norio Oshima
教雄 大島
Hideo Fukuhara
秀伯 福原
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.)
JustSystems Corp
Original Assignee
JustSystems Corp
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 JustSystems Corp filed Critical JustSystems Corp
Priority to JP2005185610A priority Critical patent/JP2007004627A/en
Publication of JP2007004627A publication Critical patent/JP2007004627A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

【課題】 複数文書を1つの文書として画面に表示し、また編集できるようにすることによってユーザの利便性を高める。
【解決手段】 文書処理装置20は、編集部24と、複数の処理系と、表示制御部110と、階層解析部とを含む。ユーザは、マークアップ言語を用いて、さまざまな文書を作成する。この文書をタグセットとよぶ。複数のタグセットは、階層構造を有するようにユーザが編集でき、複数の処理系によって処理される。処理された複数のタグセットは、編集部24によって統合され1つの文書として画面上の文書表示領域に表示される。画面上に表示された文書は、表示制御部110によって、それぞれ境界が表示される。ユーザが画面上に表示された文書を編集する際、指定した部分に相当する文書の境界は、他の境界と識別可能な態様で表示される。
【選択図】 図1
PROBLEM TO BE SOLVED: To improve user convenience by displaying a plurality of documents as one document on a screen and enabling editing.
A document processing apparatus includes an editing unit, a plurality of processing systems, a display control unit, and a hierarchy analysis unit. A user creates various documents using a markup language. This document is called a tag set. The plurality of tag sets can be edited by the user so as to have a hierarchical structure, and are processed by a plurality of processing systems. The plurality of processed tag sets are integrated by the editing unit 24 and displayed as one document in the document display area on the screen. The display control unit 110 displays the boundaries of the documents displayed on the screen. When the user edits the document displayed on the screen, the boundary of the document corresponding to the designated portion is displayed in a manner distinguishable from other boundaries.
[Selection] Figure 1

Description

この発明は、データ処理技術に関し、とくに、複数の文書からなるデータを処理する文書処理装置に関する。   The present invention relates to a data processing technique, and more particularly to a document processing apparatus that processes data consisting of a plurality of documents.

近年、コンピュータの普及とネットワーク技術の進展に伴い、ネットワークを介した電子情報の交換が盛んになっている。これにより、従来においては紙ベースで行われていた事務処理の多くが、ネットワークベースの処理に置き換えられつつある。   In recent years, with the spread of computers and the advancement of network technology, the exchange of electronic information via the network has become popular. As a result, many of the business processes that have been conventionally performed on a paper basis are being replaced by network-based processes.

企業においても、個人の知識や情報を組織全体で活用する、いわゆるナレッジマネジメントが、重要な経営手法となってきている。多くの企業においては、社内にデータベースシステムを有し、従業員からの情報を電子ファイル化して蓄積する。その一方で、従業員も、この社内データベースに蓄積されたファイルにネットワークを介してアクセスする。これによって、組織全体としての業務効率の向上が図られる。   Even in companies, so-called knowledge management, which utilizes personal knowledge and information throughout the organization, has become an important management technique. Many companies have in-house database systems that store information from employees in electronic files. On the other hand, employees also access files stored in this in-house database via the network. As a result, the business efficiency of the entire organization is improved.

この社内データベースに蓄積されるファイルの多くは、HTML(Hyper Text Markup Language)とよばれる言語によって作成されている。また、近年においては、XML(eXtensible Markup Language)とよばれる言語を用いて、これらのファイルが作成される例も多くなってきている。   Many of the files stored in this in-house database are created in a language called HTML (Hyper Text Markup Language). In recent years, there are many examples in which these files are created using a language called XML (eXtensible Markup Language).

HTMLは、ウェブページを記述するための言語である。すなわち、HTMLは文書ファイルの表示方法を定義するマークアップ言語の一種である。これに対して、XMLはHTMLの様に、直接的にウェブページを記述することを目的とする言語というよりは、むしろ、文書ファイルに含まれるデータのデータ構造を定義する機能を有する言語といえる。XMLによって作成された文書ファイルは、別に表示レイアウト情報を与えることによって、ウェブページとして表示される。すなわち、XML文書においては、データの構造とその表示レイアウトが別々のものとして扱うことができる。XMLのように、マークアップ言語を生成するための言語はメタ言語ともよばれる。   HTML is a language for describing web pages. In other words, HTML is a kind of markup language that defines how to display a document file. On the other hand, XML is a language having a function for defining a data structure of data included in a document file, rather than a language for directly describing a web page like HTML. . The document file created by XML is displayed as a web page by giving display layout information separately. That is, in an XML document, the data structure and its display layout can be handled separately. A language for generating a markup language, such as XML, is also called a meta language.

XMLは、ネットワークなどを介して他者とデータを共有するのに適した形式として注目されており、XML文書を作成、表示、編集するためのアプリケーションが開発されている(たとえば、特許文献1参照)。XML文書は、文書型定義などにより定義されたボキャブラリ(タグセット)に基づいて作成されている。
特開2001−290804号公報
XML is attracting attention as a format suitable for sharing data with others via a network or the like, and an application for creating, displaying, and editing an XML document has been developed (for example, see Patent Document 1). ). The XML document is created based on a vocabulary (tag set) defined by a document type definition or the like.
JP 2001-290804 A

企業内の多くの部署では、上述したように、XMLなどの文書を編集するためのアプリケーションを用いて、電子化された文書ファイルが作成され、また、更新がなされる。このような状況のもと、本発明者は以下の課題を認識した。すなわち、文書ファイルが複数のアプリケーションから作成されている場合、その文書ファイルの作成、編集の際に、その都度、対応するアプリケーションを起動するなどして行わなければならないといった課題である。たとえば、ワードプロセッサ機能を有するアプリケーション、表計算機能を有するアプリケーション、描画機能を有するアプリケーションのそれぞれで文書を作成し、1つのファイルに統合して編集したい場合などが考えられる。   In many departments in a company, as described above, an electronic document file is created and updated using an application for editing a document such as XML. Under such circumstances, the present inventor has recognized the following problems. That is, when a document file is created from a plurality of applications, it is a problem that the corresponding application must be started up every time the document file is created or edited. For example, there may be a case where a document is created by each of an application having a word processor function, an application having a spreadsheet function, and an application having a drawing function, and is integrated into one file for editing.

本発明はこうした状況に鑑みてなされたものであり、その目的は、複数のタグセットによって作成された文書を処理可能な文書処理装置および文書処理方法を提供することにある。   The present invention has been made in view of such circumstances, and an object thereof is to provide a document processing apparatus and a document processing method capable of processing a document created by a plurality of tag sets.

上記課題を解決するために、本発明のある態様の文書処理装置は、特定の階層構造を有する複数のタグセットによりそれぞれ記述された部分文書からなる文書を処理する文書処理装置であって、部分文書のそれぞれを処理する複数の処理系と、部分文書のそれぞれに対して、部分文書を表示する文書表示領域を割り当て、文書表示領域に、対応する部分文書を表示して、ユーザによる部分文書の編集を受け付ける編集部と、を備える。   In order to solve the above problems, a document processing apparatus according to an aspect of the present invention is a document processing apparatus that processes a document composed of partial documents each described by a plurality of tag sets having a specific hierarchical structure. A plurality of processing systems for processing each document and a document display area for displaying a partial document are assigned to each of the partial documents, the corresponding partial document is displayed in the document display area, and An editing unit that accepts editing.

ここで、「特定の階層構造を有する複数のタグセット」とは、個々のタグセットが、その内部に他のタグセットを有するように階層化されていることを含む。また、「タグセットによりそれぞれ記述された部分文書」とは、特定のマークアップ言語またはボキャブラリにより記述された文書などを含む。「部分文書のそれぞれを処理する複数の処理系」とは、部分文書を記述しているタグセットにかかるマークアップ言語またはボキャブラリを解読して、画面に表示するためのソフトウェアなどを含み、たとえば、HTML(Hyper Text Markup Language)、SVG(Scalable Vector Graphics)などの処理系を含む。   Here, “a plurality of tag sets having a specific hierarchical structure” includes that each tag set is hierarchized so as to have other tag sets therein. The “partial document described by each tag set” includes a document described by a specific markup language or vocabulary. “Multiple processing systems for processing each partial document” includes software for decoding a markup language or vocabulary applied to a tag set describing a partial document and displaying it on a screen. It includes processing systems such as HTML (Hyper Text Markup Language) and SVG (Scalable Vector Graphics).

なお、以上の構成要素の任意の組合せや、本発明の構成要素や表現、もしくはそれらの一部を方法、装置、システム、コンピュータプログラム、コンピュータプログラムを格納した記録媒体、データ構造などの間で相互に置換したものもまた、本発明の態様として有効である。   It should be noted that any combination of the above components, the components and expressions of the present invention, or a part of them may be mutually exchanged between methods, apparatuses, systems, computer programs, recording media storing computer programs, data structures, Those substituted with are also effective as an embodiment of the present invention.

本発明によれば、複数のタグセットで記述された構造化文書ファイルに含まれるデータを扱う上でのユーザの利便性を向上させる上で効果がある。   According to the present invention, there is an effect in improving user convenience in handling data included in a structured document file described by a plurality of tag sets.

まず、本発明の実施形態にかかる文書処理装置の概要について説明する。文書処理装置は、編集部と、複数の処理系と、表示制御部と、階層解析部とを含む。ユーザは、複数のマークアップ言語または複数のボキャブラリを用いて、さまざまな文書を作成する。この個々のマークアップ言語等はタグセットとよばれる。ユーザは、階層構造を有するように複数のタグセットを記述して文章を編集でき、複数のタグセットはそれぞれ対応する処理系によって処理される。処理された複数のタグセットは、編集部によって統合され1つの文書として画面上の文書表示領域に表示される。画面上に表示された文書は、表示制御部によって、それぞれ境界が表示される。ユーザが画面上に表示された文書を編集する際、指定した部分に相当する文書(以下、「部分文書」と表記する。)の境界は、他の境界と識別可能な態様で表示される。   First, an outline of a document processing apparatus according to an embodiment of the present invention will be described. The document processing apparatus includes an editing unit, a plurality of processing systems, a display control unit, and a hierarchy analysis unit. The user creates various documents using a plurality of markup languages or a plurality of vocabularies. These individual markup languages are called tag sets. A user can edit a sentence by describing a plurality of tag sets so as to have a hierarchical structure, and each of the plurality of tag sets is processed by a corresponding processing system. The plurality of processed tag sets are integrated by the editing unit and displayed as one document in the document display area on the screen. Each document displayed on the screen has its boundary displayed by the display control unit. When the user edits the document displayed on the screen, the boundary of the document corresponding to the designated portion (hereinafter referred to as “partial document”) is displayed in a manner that can be distinguished from other boundaries.

また、階層解析部は、文書に含まれる処理系の階層構造を解析し、表示制御部は、その名称と階層関係を階層表示領域に表示する。表示された階層をユーザが指定することによって、対応する文書の境界が他の境界と識別可能な態様で表示される。同様に、文書表示領域に表示された文書を指定することによって、対応する階層が他の階層と識別可能な態様で表示される。また、文書に含まれるファイルは、ファイル名表示領域にその名称が表示される。前述と同様に、ファイル名表示領域に表示された名称をユーザが指定することによって、対応する文書、もしくは、対応する階層は、他と識別可能な態様で表示される。   The hierarchical analysis unit analyzes the hierarchical structure of the processing system included in the document, and the display control unit displays the name and hierarchical relationship in the hierarchical display area. When the user designates the displayed hierarchy, the boundary of the corresponding document is displayed in a manner that can be distinguished from other boundaries. Similarly, by designating a document displayed in the document display area, the corresponding hierarchy is displayed in a manner that can be distinguished from other hierarchies. The name of the file included in the document is displayed in the file name display area. As described above, when the user designates the name displayed in the file name display area, the corresponding document or the corresponding hierarchy is displayed in a form that can be distinguished from others.

また、処理系は、それぞれ複数の文書編集機能を有している。ユーザが文書表示領域に表示された文書を指定した場合、その文書を処理している処理系の文書編集機能が、メニュー表示領域に表示される。また、ユーザが階層表示領域に表示された階層を指定した場合、その階層にかかる処理系の文書編集機能の名称が、メニュー表示領域に表示される。また、ユーザがファイル名表示領域に表示された階層を指定した場合、そのファイル名にかかる処理系の文書編集機能の名称が、メニュー表示領域に表示される。いずれの場合も、指定にかかる処理系より上位の階層にかかる処理系の文書編集機能の名称も、あわせて、メニュー表示領域に表示してもよい。   Each processing system has a plurality of document editing functions. When the user designates a document displayed in the document display area, the document editing function of the processing system that processes the document is displayed in the menu display area. When the user designates a hierarchy displayed in the hierarchy display area, the name of the document editing function of the processing system related to that hierarchy is displayed in the menu display area. When the user designates a hierarchy displayed in the file name display area, the name of the processing document editing function related to the file name is displayed in the menu display area. In either case, the name of the document editing function of the processing system related to the hierarchy higher than the processing system related to the designation may be displayed in the menu display area.

以下、本実施例における文書処理装置の構成、動作について説明する。   The configuration and operation of the document processing apparatus in this embodiment will be described below.

図1は、本発明の実施形態に関する文書処理装置20の構成を示す図である。文書処理装置20は、文書内のデータが階層構造を有する複数の構成要素に分類された構造化文書を処理するが、本実施形態では構造化文書の一例としてXML文書を処理する例について説明する。文書処理装置20は、主制御ユニット22、編集部24、表示制御部110、文書オブジェクトモデルユニット30(Document Object Model Unit。以下、「DOMユニット30」と略称する。)、処理系で代表される、カスケーディングスタイルシートユニット40(Cascading Style Sheet Unit。以下、「CSSユニット40」と略称する。)、HTMLユニット50、SVGユニット60、及びボキャブラリコネクションユニット80(Vocabulary Connection Unit。以下、「VCユニット80」と略称する。)、とを備える。これらの構成は、ハードウエアコンポーネントでいえば、任意のコンピュータのCPU、メモリ、メモリにロードされたプログラムなどによって実現されるが、ここではそれらの連携によって実現される機能ブロックを描いている。したがって、これらの機能ブロックがハードウエアのみ、ソフトウエアのみ、またはそれらの組合せによっていろいろな形で実現できることは、当業者には理解されるところである。   FIG. 1 is a diagram showing a configuration of a document processing apparatus 20 according to an embodiment of the present invention. The document processing apparatus 20 processes a structured document in which data in the document is classified into a plurality of components having a hierarchical structure. In this embodiment, an example of processing an XML document as an example of a structured document will be described. . The document processing apparatus 20 is represented by a main control unit 22, an editing unit 24, a display control unit 110, a document object model unit 30 (Document Object Model Unit, hereinafter abbreviated as “DOM unit 30”), and a processing system. Cascading Style Sheet Unit 40 (hereinafter abbreviated as “CSS unit 40”), HTML unit 50, SVG unit 60, and vocabulary connection unit 80 (Vocabulary Connection Unit; hereinafter referred to as “VC unit 80”). For short). In terms of hardware components, these configurations are realized by a CPU of a computer, a memory, a program loaded in the memory, and the like, but here, functional blocks realized by their cooperation are illustrated. Accordingly, those skilled in the art will understand that these functional blocks can be realized in various forms by hardware only, software only, or a combination thereof.

主制御ユニット22は、プラグインのロードや、コマンド実行のフレームワークを提供する。編集部24は、XML文書を編集するためのフレームワークを提供する。文書処理装置20における文書の表示及び編集機能は、プラグインにより実現されており、文書の種別に応じて必要なプラグインが主制御ユニット22又は編集部24によりロードされる。主制御ユニット22又は編集部24は、処理対象となるXML文書の名前空間を参照して、XML文書がいずれのボキャブラリにより記述されているかを判別し、そのボキャブラリに対応した表示又は編集用のプラグインをロードして表示や編集を実行させる。例えば、文書処理装置20には、HTML文書の表示及び編集を行うHTMLユニット50、SVG文書の表示及び編集を行うSVGユニット60など、ボキャブラリ(タグセット)ごとに表示系及び編集系がプラグインとして実装されており、HTML文書を編集するときはHTMLユニット50が、SVG文書を編集するときはSVGユニット60が、それぞれロードされる。後述するように、HTMLとSVGの双方の構成要素を含む複合文書が処理対象となっている場合は、HTMLユニット50とSVGユニット60の双方がロードされる。また、上述のプラグインをロードする際に、プラグインにかかる機能をメニュー表示領域に表示してもよい。   The main control unit 22 provides a framework for loading plug-ins and executing commands. The editing unit 24 provides a framework for editing an XML document. The document display and editing functions in the document processing apparatus 20 are realized by plug-ins, and necessary plug-ins are loaded by the main control unit 22 or the editing unit 24 according to the type of document. The main control unit 22 or the editing unit 24 refers to the name space of the XML document to be processed, determines which vocabulary the XML document is described in, and a display or editing plug corresponding to the vocabulary Load the in to display and edit. For example, the document processing apparatus 20 has a display system and an editing system as plug-ins for each vocabulary (tag set) such as an HTML unit 50 that displays and edits HTML documents and an SVG unit 60 that displays and edits SVG documents. The HTML unit 50 is loaded when editing an HTML document, and the SVG unit 60 is loaded when editing an SVG document. As will be described later, when a compound document including both HTML and SVG components is to be processed, both the HTML unit 50 and the SVG unit 60 are loaded. Further, when loading the above-described plug-in, the function related to the plug-in may be displayed in the menu display area.

このような構成によれば、ユーザは、必要な機能のみを選択してインストールし、後から適宜機能を追加又は削除することができるので、プログラムを格納するハードディスクなどの記録媒体の記憶領域を有効に活用することができ、また、プログラム実行時にも、メモリの浪費を防ぐことができる。また、機能拡張性に優れており、開発主体としても、プラグインの形で新たなボキャブラリに対応することが可能なので開発が容易となり、ユーザとしても、プラグインの追加により容易かつ低コストにて機能を追加することができる。   According to such a configuration, the user can select and install only necessary functions, and can add or delete functions as appropriate later, so that the storage area of a recording medium such as a hard disk for storing the program is effective. In addition, it is possible to prevent the memory from being wasted when executing the program. In addition, it has excellent function extensibility, and as a development entity, it is possible to handle new vocabularies in the form of plug-ins, making development easier, and as a user, adding plug-ins makes it easy and low-cost. Functions can be added.

編集部24は、ユーザインターフェースを介してユーザから編集指示のイベントを受け付け、そのイベントを適切なプラグインなどに通知するともに、イベントの再実行(リドゥ)又は実行の取消(アンドゥ)などの処理を制御する。また、ユーザの編集対象となる文書を読み込んだ際に、文書に含まれる部分文書を解析する。具体的には、部分文書を処理するための処理系を選択する。また、部分文書にかかるタグセットの階層構造を解析する。また、部分文書のそれぞれに対して、部分文書を表示する文書表示領域を割り当る。割り当てられた文書表示領域に、対応する部分文書を表示して、ユーザによる部分文書の編集を受け付ける。詳細は後述する。   The editing unit 24 receives an editing instruction event from the user via the user interface, notifies the event to an appropriate plug-in, and performs processing such as event re-execution (redo) or execution cancellation (undo). Control. Further, when a document to be edited by the user is read, a partial document included in the document is analyzed. Specifically, a processing system for processing the partial document is selected. Moreover, the hierarchical structure of the tag set concerning the partial document is analyzed. A document display area for displaying a partial document is assigned to each partial document. The corresponding partial document is displayed in the assigned document display area, and the editing of the partial document by the user is accepted. Details will be described later.

表示制御部110は、編集部24を介して受け付けたユーザからの指示にもとづいて、画面上の表示を制御する。表示制御部110は、文書表示領域の境界を表示する。詳細は後述する。   The display control unit 110 controls display on the screen based on an instruction from the user received via the editing unit 24. The display control unit 110 displays the boundary of the document display area. Details will be described later.

DOMユニット30は、DOM提供部32、DOM生成部34、及び出力部36を含み、XML文書をデータとして扱うときのアクセス方法を提供するために定められた文書オブジェクトモデル(Document Object Model。以下、「DOM」と略称する。)に準拠した機能を実現する。DOM提供部32は、編集部24に定義されているインタフェースを満たすDOMの実装である。DOM生成部34は、XML文書からDOMツリーを生成する。後述するように、処理対象となるXML文書が、VCユニット80により他のボキャブラリにマッピングされる場合は、マッピング元のXML文書に対応するソースツリーと、マッピング先のXML文書に対応するデスティネーションツリーが生成される。出力部36は、例えば編集終了時に、DOMツリーをXML文書として出力する。   The DOM unit 30 includes a DOM providing unit 32, a DOM generation unit 34, and an output unit 36, and is a document object model (Document Object Model; hereinafter referred to as providing an access method when handling an XML document as data). A function compliant with “DOM”) is realized. The DOM providing unit 32 is an implementation of DOM that satisfies the interface defined in the editing unit 24. The DOM generation unit 34 generates a DOM tree from the XML document. As will be described later, when the XML document to be processed is mapped to another vocabulary by the VC unit 80, the source tree corresponding to the mapping source XML document and the destination tree corresponding to the mapping destination XML document Is generated. The output unit 36 outputs the DOM tree as an XML document at the end of editing, for example.

CSSユニット40は、CSS解析部42、CSS提供部44、及びレンダリング部46を含み、CSSに準拠した表示機能を提供する。CSSとは、HTMLの表示のスタイルを指定するための言語であって、HTMLユニット50に付随する子処理系にあたる。CSSは、フォント、色の指定などを行うことができる。CSS解析部42は、CSSの構文を解析するパーサの機能を有する。CSS提供部44は、CSSオブジェクトの実装であり、DOMツリーに対してCSSのカスケード処理を行う。レンダリング部46は、CSSのレンダリングエンジンであり、CSSを用いてレイアウトされるHTMLなどのボキャブラリで記述された文書の表示、描画に用いられる。   The CSS unit 40 includes a CSS analysis unit 42, a CSS providing unit 44, and a rendering unit 46, and provides a display function compliant with CSS. CSS is a language for designating an HTML display style, and corresponds to a child processing system associated with the HTML unit 50. The CSS can specify fonts and colors. The CSS analysis unit 42 has a parser function of analyzing the CSS syntax. The CSS providing unit 44 is an implementation of a CSS object, and performs a CSS cascade process on the DOM tree. The rendering unit 46 is a CSS rendering engine, and is used to display and render a document described in a vocabulary such as HTML laid out using the CSS.

HTMLユニット50は、HTMLにより記述された文書を表示又は編集する。SVGユニット60は、SVGにより記述された文書を表示又は編集する。これらの表示/編集系は、プラグインの形で実現されており、それぞれ、文書を表示するHTML表示部(Canvas)56、SVG表示部66、編集指示を含むイベントを送受信するHTML制御部(Editlet)52、SVG制御部62、編集コマンドを受けてDOMに対して編集を行うHTML編集部(Zone)54、SVG編集部64を備える。HTML制御部52又はSVG制御部62が外部からDOMツリーの編集コマンドを受け付けると、HTML編集部54又はSVG編集部64がDOMツリーを変更し、HTML表示部56又はSVG表示部66が表示を更新する。これらは、MVC(Model-View-Controller)と呼ばれるフレームワークに類似する構成をとっており、概ね、HTML表示部56及びSVG表示部66が「View」に、HTML制御部52及びSVG制御部62が「Controller」に、HTML編集部54及びSVG編集部64とDOMの実体が「Model」に、それぞれ対応する。本実施形態の文書処理装置20では、XML文書をツリー表示形式で編集するだけでなく、それぞれのボキャブラリに応じた編集を可能とする。例えば、HTMLユニット50は、HTML文書をワードプロセッサに類似した方式で編集するためのユーザインターフェースを提供し、SVGユニット60は、SVG文書を画像描画ツールに類似した方式で編集するためのユーザインターフェースを提供する。   The HTML unit 50 displays or edits a document described in HTML. The SVG unit 60 displays or edits a document described in SVG. These display / editing systems are realized in the form of plug-ins, and are respectively an HTML display unit (Canvas) 56 for displaying a document, an SVG display unit 66, and an HTML control unit (Editlet) for transmitting and receiving events including editing instructions. ) 52, an SVG control unit 62, an HTML editing unit (Zone) 54 that receives an editing command and edits the DOM, and an SVG editing unit 64. When the HTML control unit 52 or the SVG control unit 62 receives a DOM tree editing command from the outside, the HTML editing unit 54 or the SVG editing unit 64 changes the DOM tree, and the HTML display unit 56 or the SVG display unit 66 updates the display. To do. These have a configuration similar to a framework called MVC (Model-View-Controller), and in general, the HTML display unit 56 and the SVG display unit 66 are set to “View”, and the HTML control unit 52 and the SVG control unit 62. Corresponds to “Controller”, and the HTML editing unit 54, the SVG editing unit 64, and the DOM entity correspond to “Model”, respectively. The document processing apparatus 20 according to the present embodiment enables not only editing of an XML document in a tree display format but also editing according to each vocabulary. For example, the HTML unit 50 provides a user interface for editing an HTML document in a manner similar to a word processor, and the SVG unit 60 provides a user interface for editing an SVG document in a manner similar to an image drawing tool. To do.

VCユニット80は、マッピング部82、定義ファイル取得部84、及び定義ファイル生成部86を含み、あるボキャブラリにより記述された文書を、他のボキャブラリにマッピングすることにより、マッピング先のボキャブラリに対応した表示編集用プラグインで文書を表示又は編集するためのフレームワークを提供する。本実施形態では、この機能を、ボキャブラリコネクション(Vocabulary Connection:VC)と呼ぶ。定義ファイル取得部84は、マッピングの定義を記述したスクリプトファイルを取得する。この定義ファイルは、ノードごとに、ノード間の対応(コネクション)を記述する。このとき、各ノードの要素値や属性値の編集の可否を指定してもよい。また、ノードの要素値や属性値を用いた演算式を記述してもよい。これらの機能については、後で詳述する。マッピング部82は、定義ファイル取得部84が取得したスクリプトファイルを参照して、DOM生成部34にデスティネーションツリーを生成させ、ソースツリーとデスティネーションツリーの対応関係を管理する。定義ファイル生成部86は、ユーザが定義ファイルを生成するためのグラフィカルユーザインターフェースを提供する。   The VC unit 80 includes a mapping unit 82, a definition file acquisition unit 84, and a definition file generation unit 86. By mapping a document described in a certain vocabulary to another vocabulary, a display corresponding to the mapping destination vocabulary Provides a framework for displaying or editing a document with an editing plug-in. In this embodiment, this function is called a vocabulary connection (VC). The definition file acquisition unit 84 acquires a script file describing a mapping definition. This definition file describes the correspondence (connection) between nodes for each node. At this time, whether or not the element value and attribute value of each node can be edited may be designated. Also, an arithmetic expression using the element value or attribute value of the node may be described. These functions will be described in detail later. The mapping unit 82 refers to the script file acquired by the definition file acquisition unit 84, causes the DOM generation unit 34 to generate a destination tree, and manages the correspondence between the source tree and the destination tree. The definition file generator 86 provides a graphical user interface for the user to generate a definition file.

VCユニット80は、ソースツリーとデスティネーションツリーの間のコネクションを監視し、表示を担当するプラグインにより提供されるユーザインタフェースを介してユーザから編集指示を受け付けると、まずソースツリーの該当するノードを変更する。DOMユニット30が、ソースツリーが変更された旨のミューテーションイベントを発行すると、VCユニット80は、そのミューテーションイベントを受けて、ソースツリーの変更にデスティネーションツリーを同期させるべく、変更されたノードに対応するデスティネーションツリーのノードを変更する。デスティネーションツリーを表示/編集するプラグイン、例えばHTMLユニット50は、デスティネーションツリーが変更された旨のミューテーションイベントを受けて、変更されたデスティネーションツリーを参照して表示を更新する。このような構成により、少数のユーザにより利用されるローカルなボキャブラリにより記述された文書であっても、他のメジャーなボキャブラリに変換することで、文書を表示することができるとともに、編集環境が提供される。   When the VC unit 80 monitors the connection between the source tree and the destination tree and receives an editing instruction from the user via the user interface provided by the plug-in responsible for display, the VC unit 80 first selects the corresponding node of the source tree. change. When the DOM unit 30 issues a mutation event to the effect that the source tree has been changed, the VC unit 80 receives the mutation event, and the node changed to synchronize the destination tree with the change of the source tree. Change the destination tree node corresponding to. A plug-in for displaying / editing the destination tree, for example, the HTML unit 50, receives a mutation event indicating that the destination tree has been changed, and updates the display with reference to the changed destination tree. With such a configuration, even a document described in a local vocabulary used by a small number of users can be displayed by converting it to another major vocabulary, and an editing environment is provided. Is done.

文書処理装置20により文書を表示又は編集する動作について説明する。文書処理装置20が処理対象となる文書を読み込むと、DOM生成部34が、そのXML文書からDOMツリーを生成する。また、主制御ユニット22又は編集部24は、名前空間を参照して文書を記述しているボキャブラリを判別する。そのボキャブラリに対応したプラグインが文書処理装置20にインストールされている場合は、そのプラグインをロードして、文書を表示/編集させる。プラグインがインストールされていない場合は、マッピングの定義ファイルが存在するか否かを確認する。定義ファイルが存在する場合、定義ファイル取得部84が定義ファイルを取得し、その定義に従って、デスティネーションツリーが生成され、マッピング先のボキャブラリに対応するプラグインにより文書が表示/編集される。複数のボキャブラリを含む複合文書である場合は、後述するように、それぞれのボキャブラリに対応したプラグインにより、文書の該当箇所がそれぞれ表示/編集される。定義ファイルが存在しない場合は、文書のソース又はツリー構造を表示し、その表示画面において編集が行われる。   An operation for displaying or editing a document by the document processing apparatus 20 will be described. When the document processing apparatus 20 reads a document to be processed, the DOM generation unit 34 generates a DOM tree from the XML document. Further, the main control unit 22 or the editing unit 24 determines the vocabulary describing the document with reference to the name space. If a plug-in corresponding to the vocabulary is installed in the document processing apparatus 20, the plug-in is loaded to display / edit the document. If the plug-in is not installed, check whether the mapping definition file exists. When the definition file exists, the definition file acquisition unit 84 acquires the definition file, generates a destination tree according to the definition, and displays / edits the document by the plug-in corresponding to the mapping destination vocabulary. In the case of a compound document including a plurality of vocabularies, corresponding portions of the document are displayed / edited by plug-ins corresponding to the respective vocabularies, as will be described later. If the definition file does not exist, the document source or tree structure is displayed, and editing is performed on the display screen.

図2は、図1の文書処理装置20の処理対象となるXML文書の例を示す図である。このXML文書は、生徒の成績データを管理するために用いられる。XML文書のトップノードである構成要素「成績」は、配下に、生徒ごとに設けられた構成要素「生徒」を複数有する。構成要素「生徒」は、属性値「名前」と、子要素「国語」、「数学」、「理科」、「社会」を有する。属性値「名前」は、生徒の名前を格納する。構成要素「国語」、「数学」、「理科」、「社会」は、それぞれ、国語、数学、理科、社会の成績を格納する。例えば、名前が「A」である生徒の国語の成績は「90」、数学の成績は「50」、理科の成績は「75」、社会の成績は「60」である。以下、この文書で使用されているボキャブラリ(タグセット)を、「成績管理ボキャブラリ」と呼ぶ。   FIG. 2 is a diagram illustrating an example of an XML document to be processed by the document processing apparatus 20 in FIG. This XML document is used to manage student performance data. The component “score” which is the top node of the XML document has a plurality of component “students” provided for each student under the subordinate. The component “student” has an attribute value “name” and child elements “national language”, “mathematics”, “science”, and “society”. The attribute value “name” stores the name of the student. The constituent elements “National language”, “Mathematics”, “Science”, and “Society” store the results of national language, mathematics, science, and society, respectively. For example, a student whose name is “A” has a national language grade of “90”, a mathematics grade of “50”, a science grade of “75”, and a social grade of “60”. Hereinafter, the vocabulary (tag set) used in this document is referred to as a “results management vocabulary”.

本実施形態の文書処理装置20は、成績管理ボキャブラリの表示/編集に対応したプラグインを有しないので、この文書をソース表示、ツリー表示以外の方法で表示するためには、前述したVC機能が用いられる。すなわち、成績管理ボキャブラリを、プラグインが用意された別のボキャブラリ、例えば、HTMLやSVGなどにマッピングするための定義ファイルを用意する必要がある。ユーザ自身が定義ファイルを作成するためのユーザインターフェースについては後述することにして、ここでは、既に定義ファイルが用意されているとして説明を進める。   Since the document processing apparatus 20 of the present embodiment does not have a plug-in that supports display / editing of the grade management vocabulary, the VC function described above is used to display this document by a method other than source display and tree display. Used. That is, it is necessary to prepare a definition file for mapping the grade management vocabulary to another vocabulary provided with a plug-in, such as HTML or SVG. A user interface for the user himself to create a definition file will be described later, and here, the description will proceed assuming that a definition file has already been prepared.

図3は、図2に示したXML文書をHTMLで記述された表にマッピングする例を示す図である。図3の例では、成績管理ボキャブラリの「生徒」ノードを、HTMLにおける表(「TABLE」ノード)の行(「TR」ノード)に対応づけ、各行の第1列には属性値「名前」を、第2列には「国語」ノードの要素値を、第3列には「数学」ノードの要素値を、第4列には「理科」ノードの要素値を、第5列には「社会」ノードの要素値を、それぞれ対応付ける。これにより、図2に示したXML文書を、HTMLの表形式で表示することができる。また、これらの属性値及び要素値は、編集可能であることが指定されており、ユーザがHTMLによる表示画面上で、HTMLユニット50の編集機能により、これらの値を編集することができる。第6列には、国語、数学、理科、社会の成績の加重平均を算出する演算式が指定されており、生徒の成績の平均点が表示される。このように、定義ファイルに演算式を指定可能とすることにより、より柔軟な表示が可能となり、編集時のユーザの利便性を向上させることができる。なお、第6列は、編集不可であることが指定されており、平均点のみを個別に編集することができないようにしている。このように、マッピング定義において、編集の可否を指定可能とすることにより、ユーザの誤操作を防ぐことができる。   FIG. 3 is a diagram showing an example of mapping the XML document shown in FIG. 2 to a table described in HTML. In the example of FIG. 3, the “student” node of the grade management vocabulary is associated with a row (“TR” node) of a table (“TABLE” node) in HTML, and an attribute value “name” is assigned to the first column of each row. The second column contains the element values of the “National Language” node, the third column the element values of the “Mathematics” node, the fourth column the element values of the “Science” node, and the fifth column “Society”. The node element values are associated with each other. Thereby, the XML document shown in FIG. 2 can be displayed in an HTML table format. These attribute values and element values are specified to be editable, and the user can edit these values using the editing function of the HTML unit 50 on the HTML display screen. In the sixth column, an arithmetic expression for calculating a weighted average of national language, mathematics, science and social results is designated, and the average score of the students' results is displayed. In this way, by making it possible to specify an arithmetic expression in the definition file, more flexible display is possible and user convenience during editing can be improved. Note that the sixth column specifies that editing is not possible, and only the average score cannot be edited individually. As described above, by making it possible to specify whether or not editing can be performed in the mapping definition, it is possible to prevent an erroneous operation by the user.

図4(a)及び図4(b)は、図2に示したXML文書を図3に示した表にマッピングするための定義ファイルの例を示す。この定義ファイルは、定義ファイル用に定義されたスクリプト言語により記述される。定義ファイルには、コマンドの定義と、表示のテンプレートが記述されている。図4(a)(b)の例では、コマンドとして、「生徒の追加」と「生徒の削除」が定義されており、それぞれ、ソースツリーにノード「生徒」を挿入する操作と、ソースツリーからノード「生徒」を削除する操作が対応付けられている。また、テンプレートとして、表の第1行に「名前」、「国語」などの見出しが表示され、第2行以降に、ノード「生徒」の内容が表示されることが記述されている。ノード「生徒」の内容を表示するテンプレート中、「text-of」と記述された項は「編集可能」であることを意味し、「value-of」と記述された項は「編集不可能」であることを意味する。また、ノード「生徒」の内容を表示する行のうち、第6列には、「(src:国語 + src:数学 + src:理科 + src:社会) div 4」という計算式が記述されており、生徒の成績の平均が表示されることを意味する。   4A and 4B show examples of definition files for mapping the XML document shown in FIG. 2 to the table shown in FIG. This definition file is described in a script language defined for the definition file. In the definition file, command definitions and display templates are described. In the example of FIGS. 4A and 4B, “add student” and “delete student” are defined as commands, respectively, an operation of inserting a node “student” into the source tree, An operation for deleting the node “student” is associated. As a template, it is described that headings such as “name” and “national language” are displayed on the first line of the table, and the contents of the node “student” are displayed on and after the second line. In the template that displays the contents of the node "Student", the term described as "text-of" means "editable" and the term described as "value-of" is "not editable" It means that. In the sixth column of the row displaying the contents of the node “Student”, the formula “(src: Japanese + src: Mathematics + src: Science + src: Society) div 4” is described. , Which means that the average of the student's grades is displayed.

図5は、図2に示した成績管理ボキャブラリで記述されたXML文書を、図3に示した対応によりHTMLにマッピングして表示した画面の例を示す。表90の各行には、左から、各生徒の名前、国語の成績、数学の成績、理科の成績、社会の成績、及び平均点が表示されている。ユーザは、この画面上で、XML文書を編集することができる。たとえば、第2行第3列の値を「70」に変更すると、このノードに対応するソースツリーの要素値、すなわち、生徒「B」の数学の成績が「70」に変更される。このとき、VCユニット80は、デスティネーションツリーをソースツリーに追従させるべく、デスティネーションツリーの該当箇所を変更し、HTMLユニット50が、変更されたデスティネーションツリーに基づいて表示を更新する。したがって、画面上の表においても、生徒「B」の数学の成績が「70」に変更され、更に、平均点が「55」に変更される。   FIG. 5 shows an example of a screen in which the XML document described in the grade management vocabulary shown in FIG. 2 is mapped and displayed in HTML according to the correspondence shown in FIG. In each row of Table 90, from the left, the name of each student, national language grade, mathematics grade, science grade, social grade, and average score are displayed. The user can edit the XML document on this screen. For example, when the value of the second row and third column is changed to “70”, the element value of the source tree corresponding to this node, that is, the math grade of the student “B” is changed to “70”. At this time, the VC unit 80 changes the corresponding part of the destination tree so that the destination tree follows the source tree, and the HTML unit 50 updates the display based on the changed destination tree. Therefore, also in the table on the screen, the mathematics score of the student “B” is changed to “70”, and the average score is changed to “55”.

図5に示した画面には、図4(a)(b)に示した定義ファイルに定義されたように、「生徒の追加」及び「生徒の削除」のコマンドがメニューに表示される。ユーザがこれらのコマンドを選択すると、ソースツリーにおいて、ノード「生徒」が追加又は削除される。このように、本実施形態の文書処理装置20では、階層構造の末端の構成要素の要素値を編集するのみではなく、階層構造を編集することも可能である。このようなツリー構造の編集機能は、コマンドの形でユーザに提供されてもよい。また、例えば、表の行を追加又は削除するコマンドが、ノード「生徒」を追加又は削除する操作に対応づけられてもよい。また、他のボキャブラリを埋め込むコマンドがユーザに提供されてもよい。この表を入力用テンプレートとして、穴埋め形式で新たな生徒の成績データを追加することもできる。以上のように、VC機能により、HTMLユニット50の表示/編集機能を利用しつつ、成績管理ボキャブラリで記述された文書を編集することが可能となる。   On the screen shown in FIG. 5, commands “add student” and “delete student” are displayed in the menu as defined in the definition file shown in FIGS. When the user selects these commands, the node “student” is added or deleted in the source tree. As described above, the document processing apparatus 20 according to the present embodiment can not only edit the element value of the component at the end of the hierarchical structure but also edit the hierarchical structure. Such a tree structure editing function may be provided to the user in the form of a command. Further, for example, a command for adding or deleting a table row may be associated with an operation for adding or deleting the node “student”. In addition, a command for embedding another vocabulary may be provided to the user. Using this table as an input template, new student grade data can be added in the form of hole filling. As described above, the VC function makes it possible to edit a document described in the grade management vocabulary while using the display / editing function of the HTML unit 50.

図6は、ユーザが定義ファイルを生成するために、図1の定義ファイル生成部86がユーザに提示するグラフィカルユーザインタフェースの例を示す図である。画面左側の第1領域91には、マッピング元のXML文書がツリー表示されている。画面右側の第2領域92には、マッピング先のXML文書の画面レイアウトが示されている。この画面レイアウトは、HTMLユニット50により編集可能となっており、ユーザは、画面右側の第2領域92において、文書を表示するための画面レイアウトを作成する。そして、例えば、マウスなどのポインティングデバイスにより、画面左側の第1領域91に表示されたマッピング元のXML文書のノードを、画面右側の第2領域92に表示されたHTMLによる画面レイアウト中へドラッグ&ドロップ操作を行うことにより、マッピング元のノードと、マッピング先のノードとのコネクションが指定される。例えば、要素「生徒」の子要素である「数学」を、HTML画面の表90の第1行第3列にドロップすると、「数学」ノードと、3列目の「TD」ノードの間にコネクションが張られる。各ノードには、編集の可否が指定できるようになっている。また、表示画面中には、演算式を埋め込むこともできる。画面の編集が終わると、定義ファイル生成部86は、画面レイアウトとノード間のコネクションを記述した定義ファイルを生成する。   FIG. 6 is a diagram illustrating an example of a graphical user interface presented to the user by the definition file generation unit 86 of FIG. 1 in order for the user to generate a definition file. In the first area 91 on the left side of the screen, a mapping source XML document is displayed in a tree form. The second area 92 on the right side of the screen shows the screen layout of the XML document that is the mapping destination. This screen layout can be edited by the HTML unit 50, and the user creates a screen layout for displaying a document in the second area 92 on the right side of the screen. Then, the node of the mapping source XML document displayed in the first area 91 on the left side of the screen is dragged into the HTML screen layout displayed in the second area 92 on the right side of the screen with a pointing device such as a mouse. By performing the drop operation, the connection between the mapping source node and the mapping destination node is specified. For example, when “mathematics” which is a child element of the element “student” is dropped on the first row and the third column of the table 90 of the HTML screen, the connection is made between the “math” node and the “TD” node in the third column. Is stretched. Each node can be designated for editing. An arithmetic expression can also be embedded in the display screen. When the editing of the screen is finished, the definition file generator 86 generates a definition file describing the screen layout and the connection between the nodes.

XHTML、MathML、SVGなどの主要なボキャブラリに対応したビューワやエディタは既に開発されているが、図2に示した文書のようなオリジナルなボキャブラリで記述された文書に対応したビューワやエディタを開発するのは現実的でない。しかし、上記のように、他のボキャブラリにマッピングするための定義ファイルを作成すれば、ビューワやエディタを開発しなくても、VC機能を利用して、オリジナルなボキャブラリで記述された文書を表示・編集することができる。   Viewers and editors corresponding to major vocabularies such as XHTML, MathML, and SVG have already been developed, but viewers and editors corresponding to documents described in original vocabulary such as the document shown in FIG. 2 are developed. Is not realistic. However, if a definition file for mapping to other vocabularies is created as described above, the document described in the original vocabulary can be displayed using the VC function without developing a viewer or editor. Can be edited.

図7は、図1の定義ファイル生成部86により生成された画面レイアウトの他の例を示す図である。図7の例では、成績管理ボキャブラリで記述されたXML文書を表示するための画面に、表90と、円グラフ93が作成されている。この円グラフ93は、SVGにより記述される。後述するように、本実施形態の文書処理装置20は、一つのXML文書内に複数のボキャブラリを含む複合文書を処理することができるので、この例のように、HTMLで記述された表90と、SVGで記述された円グラフ93とを、一つの画面上に表示することができる。   FIG. 7 is a diagram showing another example of the screen layout generated by the definition file generation unit 86 of FIG. In the example of FIG. 7, a table 90 and a pie chart 93 are created on a screen for displaying an XML document described in the grade management vocabulary. This pie chart 93 is described in SVG. As will be described later, the document processing apparatus 20 according to this embodiment can process a compound document including a plurality of vocabularies in one XML document. Therefore, as shown in this example, a table 90 described in HTML and , A pie chart 93 written in SVG can be displayed on one screen.

図8は、図1の文書処理装置20によるXML文書の編集画面の一例を示す図である。図8の例では、一つの画面が複数に分割されており、それぞれの領域において、処理対象となるXML文書を異なる複数の表示形式により表示している。第3領域94には、文書のソースが表示されており、第4領域95には、文書のツリー構造が表示されており、第5領域96には、図5に示したHTMLにより記述された表が表示されている。これらのいずれの画面上においても、文書の編集が可能であり、いずれかの画面上でユーザが編集を行うと、ソースツリーが変更され、それぞれの画面の表示を担当するプラグインが、ソースツリーの変更を反映すべく画面を更新する。具体的には、ソースツリーの変更を通知するミューテーションイベントのリスナーとして、それぞれの編集画面の表示を担当するプラグインの表示部を登録しておき、いずれかのプラグイン又はVCユニット80によりソースツリーが変更されたときに、編集画面を表示中の全ての表示部が、発行されたミューテーションイベントを受け取って画面を更新する。このとき、プラグインがVC機能により表示を行っている場合は、VCユニット80がソースツリーの変更に追従してデスティネーションツリーを変更した後、変更されたデスティネーションツリーを参照してプラグインの表示部が画面を更新する。   FIG. 8 is a diagram showing an example of an XML document editing screen by the document processing apparatus 20 of FIG. In the example of FIG. 8, one screen is divided into a plurality of parts, and XML documents to be processed are displayed in a plurality of different display formats in the respective areas. The source of the document is displayed in the third area 94, the tree structure of the document is displayed in the fourth area 95, and described in the HTML shown in FIG. 5 in the fifth area 96. A table is displayed. Documents can be edited on any of these screens. When the user edits on any of these screens, the source tree is changed, and the plug-in responsible for displaying each screen is changed to the source tree. Update the screen to reflect your changes. Specifically, as a listener for a mutation event that notifies a change in the source tree, a display unit of a plug-in responsible for displaying each editing screen is registered, and the source is generated by any plug-in or VC unit 80. When the tree is changed, all display units displaying the edit screen receive the issued mutation event and update the screen. At this time, if the plug-in is displaying by the VC function, the VC unit 80 changes the destination tree following the change of the source tree, and then refers to the changed destination tree to change the plug-in. The display unit updates the screen.

例えば、ソース表示及びツリー表示を、専用のプラグインにより実現している場合は、ソース表示用プラグインとツリー表示用プラグインは、デスティネーションツリーを用いず、直接ソースツリーを参照して表示を行う。この場合、いずれかの画面において編集が行われると、ソース表示用プラグインとツリー表示用プラグインは、変更されたソースツリーを参照して画面を更新し、第5領域96の画面を担当しているHTMLユニット50は、ソースツリーの変更に追従して変更されたデスティネーションツリーを参照して画面を更新する。   For example, when the source display and tree display are realized by a dedicated plug-in, the source display plug-in and the tree display plug-in do not use the destination tree, but directly display the source tree. Do. In this case, when editing is performed on any of the screens, the source display plug-in and the tree display plug-in update the screen with reference to the changed source tree and take charge of the screen of the fifth area 96. The HTML unit 50 updates the screen by referring to the changed destination tree following the change of the source tree.

ソース表示及びツリー表示は、VC機能を利用して実現することもできる。すなわち、ソース、ツリー構造をHTMLによりレイアウトし、そのHTMLにXML文書をマッピングして、HTMLユニット50により表示してもよい。この場合、ソース形式、ツリー形式、表形式の3つのデスティネーションツリーが生成されることになる。いずれかの画面において編集が行われると、VCユニット80は、ソースツリーを変更した後、ソース形式、ツリー形式、表形式の3つのデスティネーションツリーをそれぞれ変更し、HTMLユニット50は、それらのデスティネーションツリーを参照して、3つの画面を更新する。   The source display and tree display can also be realized using the VC function. In other words, the source and tree structure may be laid out in HTML, the XML document may be mapped to the HTML, and displayed by the HTML unit 50. In this case, three destination trees of a source format, a tree format, and a table format are generated. When editing is performed on any of the screens, the VC unit 80 changes the source tree, then changes each of the three destination trees in the source format, tree format, and table format, and the HTML unit 50 sets the destination tree. 3 screens are updated with reference to the nation tree.

このように、一つの画面上に複数の表示形式で文書を表示することにより、ユーザの利便性を向上させることができる。例えば、ユーザは、ソース表示又はツリー表示により文書の階層構造を把握しつつ、表90などを用いて視覚的に分かりやすい形式で文書を表示し、編集することができる。上記の例では、一つの画面を分割して複数の表示形式による画面を同時に表示したが、一つの画面に一つの表示形式による画面を表示し、表示形式をユーザの指示により切り替え可能としてもよい。この場合、主制御ユニット22が、ユーザから表示形式の切り替え要求を受け付け、各プラグインに指示して表示を切り替える。   As described above, the convenience of the user can be improved by displaying the document in a plurality of display formats on one screen. For example, the user can display and edit the document in a visually easy-to-understand format using the table 90 or the like while grasping the hierarchical structure of the document by the source display or the tree display. In the above example, one screen is divided and screens in a plurality of display formats are simultaneously displayed. However, a screen in one display format may be displayed on one screen, and the display format may be switched according to a user instruction. . In this case, the main control unit 22 receives a display format switching request from the user, and instructs each plug-in to switch the display.

図9は、文書処理装置20により編集されるXML文書の他の例を示す図である。図9に示したXML文書では、SVG文書の「foreignObject」タグの中にXHTML文書が埋め込まれており、さらに、XHTML文書の中にMathMLで記述された数式が入っている。このような場合、編集部24が、名前空間を参照して、適切な表示系に描画作業を振り分ける。図9の例では、編集部24は、まず、SVGユニット60に四角形を描画させ、つづいて、HTMLユニット50にXHTML文書を描画させる。さらに、図示しないMathMLユニットに、数式を描画させる。こうして、複数のボキャブラリを包含する複合文書が適切に表示される。表示結果を図10に示す。   FIG. 9 is a diagram illustrating another example of an XML document edited by the document processing apparatus 20. In the XML document shown in FIG. 9, the XHTML document is embedded in the “foreignObject” tag of the SVG document, and further, the mathematical formula described in MathML is included in the XHTML document. In such a case, the editing unit 24 refers to the name space and distributes the drawing work to an appropriate display system. In the example of FIG. 9, the editing unit 24 first causes the SVG unit 60 to draw a quadrangle, and then causes the HTML unit 50 to draw an XHTML document. Further, a mathematical expression is drawn in a MathML unit (not shown). Thus, a compound document including a plurality of vocabularies is appropriately displayed. The display result is shown in FIG.

文書編集中、カーソル(キャリッジ)の位置に応じて、表示されるメニューを切り替えてもよい。すなわち、カーソルが、SVG文書が表示された領域内に存在するときは、SVGユニット60が提供するメニュー、又はSVG文書をマッピングするための定義ファイルに定義されたコマンドを表示し、カーソルが、XHTML文書が表示された領域内に存在するときは、HTMLユニット50が提供するメニュー、又はXHTML文書をマッピングするための定義ファイルに定義されたコマンドを表示する。これにより、編集位置に応じて適切なユーザインターフェースを提供することができる。   During document editing, the displayed menu may be switched according to the position of the cursor (carriage). That is, when the cursor exists in the area where the SVG document is displayed, the menu defined by the menu provided by the SVG unit 60 or the definition file for mapping the SVG document is displayed, and the cursor is displayed in the XHTML. When the document exists in the displayed area, a menu provided by the HTML unit 50 or a command defined in a definition file for mapping the XHTML document is displayed. Thereby, an appropriate user interface can be provided according to the editing position.

複合文書において、あるボキャブラリに対応する適切なプラグイン又はマッピング定義ファイルがなかった場合は、そのボキャブラリにより記述された部分は、ソース表示又はツリー表示されてもよい。従来、ある文書に他の文書を埋め込んだ複合文書を開くとき、埋め込まれた文書を表示するアプリケーションがインストールされていないと、その内容を表示することができなかったが、本実施形態では、表示用のアプリケーションが存在しなくても、テキストデータにより構成されたXML文書をソース表示又はツリー表示することにより内容を把握することができる。これは、テキストベースであるXMLなどの文書ならではの特徴といえる。   If there is no appropriate plug-in or mapping definition file corresponding to a certain vocabulary in the compound document, the portion described by the vocabulary may be displayed in the source display or the tree display. Conventionally, when a compound document in which another document is embedded in one document is opened, the contents cannot be displayed unless an application for displaying the embedded document is installed. Even if there is no application for the purpose, the content can be grasped by displaying the XML document composed of the text data as a source or a tree. This is a characteristic unique to text-based documents such as XML.

データがテキストベースで記述されることの他の利点として、例えば、複合文書中の、あるボキャブラリにより記述される部分において、同一文書内の他のボキャブラリで記述された部分のデータを参照してもよい。また、文書内で検索を実行する時に、SVGなどの図に埋め込まれた文字列も検索対象とすることができる。   Another advantage of the data being described in the text base is that, for example, in a part described by a certain vocabulary in a compound document, data in a part described by another vocabulary in the same document can be referred to. Good. In addition, when a search is executed in a document, a character string embedded in a figure such as SVG can be a search target.

あるボキャブラリにより記述された文書内に、他のボキャブラリのタグを用いてもよい。このXML文書は、妥当(valid)ではないが、整形式(well-formed)であれば、有効なXML文書として処理可能である。この場合、挿入された他のボキャブラリのタグは、定義ファイルによりマッピングされてもよい。例えば、XHTML文書中に、「重要」、「最重要」などのタグを使用し、これらのタグで囲まれた部分を強調表示してもよいし、重要度の順にソートして表示してもよい。   A tag of another vocabulary may be used in a document described by a certain vocabulary. This XML document is not valid, but can be processed as a valid XML document if it is well-formed. In this case, the tag of another inserted vocabulary may be mapped by the definition file. For example, tags such as “important” and “most important” may be used in an XHTML document, and a portion surrounded by these tags may be highlighted, or may be sorted and displayed in order of importance. Good.

図10に示した編集画面において、ユーザにより文書が編集されると、編集された部分を担当するプラグイン又はVCユニット80がソースツリーを変更する。ソースツリーには、ノードごとにミューテーションイベントのリスナーを登録できるようになっており、通常は、各ノードが属するボキャブラリに対応したプラグインの表示部又はVCユニット80がリスナーとして登録される。DOM提供部32は、ソースツリーが変更されると、変更されたノードから上位の階層へたどって、登録されたリスナーがあれば、そのリスナーへミューテーションイベントを発行する。例えば、図9に示した文書において、<html>ノードの下位のノードが変更された場合、<html>ノードにリスナーとして登録されたHTMLユニット50にミューテーションイベントが通知されるとともに、その上位の<svg>ノードにリスナーとして登録されたSVGユニット60にもミューテーションイベントが通知される。このとき、HTMLユニット50は、変更されたソースツリーを参照して表示を更新する。SVGユニット60は、自身のボキャブラリに属するノードが変更されていないので、ミューテーションイベントを無視してもよい。   When the document is edited by the user on the editing screen shown in FIG. 10, the plug-in or VC unit 80 in charge of the edited part changes the source tree. In the source tree, a listener for a mutation event can be registered for each node. Normally, a plug-in display unit or VC unit 80 corresponding to the vocabulary to which each node belongs is registered as a listener. When the source tree is changed, the DOM providing unit 32 traces from the changed node to a higher hierarchy, and if there is a registered listener, issues a mutation event to the listener. For example, in the document shown in FIG. 9, when a node below the <html> node is changed, a mutation event is notified to the HTML unit 50 registered as a listener in the <html> node, and the higher order node is also displayed. The mutation event is also notified to the SVG unit 60 registered as a listener in the <svg> node. At this time, the HTML unit 50 updates the display with reference to the changed source tree. The SVG unit 60 may ignore the mutation event because the node belonging to its own vocabulary has not been changed.

編集の内容によっては、HTMLユニット50による表示の更新に伴って、全体のレイアウトが変わる可能性がある。この場合は、画面のレイアウトを管理する構成、例えば最上位のノードの表示を担当するプラグインにより、プラグインごとの表示領域のレイアウトが更新される。例えば、HTMLユニット50による表示領域が以前より大きくなった場合、HTMLユニット50は、まず自身の担当する部分を描画して、表示領域の大きさを決定する。そして、画面のレイアウトを管理する構成に、変更後の表示領域の大きさを通知し、レイアウトの更新を依頼する。画面のレイアウトを管理する構成は、通知を受けて、プラグインごとの表示領域を再レイアウトする。こうして、編集された部分の表示が適切に更新されるとともに、画面全体のレイアウトが更新される。   Depending on the contents of editing, the overall layout may change as the display is updated by the HTML unit 50. In this case, the layout of the display area for each plug-in is updated by a configuration for managing the layout of the screen, for example, a plug-in responsible for displaying the top node. For example, when the display area by the HTML unit 50 becomes larger than before, the HTML unit 50 first draws a part that it is in charge of and determines the size of the display area. Then, the configuration managing the screen layout is notified of the size of the display area after the change, and the layout is requested to be updated. Upon receiving the notification, the configuration for managing the screen layout re-lays out the display area for each plug-in. In this way, the display of the edited part is appropriately updated, and the layout of the entire screen is updated.

ここで、編集部24について詳細に説明する。編集部24は、図示しない階層解析部を含む。編集部24は、特定の階層構造を有する複数のタグセットによりそれぞれ記述された部分文書からなる文書を編集するためのブロックである。階層解析部は、読み込まれた文書にかかるタグセットの階層構造を解析する。編集部24は、解析結果にもとづいて、それぞれのタグセットを処理する処理系に指令を与える。また、編集部24は、部分文書のそれぞれに対して、部分文書を表示する文書表示領域を割り当て、文書表示領域に、対応する部分文書を表示して、ユーザによる部分文書の編集を受け付ける。   Here, the editing unit 24 will be described in detail. The editing unit 24 includes a hierarchical analysis unit (not shown). The editing unit 24 is a block for editing a document composed of partial documents respectively described by a plurality of tag sets having a specific hierarchical structure. The hierarchical analysis unit analyzes the hierarchical structure of the tag set relating to the read document. The editing unit 24 gives a command to the processing system that processes each tag set based on the analysis result. The editing unit 24 assigns a document display area for displaying the partial document to each partial document, displays the corresponding partial document in the document display area, and accepts editing of the partial document by the user.

ここで、表示制御部110について詳細に説明する。図11は、図1の表示制御部110の構成例を示す図である。表示制御部110は、境界表示部112と、名称表示部114と、階層構造表示部116と、強調処理部118と、カーソル位置判定部120と、メニュー表示部122を含む。   Here, the display control unit 110 will be described in detail. FIG. 11 is a diagram illustrating a configuration example of the display control unit 110 in FIG. The display control unit 110 includes a boundary display unit 112, a name display unit 114, a hierarchical structure display unit 116, an emphasis processing unit 118, a cursor position determination unit 120, and a menu display unit 122.

境界表示部112は、部分文書の文書表示領域の境界を表示する。また、境界表示部112は、編集部24によって編集の対象となっている部分文書のうち、少なくとも最上位の階層のタグセットにかかる部分文書に割り当てられた文書表示領域310の境界を表示する。このさい、編集の対象となっている部分文書に含まれる全ての階層における境界をあわせて表示してもよい。   The boundary display unit 112 displays the boundary of the document display area of the partial document. In addition, the boundary display unit 112 displays the boundary of the document display area 310 assigned to at least the partial document related to the tag set of the highest hierarchy among the partial documents to be edited by the editing unit 24. At this time, boundaries in all layers included in the partial document to be edited may be displayed together.

階層構造表示部116は、編集部において編集される文書と並列して、同一画面上に、編集部24における図示しない階層解析部によって解析されたそれぞれの階層のタグセットにかかる処理系の名称を階層表示領域に表示する。   The hierarchical structure display unit 116 displays, in parallel with the document edited in the editing unit, the names of processing systems related to tag sets of the respective layers analyzed by a hierarchical analysis unit (not shown) in the editing unit 24 on the same screen. Display in the hierarchy display area.

名称表示部114は、文書に含まれる複数のファイルのそれぞれの名称をファイル名表示領域に表示する。   The name display unit 114 displays the names of a plurality of files included in the document in the file name display area.

メニュー表示部122は、編集部24の階層解析部によって解析された階層構造にしたがって、同一画面上に、タグセットにかかる処理系が提供する文書編集機能の名称をメニュー表示領域に表示する。また、メニュー表示部122は、編集部において編集の対象となっている部分文書に対応するタグセットより上位の階層のタグセットにかかる処理系が提供する文書編集機能の名称も、あわせて表示してもよい。メニュー表示領域は、基本メニューと、プラグインされた機能にかかるメニューとを表示する領域を含む。たとえば、基本メニューには、文書の保存、読出し、単語の検索、置換などの機能が含まれる。また、プラグインされた機能にかかるメニューには、上付文字とする機能、指定された領域に存在する数値を合計するための機能、ユーザによるマクロ機能などが含まれる。   The menu display unit 122 displays the name of the document editing function provided by the processing system for the tag set in the menu display area on the same screen according to the hierarchical structure analyzed by the hierarchical analysis unit of the editing unit 24. The menu display unit 122 also displays the name of the document editing function provided by the processing system related to the tag set in a higher hierarchy than the tag set corresponding to the partial document to be edited in the editing unit. May be. The menu display area includes an area for displaying a basic menu and a menu related to the plugged-in function. For example, the basic menu includes functions such as document saving, reading, word search, and replacement. The menu related to the plugged-in function includes a function for superscript, a function for summing up numerical values existing in a designated area, a macro function by a user, and the like.

カーソル位置判定部120は、ユーザが編集処理を行う際にマウスなどを操作することによって表示されたポインタ、または、カーソルなどの画面上の位置を判定する。ユーザは、画面に表示された複数の部分文書のうち、編集を行いたい部分文書が表示されている位置にこのポインタ等を移動し、マウスのボタンを押し下げるなどの行為によって、その指定された部分文書を編集対象とできる。以下においては、説明を簡易なものとするために、「ユーザが編集処理を行う際にマウスなどを操作することによって画面上に表示されたポインタ、または、カーソルを移動し、所定の個所を選択して指定する」ことを、単に「ユーザが指定する」または「ユーザの指定による」などと略記して表現することとする。   The cursor position determination unit 120 determines the position on the screen such as a pointer displayed by operating a mouse or the like when the user performs an editing process, or a cursor. The user moves the specified part of the multiple partial documents displayed on the screen by moving the pointer to the position where the partial document to be edited is displayed and depressing the mouse button. Documents can be edited. In the following, in order to simplify the explanation, “When the user performs the editing process, the mouse or the like is used to move the pointer displayed on the screen or the cursor to select a predetermined location. "Specify" is simply abbreviated as "specified by user" or "by user designation".

強調処理部118は、境界表示部112によって部分文書の境界を表示する際に、他の文書表示領域の境界と比べて識別可能な態様で表示する。また、階層構造表示部116において表示する編集の対象となっている部分文書の階層について、その部分文書に対応する処理系にかかる階層を他の処理系にかかる階層と比べて識別可能な態様で階層表示領域に表示する。また、名称表示部114において表示する編集の対象となっている部分文書について、その部分文書に対応するファイルの名称を他のファイルの名称と識別可能な態様でファイル名表示領域に表示する。また、メニュー表示部122において文書編集機能の名称を表示する際に、編集部において編集の対象となっている部分文書に対応する処理系が提供する文書編集機能の名称を他の文書編集機能の名称と識別可能な態様でメニュー表示領域に表示する。   When displaying the boundary of the partial document by the boundary display unit 112, the enhancement processing unit 118 displays it in an identifiable manner as compared with the boundaries of other document display areas. Further, with respect to the hierarchy of the partial document to be edited displayed on the hierarchical structure display unit 116, the hierarchy relating to the processing system corresponding to the partial document can be identified in comparison with the hierarchy relating to other processing systems. Display in the hierarchy display area. Further, for the partial document to be edited displayed in the name display unit 114, the name of the file corresponding to the partial document is displayed in the file name display area in such a manner that it can be distinguished from the names of other files. Further, when the name of the document editing function is displayed in the menu display unit 122, the name of the document editing function provided by the processing system corresponding to the partial document to be edited in the editing unit is displayed for other document editing functions. It is displayed in the menu display area in such a manner that it can be identified from the name.

ここで、識別可能な態様とは、たとえば、境界を実線と破線とで分けて表示し、または、境界の線の色彩、濃淡を変えて表示し、または、境界の線の太さを変えて表示することなどを含む。また、強弱をつけて表示することなどを含み、たとえば、実線と破線で分けて表示することによって識別可能な態様としてもよく、また、色彩、濃淡に変化をつけて表示することによって識別可能な態様としてもよい。また、一方の領域の背景を、他方の領域の背景とは異なるように、特定の色彩、もしくは模様により描画してもい。また、一方を表示し、他方を表示しないことによって識別可能な態様としてもよい。   Here, the identifiable mode is, for example, displaying the boundary separately with a solid line and a broken line, or displaying the boundary line in different colors and shades, or changing the thickness of the boundary line. Including displaying. In addition, it may be displayed in a manner that can be identified by, for example, displaying it separately with a solid line and a broken line, and may be identified by displaying colors and shades with changes. It is good also as an aspect. Further, the background of one region may be drawn with a specific color or pattern so that the background of the other region is different. Moreover, it is good also as an aspect which can be identified by displaying one and not displaying the other.

また、強調処理部118は、階層構造表示部116によって行われる表示処理と連動して、ユーザの指定による階層に対応した部分文書の文書表示領域の境界を他の文書表示領域の境界と比べて識別可能な態様で表示する。さらに、対応するファイルの名称も、他のファイルの名称と比べて識別可能な態様でファイル名表示領域に、連動して表示する。   Further, the enhancement processing unit 118 compares the boundary of the document display area of the partial document corresponding to the hierarchy specified by the user with the boundary of other document display areas in conjunction with the display process performed by the hierarchical structure display unit 116. Display in an identifiable manner. Furthermore, the name of the corresponding file is also displayed in conjunction with the file name display area in an identifiable manner compared to the names of other files.

また、強調処理部118は、名称表示部114によって行われる表示処理と連動して、ユーザの指定によるファイルの名称に対応した部分文書の境界を他の部分文書の境界と比べて識別可能な態様で表示する。さらに、指定されたファイルの名称に対応する部分文書にかかる処理系を示す階層も、他の処理系にかかる階層と比べて識別可能な態様で階層表示領域に、連動して表示する。   The emphasis processing unit 118 can identify the boundary of the partial document corresponding to the name of the file specified by the user in comparison with the boundary of other partial documents in conjunction with the display process performed by the name display unit 114. Is displayed. Further, the hierarchy indicating the processing system related to the partial document corresponding to the designated file name is displayed in conjunction with the hierarchy display area in a manner that can be identified as compared with the hierarchy related to the other processing systems.

また、強調処理部118は、ユーザがメニュー指定動作を行う際のメニュー表示領域における強調処理も行う。具体的には、ユーザによるメニュー指定動作中に、すでにユーザによって指定されていた部分文書、もしくは、部分文書にかかる階層、または、部分文書に含まれるファイルについての強調処理に連動して、対応する処理系が提供する文書編集機能の名称についてもあわせて強調処理を行う。   The emphasis processing unit 118 also performs emphasis processing in the menu display area when the user performs a menu specifying operation. Specifically, during the menu designation operation by the user, it responds in conjunction with the highlighting processing for the partial document that has already been designated by the user, the hierarchy related to the partial document, or the file included in the partial document. Emphasis processing is also performed for the name of the document editing function provided by the processing system.

以上のような構成をとることにより、画面に表示されている複数の部分文書、もしくは、階層表示領域に表示されている処理系の階層構造、または、ファイル名表示領域に表示されているファイル名のいずれかをユーザが指定することによって、それぞれ対応する部分文書、階層、ファイル名をそれ以外の表示と明瞭に区別できるように表示することができる。また、他の表示と明瞭に区別することができるので編集が容易となり、ユーザの利便性を向上することができる。   With the above configuration, multiple partial documents displayed on the screen, the hierarchical structure of the processing system displayed in the hierarchy display area, or the file name displayed in the file name display area When the user designates any of the above, the corresponding partial document, hierarchy, and file name can be displayed so as to be clearly distinguishable from other displays. In addition, since it can be clearly distinguished from other displays, editing is facilitated and user convenience can be improved.

以下、表示制御部110による動作の結果表示される画面の例について、図12(a)〜(e)を用いて説明する。まずはじめに、図12(a)を用いて、表示される画面の全体について説明する。つぎに、図12(b)を用いて、文書を表示する領域において、各文書の境界をすべて表示した場合について説明する。つぎに、図12(c)と図12(d)を用いて、文書を表示する領域においていずれかの部分文書が指定された場合、その指定と連動して、対応する階層と、対応するファイル名とが強調して表示される場合について説明する。最後に、図12(e)を用いて、それぞれの処理系が提供する文書編集機能をメニュー表示領域に表示した場合について説明する。   Hereinafter, an example of a screen displayed as a result of the operation by the display control unit 110 will be described with reference to FIGS. First, the entire screen to be displayed will be described with reference to FIG. Next, the case where all the boundaries of each document are displayed in the document display area will be described with reference to FIG. Next, when any partial document is designated in the document display area using FIG. 12C and FIG. 12D, the corresponding hierarchy and the corresponding file are linked with the designation. A case where the name is displayed with emphasis will be described. Finally, a case where the document editing function provided by each processing system is displayed in the menu display area will be described with reference to FIG.

図12(a)は、図11の表示制御部110の動作の結果表示される画面の第1の表示例を示す図である。第1の表示例において、画面は、ランチャ表示領域300と、文書表示領域310と、階層表示領域320と、ファイル名表示領域330と、メニュー表示領域340で代表される第1メニュー表示領域342と第2メニュー表示領域344とを含む。   FIG. 12A is a diagram illustrating a first display example of a screen displayed as a result of the operation of the display control unit 110 in FIG. In the first display example, the screen includes a launcher display area 300, a document display area 310, a hierarchy display area 320, a file name display area 330, and a first menu display area 342 represented by a menu display area 340. A second menu display area 344.

なお、ランチャ表示領域300は、「Launcher」と表示された領域を起点とした、画面下方までの領域を含む。また、文書表示領域310は、「Document View」と表示された領域を起点とした、画面下方までの領域を含む。また、階層表示領域320は、「Components」と表示された領域を起点とした、画面下方までの領域を含む。また、ファイル名表示領域330は、「Files」と表示された領域を起点とした、画面下方までの領域を含む。   It should be noted that the launcher display area 300 includes an area from the area where “Launcher” is displayed to the bottom of the screen. Further, the document display area 310 includes an area from the area where “Document View” is displayed to the bottom of the screen. Further, the hierarchical display area 320 includes an area from the area where “Components” is displayed to the bottom of the screen. Further, the file name display area 330 includes an area from the area where “Files” is displayed to the bottom of the screen.

また、メニュー表示領域340は、図12(a)中において破線で囲った部分の領域であって、「File」と、「Edit」と、「Show」と、「Favorite」と、「Tools」と、「Help」と、「Insert」、「Format」と、「Section」と、「Graph」と、「Help」と、「Debug」と、の名称が表示されている領域を含む。また、第1メニュー表示領域342は、メニュー表示領域340のうち、基本メニューを表示するための領域である。基本メニューは、「File」と、「Edit」と、「Show」と、「Favorite」と、「Tools」と、「Help」と、を含む。また、第2メニュー表示領域344は、プラグインされた機能を表示するための領域である。ここでは、プラグインされた機能として、「Insert」と、「Format」と、「Section」と、「Graph」と、「Help」と、「Debug」と、を含む。   Further, the menu display area 340 is an area surrounded by a broken line in FIG. 12A, and is “File”, “Edit”, “Show”, “Favorite”, “Tools”, and the like. , “Help”, “Insert”, “Format”, “Section”, “Graph”, “Help”, and “Debug”. The first menu display area 342 is an area for displaying the basic menu in the menu display area 340. The basic menu includes “File”, “Edit”, “Show”, “Favorite”, “Tools”, and “Help”. The second menu display area 344 is an area for displaying plugged-in functions. Here, plugged-in functions include “Insert”, “Format”, “Section”, “Graph”, “Help”, and “Debug”.

ランチャ表示領域300は、テンプレート表示領域302と、ブックマーク表示領域306とヒストリー表示領域308とを含む領域である。ここで、ランチャとは、各種処理系を用いた文書の編集を補助するための機能を含み、ランチャ表示領域300とは、文書の編集を補助するための機能の名称を表示する領域を含む。   The launcher display area 300 is an area including a template display area 302, a bookmark display area 306, and a history display area 308. Here, the launcher includes a function for assisting editing of a document using various processing systems, and the launcher display area 300 includes an area for displaying a name of a function for assisting editing of the document.

また、テンプレートとは、タグセットのひな形を含む。ひな形は、そのタグセットのエディタであるとも言え、文書表示領域310に、直接、文章を記述することによって、文章を含むタグセットを作成することができる。テンプレート表示領域302とは、指定可能な部分文書にかかる処理系の名称と、いずれの処理系のテンプレートが選択されているかを示すチェックボックスと、を含む。たとえば、図12(a)中においては、テンプレートとして、SVG303と、XHTML304とが表示されている。ここで、それぞれの表示の左側に表示されたチェックボックスをユーザが指定することによって、文書表示領域310において編集する文書の処理が選択される。   The template includes a tag set template. It can be said that the model is an editor of the tag set, and a tag set including a sentence can be created by describing the sentence directly in the document display area 310. The template display area 302 includes a name of a processing system related to a specifiable partial document and a check box indicating which processing system template is selected. For example, in FIG. 12A, SVG 303 and XHTML 304 are displayed as templates. Here, when the user designates a check box displayed on the left side of each display, the processing of the document to be edited in the document display area 310 is selected.

また、ブックマークとは、ユーザがした文書の編集において、いずれかの時点においてユーザが指定したことにより記憶させた文書の名称、もしくは文書内の位置を含み、単に「しおり」ともよばれる。ブックマーク表示領域306には、文書の名称、もしくは文書の位置を行番号、もしくは、座標として、記憶された順序で列挙される。また、ヒストリーとは、ユーザが過去に編集した文書、または、ユーザがした文書の編集のうち、特定の処理を行った事実の時系列を含み、単に「履歴」ともよばれる。ヒストリー表示領域308には、ユーザが過去に編集した文書の名称、または、ユーザが行った特定の処理の名称が時系列順に表示される。ここで、特定の処理とは、たとえば、文書のいずれかの部分を消去する処理や、後に貼り付けるために記憶させるカット処理、または、記憶した部分を貼り付けるペースト処理、または、新たな部分文書を追加する処理などを含む。ヒストリー表示領域308に表示されたヒストリーのいずれかをユーザが指定することによって、その指定にかかる処理の状態に戻す、いわゆるアンドウ処理を行えるようにしてもよい。   The bookmark includes the name of the document stored by the user's designation at any point in time when editing the document by the user, or the position in the document, and is simply called “bookmark”. The bookmark display area 306 lists document names or document positions as line numbers or coordinates in the stored order. The history includes a time series of the fact that the user has edited the past or the fact that the user has performed specific processing among the editing of the document by the user, and is also simply referred to as “history”. In the history display area 308, the names of documents edited by the user in the past or the names of specific processes performed by the user are displayed in chronological order. Here, the specific process is, for example, a process for erasing any part of the document, a cut process to be stored for pasting, a paste process for pasting the stored part, or a new partial document. Including the process of adding. When the user designates one of the histories displayed in the history display area 308, a so-called undo process may be performed to return to the state of the process related to the designation.

文書表示領域310は、文書を表示するための領域であって、複数のタグセットにより記述された文書を表示してもよく、また、処理系にかかるタグセットの記述自体を表示してもよい。また、文書表示領域310は、文書表示領域310においてそれぞれの部分文書の境界を表示させるための表示スイッチ328を含む。この表示スイッチ328をユーザが指定することによって、境界表示の有無が切り替わる。図12(a)においては、境界を表示しないモード「OFF」になっているので、文書表示領域310の文書において境界は表示されていない。   The document display area 310 is an area for displaying a document, and may display a document described by a plurality of tag sets, or may display a description of a tag set related to a processing system itself. . Further, the document display area 310 includes a display switch 328 for displaying the boundary of each partial document in the document display area 310. When the user designates the display switch 328, the presence / absence of the boundary display is switched. In FIG. 12A, since the mode in which the boundary is not displayed is “OFF”, the boundary is not displayed in the document in the document display area 310.

階層表示領域320は、文書表示領域310に表示された文書における階層構造を表示する領域である。文書表示領域310に表示された文書は、複数の部分文書から構成されており、それぞれの部分文書は、対応する処理系で処理されるように対応するタグセットで記述されている。個々のタグセットは、その内部に他のタグセットを有するように階層化されていてもよい。ここで、階層表示領域320に表示されるのは、タグセットを処理するための処理系の名称である。たとえば、階層表示領域320には、6つの処理系の名称が表示され、最上位の処理系は第1HTML322において「HTML」であることが明示されている。   The hierarchy display area 320 is an area for displaying the hierarchical structure of the document displayed in the document display area 310. The document displayed in the document display area 310 includes a plurality of partial documents, and each partial document is described by a corresponding tag set so as to be processed by a corresponding processing system. Individual tag sets may be hierarchized to have other tag sets within them. Here, what is displayed in the hierarchy display area 320 is the name of the processing system for processing the tag set. For example, in the hierarchical display area 320, names of six processing systems are displayed, and it is clearly indicated that the highest processing system is “HTML” in the first HTML 322.

さらに、第1HTML322の「HTML」の1つ下の階層には、第1SVG323と第3SVG327において「SVG」が2つ存在する。また、一方の第1SVG323の下位には、第2HTML324において「HTML」が存在することを示している。さらに、第2HTML324の「HTML」の下位の階層には、MathML325において「MathML」と、第2SVG326において「SVG」とが存在することを示している。   Further, two “SVGs” exist in the first SVG 323 and the third SVG 327 in the hierarchy immediately below “HTML” of the first HTML 322. In addition, “HTML” is present in the second HTML 324 below one of the first SVG 323. Furthermore, it is shown that “MathML” in the MathML 325 and “SVG” in the second SVG 326 exist in the layer below the “HTML” of the second HTML 324.

ここで、階層表示領域320に表示されたそれぞれの階層の左側に表示された「−」と「+」について説明する。「−」は、その右側に表示された処理系が下位の階層を有することを示している。また、「+」は、その右側に表示された処理系が下位の階層を有することを示しており、かつ、その下位の階層が階層表示領域320に表示されていないことを示している。「+」の場合においては、ユーザの指定により、下位の階層を表示させることができる。この場合、「+」の表示が「−」に変化する。また、「−」も「+」も表示されていないMathML325と第2SVG326は、その階層より下位の階層が存在しないことを示している。   Here, “−” and “+” displayed on the left side of each layer displayed in the layer display area 320 will be described. "-" Indicates that the processing system displayed on the right side has a lower hierarchy. “+” Indicates that the processing system displayed on the right side has a lower hierarchy, and that the lower hierarchy is not displayed in the hierarchy display area 320. In the case of “+”, the lower hierarchy can be displayed by the user's designation. In this case, the display of “+” changes to “−”. Further, the MathML 325 and the second SVG 326 in which neither “−” nor “+” is displayed indicate that there is no hierarchy lower than the hierarchy.

文書表示領域310に表示された部分文書が外部ファイルを含んでいる、もしくは、参照している部分文書が存在する場合がある。ファイル名表示領域330は、そのような場合に、その外部ファイルの名称を表示する領域である。図12(a)中においては、文書表示領域310中の部分文書に含まれている2つの外部ファイルとして、第1ファイル335と第2ファイル336を表示している。   In some cases, the partial document displayed in the document display area 310 includes an external file, or there is a partial document that is referred to. The file name display area 330 is an area for displaying the name of the external file in such a case. In FIG. 12A, a first file 335 and a second file 336 are displayed as two external files included in the partial document in the document display area 310.

図12(b)は、図11の表示制御部110の動作の結果表示される画面の第2の表示例を示す図である。第2の表示例は、文書表示領域310において、それぞれの部分文書の境界を表示した例である。いいかえると、第2の表示例は、第1の表示例において、表示スイッチ328を「ON」としてそれぞれの部分文書の境界を表示させた場合の表示例であるともいえる。これらの境界の表示は、図11の境界表示部112によって実行される。なお、図12(a)と同一の部分については、同一の符号を付して、説明を省略する。   FIG. 12B is a diagram illustrating a second display example of a screen displayed as a result of the operation of the display control unit 110 in FIG. The second display example is an example in which the boundary of each partial document is displayed in the document display area 310. In other words, it can be said that the second display example is a display example in the case where the boundary of each partial document is displayed by setting the display switch 328 to “ON” in the first display example. The display of these boundaries is executed by the boundary display unit 112 in FIG. In addition, about the part same as Fig.12 (a), the same code | symbol is attached | subjected and description is abbreviate | omitted.

第2の表示例においては、文書表示領域310に、それぞれの部分文書ごとに、その境界を表示している。この境界表示においては、第1境界312と、第2境界313と、第3境界314と、第4境界315と、第5境界316とが破線で表示されている。また、それぞれの境界は、部分文書の境界でもあり、内側の境界内の部分文書ほど、その部分文書を記述しているタグセットにかかる階層が下層に存在することを示している。たとえば、第2境界313は、第1境界312の内側に存在するので、対応する部分文書にかかる階層は、第2境界313のほうが第1境界312よりも下層となる。   In the second display example, the boundary is displayed in the document display area 310 for each partial document. In this boundary display, the first boundary 312, the second boundary 313, the third boundary 314, the fourth boundary 315, and the fifth boundary 316 are displayed by broken lines. Each boundary is also a boundary of a partial document. A partial document in the inner boundary indicates that a hierarchy relating to a tag set describing the partial document exists in the lower layer. For example, since the second boundary 313 exists inside the first boundary 312, the second boundary 313 is lower than the first boundary 312 in the hierarchy related to the corresponding partial document.

また、同一の境界内に2つ以上の境界が存在する場合、それらの階層は同一の階層となる。たとえば、第4境界315と第5境界316は、双方とも第3境界314の内部に存在し、かつ、第4境界315と第5境界316は、互いに他方を含んでいないので、双方は同一の階層となる。ここで、それぞれのタグセットにおいて定義された領域によっては、第4境界315と第5境界316のように、境界が互いに重なり合う場合もありうる。いずれの境界内の表示を優先して表示するかについて、タグセット内の記述によって決定してもよい。   In addition, when two or more boundaries exist within the same boundary, those layers are the same layer. For example, the fourth boundary 315 and the fifth boundary 316 are both present inside the third boundary 314, and the fourth boundary 315 and the fifth boundary 316 do not include the other, so both are the same. It becomes a hierarchy. Here, depending on the region defined in each tag set, the boundaries may overlap each other like the fourth boundary 315 and the fifth boundary 316. It may be determined by the description in the tag set as to which display within the boundary is to be preferentially displayed.

ここで、図12(c)〜図12(e)の説明をする前に、図12(b)に表示されたそれぞれの部分文書と、階層と、ファイルとの対応関係について説明する。第1境界312の内側における部分文書は、第1HTML322に対応している。また、第2境界313の内側における部分文書は、第1SVG323に対応している。また、第3境界314の内側における部分文書は、第2HTML324に対応している。また、第4境界315の内側における部分文書は、第2HTML324と、第1ファイル335とに対応している。また、第5境界316はの内側における部分文書は、第2SVG326と、第2ファイル336とに対応している。また、第3SVG327に対応する部分文書は、図12(a)中の画面上には表示されておらず、ユーザが画面をスクロールすることによって表示される部分文書に対応しているものとする。以下においては、上述の対応関係のもとにおける、画面の表示例について説明する。   Here, before describing FIG. 12C to FIG. 12E, the correspondence between each partial document displayed in FIG. 12B, the hierarchy, and the file will be described. The partial document inside the first boundary 312 corresponds to the first HTML 322. A partial document inside the second boundary 313 corresponds to the first SVG 323. A partial document inside the third boundary 314 corresponds to the second HTML 324. The partial document inside the fourth boundary 315 corresponds to the second HTML 324 and the first file 335. Further, the partial document inside the fifth boundary 316 corresponds to the second SVG 326 and the second file 336. Further, the partial document corresponding to the third SVG 327 is not displayed on the screen in FIG. 12A, and corresponds to the partial document displayed by the user scrolling the screen. In the following, a display example of a screen under the above-described correspondence will be described.

図12(c)は、図11の表示制御部110の動作の結果表示される画面の第3の表示例を示す図である。なお、図12(a)と同一の部分については、同一の符号を付して、説明を省略する。   FIG. 12C is a diagram illustrating a third display example of the screen displayed as a result of the operation of the display control unit 110 in FIG. In addition, about the part same as Fig.12 (a), the same code | symbol is attached | subjected and description is abbreviate | omitted.

第3の表示例は、文書表示領域310に表示された複数の部分文書、階層表示領域320に表示された複数の処理系、もしくは、ファイル名表示領域330に表示された複数のファイルの名称のいずれかをユーザが指定した場合の強調表示についての表示例である。ここでは、ユーザの指定と連動して、それぞれ対応する部分文書の境界、階層、ファイルの名称を強調して表示することについて例を用いて説明する。なお、表示スイッチ328は「ON」になっていると仮定して説明する。以下における強調処理は、図11のカーソル位置判定部120によってユーザの指定個所を判定し、その判定にしたがって対応する表示に対し、強調処理部118によって行われている。   The third display example shows names of a plurality of partial documents displayed in the document display area 310, a plurality of processing systems displayed in the hierarchy display area 320, or a plurality of files displayed in the file name display area 330. It is a display example about the highlight when a user designates either. Here, an example will be described in which the boundary, hierarchy, and file name of each corresponding partial document are highlighted and displayed in conjunction with user designation. Note that description will be made assuming that the display switch 328 is “ON”. The enhancement processing described below is performed by the enhancement processing unit 118 for the corresponding display according to the determination by the user position designated by the cursor position determination unit 120 of FIG. 11 being determined.

ここで、ユーザによって、階層表示領域320内のMathML325が指定されたと仮定する。この場合、まず、階層表示領域320内のMathML325が強調して表示される。ここでは、強調表示の一例として、MathML325の処理系を表す六角形を複数の斜線からなる模様を付した。さらに、この強調表示に連動して、文書表示領域310中の対応する部分文書の第4境界315が強調して表示される。ここでは、破線で第4境界315を破線で表示し、他の境界を表示しないといった態様で強調処理を行っている。また、ファイル名表示領域330において、対応する第1ファイル335が連動して強調処理される。ここでは、MathML325の強調処理との対応を明確にするため、同様の強調処理を施している。なお、第4境界315と他の境界の双方を実線で表示し、第4境界315の実線を他の境界と区別できるような色彩で表してもよい。また、第4境界315を実線で表示し、他の境界を破線で表示してもよい。   Here, it is assumed that MathML 325 in the hierarchy display area 320 is designated by the user. In this case, first, MathML 325 in the hierarchy display area 320 is displayed with emphasis. Here, as an example of emphasis display, a hexagon representing the processing system of MathML 325 is provided with a pattern composed of a plurality of oblique lines. Further, in conjunction with this highlighting, the fourth boundary 315 of the corresponding partial document in the document display area 310 is highlighted and displayed. Here, the emphasis process is performed in such a manner that the fourth boundary 315 is displayed with a broken line and the other boundary is not displayed with a broken line. In the file name display area 330, the corresponding first file 335 is highlighted in conjunction. Here, in order to clarify the correspondence with the enhancement processing of MathML 325, the same enhancement processing is performed. Note that both the fourth boundary 315 and the other boundary may be displayed with solid lines, and the solid line of the fourth boundary 315 may be represented with a color that can be distinguished from the other boundaries. Further, the fourth boundary 315 may be displayed as a solid line, and the other boundary may be displayed as a broken line.

なお、文書表示領域310に表示されたいずれかの部分文書をユーザが指定することにより、その部分文書は、編集対象となり、ユーザが編集可能な状態となる。同様に、階層表示領域320に表示されたいずれかの階層、もしくは、ファイル名表示領域330に表示されたいずれかのファイルをユーザが指定することによって、指定に対応する部分文書は、強調して表示されるとともに、編集可能な状態となる。また、部分文書、階層、ファイルのいずれかをユーザが指定することによって、対応する処理系が提供するメニューが第2メニュー表示領域344に表示される。   In addition, when the user designates any partial document displayed in the document display area 310, the partial document becomes an editing target, and the user can edit the partial document. Similarly, when the user designates any one of the hierarchies displayed in the hierarchy display area 320 or any one of the files displayed in the file name display area 330, the partial document corresponding to the designation is emphasized. Displayed and ready for editing. Further, when the user designates any one of the partial document, the hierarchy, and the file, a menu provided by the corresponding processing system is displayed in the second menu display area 344.

図12(d)は、図11の表示制御部110の動作の結果表示される画面の第4の表示例を示す図である。なお、図12(a)と同一の部分については、同一の符号を付して、説明を省略する。   FIG. 12D is a diagram illustrating a fourth display example of a screen displayed as a result of the operation of the display control unit 110 in FIG. In addition, about the part same as Fig.12 (a), the same code | symbol is attached | subjected and description is abbreviate | omitted.

第4の表示例は、図12(c)と同様に、文書表示領域310内の複数の部分文書、階層表示領域320内の複数の処理系、もしくは、ファイル名表示領域330内の複数のファイルの名称のいずれかをユーザが指定した場合の強調表示についての表示例である。ここでは、ユーザの指定が、階層構造のうち、最下層でない階層にかかるものである場合についての表示例を示す。具体的には、指定された階層と、その階層より下の階層を対象として、それぞれの階層に対応する部分文書の境界をあわせて表示する。なお、表示スイッチ328は「ON」になっていると仮定して説明する。以下における強調処理は、図11のカーソル位置判定部120によってユーザの指定個所を判定し、その判定にしたがって対応する表示に対し、強調処理部118によって行われている。   As in the case of FIG. 12C, the fourth display example is a plurality of partial documents in the document display area 310, a plurality of processing systems in the hierarchy display area 320, or a plurality of files in the file name display area 330. It is an example of a display about emphasis display when the user designates any of the names. Here, a display example is shown for the case where the user designation is for a hierarchy that is not the lowest layer in the hierarchical structure. Specifically, for the specified hierarchy and the hierarchy below the hierarchy, the boundaries of the partial documents corresponding to each hierarchy are displayed together. Note that description will be made assuming that the display switch 328 is “ON”. The enhancement processing described below is performed by the enhancement processing unit 118 for the corresponding display according to the determination by the user position designated by the cursor position determination unit 120 of FIG. 11 being determined.

ここで、ユーザによって、階層表示領域320内の第2HTML324が指定されたと仮定する。この場合、まず、階層表示領域320内の第2HTML324を強調して表示する。さらに、第2HTML324より下層に存在するMathML325と第2SVG326についても、同様に強調処理を行う。ここでは、強調表示の一例として、第2HTML324の処理系を表す六角形を複数の斜線からなる模様を付した。また、同様に強調処理を行うMathML325と第2SVG326は、それぞれを別個に識別できるように、第2HTML324とは異なった強調処理となるような態様で表示した。   Here, it is assumed that the second HTML 324 in the hierarchical display area 320 is designated by the user. In this case, first, the second HTML 324 in the hierarchical display area 320 is highlighted and displayed. Further, the enhancement processing is similarly performed on the MathML 325 and the second SVG 326 existing below the second HTML 324. Here, as an example of highlighting, a hexagon representing a processing system of the second HTML 324 is provided with a pattern composed of a plurality of oblique lines. In addition, MathML 325 and second SVG 326 that similarly perform enhancement processing are displayed in a manner that is different from the second HTML 324 so that each can be identified separately.

さらに、この強調表示に連動して、文書表示領域310内の対応する部分文書の第3境界314が強調して表示される。さらに、第2HTML324より下層に存在するMathML325と第2SVG326とに対応する第4境界315、第5境界316の強調処理をあわせて行う。ここでは、第3境界314の境界を実線で表示し、また、第4境界315、第5境界316の境界を破線で表示することによって、それぞれを識別可能な態様としている。なお、指定された階層にかかる第3境界314の第3境界314のみを表示し、下層にかかる第4境界315、第5境界316を表示しないことによって、識別可能な態様としてもよい。   Further, in conjunction with this highlighting, the third boundary 314 of the corresponding partial document in the document display area 310 is highlighted and displayed. Further, enhancement processing of the fourth boundary 315 and the fifth boundary 316 corresponding to the MathML 325 and the second SVG 326 existing below the second HTML 324 is performed together. Here, the boundary of the third boundary 314 is displayed as a solid line, and the boundary of the fourth boundary 315 and the fifth boundary 316 is displayed as a broken line, thereby distinguishing each. In addition, it is good also as an aspect which can be identified by displaying only the 3rd boundary 314 of the 3rd boundary 314 concerning the designated hierarchy, and not displaying the 4th boundary 315 and the 5th boundary 316 concerning a lower layer.

また、ファイル名表示領域330において、MathML325に対応する第1ファイル335が連動して強調処理される。また、第2SVG326に対応する第2ファイル336が連動して強調処理される。ここでは、MathML325、第2SVG326との強調処理との対応を明確にするため、それぞれ同様の強調処理を施している。   In the file name display area 330, the first file 335 corresponding to the MathML 325 is highlighted in conjunction with the file. Further, the second file 336 corresponding to the second SVG 326 is emphasized in conjunction with the second file 336. Here, in order to clarify the correspondence with the enhancement processing with MathML 325 and the second SVG 326, the same enhancement processing is performed respectively.

図12(e)は、図11の表示制御部110の動作の結果表示される画面の第5の表示例を示す図である。なお、図12(a)と同一の部分については、同一の符号を付して、説明を省略する。   FIG. 12E is a diagram illustrating a fifth display example of a screen displayed as a result of the operation of the display control unit 110 in FIG. In addition, about the part same as Fig.12 (a), the same code | symbol is attached | subjected and description is abbreviate | omitted.

第5の表示例は、図12(d)と同様に、文書表示領域310に表示された複数の部分文書、階層表示領域320に表示された複数の処理系、もしくは、ファイル名表示領域330に表示された複数のファイルの名称のいずれかをユーザが指定した場合の強調表示についての表示例である。ここでは、さらに、ユーザにより第2メニュー表示領域344のいずれかが指定された場合のメニュー表示について説明する。具体的には、指定された階層と、その階層より上位の階層とを対象として、それぞれの階層に対応する処理系が提供する文書編集機能の名称をあわせて表示する。なお、表示スイッチ328は「ON」になっていると仮定して説明する。また、以下における表示処理は、図11のカーソル位置判定部120によってユーザの指定個所を判定し、その判定にしたがった対応する表示に対し、メニュー表示部122によって行われている。また、強調処理は、強調処理部118によって行われている。   In the fifth display example, similarly to FIG. 12D, a plurality of partial documents displayed in the document display area 310, a plurality of processing systems displayed in the hierarchy display area 320, or a file name display area 330 are displayed. It is a display example about the highlighting when the user designates one of the names of a plurality of displayed files. Here, the menu display when any one of the second menu display areas 344 is designated by the user will be described. Specifically, the name of the document editing function provided by the processing system corresponding to each hierarchy is displayed for the designated hierarchy and the hierarchy higher than that hierarchy. Note that description will be made assuming that the display switch 328 is “ON”. In addition, the display processing described below is performed by the menu display unit 122 for the corresponding display according to the determination by the user position designated by the cursor position determination unit 120 of FIG. 11 being determined. The enhancement processing is performed by the enhancement processing unit 118.

ここで、ユーザによって指定された処理系は第2HTML324であり、その指定の後、さらに、第2メニュー表示領域344に表示された文書編集機能のうち、「Format」が指定されたと仮定する。この場合、まず、第2メニュー表示領域344の直下に第3メニュー表示領域346が表示される。第3メニュー表示領域346には、文書編集機能として、Arrange機能348とIndent機能349が表示される。また、ユーザの指定にかかる第2HTML324の上位の処理系である第1SVG323が提供する文書編集機能として、Style機能347も、あわせて第3メニュー表示領域346に表示される。   Here, it is assumed that the processing system designated by the user is the second HTML 324, and after the designation, “Format” is designated among the document editing functions displayed in the second menu display area 344. In this case, first, the third menu display area 346 is displayed immediately below the second menu display area 344. In the third menu display area 346, an Arrange function 348 and an Indent function 349 are displayed as document editing functions. In addition, a Style function 347 is also displayed in the third menu display area 346 as a document editing function provided by the first SVG 323 that is a higher processing system of the second HTML 324 according to the user's designation.

上位の処理系にかかる文書編集機能も表示させることによって、その処理系より下位の処理系にかかる文書を直接編集できるといった効果を得ることができる。たとえば、下位の処理系にかかる全ての文書の書体を一時に変えたい場合や、文書自体を回転して表示させたいような場合、個々の部分文書ごとに処理するよりも、まとめて処理したほうが正確性、時間コストの低減につながるからである。   By displaying the document editing function related to the upper processing system, it is possible to obtain an effect that a document related to the lower processing system can be directly edited. For example, if you want to change the typeface of all the documents related to the lower level processing system at once, or if you want to rotate and display the document itself, it is more accurate to process it collectively than to process each partial document. This leads to a reduction in cost and time cost.

また、この場合において、ユーザの指定した処理系にかかるArrange機能348とIndent機能は、第3メニュー表示領域346と区別可能な態様で表示される。ここでは、Arrange機能348とIndent機能349の名称の下にアンダーラインを付した態様で表示することによって、識別可能としている。   In this case, the Arrange function 348 and the Indent function related to the processing system designated by the user are displayed in a manner distinguishable from the third menu display area 346. Here, identification is made possible by displaying in the form of underlining the names of the Arrange function 348 and the Indent function 349.

以上、本実施例における文書処理技術の特徴をまとめると次の通りである。画面に表示されている文書のうち、ユーザが指定した文書の境界を識別可能な態様で表示することによって、それ以外の文書との境界を明瞭に区別することができる。また、他の文書との境界を明瞭に区別することができるので編集が容易となり、ユーザの利便性を向上することができる。画面に表示されている複数の部分文書、もしくは、階層表示領域に表示されている処理系の階層構造、または、ファイル名表示領域に表示されているファイル名のいずれかをユーザが指定することによって、それぞれ対応する部分文書、階層、ファイル名をそれ以外の表示と明瞭に区別できるように表示することができる。また、他の表示と明瞭に区別することができるので編集が容易となり、ユーザの利便性を向上することができる。また、企業などの業務組織において取り扱われる文書ファイルのデータ整合性を保持しやすくなり、コストを低減できる。   The characteristics of the document processing technique in the present embodiment are summarized as follows. Of the documents displayed on the screen, by displaying the boundary of the document designated by the user in an identifiable manner, the boundary with other documents can be clearly distinguished. In addition, since the boundary with other documents can be clearly distinguished, editing is facilitated and user convenience can be improved. By the user specifying one of multiple partial documents displayed on the screen, the hierarchical structure of the processing system displayed in the hierarchy display area, or the file name displayed in the file name display area The corresponding partial document, hierarchy, and file name can be displayed so that they can be clearly distinguished from other displays. In addition, since it can be clearly distinguished from other displays, editing is facilitated and user convenience can be improved. In addition, it becomes easier to maintain data consistency of document files handled in business organizations such as companies, and costs can be reduced.

以上、本発明を実施例をもとに説明した。この実施例は例示であり、それらの各構成要素や各処理プロセスの組合せにいろいろな変形例が可能なこと、またそうした変形例も本発明の範囲にあることは当業者に理解されるところである。   In the above, this invention was demonstrated based on the Example. This embodiment is an exemplification, and it will be understood by those skilled in the art that various modifications can be made to the combination of each component and each processing process, and such modifications are also within the scope of the present invention. .

本発明の実施形態に関する文書処理装置の構成を示す図である。It is a figure which shows the structure of the document processing apparatus regarding embodiment of this invention. 図1の文書処理装置の処理対象となるXML文書の例を示す図である。FIG. 2 is a diagram illustrating an example of an XML document to be processed by the document processing apparatus in FIG. 1. 図2に示したXML文書をHTMLで記述された表にマッピングする例を示す図である。FIG. 3 is a diagram showing an example in which the XML document shown in FIG. 2 is mapped to a table described in HTML. 図2に示したXML文書を図3に示した表にマッピングするための定義ファイルの例を示す図である。FIG. 4 is a diagram showing an example of a definition file for mapping the XML document shown in FIG. 2 to the table shown in FIG. 3. 図2に示したXML文書を図3に示した表にマッピングするための定義ファイルの例を示す図である。FIG. 4 is a diagram showing an example of a definition file for mapping the XML document shown in FIG. 2 to the table shown in FIG. 3. 図2に示した成績管理ボキャブラリで記述されたXML文書を、図3に示した対応によりHTMLにマッピングして表示した画面の例を示す図である。FIG. 4 is a diagram showing an example of a screen in which an XML document described in the grade management vocabulary shown in FIG. 2 is mapped and displayed in HTML according to the correspondence shown in FIG. 3. 図1の定義ファイル生成部がユーザに提示するグラフィカルユーザインタフェースの例を示す図である。It is a figure which shows the example of the graphical user interface which the definition file production | generation part of FIG. 1 presents to a user. 図1の定義ファイル生成部により生成された画面レイアウトの他の例を示す図である。It is a figure which shows the other example of the screen layout produced | generated by the definition file production | generation part of FIG. 図1の文書処理装置によるXML文書の編集画面の一例を示す図である。FIG. 2 is a diagram illustrating an example of an XML document editing screen by the document processing apparatus of FIG. 1. 図1の文書処理装置により編集されるXML文書の他の例を示す図である。It is a figure which shows the other example of the XML document edited by the document processing apparatus of FIG. 図9に示した文書を表示した画面の例を示す図である。It is a figure which shows the example of the screen which displayed the document shown in FIG. 図1の表示制御部の構成例を示す図である。It is a figure which shows the structural example of the display control part of FIG. 図11の表示制御部の動作の結果表示される画面の第1の表示例を示す図である。It is a figure which shows the 1st display example of the screen displayed as a result of the operation | movement of the display control part of FIG. 図11の表示制御部の動作の結果表示される画面の第2の表示例を示す図である。It is a figure which shows the 2nd display example of the screen displayed as a result of operation | movement of the display control part of FIG. 図11の表示制御部の動作の結果表示される画面の第3の表示例を示す図である。It is a figure which shows the 3rd display example of the screen displayed as a result of the operation | movement of the display control part of FIG. 図11の表示制御部の動作の結果表示される画面の第4の表示例を示す図である。It is a figure which shows the 4th example of a display of the screen displayed as a result of operation | movement of the display control part of FIG. 図11の表示制御部の動作の結果表示される画面の第5の表示例を示す図である。It is a figure which shows the 5th example of a screen displayed as a result of operation | movement of the display control part of FIG.

符号の説明Explanation of symbols

20 文書処理装置、 24 編集部、 100 文書処理装置、 110 表示制御部、 310 文書表示領域、 320 階層表示領域、 330 ファイル名表示領域、 340 メニュー表示領域。   20 document processing device, 24 editing unit, 100 document processing device, 110 display control unit, 310 document display region, 320 hierarchical display region, 330 file name display region, 340 menu display region.

Claims (1)

特定の階層構造を有する複数のタグセットによりそれぞれ記述された部分文書からなる文書を処理する文書処理装置であって、
前記部分文書のそれぞれを処理する複数の処理系と、
前記部分文書のそれぞれに対して、前記部分文書を表示する文書表示領域を割り当て、前記文書表示領域に、対応する部分文書を表示して、ユーザによる前記部分文書の編集を受け付ける編集部と、
を備えることを特徴とする文書処理装置。
A document processing apparatus for processing a document composed of partial documents each described by a plurality of tag sets having a specific hierarchical structure,
A plurality of processing systems for processing each of the partial documents;
An editing unit that assigns a document display area for displaying the partial document to each of the partial documents, displays the corresponding partial document in the document display area, and accepts editing of the partial document by a user;
A document processing apparatus comprising:
JP2005185610A 2005-06-24 2005-06-24 Document processing device Pending JP2007004627A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005185610A JP2007004627A (en) 2005-06-24 2005-06-24 Document processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005185610A JP2007004627A (en) 2005-06-24 2005-06-24 Document processing device

Publications (1)

Publication Number Publication Date
JP2007004627A true JP2007004627A (en) 2007-01-11

Family

ID=37690169

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005185610A Pending JP2007004627A (en) 2005-06-24 2005-06-24 Document processing device

Country Status (1)

Country Link
JP (1) JP2007004627A (en)

Similar Documents

Publication Publication Date Title
JP5020075B2 (en) Document processing device
US20070277095A1 (en) Data Processing Device And Data Processing Method
JP2008234370A (en) Document processing apparatus and document processing method
US20080040588A1 (en) Data Processing Device and Data Processing Method
JP2008097215A (en) Data processing device
WO2007081017A1 (en) Document processor
JPWO2007052680A1 (en) Document processing apparatus and document processing method
US20080133563A1 (en) Data Processing Device And Data Processing Method
US20080046809A1 (en) Data Processing Device and Data Processing Method
JPWO2006046666A1 (en) Document processing apparatus and document processing method
JP2009238215A (en) Data processing device and data processing method
EP1821219A1 (en) Document processing device and document processing method
US20100077295A1 (en) Document processing device and document processing module
JPWO2005098661A1 (en) Document processing apparatus and document processing method
US20070198915A1 (en) Document Processing Device And Document Processing Method
US20070208995A1 (en) Document Processing Device and Document Processing Method
EP1933233A1 (en) Data processing apparatus
JPWO2006051869A1 (en) Document processing apparatus and document processing method
JP4566196B2 (en) Document processing method and apparatus
JP4627530B2 (en) Document processing method and apparatus
JPWO2006051974A1 (en) Document processing apparatus and document processing method
JP2007183849A (en) Document processing device
JPWO2005098662A1 (en) Document processing apparatus and document processing method
JP4719743B2 (en) Graph processing device
JP2007004627A (en) Document processing device