JP5326903B2 - Document output apparatus and program - Google Patents

Document output apparatus and program Download PDF

Info

Publication number
JP5326903B2
JP5326903B2 JP2009171159A JP2009171159A JP5326903B2 JP 5326903 B2 JP5326903 B2 JP 5326903B2 JP 2009171159 A JP2009171159 A JP 2009171159A JP 2009171159 A JP2009171159 A JP 2009171159A JP 5326903 B2 JP5326903 B2 JP 5326903B2
Authority
JP
Japan
Prior art keywords
area
related information
output area
document
annotation
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.)
Expired - Fee Related
Application number
JP2009171159A
Other languages
Japanese (ja)
Other versions
JP2011029757A (en
Inventor
賢悟 大村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation 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 Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP2009171159A priority Critical patent/JP5326903B2/en
Publication of JP2011029757A publication Critical patent/JP2011029757A/en
Application granted granted Critical
Publication of JP5326903B2 publication Critical patent/JP5326903B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

<P>PROBLEM TO BE SOLVED: To output related information corresponding to a phrase included in a document together with the document, in such a manner that the correspondence relation of a request source thereof to the phrase can be recognized, without breaking the layout of the document. <P>SOLUTION: An annotation area setting means 15 sets, apart from a document output area DP in which a document, including a requested word W for requesting the output of annotation information (one example of related information) C, is output in a page unit, an annotation output area CP in which the annotation information corresponding to the requested word in the document output area DP is output, without relatively changing the size of the document output area DP; an annotation information arranging means 16 arranges the annotation information C of the requested word W at a position in the annotation output area CP, corresponding to the position of the requested word W in the document output area DP; and a correspondence relation specifying means 17 adds a path line L, that shows a correspondence relation between the requested word W in the document output area DP and the annotation information C arranged in the annotation output area CP about the requested word W by the annotation information arranging means 16. <P>COPYRIGHT: (C)2011,JPO&amp;INPIT

Description

本発明は、文書出力装置及びプログラムに関する。   The present invention relates to a document output apparatus and a program.

利用者からの註釈要求に従って、又は利用者の学習・知識レベルや学習履歴に合わせて註釈が必要な箇所の推定に基づいて、文書内の語彙の意味や補足説明などの註釈情報を補足して印刷することが考えられている。   Supplement the comment information such as the meaning of the vocabulary and supplementary explanation in the document according to the comment request from the user or based on the estimation of the part where the comment is necessary according to the user's learning / knowledge level and learning history. It is considered to print.

その一例として、特許文献1には、画像読取部で読み取った画像を行単位の文字画像データに切り出して文字認識を行い、文字認識を行なった文字列から註釈をつける文字列を抽出し、註釈データベースから文字列の註釈を検索して、註釈をつける文字列を含む文字画像データの近傍で、行単位に切り出した文字画像データの間に、註釈のデータ量に応じて文字画像データの間隔を変更可能に註釈の画像を合成して、画像形成部で記録材上にこの合成画像を形成する技術が開示されている。   As an example, Patent Document 1 discloses that an image read by an image reading unit is cut into line-by-line character image data, character recognition is performed, and a character string to be annotated is extracted from the character string that has been character-recognized. The character image data is searched for in the vicinity of the character image data including the character string to be annotated from the database, and the character image data interval is set according to the amount of the comment between the character image data cut out in units of lines. A technique is disclosed in which an annotated image is synthesized in a changeable manner, and this synthesized image is formed on a recording material by an image forming unit.

特開2001−326804号公報JP 2001-326804 A

本発明は、文書に含まれる語句に対応する関連情報を、文書のレイアウトを崩すことなく、その要求元の語句との対応関係を把握できる態様で、文書と共に出力できるようにすることを目的とする。   An object of the present invention is to output related information corresponding to a phrase included in a document together with the document in a manner in which the correspondence relationship with the requesting phrase can be grasped without destroying the layout of the document. To do.

請求項1に記載の本発明は、関連情報の出力を要求する要求語が含まれる文書であって印刷時の用紙サイズが指定された文書について、1枚以上の用紙の片面を用いて前記用紙サイズより大きい用紙領域を形成し、当該用紙領域内に、前記文書の内容が出力される文書出力領域を前記用紙サイズそのままで設定するとともに、当該用紙領域内における文書出力領域とは別の領域に、文書出力領域内の要求語に対応する関連情報が出力される関連情報出力領域設定する設定手段と、文書出力領域内の要求語の位置に応じた関連情報出力領域内の位置に当該要求語の関連情報を配置する配置手段と、文書出力領域内の要求語と当該要求語について前記配置手段により関連情報出力領域内に配置された関連情報との対応関係を示す表示を付加する付加手段と、を備えたことを特徴とする文書処理装置である。 According to the first aspect of the present invention, for a document including a request word for requesting output of related information and for which a paper size is specified at the time of printing, the paper is used by using one side of one or more sheets. A paper area larger than the size is formed, a document output area in which the content of the document is output is set as it is in the paper area, and the document output area in the paper area is different from the document output area. setting means for setting the related information output area related information is output corresponding to the request word document output area, the request to the position of the related information output area in response to the request word position of the document output area adding a placement means for placing the relevant information of the word, the display indicating the correspondence between the relevant information and placed in the related information output area by said arrangement means for request word and the request word document output region A pressurizing unit, a document processing apparatus characterized by comprising a.

請求項2に記載の本発明は、請求項1に記載の文書処理装置において、前記配置手段は、文書出力領域内の要求語の位置から最短距離の関連情報出力領域内の位置を基準にして、当該要求語の関連情報を配置する、ことを特徴とする。 According to a second aspect of the present invention, in the document processing apparatus according to the first aspect, the placement means is based on the position in the related information output area that is the shortest distance from the position of the request word in the document output area. The related information of the request word is arranged.

請求項3に記載の本発明は、請求項1に記載の文書処理装置において、文書出力領域及び関連情報出力領域は、互いの領域間で対応関係を持たせて複数の区画に区分けされており、前記配置手段は、文書出力領域内の要求語が存在する区画と対応関係を有する関連情報出力領域内の区画を基準にして、当該要求語の関連情報を配置する、ことを特徴とする。 According to a third aspect of the present invention, in the document processing apparatus according to the first aspect, the document output area and the related information output area are divided into a plurality of sections with a corresponding relationship between the areas. The arrangement means arranges the related information of the requested word on the basis of the section in the related information output area having a correspondence relationship with the section where the requested word exists in the document output area.

請求項4に記載の本発明は、請求項1乃至請求項3のいずれか1項に記載の文書処理装置において、前記配置手段は、複数の要求語にそれぞれ対応する複数の関連情報を関連情報出力領域に配置する処理において、文書出力領域における要求語の出現順に、各関連情報をそれぞれの間に余白を設けて関連情報出力領域の末尾方向に順番に配置していき、関連情報の配置先となる関連情報出力領域の末尾側の余白が不足する場合には、既に配置されている関連情報をずらして末尾側の余白を拡大してから関連情報を配置する、ことを特徴とする。 According to a fourth aspect of the present invention, in the document processing apparatus according to any one of the first to third aspects, the arranging unit displays a plurality of related information respectively corresponding to a plurality of request words as related information. In the process of arranging in the output area, the related information is arranged in order in the order of appearance of the request words in the document output area, with the margins between them in the order of the end of the related information output area. If the margin on the end side of the related information output area becomes insufficient, the related information is arranged after the related information already arranged is shifted to enlarge the margin on the end side.

請求項5に記載の本発明は、請求項4に記載の文書処理装置において、前記配置手段は、既に配置されている関連情報をずらすにあたり、関連情報出力領域における末尾側の余白以外の余白について、余白が大きい順にその余白が狭まるように関連情報をずらしていく、ことを特徴とする。 According to a fifth aspect of the present invention, in the document processing apparatus according to the fourth aspect, when the arrangement unit shifts the related information that has already been arranged, the margin other than the trailing margin in the related information output area is determined. The related information is shifted so that the margins are narrowed in the descending order of the margins.

請求項6に記載の本発明は、請求項1乃至請求項5のいずれか1項に記載の文書処理装置において、前記設定手段は、前記用紙サイズより大きい1枚の用紙の片面を用いて用紙領域を形成し、当該用紙領域内に文書出力領域を設定すると共に、当該用紙領域内の残余の領域を関連情報出力領域に設定する、ことを特徴とする。 According to a sixth aspect of the present invention, in the document processing apparatus according to any one of the first to fifth aspects, the setting unit uses a single side of a sheet larger than the sheet size. An area is formed, a document output area is set in the paper area, and a remaining area in the paper area is set as a related information output area.

請求項7に記載の本発明は、請求項1乃至請求項5のいずれか1項に記載の文書処理装置において、前記設定手段は、前記用紙サイズの複数枚の用紙の片面を用いて用紙領域を形成し、当該用紙領域内の1枚の用紙部分に文書出力領域を設定すると共に、当該用紙領域内の他の用紙部分を関連情報出力領域に設定する、ことを特徴とする。 According to a seventh aspect of the present invention, in the document processing apparatus according to any one of the first to fifth aspects, the setting unit uses a single side of a plurality of paper sheets of the paper size to form a paper area. , And a document output area is set for one sheet portion in the sheet area, and another sheet portion in the sheet area is set as a related information output area.

請求項8に記載の本発明は、請求項6又は請求項7に記載の文書処理装置において、前記配置手段により複数の要求語にそれぞれ対応する複数の関連情報を関連情報出力領域に配置する処理において、関連情報出力領域の領域不足により未配置の関連情報が生じた場合に、関連情報出力領域が設定された用紙領域をより大きい用紙領域に変更し、又は、新たな用紙領域を形成して当該用紙領域を関連情報出力領域に追加して、関連情報出力領域の拡張を行う拡張手段を備え、前記配置手段は、前記未配置の関連情報を前記拡張手段により拡張された関連情報出力領域に配置する、ことを特徴とする。 The invention according to claim 8 is the document processing apparatus according to claim 6 or 7, wherein the placement unit places a plurality of pieces of related information corresponding to a plurality of request words in a related information output area. in related when REFERENCES unplaced by lack of space output area occurs, the paper area related information output area is set to change to a larger sheet area, or to form a new sheet region Add the sheet region in the related information output area, with enhanced means for performing expansion of the relevant information output area, said positioning means, the related information of the undeployed the related information output area is expanded by the expansion means It is characterized by arranging.

請求項9に記載の本発明は、請求項1乃至請求項5のいずれか1項に記載の文書処理装置において、前記設定手段は、前記用紙サイズより大きい用紙領域を形成し、当該用紙領域を上下方向又は左右方向に3分割したうちの中央の領域を文書出力領域に設定すると共に、当該用紙領域内の残余の2つの領域を関連情報出力領域に設定し、前記配置手段により複数の要求語にそれぞれ対応する複数の関連情報を関連情報出力領域に配置する処理において、一方の関連情報出力領域に配置予定の関連情報について当該一方の関連情報出力領域の領域不足により未配置の関連情報が生じた場合に、当該一方の関連情報出力領域が拡大する方向へ文書出力領域を移動させる移動手段を備え、前記配置手段は、前記未配置の関連情報を前記移動手段により拡大された前記一方の関連情報出力領域に配置する、ことを特徴とする。 According to a ninth aspect of the present invention, in the document processing apparatus according to any one of the first to fifth aspects, the setting unit forms a paper area larger than the paper size , and the paper area is The central area of the three divided in the vertical direction or the horizontal direction is set as a document output area, and the remaining two areas in the paper area are set as related information output areas. respectively, in the process of placing the corresponding plurality of related information to the related information output area, information about unplaced occurs due to lack of space the one of the related information output area for additional information about the planned placement on one of the related information outputting region If the comprises moving means for one related information output area of the moves the document output region in a direction to expand, said positioning means, the related information of the undeployed to said moving means Placed enlarged the one related information output area of which, characterized in that.

請求項10に記載の本発明は、請求項1乃至請求項9のいずれか1項に記載の文書処理装置において、文書出力領域に出力される文書の段組構成を解析する解析手段を備え、前記設定手段は、前記解析手段により解析された段組構成に応じた位置関係で、それぞれの段組内の要求語に対応する関連情報が配置される複数の関連情報出力領域を設定する、ことを特徴とする。 A tenth aspect of the present invention is the document processing apparatus according to any one of the first to ninth aspects, further comprising an analyzing unit that analyzes a column configuration of the document output to the document output area, The setting means sets a plurality of related information output areas in which related information corresponding to request words in each column is arranged in a positional relationship according to the column structure analyzed by the analyzing unit; It is characterized by.

請求項11に記載の本発明は、請求項1乃至請求項10のいずれか1項に記載の文書処理装置において、文書出力領域及び関連情報出力領域を表示装置により表示させる表示手段と、文書出力領域に表示されている文書について、新たに語句を指定して要求語に追加し又は要求語の指定を解除する操作を受け付ける受付手段と、を備え、前記配置手段は、前記受付手段により要求語を追加又は解除する操作が受け付けられたことに応じて関連情報を配置し直し、前記付加手段は、前記配置手段により関連情報が配置し直されたことに応じて、文書出力領域内の要求語と当該要求語について前記配置手段により関連情報出力領域内に配置された関連情報との対応関係を示す表示を付加し直す、ことを特徴とする。 The invention according to claim 11 is the document processing apparatus according to any one of claims 1 to 10, wherein the display unit displays the document output area and the related information output area on the display device, and the document output. Receiving means for accepting an operation for newly specifying a word and adding it to the requested word or canceling the designation of the requested word for the document displayed in the area, and the placing means receives the requested word by the accepting means. The related information is rearranged in response to an operation for adding or canceling the request, and the adding unit is configured to request a word in the document output area in response to the related information being rearranged by the arranging unit. And a display indicating the correspondence relationship between the request word and the related information arranged in the related information output area by the arranging means.

請求項12に記載の本発明は、関連情報の出力を要求する要求語が含まれる文書であって印刷時の用紙サイズが指定された文書について、1枚以上の用紙の片面を用いて前記用紙サイズより大きい用紙領域を形成し、当該用紙領域内に、前記文書の内容が出力される文書出力領域を前記用紙サイズそのままで設定するとともに、当該用紙領域内における文書出力領域とは別の領域に、文書出力領域内の要求語に対応する関連情報が出力される関連情報出力領域設定する設定機能と、文書出力領域内の要求語の位置に応じた関連情報出力領域内の位置に当該要求語の関連情報を配置する配置機能と、文書出力領域内の要求語と当該要求語について前記配置機能により関連情報出力領域内に配置された関連情報との対応関係を示す表示を付加する付加機能と、をコンピュータに実現させるためのプログラムである。 The present invention according to claim 12 is a document including a request word for requesting output of related information, and for a document in which a paper size at the time of printing is designated, using one side of one or more sheets. A paper area larger than the size is formed, a document output area in which the content of the document is output is set as it is in the paper area, and the document output area in the paper area is different from the document output area. , a setting function of setting the related information output area related information is output corresponding to the request word document output area, the request to the position of the related information output area in response to the request word position of the document output area be added to the arrangement function for arranging the relevant information of the word, an indication of correspondence between the relevant information arranged in the related information output area by said positioning feature for the requested word and the request word document output region Is a program for implementing additional functions and, to a computer.

請求項1に記載の本発明によると、文書が出力される文書出力領域(第1領域に対して設定される関連情報出力領域(第2領域内に、当該文書に含まれる語句に対応する関連情報を、文書の出力レイアウトを崩すことなく、その要求語との対応関係を把握できる態様で出力することができる。 According to the first aspect of the present invention, in the related information output area ( second area ) set for the document output area ( first area ) in which the document is output, it corresponds to a phrase included in the document. Related information can be output in a manner in which the correspondence relationship with the request word can be grasped without destroying the output layout of the document.

請求項2に記載の本発明によると、第1領域内の要求語の位置から最短距離の第2領域内の位置(或いはその付近)に、当該要求語の関連情報を配置することができる。   According to the second aspect of the present invention, the related information of the request word can be arranged at the position (or the vicinity thereof) in the second area that is the shortest distance from the position of the request word in the first area.

請求項3に記載の本発明によると、第1領域内の要求語が存在する区画に対応する第2領域内の区画(或いはその付近)に、当該要求語の関連情報を配置することができる。   According to the third aspect of the present invention, the related information of the request word can be arranged in the section (or the vicinity thereof) in the second area corresponding to the section in which the request word exists in the first area. .

請求項4に記載の本発明によると、第2領域内に複数の関連情報を効率的に配置することができる。   According to the present invention described in claim 4, a plurality of related information can be efficiently arranged in the second region.

請求項5に記載の本発明によると、空白を詰めて複数の関連情報を配置する場合においても、関連情報間の間隔を対応する要求語間の間隔に応じたものとすることができる。   According to the fifth aspect of the present invention, even when a plurality of pieces of related information are arranged with blank spaces, the interval between the related information can be made to correspond to the interval between the corresponding request words.

請求項6に記載の本発明によると、関連情報をその要求語と同一の用紙領域に出力することができる。   According to the sixth aspect of the present invention, the related information can be output to the same sheet area as the request word.

請求項7に記載の本発明によると、関連情報をその要求語が出力される用紙領域に隣接する他の用紙領域に出力することができる。   According to the seventh aspect of the present invention, the related information can be output to another paper area adjacent to the paper area where the request word is output.

請求項8に記載の本発明によると、第1領域内の全ての要求語について、それぞれの関連情報を第2領域に配置することができる。   According to the present invention as set forth in claim 8, the related information can be arranged in the second area for all the request words in the first area.

請求項9に記載の本発明によると、2つの第2領域の大きさを状況に応じて変化させることができる。   According to this invention of Claim 9, the magnitude | size of two 2nd area | regions can be changed according to a condition.

請求項10に記載の本発明によると、頁の段組構成に応じた位置関係で、各段組内の要求語について、それぞれの関連情報を配置することができる。   According to the tenth aspect of the present invention, the related information can be arranged for the request words in each column in the positional relationship according to the column configuration of the page.

請求項11に記載の本発明によると、表示頁に対する操作者による事後的な要求語の追加又は削除に伴って、各要求語の関連情報を再配置することができる。   According to the present invention described in claim 11, the related information of each request word can be rearranged in accordance with the subsequent addition or deletion of the request word by the operator with respect to the display page.

請求項12に記載の本発明によると、文書が出力される第1領域に対して設定される第2領域内に、当該文書に含まれる語句に対応する関連情報を、文書の出力レイアウトを崩すことなく、その要求語との対応関係を把握できる態様で出力することができる。   According to this invention of Claim 12, in the 2nd area | region set with respect to the 1st area | region where a document is output, the relevant information corresponding to the phrase contained in the said document is destroyed. Without being able to output, it is possible to output in a manner in which the correspondence relationship with the request word can be grasped.

本発明の一実施形態に係る文書処理装置の機能ブロックを例示する図である。It is a figure which illustrates the functional block of the document processing apparatus which concerns on one Embodiment of this invention. 本発明の一実施形態に係る註釈情報の出力例を示す図である。It is a figure which shows the output example of the comment information which concerns on one Embodiment of this invention. 本発明の一実施形態に係る註釈要求語/註釈情報ペア格納テーブルを例示する図である。It is a figure which illustrates the annotation request word / annotation information pair storage table which concerns on one Embodiment of this invention. 本発明の一実施形態に係る註釈要求語ページ内位置情報取得処理の処理フローを例示する図である。It is a figure which illustrates the processing flow of the positional information acquisition process in the annotation request word page which concerns on one Embodiment of this invention. 本発明の一実施形態に係る註釈要求語ページ内位置情報取得の概要を説明する図である。It is a figure explaining the outline | summary of position information acquisition in the annotation request word page which concerns on one Embodiment of this invention. 本発明の一実施形態に係る註釈情報量算定の処理フローを例示する図である。It is a figure which illustrates the processing flow of annotation information amount calculation which concerns on one Embodiment of this invention. 本発明の一実施形態に係る註釈領域設定処理(初期設定時)の処理フローを例示する図である。It is a figure which illustrates the processing flow of the annotation area | region setting process (at the time of initial setting) concerning one Embodiment of this invention. 本発明の一実施形態に係る註釈領域の設定態様及び拡張態様を例示する図である。It is a figure which illustrates the setting aspect and expansion aspect of the annotation area which concern on one Embodiment of this invention. 本発明の一実施形態に係る註釈情報配置処理の処理フローを例示する図である。It is a figure which illustrates the processing flow of the annotation information arrangement | positioning process which concerns on one Embodiment of this invention. 本発明の一実施形態に係る註釈情報の配置態様を例示する図である。It is a figure which illustrates the arrangement | positioning aspect of the annotation information which concerns on one Embodiment of this invention. 本発明の一実施形態に係る配置調整処理の処理フローを例示する図である。It is a figure which illustrates the processing flow of the arrangement | positioning adjustment process which concerns on one Embodiment of this invention. 本発明の一実施形態に係る配置調整処理の具体例を示す図である。It is a figure which shows the specific example of the arrangement | positioning adjustment process which concerns on one Embodiment of this invention. 本発明の一実施形態に係る註釈領域拡張処理の処理フローを例示する図である。It is a figure which illustrates the processing flow of the annotation area expansion process which concerns on one Embodiment of this invention. 本発明の一実施形態に係る註釈領域拡張処理の具体例を示す図である。It is a figure which shows the specific example of the annotation area | region expansion process which concerns on one Embodiment of this invention. 本発明の一実施形態に係る対応関係明示処理の処理フローを例示する図である。It is a figure which illustrates the processing flow of the correspondence clarification process which concerns on one Embodiment of this invention. 本発明の一実施形態に係る対応関係明示処理の具体例を示す図である。It is a figure which shows the specific example of the corresponding relationship clarification process which concerns on one Embodiment of this invention. 本発明の一実施形態に係るマッピング法による註釈情報の配置位置を例示する図である。It is a figure which illustrates the arrangement position of annotation information by the mapping method concerning one embodiment of the present invention. 本発明の一実施形態に係る左右2段組の出力頁に対する註釈出力領域を説明する図である。It is a figure explaining the comment output area | region with respect to the output page of 2 steps | paragraphs of right and left concerning one Embodiment of this invention. 本発明の一実施形態に係る註釈情報の再配置を例示する図である。It is a figure which illustrates rearrangement of annotation information concerning one embodiment of the present invention. 本発明の一実施形態に係る文書出力領域移動処理の処理フローを示す図である。It is a figure which shows the processing flow of the document output area movement process which concerns on one Embodiment of this invention. 本発明の一実施形態に係る文書出力領域移動処理を例示する図である。It is a figure which illustrates the document output area movement process which concerns on one Embodiment of this invention. 本発明の一実施形態に係る文書処理装置のハードウェア構成を例示する図である。It is a figure which illustrates the hardware constitutions of the document processing apparatus which concerns on one Embodiment of this invention.

本発明の一実施形態について、図面を参照して説明する。
図1には、本発明の一実施形態に係る文書処理装置の機能ブロックを例示してある。
本例の文書処理装置は、出力対象の文書において要求語に指定された語句に対応する関連情報を、当該文書が出力(表示又は印刷)される文書出力領域の周囲に別途設けられた関連情報出力領域に出力するものであり、註釈情報表示・印刷指示手段11、註釈要求語/註釈情報ペア取得手段12、註釈要求語ページ内位置情報取得手段13、註釈情報量算定手段14、註釈領域設定手段15、註釈情報配置手段16、対応関係明示手段17、印刷設定変更手段18、表示・印刷手段19、等の機能部を有している。
An embodiment of the present invention will be described with reference to the drawings.
FIG. 1 illustrates functional blocks of a document processing apparatus according to an embodiment of the present invention.
The document processing apparatus of the present example separately provides related information corresponding to a phrase specified as a request word in the output target document, and related information separately provided around the document output area where the document is output (displayed or printed). Annotation information display / print instruction means 11, annotation request word / annotation information pair acquisition means 12, annotation request word page position information acquisition means 13, annotation information amount calculation means 14, annotation area setting Means 15, annotation information arrangement unit 16, correspondence specifying unit 17, print setting changing unit 18, display / printing unit 19, and the like.

なお、本例では、要求語に対応する関連情報として、要求語の意味内容を表す註釈情報を出力するが、これに限定するものではなく、例えば、要求語を他の言語で表現し直す翻訳情報や、要求語を検索語として検索されるWebページのアドレス情報(或いはそのページ内容の要約)など、要求語に関連する種々の情報を出力するようにしてもよい。   In this example, the comment information indicating the semantic content of the request word is output as the related information corresponding to the request word. However, the present invention is not limited to this. For example, the request word is re-expressed in another language. Various information related to the requested word, such as information and address information (or a summary of the page contents) of a Web page searched using the requested word as a search word, may be output.

本例の文書処理装置による処理の概略を、図2に示す註釈情報(関連情報の一例)の出力例を参照して説明する。
出力文書の対象頁に含まれる要求語Wに対応する註釈情報Cの出力指示を註釈情報表示・印刷指示手段11により操作者から受け付けると、註釈要求語/註釈情報ペア取得手段12が、対象頁に含まれる要求語Wとその註釈情報Cとの組(ペア)を取得し、当該取得した要求語Wとその註釈情報Cの組について、註釈要求語ページ内位置情報取得手段13が、対象頁が出力される文書出力領域DPにおける各要求語Wのそれぞれの位置情報を取得し、註釈情報量算定手段14が、各註釈情報Cの出力にそれぞれ必要な領域サイズを計算するための註釈情報量を算定する。また、註釈領域設定手段15が、文書出力領域DPとは別に、各註釈情報Cが出力される註釈出力領域(関連情報出力領域)CPを文書出力領域DPの大きさを相対変化させずに(すなわち、註釈出力領域CPの設定に起因する出力サイズの変化が生じないように)設定する。
An outline of processing by the document processing apparatus of this example will be described with reference to an output example of comment information (an example of related information) shown in FIG.
When an instruction to output comment information C corresponding to the request word W included in the target page of the output document is received from the operator by the comment information display / print instruction means 11, the comment request word / annotation information pair acquisition means 12 receives the target page. The request word W and its annotation information C are included in a pair, and the annotation request word page position information acquisition means 13 obtains the target page for the acquired request word W and the annotation information C. Is obtained for each request word W in the document output region DP, and the annotation information amount calculation means 14 calculates the region size necessary for the output of each annotation information C. Is calculated. In addition, the annotation area setting means 15 separates the annotation output area (related information output area) CP in which each annotation information C is output, without changing the size of the document output area DP separately from the document output area DP ( That is, it is set so that the output size does not change due to the setting of the comment output area CP.

その後、註釈情報配置手段16が、各要求語Wに対応するそれぞれの註釈情報Cを、その要求語Wの文書出力領域DP内の位置に応じた註釈出力領域CP内の位置に配置し、対応関係明示手段17が、要求語Wとその註釈情報Cとの対応関係を示す表示(本例では、要求語Wとその註釈情報Cとを結ぶパスライン(結線)L)を付加し、表示・印刷手段19が、文書出力領域DPと共に註釈出力領域CPを出力(表示又は印刷)する。また、印刷出力の場合において、文書出力領域DPの出力用紙と註釈出力領域CPの出力用紙とを別にする設定の場合には、それぞれの出力用紙を机上に配置した場合にパスラインLが見映え良く繋がるように、印刷設定変更手段18が、各出力用紙の周縁に設けられる余白領域を調整(例えば、余白なし)する。   Thereafter, the annotation information arrangement means 16 arranges each annotation information C corresponding to each request word W at a position in the annotation output area CP according to the position of the request word W in the document output area DP, and The relationship specifying means 17 adds a display (in this example, a path line (connection) L connecting the request word W and the annotation information C) indicating the correspondence between the request word W and the annotation information C, and displays The printing means 19 outputs (displays or prints) the annotation output area CP together with the document output area DP. In the case of print output, if the output paper in the document output area DP and the output paper in the annotation output area CP are set separately, the pass line L can be seen when each output paper is placed on the desk. The print setting changing unit 18 adjusts the margin area provided at the periphery of each output sheet (for example, no margin) so that the connection is well established.

なお、註釈領域設定手段15は、初期に設定した註釈出力領域CPでは、全ての註釈情報Cを配置するには領域が足りない場合には、文書出力領域DPの大きさを相対変化させることなく註釈出力領域CPを拡張する機能も有している。つまり、本例の文書処理装置では、原理的に註釈出力領域CPを幾らでも拡張することができ、しかも、出力文書のレイアウトやサイズは変化しないままとすることができる。   The annotation area setting means 15 does not relatively change the size of the document output area DP when there is not enough area for placing all the annotation information C in the initially set annotation output area CP. It also has a function to expand the annotation output area CP. That is, in the document processing apparatus of this example, the annotation output area CP can be expanded in principle in any number, and the layout and size of the output document can remain unchanged.

本例の文書処理装置の各機能部について、より具体的に説明する。
註釈情報表示・印刷指示手段11は、出力文書の対象頁に含まれる要求語Wに対応する註釈情報(関連情報の一例)Cの表示又は印刷の指示(関連情報出力指示)を操作者から受け付ける。
具体的には、例えば、表示装置に表示出力されている文書の頁内容について、要求語Wに指定する語句を選択する操作を受け付けた後に、当該表示頁についての関連情報出力指示を受け付ける。また、例えば、文書の頁内容が印刷出力されている用紙であって要求語Wに指定する語句に対して特定の印が明示的に付された(例えば、予め設定された色でマーキングされた)状態の用紙の画像読み取り(スキャン)の指示と共に、当該印刷頁についての関連情報出力指示を受け付ける。
Each functional unit of the document processing apparatus of this example will be described more specifically.
The comment information display / print instruction means 11 receives from the operator a display or print instruction (related information output instruction) of comment information (an example of related information) C corresponding to the request word W included in the target page of the output document. .
Specifically, for example, with respect to the page contents of the document displayed and output on the display device, after receiving an operation of selecting a word designated as the request word W, a related information output instruction for the display page is received. In addition, for example, a specific mark is explicitly added to a phrase specified in the request word W on a paper on which the page content of a document is printed out (for example, marked with a preset color) ) And a related information output instruction for the print page are received together with an instruction to read (scan) the image of the sheet in the state.

註釈要求語/註釈情報ペア取得手段12は、註釈情報表示・印刷指示手段11により関連情報出力指示を受け付けたことに応じて、その対象頁(表示頁又は印刷頁)に含まれる要求語Wとこれに対応する註釈情報Cとの組(ペア)を取得し、図3に例示する註釈要求語/註釈情報ペア格納テーブルの該当する項目欄に格納する。
ここで、本例では、表示頁に基づく関連情報出力指示の場合には、当該表示頁において要求語Wに指定する選択操作がなされた語句を特定して取得し、印刷頁に基づく関連情報出力指示の場合には、当該印刷頁の読み取り画像における特定の印部分(例えば、マーキング部分)を解析して得られる文字情報を要求語Wとして取得する。また、本例では、要求語Wに対応する関連情報としての註釈情報Cを、語彙データベース(図示せず)を参照することにより取得しているが、翻訳情報やWebページのアドレス情報等の他の種別の関連情報を取得する場合には、その種別に応じた内部又は外部の情報源を参照するようにすればよい。
The annotation request word / annotation information pair acquisition unit 12 receives the request information W included in the target page (display page or print page) in response to receiving the related information output instruction from the annotation information display / print instruction unit 11. A pair (pair) with the corresponding annotation information C is acquired and stored in the corresponding item column of the annotation request word / annotation information pair storage table illustrated in FIG.
Here, in this example, in the case of a related information output instruction based on a display page, a word / phrase for which a selection operation designated for the request word W is specified is acquired on the display page, and related information output based on a print page is obtained. In the case of an instruction, character information obtained by analyzing a specific mark portion (for example, a marking portion) in the read image of the printed page is acquired as the request word W. In this example, the annotation information C as related information corresponding to the requested word W is acquired by referring to a vocabulary database (not shown), but other information such as translation information and Web page address information is also available. When the related information of the type is acquired, an internal or external information source corresponding to the type may be referred to.

註釈要求語ページ内位置情報取得手段13は、註釈要求語/註釈情報ペア取得手段12により取得された各要求語Wについて、対象頁が出力される文書出力領域DPにおける各要求語Wの位置情報を取得し、図3に例示した註釈要求語/註釈情報ペア格納テーブルの該当する項目欄に格納する。
本例の註釈要求語ページ内位置情報取得手段13では、その処理フローを図4に例示するように、註釈要求語/註釈情報ペア取得手段12により要求語Wが取得されると(ステップS11)、要求語Wの文字列を囲む矩形領域における左上と右下の位置情報(座標(x,y))をそれぞれ特定して(ステップS12)、註釈要求語/註釈情報ペア格納テーブルに格納する(ステップS13)。
すなわち、例えば図5に示すように、文字列“The Geneva Account”が要求語Wに選択されている場合には、当該文字列を囲む矩形領域rの左上の座標値p1及び右下の座標値p2を、要求語Wの位置情報として特定する。
要求語Wの文書出力領域DPにおける位置情報は、その要求語Wの文書出力領域DP内の位置に応じた註釈出力領域CP内の位置に、対応する註釈情報Cを配置するために使用される。
The comment request word page position information acquisition means 13 is the position information of each request word W in the document output area DP where the target page is output for each request word W acquired by the comment request word / annotation information pair acquisition means 12. Is stored in the corresponding item column of the annotation request word / annotation information pair storage table illustrated in FIG.
In the comment request word page position information acquisition unit 13 of this example, when the request word W is acquired by the comment request word / annotation information pair acquisition unit 12 as illustrated in FIG. 4 (step S11). Then, the upper left and lower right position information (coordinates (x, y)) in the rectangular area surrounding the character string of the request word W is specified (step S12) and stored in the comment request word / annotation information pair storage table (step S12). Step S13).
That is, for example, as shown in FIG. 5, when the character string “The Geneva Account” is selected as the request word W, the upper left coordinate value p1 and the lower right coordinate value of the rectangular region r surrounding the character string p2 is specified as the position information of the request word W.
The position information of the request word W in the document output area DP is used to arrange the corresponding comment information C at the position in the comment output area CP corresponding to the position of the request word W in the document output area DP. .

註釈情報量算定手段14は、註釈要求語/註釈情報ペア取得手段12により取得された各註釈情報Cについて、各註釈情報Cの出力にそれぞれ必要な領域サイズを計算するための註釈情報量(本例では文字数)を算定し、図3に例示した註釈要求語/註釈情報ペア格納テーブルの該当する項目欄に格納する。
本例の註釈情報量算定手段14では、その処理フローを図6に例示するように、註釈要求語/註釈情報ペア取得手段12により要求語Wに対応する註釈情報Cが取得されると(ステップS21)、註釈情報Cの文字数を計数(カウント)し(ステップS22)、註釈要求語/註釈情報ペア格納テーブルに格納する(ステップS13)。
註釈情報Cの註釈情報量は、その註釈情報Cを註釈出力領域CPに配置可能か否かの判定や、註釈出力領域CP内に配置可能な註釈情報Cの個数の判定などに使用される。
なお、註釈情報Cの註釈情報量としては、行数、文字列領域の面積、文字列のデータ容量など、他の情報で代用することもできる。
The annotation information amount calculation means 14 calculates the annotation information amount (this book) for calculating the area size necessary for the output of each annotation information C for each annotation information C acquired by the annotation request word / annotation information pair acquisition means 12. In the example, the number of characters) is calculated and stored in the corresponding item column of the annotation request word / annotation information pair storage table illustrated in FIG.
In the annotation information amount calculation means 14 of this example, when the annotation request word / annotation information pair acquisition means 12 acquires the annotation information C corresponding to the request word W, as illustrated in FIG. S21), the number of characters in the annotation information C is counted (step S22), and stored in the annotation request word / annotation information pair storage table (step S13).
The annotation information amount of the annotation information C is used for determining whether the annotation information C can be arranged in the annotation output area CP, determining the number of annotation information C that can be arranged in the annotation output area CP, and the like.
Note that the amount of comment information of the comment information C can be substituted with other information such as the number of lines, the area of the character string region, and the data capacity of the character string.

註釈領域設定手段15は、文書出力領域DPとは別に(文書出力領域DP外に)、各註釈情報Cが出力される註釈出力領域CPを、文書出力領域DPの大きさを相対変化させずに設定する。つまり、註釈出力領域CPの設定に起因して、出力対象の文書が頁単位で出力される文書出力領域DPの出力状態における大きさ(文書出力領域DPに割り当てられた用紙領域の大きさ)が変化しないようにする。また、註釈領域設定手段15は、註釈情報Cが多くて領域が不足した場合に註釈出力領域CPを拡張する処理も行う。
本例の註釈領域設定手段15では、註釈出力領域CPの初期設定における処理フローを図7に例示するように、操作者等により予め設定された設定値若しくは既定値に基づいて註釈出力領域CPの配置とサイズを決定し、当該決定内容に応じた註釈出力領域CPを文書出力領域DPに隣接させて設定することで、文書出力領域DPの出力内容(出力頁)と註釈出力領域CPの出力内容(註釈情報C)とが合成されて(一連の文書として)出力されるようにする(ステップS31)。また、註釈出力領域CP内に、実際に註釈情報Cを配置可能な註釈情報配置可能領域CR(註釈出力領域CP周縁の余白部分以外の領域)を設定し、その領域情報をメモリに格納する(ステップS32)。
The annotation area setting means 15 separates the annotation output area CP from which the annotation information C is output separately from the document output area DP (outside the document output area DP) without changing the size of the document output area DP. Set. In other words, due to the setting of the comment output area CP, the size in the output state of the document output area DP (the size of the paper area allocated to the document output area DP) in which the document to be output is output in page units. Do not change. The annotation area setting means 15 also performs processing for extending the annotation output area CP when the annotation information C is large and the area is insufficient.
In the annotation area setting means 15 of this example, the processing flow in the initial setting of the annotation output area CP is illustrated in FIG. 7, and the annotation output area CP is set based on a preset value or a preset value set by an operator or the like. By determining the arrangement and size, and setting the comment output area CP corresponding to the determined contents adjacent to the document output area DP, the output contents (output page) of the document output area DP and the output contents of the comment output area CP (Comment information C) is synthesized (as a series of documents) and output (step S31). In addition, in the annotation output area CP, an annotation information arrangement possible area CR (an area other than the margin part of the margin of the annotation output area CP) where the annotation information C can be actually arranged is set, and the area information is stored in the memory ( Step S32).

図8には、註釈出力領域CPの設定態様及び拡張態様を例示してある。
図8の(a−1)〜(a−7)には、文書出力領域DPと註釈出力領域CPを同一の用紙領域に割り当てる一体型の設定態様を例示してある。
(a−1)、(a−2)は、A4横の用紙領域が割り当てられた出力頁について、より大きいB4横又はA3横の用紙領域を形成し、その中央部に文書出力領域DPを設定する共に残余の領域(文書出力領域DPの周囲)を註釈出力領域CPに設定するものである。
(a−3)〜(a−5)は、A4縦の用紙領域が割り当てられた出力頁について、より大きいA3横の用紙領域を形成し、その右側半分又は左右中央部又は左側半分に文書出力領域DPを設定する共に残余の領域(文書出力領域DPの左側半分又は左右両側又は右側半分)を註釈出力領域CPに設定するものである。
(a−6)、(a−7)は、A4縦又はA4横の用紙領域が割り当てられた出力頁について、より大きいA2横の用紙領域を形成し、その中央部に文書出力領域DPを設定する共に残余の領域(文書出力領域DPの周囲)を註釈出力領域CPに設定するものである。
FIG. 8 illustrates a setting mode and an expansion mode of the annotation output area CP.
(A-1) to (a-7) of FIG. 8 illustrate an integrated setting mode in which the document output area DP and the annotation output area CP are assigned to the same sheet area.
(A-1) and (a-2) form a larger B4 side or A3 side paper area for the output page to which the A4 side paper area is assigned, and set the document output area DP at the center thereof. In addition, the remaining area (around the document output area DP) is set as the annotation output area CP.
(A-3) to (a-5) form a larger A3 horizontal paper area for the output page to which the A4 vertical paper area is allocated, and output the document to the right half, the left / right central part, or the left half of the output page. The area DP is set and the remaining area (the left half of the document output area DP or both the left and right sides or the right half) is set as the annotation output area CP.
In (a-6) and (a-7), a larger A2 horizontal paper area is formed for an output page to which an A4 vertical or A4 horizontal paper area is allocated, and a document output area DP is set at the center thereof. In addition, the remaining area (around the document output area DP) is set as the annotation output area CP.

図8の(b−1)〜(b−6)には、文書出力領域DPとは別の用紙領域に註釈出力領域CPを割り当てる分割型の設定態様を例示してある。
(b−1)〜(b−3)は、A4横の用紙領域が割り当てられた出力頁について、その用紙領域(文書出力領域DP)の左側又は右側又は左右両側に隣接させてA4横の用紙領域を別途形成し、これを註釈出力領域CPに設定するものである。
(b−4)〜(b−6)は、A4縦の用紙領域が割り当てられた出力頁について、その用紙領域(文書出力領域DP)の左側又は右側又は左右両側に隣接させてA4縦の用紙領域を別途形成し、これを註釈出力領域CPに設定するものである。
(B-1) to (b-6) of FIG. 8 illustrate a division type setting mode in which the annotation output area CP is allocated to a paper area different from the document output area DP.
(B-1) to (b-3) indicate that an output page to which an A4 horizontal paper area is allocated is adjacent to the left side, right side, or both right and left sides of the paper area (document output area DP). A region is separately formed, and this is set as the annotation output region CP.
(B-4) to (b-6) indicate that an output page to which an A4 vertical paper area is assigned is adjacent to the left side, right side, or both left and right sides of the paper area (document output area DP). A region is separately formed, and this is set as the annotation output region CP.

図8の(c−1)〜(c−2)には、註釈領域不足時の追加形式の拡張態様を例示してある。
(c−1)は、分割型の註釈出力領域CPについて、既存の註釈出力領域CPと同じ配置で(既存の註釈出力領域CPに重ねて)註釈出力領域CPを追加していくものである。
(c−2)は、分割型の註釈出力領域CPについて、文書出力領域DPを取り囲むようにずらしながら註釈出力領域CPを追加していくものである。
(C-1) to (c-2) of FIG. 8 illustrate an extended form of an additional format when the comment area is insufficient.
(C-1) is to add an annotation output area CP to the divided annotation output area CP in the same arrangement as the existing annotation output area CP (overlapping the existing annotation output area CP).
(C-2) is to add the comment output area CP while shifting the divided comment output area CP so as to surround the document output area DP.

これらの設定態様及び拡張態様は一例に過ぎず、註釈出力領域CPの配置レイアウトやサイズ等の態様としては、種々のバリエーションを採用することができる。
また、本例では、註釈情報表示・印刷指示手段11による関連情報出力指示の受け付けの際に、註釈出力領域CPの設定態様及び拡張態様の指定を操作者から受け付けるようにしており、その指定がない場合には、予め決められている設定態様及び拡張態様を適用する。
These setting modes and expansion modes are merely examples, and various variations can be adopted as the layout and size of the annotation output area CP.
In this example, when the related information output instruction is received by the comment information display / print instruction means 11, the setting mode and the extended mode of the annotation output area CP are received from the operator. If not, the predetermined setting mode and expansion mode are applied.

註釈情報配置手段16は、註釈要求語/註釈情報ペア取得手段12、註釈要求語ページ内位置情報取得手段13、註釈情報量算定手段14により取得された情報(図3に例示した註釈要求語/註釈情報ペア格納テーブルの内容)に基づいて、文書出力領域DPにおける各要求語Wの出現順に、各註釈情報Cをそれぞれの間に余白を設けて註釈出力領域CPの末尾方向(例えば、下方向)に順番に配置していく。なお、文書出力領域DPにおける各要求語W間の間隔長(例えば、何行離れているか)を求め、これを拘束条件にして註釈情報Cを配置(要求語W間の間隔長を註釈情報C間の間隔長に反映させて配置)するが、多数の註釈情報Cを無駄なく配置することが指定された場合には、当該拘束条件を外す(つまり、要求語W間の間隔長を註釈情報C間の間隔長に反映させない)ようにしている。   The annotation information arrangement means 16 includes the annotation request word / annotation information pair acquisition means 12, the annotation request word page position information acquisition means 13, and the information acquired by the annotation information amount calculation means 14 (the annotation request word / example illustrated in FIG. Based on the contents of the annotation information pair storage table), in the order of appearance of each request word W in the document output area DP, each annotation information C is provided with a blank space between them, and the end direction of the annotation output area CP (for example, downward direction) ) In order. It is to be noted that an interval length (for example, how many lines are separated) between the request words W in the document output area DP is obtained, and comment information C is arranged using this as a constraint (the interval length between the request words W is the comment information C). However, if it is specified that a large number of annotation information C should be arranged without waste, the constraint condition is removed (that is, the interval length between the request words W is changed to the annotation information). (It is not reflected in the interval length between C).

本例の註釈情報配置手段16では、その処理フローを図9に例示するように、要求語Wの位置座標に基づいて註釈情報Cの配置順(対応する要求語Wの出現順序(本例では左上から右下へ)に従う)を決定し(ステップS41)、当該決定された配置順に沿って各註釈情報Cを以下の手順で配置していく。
すなわち、対象の要求語Wの文書出力領域DP内の位置から註釈出力領域CP内の註釈情報配置可能領域CRの枠までの最短距離の接点(要求語Wから註釈情報配置可能領域CRへ向けて最短距離で引かれた直線と註釈情報配置可能領域CRの枠との交点)の座標を求めて配置基準点とし(ステップS42)、また、当該要求語Wに対応する註釈情報Cの文字数から、その表示に必要な領域サイズ(各註釈情報Cの出力先となる個別の註釈枠の大きさ)を算定し(ステップS43)、当該算定結果及び配置基準点の位置に基づいて、対象の註釈情報Cを註釈情報配置可能領域CR内に配置可能か否かを判定する(ステップS44)。
In the annotation information arrangement means 16 of this example, as shown in FIG. 9, the processing flow is arranged based on the position coordinates of the request word W (the order of appearance of the corresponding request word W (in this example, the appearance order). (From upper left to lower right)) is determined (step S41), and each piece of comment information C is arranged in the following procedure along the determined arrangement order.
That is, the point of contact of the shortest distance from the position of the target request word W in the document output area DP to the frame of the annotation information arrangement area CR in the annotation output area CP (from the request word W to the annotation information arrangement area CR). The coordinates of the intersection of the straight line drawn at the shortest distance and the frame of the annotation information arrangement possible region CR) are obtained and set as the arrangement reference point (step S42), and from the number of characters of the annotation information C corresponding to the request word W, The area size required for the display (the size of the individual comment frame that is the output destination of each comment information C) is calculated (step S43), and the target comment information is based on the calculation result and the position of the placement reference point. It is determined whether or not C can be arranged in the annotation information arrangement possible region CR (step S44).

そして、註釈情報配置可能領域CRの末尾側(配置基準点より後方)に、対象の註釈情報Cの註釈枠を配置可能な余白領域が残存する場合には、当該註釈情報Cを末尾側の余白領域にそのまま配置可能なため、該当位置に当該註釈情報Cを配置する(ステップS45)。一方、註釈情報配置可能領域CRの末尾側(配置基準点より後方)に、対象の註釈情報Cの註釈枠を配置可能な余白領域が残存しない場合には、当該註釈情報Cを末尾側の余白領域に配置不可能なため、後述する配置調整処理(ステップS46)や註釈領域拡張処理(ステップS47)を行い、これらの処理により確保された領域に当該註釈情報Cを配置する(ステップS45)。
その後、配置した註釈情報Cの座標(本例では、その註釈枠の左上及び右下の座標)を記録し(ステップS48)、註釈情報Cが未配置の要求語Wが存在するか否かを判定し(ステップS49)、全ての要求語WについてステップS41〜S45の処理を繰り返す。そして、全ての要求語Wに対応する註釈情報Cをそれぞれ配置した後に、対応関係明示手段17による対応関係明示処理(ステップS50)へと進む。
If there is a blank area in which the annotation frame of the target annotation information C can be placed at the end of the annotation information arrangement possible area CR (behind the arrangement reference point), the annotation information C is added to the trailing margin. Since it can be arranged in the area as it is, the annotation information C is arranged at the corresponding position (step S45). On the other hand, if there is no remaining blank area in which the annotation frame of the target annotation information C can be placed on the end side (after the placement reference point) of the annotation information arrangement possible area CR, the annotation information C is added to the trailing margin. Since it cannot be arranged in the area, an arrangement adjustment process (step S46) and an annotation area expansion process (step S47) described later are performed, and the annotation information C is arranged in the area secured by these processes (step S45).
Thereafter, the coordinates of the arranged annotation information C (in this example, the upper left and lower right coordinates of the annotation frame) are recorded (step S48), and whether or not there is a request word W in which the annotation information C is not arranged exists. Determination is made (step S49), and the processing of steps S41 to S45 is repeated for all the request words W. After the annotation information C corresponding to all the request words W is arranged, the process proceeds to the correspondence clarification process (step S50) by the correspondence clarification means 17.

なお、本例では、対象の要求語Wに対する註釈情報Cについて求めた配置基準点が、他の註釈情報Cの註釈枠(配置順が前の註釈情報Cの註釈枠)部分に位置する場合又は当該註釈枠の終端から註釈出力領域CPの末尾方向に基準間隔Sの範囲内に位置する場合には、当該註釈枠の終端から註釈出力領域CPの末尾方向に基準間隔Sだけずらした位置を配置基準点として設定し直すようにしており、これにより、註釈情報C間に少なくとも基準間隔S分の余白が設けられる。
すなわち、図10(a)に例示するように、註釈情報配置可能領域CRにおいて、出力頁における先頭の要求語W1から最短距離の配置基準点pb1を求め、当該配置基準点pb1を基準(本例では註釈枠の右上)にして対応する註釈情報C1を配置する。その後、図10(b)に例示するように、要求語W1と同じ行に存在する要求語W2について、註釈情報配置可能領域CRにおける最短距離の位置を求めると、要求号W1に対する註釈情報C1の註釈枠に重なるため、当該註釈枠の終端(本例では右下)から註釈出力領域CPの末尾方向(本例では下方向)に基準間隔Sだけずらした位置を配置基準点pb2として設定し、当該当該配置基準点pb2を基準(本例では註釈枠の右上)にして対応する註釈情報C2を配置する。
In this example, when the arrangement reference point obtained for the annotation information C for the target request word W is located in the part of the annotation frame of other annotation information C (the arrangement frame is the annotation frame of the previous annotation information C) or If it is located within the reference interval S in the direction of the end of the annotation output area CP from the end of the annotation frame, the position shifted by the reference interval S in the direction of the end of the annotation output area CP from the end of the annotation frame The reference point is set again, so that a margin of at least the reference interval S is provided between the annotation information C.
That is, as illustrated in FIG. 10A, in the annotation information arrangement possible region CR, an arrangement reference point pb1 having the shortest distance from the first request word W1 on the output page is obtained, and the arrangement reference point pb1 is used as a reference (this example) Then, corresponding annotation information C1 is arranged in the upper right of the annotation frame). Thereafter, as illustrated in FIG. 10B, when the position of the shortest distance in the annotation information arrangement possible region CR is obtained for the request word W2 existing on the same line as the request word W1, the annotation information C1 for the request number W1 is obtained. Since it overlaps with the annotation frame, a position shifted by the reference interval S from the end of the annotation frame (lower right in this example) toward the end of the annotation output region CP (downward in this example) is set as the arrangement reference point pb2. The corresponding annotation information C2 is arranged with the arrangement reference point pb2 as a reference (in this example, the upper right of the annotation frame).

ここで、註釈情報配置処理において、註釈情報配置可能領域CRの末尾側(配置基準点より後方)に対象の註釈情報Cの註釈枠を配置可能な余白領域が残存しない場合に実施される配置調整処理及び註釈領域拡張処理(図9のステップS46,S47)について、図11、図13の処理フローを参照して説明する。
配置調整処理が呼び出されると(ステップS51)、註釈情報Cが配置された註釈情報配置可能領域CR内の各余白領域(先頭の註釈情報Cより前方の余白領域、各註釈情報C間の余白領域、末尾の註釈情報Cより後方の余白領域)を検出し、末尾側の余白領域に対象の註釈情報Cを配置できるように、既に配置されている各註釈情報Cの註釈枠をずらしながら他の余白領域を一定幅(例えば、1行分)づつ詰めていくことで、末尾側の余白領域を拡大する(ステップS52)。その後、拡大された末尾側の余白領域に対象の註釈情報Cを配置可能になったか否かを判定し(ステップS53)、末尾側の余白領域の拡大によって対象の註釈情報Cを配置可能となった場合には、当該余白領域に註釈情報Cを配置する(ステップS55)。一方、末尾側の余白領域の拡大によっても対象の註釈情報Cを配置不可能であれば、註釈領域拡張処理を呼び出す(ステップS54)。
註釈領域拡張処理が呼び出されると(ステップS61)、註釈領域設定手段15に対して新たな註釈出力領域CPを生成するよう指示が出力され(ステップS62)、その指示に応じて註釈領域設定手段15により新たに用紙領域が形成されて註釈出力領域CPに追加設定され(ステップS63)、その後、要求元の処理に復帰して(ステップS64)、当該追加設定された註釈出力領域CP(新たな用紙領域)の註釈情報配置可能領域CR内に註釈情報Cを配置する(ステップS55)。
Here, in the annotation information arrangement process, the arrangement adjustment is performed when there is no remaining blank area in which the annotation frame of the target annotation information C can be arranged on the end side (after the arrangement reference point) of the annotation information arrangement possible area CR. Processing and annotation area expansion processing (steps S46 and S47 in FIG. 9) will be described with reference to the processing flows in FIGS.
When the placement adjustment process is called (step S51), each margin area in the annotation information arrangement possible area CR in which the annotation information C is arranged (a margin area in front of the first annotation information C and a margin area between each annotation information C). , The margin area behind the last annotation information C) is detected, and the other annotation information C is shifted while shifting the annotation frame so that the target annotation information C can be arranged in the trailing margin area. The margin area on the end side is expanded by narrowing the margin area by a certain width (for example, one line) (step S52). Thereafter, it is determined whether or not the target annotation information C can be arranged in the expanded margin area (step S53), and the target annotation information C can be arranged by expanding the trailing margin area. If so, the annotation information C is arranged in the margin area (step S55). On the other hand, if the target annotation information C cannot be arranged even by enlargement of the margin area on the tail side, the annotation area extension process is called (step S54).
When the annotation area expansion process is called (step S61), an instruction to generate a new annotation output area CP is output to the annotation area setting means 15 (step S62), and the annotation area setting means 15 is responded to the instruction. Thus, a new paper area is formed and additionally set in the annotation output area CP (step S63). Thereafter, the processing returns to the request source (step S64), and the additional annotation output area CP (new paper is set). The annotation information C is arranged in the annotation information arrangement possible region CR of (region) (step S55).

図12には、配置調整処理の具体例を示してある。
すなわち、図12(a)に例示するように、文書出力領域DP内に13個の要求語Wが含まれる場合において、その出現順序に沿って8番目の要求語Wに対する註釈情報Cまでを註釈出力領域CPの註釈情報配置可能領域CR内に配置した結果、註釈情報配置可能領域CRの末尾側の余白領域の大きさが9番目以降の註釈情報Cの配置に不足する場合には、他の余白領域について余白が大きい順に(より多くの余白がある領域から)詰めていき、末尾側の余白領域を拡大する。これにより、狭い余白領域についてはそのまま維持される場合があるため、このときは、要求語W間の間隔長を反映させながら末尾側の余白領域を拡大できる。
図12(a)の例では、1番目(先頭)の註釈情報Cより前方の空白領域(空白エリアa)、2番目と3番目の註釈情報C間の空白領域(空白エリアb)、5番目と6番目の註釈情報C間の空白領域(空白エリアc)、6番目と7番目の註釈情報C間の空白領域(空白エリアd)の余白が比較的大きいため、図12(b)に例示するように、これらの空白領域が狭まるように各註釈情報Cがずらされて、8番目(末尾)の註釈情報Cより後方の余白領域(空白エリアe)が拡大され、当該拡大後の末尾側の余白領域(空白エリアe)に対して9番目の註釈情報Cが配置されている。
なお、設定により、各註釈情報Cの再配置によって各註釈情報C間の間隔が基準間隔Sより狭くなるようにすることもできる。また、註釈情報Cの文字サイズや文字間隔を小さくする等により末尾側の余白領域を拡大するようにしてもよい。
FIG. 12 shows a specific example of the arrangement adjustment process.
That is, as illustrated in FIG. 12A, when 13 request words W are included in the document output area DP, the annotation information C up to the eighth request word W is annotated along the appearance order. As a result of the arrangement in the annotation information arrangement possible area CR of the output area CP, when the size of the margin area on the tail side of the annotation information arrangement possible area CR is insufficient for the arrangement of the annotation information C after the ninth, The margin areas are narrowed in order of increasing margin (from the area with more margins), and the margin area on the end side is expanded. As a result, the narrow margin area may be maintained as it is, and in this case, the trailing margin area can be enlarged while reflecting the interval length between the request words W.
In the example of FIG. 12A, a blank area ahead of the first (first) annotation information C (blank area a), a blank area between the second and third annotation information C (blank area b), and fifth Since the margin of the blank area (blank area c) between the 6th and 7th annotation information C and the blank area (blank area d) between the 6th and 7th annotation information C are relatively large, it is illustrated in FIG. As described above, each comment information C is shifted so that these blank areas are narrowed, and the blank area (blank area e) behind the eighth (tail) comment information C is expanded. The ninth comment information C is arranged for the blank area (blank area e).
In addition, by setting, the interval between the annotation information C can be made smaller than the reference interval S by rearranging the annotation information C. Further, the margin area on the end side may be enlarged by reducing the character size or character spacing of the annotation information C.

図14には、註釈領域拡張処理の具体例を示してある。
すなわち、図14(a)に例示するように、文書出力領域DP内に13個の要求語Wが含まれる場合において、その出現順に沿って、配置調整処理を行いつつ10番目の要求語Wに対する註釈情報Cまでを註釈出力領域CPの註釈情報配置可能領域CR内に配置した結果、註釈情報配置可能領域CRの末尾側の余白領域の大きさが11番目以降の註釈情報の配置に不足する場合には、図14(b)に例示するように、新たに形成された別の用紙領域を註釈出力領域CPに追加設定し、当該註釈出力領域CPの註釈情報配置可能領域CR内に残り(11番目以降)の註釈情報Cが配置されている。
ここで、本例では、新たな用紙領域を既存の註釈出力領域CPが設定された用紙領域に重ねて形成しているが、別方向に(例えば、文書出力領域DPの右側に)新たな用紙領域を形成してもよい。また、このような用紙領域の追加による註釈出力領域CPの拡張ではなく、註釈出力領域CPが設定された用紙領域をより大きいものに変更することで註釈出力領域CPの拡張を行うようにしてもよい。なお、本例では、操作者の指定により、いずれの態様により註釈出力領域CPの拡張を行うかを選択している。
FIG. 14 shows a specific example of the annotation area expansion process.
That is, as illustrated in FIG. 14A, in the case where 13 request words W are included in the document output area DP, the tenth request word W with respect to the 10th request word W while performing the arrangement adjustment process in the order of appearance. As a result of arranging up to the annotation information C in the annotation information arrangement possible area CR of the annotation output area CP, the size of the margin area on the tail side of the annotation information arrangement possible area CR is insufficient for the arrangement of the eleventh and subsequent annotation information As shown in FIG. 14B, another newly formed paper area is additionally set in the annotation output area CP, and remains in the annotation information arrangement possible area CR of the annotation output area CP (11 Comment information C) is arranged.
Here, in this example, a new paper area is formed so as to overlap the paper area where the existing annotation output area CP is set, but a new paper area is formed in another direction (for example, on the right side of the document output area DP). A region may be formed. Also, the annotation output area CP may be expanded by changing the sheet area in which the annotation output area CP is set to a larger one instead of expanding the annotation output area CP by adding the sheet area. Good. In this example, the annotation output area CP is selected to be expanded according to the designation of the operator.

対応関係明示手段17は、文書出力領域DP内の要求語Wとこれに対応する註釈出力領域CP内の註釈情報Cとの対応関係を示す表示(本例では、要求語Wとその註釈情報Cとを結ぶパスラインL)を付加する。
本例の対応関係明示手段17では、その処理フローを図15に例示するように、註釈出力領域CP内の全ての註釈情報Cについて、その註釈枠の右端(文書出力領域DP側)中心部の座標を求め(ステップS71)、また、その註釈情報Cに対応する要求語Wを取り囲む矩形の左端(註釈出力領域CP側)中心部の座標を求め(ステップS72)、対応する要求語W及び註釈情報Cを結ぶ直線又は曲線(パスラインL)を描画する(ステップS73)。これらの処理を、全ての出力頁について行い(ステップS74)、処理結果をメモリに格納し(ステップS75)、表示・印刷処理へと移行する(ステップS76)。
なお、文書出力領域DP内の文字列に被らないようにパスラインLを引いてもよい(行間や周囲の余白部分を通してパスラインLを引く)。
The correspondence specifying means 17 displays the correspondence between the request word W in the document output area DP and the corresponding comment information C in the comment output area CP (in this example, the request word W and its comment information C). Pass line L) is added.
In the correspondence clarification means 17 of this example, as shown in FIG. 15, the processing flow is shown at the center of the right end (document output area DP side) of the comment frame for all the comment information C in the comment output area CP. The coordinates are obtained (step S71), and the coordinates of the center of the left end (annotation output area CP side) of the rectangle surrounding the request word W corresponding to the comment information C are obtained (step S72). A straight line or a curve (pass line L) connecting the information C is drawn (step S73). These processes are performed for all output pages (step S74), the process result is stored in the memory (step S75), and the process proceeds to the display / print process (step S76).
Note that the pass line L may be drawn so as not to cover the character string in the document output area DP (the pass line L is drawn through a line space or a surrounding margin).

図16には対応関係明示処理の具体例を示してあり、1番目の要求語W1とその註釈情報C1を最短距離で結ぶ直線L1、2番目の要求語W2とその註釈情報C2を最短距離で結ぶ直線L2、3番目の要求語W3とその註釈情報C3を最短距離で結ぶ直線L3、・・・、によりそれぞれの対応関係を明示的(視覚的)に表示している。
なお、要求語Wと註釈情報Cの対応関係が明確になればよいため、これらをパスラインLで繋ぐ位置としてはそれぞれの中央部分に限定されず、例えば、上端部分又は下端部分を繋げるといったように他の繋げ方を採用してもよい。また、パスラインLにより対応関係を表す態様の他、対応する要求語Wと註釈情報Cに共通の番号やアルファベット等の識別符号を付すことにより対応関係を表すようにしてもよく、或いは、要求語Wと註釈情報Cの組毎に表示属性(例えば背景色)を変化させる等により対応関係を表すようにしてもよい。
FIG. 16 shows a specific example of the correspondence clarification processing. The straight line L1 connecting the first request word W1 and the annotation information C1 with the shortest distance, and the second request word W2 and the annotation information C2 with the shortest distance. The corresponding relationship is clearly (visually) displayed by a straight line L2, a straight line L3 connecting the third request word W3 and its annotation information C3 with the shortest distance.
Since the correspondence relationship between the request word W and the comment information C only needs to be clarified, the position where these are connected by the pass line L is not limited to the central portion, and for example, the upper end portion or the lower end portion is connected. Other connection methods may be adopted. Further, in addition to the manner in which the correspondence relationship is represented by the pass line L, the correspondence relationship may be represented by adding a common number, an alphabet or other identification code to the corresponding request word W and the annotation information C, or The correspondence relationship may be expressed by changing the display attribute (for example, background color) for each set of the word W and the annotation information C.

表示・印刷手段19は、文書出力領域DPの内容と註釈出力領域CPの内容を表示装置により一体的に表示出力させる。または、文書出力領域DPの内容と註釈出力領域CPの内容を印刷装置により同一用紙に印刷出力させ、或いは、隣接する位置関係の別用紙にそれぞれ印刷出力させる。なお、隣接する位置関係の別用紙にそれぞれ印刷出力させる場合には、印刷設定変更手段18により各出力用紙の周縁に設けられる余白領域を調整(例えば、余白なし)しておくことで、それぞれの出力用紙を机上に配置した場合にパスラインLが見映え良く繋がるようになる。   The display / printing means 19 causes the display device to integrally display and output the contents of the document output area DP and the contents of the annotation output area CP. Alternatively, the contents of the document output area DP and the contents of the annotation output area CP are printed out on the same sheet by the printing apparatus, or are printed out on different sheets of adjacent positional relationships. In the case where printing is performed on separate sheets of adjacent positional relationship, the margin setting provided at the periphery of each output sheet is adjusted (for example, no margin) by the print setting changing unit 18, so When the output paper is arranged on the desk, the pass line L is connected with good appearance.

なお、上述した文書処理装置の各機能及びその処理内容は一例に過ぎず、以下に、他の構成例を幾つか示しておく。
一構成例として、要求語Wに対応する註釈情報Cの配置位置を、上述した最短距離法ではなく、エリア対エリア型のマッピング法を用いて決定する。すなわち、文書出力領域DPと註釈出力領域CPとを、互いの領域間で対応関係を持たせて複数の区画(エリア)に区分けしておき、文書出力領域DP内の要求語Wが存在する区画と対応関係を有する註釈出力領域CP内の区画を基準にして、当該要求語Wに対応する註釈情報Cを配置する。
The functions of the document processing apparatus described above and the processing contents thereof are merely examples, and some other configuration examples are shown below.
As an example of the configuration, the arrangement position of the annotation information C corresponding to the request word W is determined using an area-to-area mapping method instead of the shortest distance method described above. That is, the document output area DP and the comment output area CP are divided into a plurality of sections (areas) with a correspondence relationship between the areas, and the section where the request word W exists in the document output area DP. The annotation information C corresponding to the request word W is arranged with reference to the section in the annotation output area CP having the correspondence relationship with the request word W.

具体的には、図17に例示するように、文書出力領域DPを左右に2分割すると共に左右の各領域をそれぞれ8分割し、これにより16分割された各区画(L1〜L8、R1〜R8)に合わせて、文書出力領域DPの左右にそれぞれ註釈出力領域CPL、CPRを設けると共に各領域CPL、CPRをそれぞれ8分割し、左側の註釈出力領域CPLの各区画(A1〜A8)を文書出力領域DPにおける左側の各区画(L1〜L8)にそれぞれ対応付けし、右側の註釈出力領域CPRの各区画(A1〜A8)を文書出力領域DPにおける右側の各区画(R1〜R8)に対応付けしておく。そして、例えば、文書出力領域DPにおける区画L2に存在する要求語Wについては、この区画L2に対応する左側の註釈出力領域CPLの区画A2に、その註釈情報Cを配置する。なお、既に他の註釈情報Cが区画A2に存在する等の理由により註釈情報Cを配置できない場合には、その下側(例えば区画A3)にずらして配置してもよい。   Specifically, as illustrated in FIG. 17, the document output region DP is divided into left and right, and each of the left and right regions is divided into 8 parts, whereby each of the 16 divided sections (L1 to L8, R1 to R8). ), Comment output areas CPL and CPR are provided on the left and right sides of the document output area DP, respectively, and each area CPL and CPR is divided into eight parts, and each section (A1 to A8) of the left comment output area CPL is output as a document. Corresponding to each left section (L1 to L8) in the area DP, each section (A1 to A8) in the right annotation output area CPR is associated to each right section (R1 to R8) in the document output area DP. Keep it. For example, for the request word W existing in the section L2 in the document output area DP, the annotation information C is arranged in the section A2 of the left-side annotation output area CPL corresponding to the section L2. If the annotation information C cannot be arranged because another annotation information C already exists in the section A2, it may be shifted to the lower side (for example, the section A3).

一構成例として、出力頁の段組構成を解析する解析手段を設け、その解析結果の段組構成に応じた位置関係で註釈出力領域CPを配置する設定態様を提案的に表示して、操作者による設定態様及び拡張態様の指定に供されるようにし、或いは、解析結果の段組構成に応じた位置関係で註釈出力領域CPを配置するように自動的に決定する。
具体的には、図18に例示するように、出力頁が左右2段組の場合には、文書出力領域DPの左右に註釈出力領域CPを設定した上で、左側の段組部分の要求語Wに対する註釈情報Cは左側の註釈出力領域CPに配置し、右側の段組部分の要求語Wに対する註釈情報Cは右側の註釈出力領域CPに配置するようにする。
一構成例として、文書出力領域DP内の余白領域(原文の余白部分)を註釈出力領域CPに設定し、文書出力領域DP外の註釈出力領域CPと連続的に使用する。
As one configuration example, an analysis means for analyzing the column configuration of the output page is provided, and a setting mode in which the annotation output region CP is arranged in a positional relationship according to the column configuration of the analysis result is proposed and operated. It is used to specify the setting mode and the expansion mode by the user, or it is automatically determined so that the annotation output region CP is arranged in a positional relationship according to the column configuration of the analysis result.
Specifically, as illustrated in FIG. 18, when the output page is a left and right two-column set, a comment output region CP is set on the left and right of the document output region DP, and the left side column request word The annotation information C for W is arranged in the left annotation output area CP, and the annotation information C for the request word W in the right column is arranged in the right annotation output area CP.
As one configuration example, a blank area (a blank portion of the original text) in the document output area DP is set as the annotation output area CP, and is used continuously with the annotation output area CP outside the document output area DP.

一構成例として、文書出力領域DP及び註釈出力領域CPが表示装置により表示出力されている場合において、その出力頁について新たに語句を指定して要求語Wに追加し又は要求語Wの指定を解除する操作を操作者から受け付けると、註釈情報配置手段16等により要求語Wの追加又は解除に伴って各註釈情報Cを配置し直し、また、対応関係明示手段17により要求語Wと註釈情報Cの対応関係を示す表示(例えばパスラインL)を付加し直して、これら処理した結果を表示装置により表示出力させる。
具体的には、図19(a)に例示するように、8個の要求語Wが指定され、それぞれに対応する8個の註釈情報Cが配置されいている場合において、新たに9番目の要求語Wが追加された場合には、図19(b)に例示するように、この要求語Wに対応する位置にその註釈情報Cを配置するために既存(1〜8番目)の註釈情報をずらして余白領域を形成し、この余白領域に9番目の註釈情報Cを配置する。
As one configuration example, when the document output area DP and the annotation output area CP are displayed and output by the display device, a new word is specified for the output page and added to the request word W, or the request word W is specified. When an operation to cancel is received from the operator, each comment information C is rearranged in accordance with the addition or release of the request word W by the comment information arrangement means 16 or the like, and the request word W and the comment information are displayed by the correspondence clarification means 17. A display indicating the correspondence relationship of C (for example, pass line L) is added again, and the processing results are displayed and output by the display device.
Specifically, as illustrated in FIG. 19A, in the case where eight request words W are designated and eight pieces of comment information C corresponding thereto are arranged, the ninth request is newly added. When the word W is added, as shown in FIG. 19B, the existing (1st to 8th) comment information is used to place the comment information C at the position corresponding to the request word W. A blank area is formed by shifting, and the ninth annotation information C is arranged in this blank area.

要求語Wの追加又は解除のやり方としては、例えば、対象の語句を選択状態にしてメニューから「註釈表示」を選ぶ操作がなされることで当該語句を要求語Wに追加し、或いは、要求語Wに指定されている語句を選択状態にしてメニューから「註釈を隠す」を選ぶ操作がなされることで当該要求語Wの指定を解除する。なお、これらの操作に伴ってリアルタイムに(即座に)註釈情報Cの再配置を行ってもよく、要求語Wの追加又は解除の操作の後で再配置の指示を受け付けたことに応じて註釈情報Cの再配置等を行ってもよい。
また、例えば、文書の頁内容が印刷出力されている用紙であって要求語Wに指定する語句に対して特定の印が明示的に付された(例えば、予め設定された色でマーキングされた)状態の用紙を読み取り対象として「註釈付きスキャン」の操作ボタンが押された場合に、その読み取り画像を出力頁とした文書出力領域DP及び註釈出力領域CPを表示装置により表示出力し、この出力内容に対する上記の要求語Wの追加又は解除の操作に伴って、註釈情報Cの再配置等を行ってもよい。
As a method of adding or canceling the request word W, for example, an operation of selecting the target word / phrase and selecting “display comment” from the menu is performed, and the word / phrase is added to the request word W, or When the word specified in W is selected and an operation of selecting “Hide Comment” from the menu is performed, the specification of the requested word W is canceled. Note that the comment information C may be rearranged in real time (immediately) in accordance with these operations, and in response to receiving a rearrangement instruction after an operation for adding or canceling the request word W. Information C may be rearranged or the like.
In addition, for example, a specific mark is explicitly added to a phrase specified in the request word W on a paper on which the page content of a document is printed out (for example, marked with a preset color) ) When the “scan with annotations” operation button is pressed with the paper in the state being read, the document output area DP and the annotation output area CP with the read image as the output page are displayed and output by the display device. The annotation information C may be rearranged in accordance with the operation of adding or canceling the request word W to the contents.

一構成例として、註釈領域設定手段15は、出力頁より大きい用紙領域を形成し、当該用紙領域を上下方向又は左右方向に3分割したうちの中央の領域を文書出力領域DPに設定すると共に、当該用紙領域内の残余の2つの領域(上側の領域と下側の領域、又は左側の領域と右側の領域)を註釈出力領域CPに設定しておき、一方の註釈出力領域CPに配置予定の註釈情報Cについて当該註釈出力領域CPの領域不足により未配置の註釈情報Cが生じた場合には、当該註釈出力領域CPが拡大する方向へ用紙領域内の文書出力領域DPを移動させる移動手段を設け、これにより拡大された註釈出力領域CPへ未配置の註釈情報Cを配置する。   As an example of the configuration, the comment area setting means 15 forms a paper area larger than the output page, sets the central area of the paper area divided into three in the vertical direction or the horizontal direction as the document output area DP, The remaining two areas (the upper area and the lower area, or the left area and the right area) in the paper area are set as the annotation output area CP, and are to be arranged in one annotation output area CP. A moving means for moving the document output area DP in the paper area in the direction in which the annotation output area CP expands when the annotation information C is not arranged due to the lack of the annotation output area CP. An annotation information C that has not been arranged is arranged in the annotation output area CP that has been provided and thus expanded.

すなわち、図20に処理フローを例示するように、初期設定された註釈出力領域CPの一方について、未配置の註釈情報Cが生じることが検出された場合には(ステップS81)、他方の註釈出力領域CPの配置可能文字数(LC)を算定し(ステップS82)、要求語Wnに対応する註釈情報Cnの文字数(ACn)を参照し(ステップS83)、他方の註釈出力領域CPの配置可能文字数が註釈情報Cnの文字数より大きいか否か(LC>ACn)を判定し(ステップS84)、他方の註釈出力領域CPの配置可能文字数が註釈情報Cnの文字数以下の場合には、註釈情報Cnを配置不可能と判定して(ステップS89)、上述した註釈領域拡張処理を呼び出す(ステップS90)。
一方、他方の註釈出力領域CPの配置可能文字数が註釈情報Cnの文字数より大きい場合には、註釈情報Cnを配置可能と判定して(ステップS85)、文書出力領域DPの移動量を算定して記録し(ステップS86)、これを未配置の各要求語Wnについて繰り返し行って(ステップS87)、その後、前記算定された移動量に応じて文書出力領域DPを移動させて前記一方の註釈出力領域CPを拡大し、当該拡大された註釈出力領域CPに未配置の各要求語Wnを配置する(ステップS88)。
That is, as illustrated in the processing flow in FIG. 20, when it is detected that unallocated annotation information C is generated in one of the initially set annotation output areas CP (step S81), the other annotation output is output. The number of characters (LC) that can be arranged in the region CP is calculated (step S82), the number of characters (ACn) in the annotation information Cn corresponding to the request word Wn is referred to (step S83), and the number of characters that can be arranged in the other annotation output region CP is It is determined whether or not the number of characters in the annotation information Cn is larger (LC> ACn) (step S84). If the number of characters that can be arranged in the other annotation output area CP is less than or equal to the number of characters in the annotation information Cn, the annotation information Cn is arranged. It is determined that it is impossible (step S89), and the annotation area expansion process described above is called (step S90).
On the other hand, if the number of characters that can be arranged in the other annotation output area CP is larger than the number of characters in the annotation information Cn, it is determined that the annotation information Cn can be arranged (step S85), and the movement amount of the document output area DP is calculated. Recording is performed (step S86), and this is repeatedly performed for each unallocated request word Wn (step S87). Thereafter, the document output area DP is moved according to the calculated movement amount, and the one annotation output area is recorded. The CP is enlarged, and the unassigned request words Wn are arranged in the expanded annotation output area CP (step S88).

具体的には、図21(a)に例示するように、A4縦の用紙領域が割り当てられた出力頁について、これより大きいA3横の用紙領域が形成され、その左右中央部に文書出力領域DPが設定されると共に、文書出力領域DPにより均等に区分された左右の2つの領域がそれぞれ註釈出力領域CPL、CPRに設定されている場合において、図21(b)に例示するように、左側の註釈出力領域CPLの領域不足により未配置の註釈情報Cが生じた場合には、図21(c)に例示するように、左側の註釈出力領域CPLが拡大する方向に文書出力領域DPを移動(本例では右側へ移動)させて、これにより拡大された左側の註釈出力領域CPLに未配置の註釈情報Cを配置する。   More specifically, as illustrated in FIG. 21A, for an output page to which an A4 vertical paper area is allocated, a larger A3 horizontal paper area is formed, and a document output area DP is formed at the left and right central portions thereof. Is set, and the left and right two areas equally divided by the document output area DP are set as the comment output areas CPL and CPR, respectively, as illustrated in FIG. If unplaced annotation information C is generated due to a shortage of the annotation output area CPL, the document output area DP is moved in the direction in which the annotation output area CPL on the left side expands as illustrated in FIG. In this example, the annotation information C that has not been arranged is arranged in the annotation output area CPL on the left side that has been enlarged.

図22には、本例に係る文書処理装置を構成するコンピュータの主要なハードウェアを例示してある。
本例では、各種演算処理を行うCPU21、CPU21の作業領域となるRAM22、基本的な制御プログラムを記録したROM23、本発明の一実施形態に係るプログラムや各種データを記憶する補助記憶装置(例えば、HDD等の磁気ディスクや、フラッシュメモリ等の書き換え可能な不揮発性メモリなど)24、各種情報を表示出力するための表示装置や操作者により入力操作に用いられるキーボードやマウス等の入力機器とのインターフェースである入出力I/F25、他の装置との間で有線又は無線により通信を行うインターフェースである通信I/F26、等のハードウェア資源を有するコンピュータにより構成されている。
そして、本発明の一実施形態に係るプログラムを補助記憶装置24等から読み出してRAM32に展開し、これをCPU21により実行させることで、本発明の一実施形態に係る文書処理装置をコンピュータ上に実現している。
FIG. 22 illustrates the main hardware of a computer constituting the document processing apparatus according to this example.
In this example, a CPU 21 that performs various arithmetic processes, a RAM 22 that is a work area of the CPU 21, a ROM 23 that records a basic control program, an auxiliary storage device that stores programs and various data according to an embodiment of the present invention (for example, 24), a display device for displaying and outputting various information, and an interface with an input device such as a keyboard and a mouse used for an input operation by an operator. The input / output I / F 25 is a computer having hardware resources such as a communication I / F 26 that is an interface for performing wired or wireless communication with other devices.
Then, the document processing apparatus according to the embodiment of the present invention is realized on the computer by reading the program according to the embodiment of the present invention from the auxiliary storage device 24 and the like, developing the program in the RAM 32, and causing the CPU 21 to execute the program. doing.

なお、1台のコンピュータにより文書処理装置を実現してもよく、各機能部を複数台のコンピュータに分散して設けて文書処理装置を実現してもよい。
また、本発明の一実施形態に係るプログラムは、例えば、当該プログラムを記憶したCD−ROM等の外部記憶媒体から読み込む形式や、通信回線等を介して受信する形式などにより、本例に係るコンピュータに設定される。
また、本例のようなソフトウェア構成により各機能部を実現する態様に限られず、それぞれの機能部を専用のハードウエアモジュールで実現するようにしてもよい。
Note that the document processing apparatus may be realized by a single computer, or each functional unit may be distributed and provided in a plurality of computers to realize the document processing apparatus.
In addition, the program according to the embodiment of the present invention may be a computer according to the present example, for example, in a format read from an external storage medium such as a CD-ROM storing the program or a format received via a communication line. Set to
Moreover, it is not restricted to the aspect which implement | achieves each function part by software configuration like this example, You may make it implement | achieve each function part with a dedicated hardware module.

11…註釈情報表示・印刷指示手段、 12…註釈要求語/註釈情報ペア取得手段、 13…註釈要求語ページ内位置情報取得手段、 14…註釈情報量算定手段、 15…註釈領域設定手段、 16…註釈情報配置手段、 17…対応関係明示手段、 18…印刷設定変更手段、 19…表示・印刷手段、
DP…文書出力領域、 CP…註釈出力領域、 CR…註釈情報配置可能領域、 要求語W、 C…註釈情報、 L…パスライン
11: Annotation information display / print instruction means, 12: Annotation request word / annotation information pair acquisition means, 13: Annotation request word page position information acquisition means, 14 ... Annotation information amount calculation means, 15 ... Annotation area setting means, 16 ... annotation information arrangement means, 17 ... correspondence clarification means, 18 ... print setting change means, 19 ... display / printing means,
DP: Document output area, CP: Annotation output area, CR: Annotation information placement area, Request word W, C: Annotation information, L: Pass line

Claims (12)

関連情報の出力を要求する要求語が含まれる文書であって印刷時の用紙サイズが指定された文書について、1枚以上の用紙の片面を用いて前記用紙サイズより大きい用紙領域を形成し、当該用紙領域内に、前記文書の内容が出力される文書出力領域を前記用紙サイズそのままで設定するとともに、当該用紙領域内における文書出力領域とは別の領域に、文書出力領域内の要求語に対応する関連情報が出力される関連情報出力領域設定する設定手段と、
文書出力領域内の要求語の位置に応じた関連情報出力領域内の位置に当該要求語の関連情報を配置する配置手段と、
文書出力領域内の要求語と当該要求語について前記配置手段により関連情報出力領域内に配置された関連情報との対応関係を示す表示を付加する付加手段と、
を備えたことを特徴とする文書処理装置。
Forming a paper area larger than the paper size by using one side of one or more papers for a document including a request word for requesting output of related information and having a paper size specified at the time of printing; In the paper area, the document output area in which the content of the document is output is set with the paper size as it is , and the request word in the document output area corresponds to a different area from the document output area in the paper area. Setting means for setting a related information output area in which related information is output;
Arrangement means for arranging the related information of the request word at a position in the related information output area according to the position of the request word in the document output area;
An adding means for adding a display indicating a correspondence relationship between the request word in the document output area and the related information arranged in the related information output area by the arrangement means for the request word;
A document processing apparatus comprising:
前記配置手段は、文書出力領域内の要求語の位置から最短距離の関連情報出力領域内の位置を基準にして、当該要求語の関連情報を配置する、
ことを特徴とする請求項1に記載の文書処理装置。
The arrangement means arranges the related information of the request word with reference to the position in the related information output area of the shortest distance from the position of the request word in the document output area.
The document processing apparatus according to claim 1.
文書出力領域及び関連情報出力領域は、互いの領域間で対応関係を持たせて複数の区画に区分けされており、
前記配置手段は、文書出力領域内の要求語が存在する区画と対応関係を有する関連情報出力領域内の区画を基準にして、当該要求語の関連情報を配置する、
ことを特徴とする請求項1に記載の文書処理装置。
The document output area and the related information output area are divided into a plurality of sections with a correspondence relationship between the areas.
The arrangement means arranges the related information of the request word with reference to the section in the related information output area having a correspondence relationship with the section where the request word exists in the document output area.
The document processing apparatus according to claim 1.
前記配置手段は、複数の要求語にそれぞれ対応する複数の関連情報を関連情報出力領域に配置する処理において、文書出力領域における要求語の出現順に、各関連情報をそれぞれの間に余白を設けて関連情報出力領域の末尾方向に順番に配置していき、関連情報の配置先となる関連情報出力領域の末尾側の余白が不足する場合には、既に配置されている関連情報をずらして末尾側の余白を拡大してから関連情報を配置する、
ことを特徴とする請求項1乃至請求項3のいずれか1項に記載の文書処理装置。
In the process of arranging a plurality of pieces of related information respectively corresponding to a plurality of request words in the related information output area, the arrangement means provides a margin between the pieces of related information in the order of appearance of the request words in the document output area. Related information will be placed in order in the end direction of the output area, if the end side of the margin of the related information output area to be located destination of the related information is insufficient, the end-side by shifting the related information already arranged Expand the margins and place related information
The document processing apparatus according to any one of claims 1 to 3, wherein the document processing apparatus includes:
前記配置手段は、既に配置されている関連情報をずらすにあたり、関連情報出力領域における末尾側の余白以外の余白について、余白が大きい順にその余白が狭まるように関連情報をずらしていく、
ことを特徴とする請求項4に記載の文書処理装置。
The arrangement means, when shifting the related information that has already been arranged, for the margins other than the trailing margin in the related information output area, the related information is shifted so that the margins are narrowed in order of increasing margins.
The document processing apparatus according to claim 4.
前記設定手段は、前記用紙サイズより大きい1枚の用紙の片面を用いて用紙領域を形成し、当該用紙領域内に文書出力領域を設定すると共に、当該用紙領域内の残余の領域を関連情報出力領域に設定する、
ことを特徴とする請求項1乃至請求項5のいずれか1項に記載の文書処理装置。
The setting unit forms a paper area using one side of a sheet larger than the paper size , sets a document output area in the paper area, and outputs related information in the remaining area in the paper area. Set the area,
The document processing apparatus according to any one of claims 1 to 5, wherein the document processing apparatus includes:
前記設定手段は、前記用紙サイズの複数枚の用紙の片面を用いて用紙領域を形成し、当該用紙領域内の1枚の用紙部分に文書出力領域を設定すると共に、当該用紙領域内の他の用紙部分を関連情報出力領域に設定する、
ことを特徴とする請求項1乃至請求項5のいずれか1項に記載の文書処理装置。
The setting means forms a paper area using one side of a plurality of papers of the paper size, sets a document output area for one paper portion in the paper area, and sets other areas in the paper area. Set the paper part in the related information output area,
The document processing apparatus according to any one of claims 1 to 5, wherein the document processing apparatus includes:
前記配置手段により複数の要求語にそれぞれ対応する複数の関連情報を関連情報出力領域に配置する処理において、関連情報出力領域の領域不足により未配置の関連情報が生じた場合に、関連情報出力領域が設定された用紙領域をより大きい用紙領域に変更し、又は、新たな用紙領域を形成して当該用紙領域を関連情報出力領域に追加して、関連情報出力領域の拡張を行う拡張手段を備え、
前記配置手段は、前記未配置の関連情報を前記拡張手段により拡張された関連情報出力領域に配置する、
ことを特徴とする請求項6又は請求項7に記載の文書処理装置。
In the process of arranging a plurality of related information corresponding to the plurality of request word by said locating means in the related information output area, if the relevant information unoccupied by lack of space-related information output area occurs, the related information outputting region An expansion unit that expands the related information output area by changing the paper area to which the value is set to a larger paper area or forming a new paper area and adding the paper area to the related information output area ,
The arrangement unit arranges the non-arranged related information in a related information output area expanded by the expansion unit.
The document processing apparatus according to claim 6 or 7, wherein
前記設定手段は、前記用紙サイズより大きい用紙領域を形成し、当該用紙領域を上下方向又は左右方向に3分割したうちの中央の領域を文書出力領域に設定すると共に、当該用紙領域内の残余の2つの領域を関連情報出力領域に設定し、
前記配置手段により複数の要求語にそれぞれ対応する複数の関連情報を関連情報出力領域に配置する処理において、一方の関連情報出力領域に配置予定の関連情報について当該一方の関連情報出力領域の領域不足により未配置の関連情報が生じた場合に、当該一方の関連情報出力領域が拡大する方向へ文書出力領域を移動させる移動手段を備え、
前記配置手段は、前記未配置の関連情報を前記移動手段により拡大された前記一方の関連情報出力領域に配置する、
ことを特徴とする請求項1乃至請求項5のいずれか1項に記載の文書処理装置。
The setting means forms a paper area larger than the paper size , sets the central area of the paper area divided into three in the vertical direction or the horizontal direction as a document output area, and sets the remaining area in the paper area. Set two areas as related information output areas,
In the process of arranging a plurality of related information corresponding to the plurality of request word by said locating means in the related information output area, shortage area of the one of the related information output area for additional information about the planned placement on one of the related information output area And moving means for moving the document output area in a direction in which the one related information output area expands when unallocated related information occurs.
The arrangement means arranges the non-arranged related information in the one related information output area enlarged by the moving means,
The document processing apparatus according to any one of claims 1 to 5, wherein the document processing apparatus includes:
文書出力領域に出力される頁の段組構成を解析する解析手段を備え、
前記設定手段は、前記解析手段により解析された段組構成に応じた位置関係で、それぞれの段組内の要求語に対応する関連情報が配置される複数の関連情報出力領域を設定する、
ことを特徴とする請求項1乃至請求項9のいずれか1項に記載の文書処理装置。
An analysis means for analyzing a column structure of pages output to the document output area;
The setting means sets a plurality of related information output areas in which related information corresponding to request words in each column is arranged in a positional relationship according to the column structure analyzed by the analyzing unit.
The document processing apparatus according to claim 1, wherein the document processing apparatus is a document processing apparatus.
文書出力領域及び関連情報出力領域を表示装置により表示させる表示手段と、
文書出力領域に表示されている頁について、新たに語句を指定して要求語に追加し又は要求語の指定を解除する操作を受け付ける受付手段と、を備え、
前記配置手段は、前記受付手段により要求語を追加又は解除する操作が受け付けられたことに応じて関連情報を配置し直し、
前記付加手段は、前記配置手段により関連情報が配置し直されたことに応じて、文書出力領域内の要求語と当該要求語について前記配置手段により関連情報出力領域内に配置された関連情報との対応関係を示す表示を付加し直す、
ことを特徴とする請求項1乃至請求項10のいずれか1項に記載の文書処理装置。
Display means for displaying the document output area and the related information output area on the display device;
With respect to the page displayed in the document output area, a reception means for accepting an operation for newly specifying a phrase and adding it to the requested word or canceling the designation of the requested word,
The arrangement unit rearranges the related information in response to an operation for adding or canceling a request word received by the reception unit,
The adding means includes a request word in the document output area and related information arranged in the related information output area by the arranging means for the request word in response to the related information being rearranged by the arranging means. Re-add the display showing the correspondence of
The document processing apparatus according to claim 1, wherein the document processing apparatus is configured as described above.
関連情報の出力を要求する要求語が含まれる文書であって印刷時の用紙サイズが指定された文書について、1枚以上の用紙の片面を用いて前記用紙サイズより大きい用紙領域を形成し、当該用紙領域内に、前記文書の内容が出力される文書出力領域を前記用紙サイズそのままで設定するとともに、当該用紙領域内における文書出力領域とは別の領域に、文書出力領域内の要求語に対応する関連情報が出力される関連情報出力領域設定する設定機能と、
文書出力領域内の要求語の位置に応じた関連情報出力領域内の位置に当該要求語の関連情報を配置する配置機能と、
文書出力領域内の要求語と当該要求語について前記配置機能により関連情報出力領域内に配置された関連情報との対応関係を示す表示を付加する付加機能と、
をコンピュータに実現させるためのプログラム。
Forming a paper area larger than the paper size by using one side of one or more papers for a document including a request word for requesting output of related information and having a paper size specified at the time of printing; In the paper area, the document output area in which the content of the document is output is set with the paper size as it is , and the request word in the document output area corresponds to a different area from the document output area in the paper area. A setting function to set the related information output area where related information is output,
An arrangement function for arranging the related information of the request word at a position in the related information output area according to the position of the request word in the document output area;
An additional function for adding a display showing a correspondence relationship between the request word in the document output area and the related information arranged in the related information output area by the arrangement function for the request word;
A program to make a computer realize.
JP2009171159A 2009-07-22 2009-07-22 Document output apparatus and program Expired - Fee Related JP5326903B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009171159A JP5326903B2 (en) 2009-07-22 2009-07-22 Document output apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009171159A JP5326903B2 (en) 2009-07-22 2009-07-22 Document output apparatus and program

Publications (2)

Publication Number Publication Date
JP2011029757A JP2011029757A (en) 2011-02-10
JP5326903B2 true JP5326903B2 (en) 2013-10-30

Family

ID=43638027

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009171159A Expired - Fee Related JP5326903B2 (en) 2009-07-22 2009-07-22 Document output apparatus and program

Country Status (1)

Country Link
JP (1) JP5326903B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006262152A (en) * 2005-03-17 2006-09-28 Fuji Xerox Co Ltd Image forming method and device, and program

Also Published As

Publication number Publication date
JP2011029757A (en) 2011-02-10

Similar Documents

Publication Publication Date Title
CN100454293C (en) Document editing method, document editing device
WO2006046523A1 (en) Document analysis system and document adaptation system
JP2007149061A (en) Layout system, layout program and layout method
JP2005122728A (en) User interface for creation and editing of variable data document
WO1998008168A1 (en) Original text generating apparatus and its program storage medium
US10324665B2 (en) Document processing system for processing a print job
JP2009258966A (en) Display controller and display control method
JP2008186292A (en) Image processor and program
JP2009087270A (en) Image processing device and program
EP1927923A2 (en) Document edit support device, document edit device, program and computer-readable storage medium
JP5326903B2 (en) Document output apparatus and program
KR20050106559A (en) Method for outputting document form sheet
JP2011170872A (en) Data processing device, control method and computer program
JP4306725B2 (en) Printing support system, printing support program, and printing support method
JP2006228131A (en) Document data processor and document data processing method
JP2000293592A (en) Layout data conversion method and device, and storage medium
JP4521218B2 (en) Image forming system, information processing apparatus, image forming apparatus, image forming method, and image forming program
JP4960188B2 (en) Screen transition diagram display method and system
JP2005276159A (en) Device for creating circuit drawing display data, its program, and method for creating circuit drawing display data
JP3029822B2 (en) Document processing apparatus, document processing method, and computer-readable recording medium recording program for causing computer to execute the method
JP4474670B2 (en) Document shaping apparatus and document shaping method
JP4581899B2 (en) Printer driver and control device
JP2021063863A (en) Information processing apparatus, program, and information processing method
JPH04148468A (en) Format setting device
JPH1091693A (en) Data output device

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20101119

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20110505

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120620

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130319

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130516

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130625

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130708

R150 Certificate of patent or registration of utility model

Ref document number: 5326903

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees