JPH05151210A - Device for supporting document preparation - Google Patents

Device for supporting document preparation

Info

Publication number
JPH05151210A
JPH05151210A JP31274191A JP31274191A JPH05151210A JP H05151210 A JPH05151210 A JP H05151210A JP 31274191 A JP31274191 A JP 31274191A JP 31274191 A JP31274191 A JP 31274191A JP H05151210 A JPH05151210 A JP H05151210A
Authority
JP
Japan
Prior art keywords
document
stored
capacity
storing
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP31274191A
Other languages
Japanese (ja)
Inventor
Tsuneji Ikeo
常次 池尾
Takeshi Tanaka
剛 田中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP31274191A priority Critical patent/JPH05151210A/en
Publication of JPH05151210A publication Critical patent/JPH05151210A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/30Hydrogen technology
    • Y02E60/50Fuel cells

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To form a document obtained under the sufficient consideration of easy reading and appearance in the case of forcedly storing the contents of the document in a certain fixed capacity. CONSTITUTION:A decision part 3 is started by an instruction from an instruction part 1 and whether a document stored in a document storing part 2 is stored in specified capacity or not is decided. When the document is not stored in the specified capacity, an extraction part 5 is started to extract a storing method for storing the document in the specified capacity based upon the contents of a knowledge data base 4 and the contents and attributes of the document stored in the storing part 2. An execution part 7 applies the storing method to the document stored in the storing part 2 by using the document editing function of a document editing part 6. Then the extraction part 5 starts the decision part 3 again in order to check whether the document stored in the storing part 2 has been stored in the specified capacity or not. At the time of deciding that the document is not stored in the specified capacity, the decision part 3 restarts the extraction 5 again to repeat said processing until the document is stored in the specified capacity.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、文書を入力編集して
作成する文書作成支援装置に関し、特に文書内容を定め
られた容量内に強制的に収める機能を有する文書作成支
援装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document creation support apparatus for inputting and editing a document to create it, and more particularly to a document creation support apparatus having a function of forcibly storing the content of a document within a predetermined capacity.

【0002】[0002]

【従来の技術】一般に、ワードプロセッサ、ワークステ
ーション、パーソナルコンピュータなどの文書作成編集
機能を有する装置を用いて文書を作成する場合、例え
ば、社内の報告書のように出来る限りA4の1ページ以
内に収めたいなど、ある定められた容量内に文書を収め
たい場合がある。ところが、従来の文書作成装置におい
ては、あらかじめ設定された書式に基づいて文書のペー
ジ割り付けなどを行っているため、文書作成後に、例え
ば1ページに収めたかった文書内容が2ページ目にはみ
だしてしまうなど、文書が定められた容量を超えてしま
うこともある。このため、一度文書を作成した後に改め
て作成した文書の行間や文字の大きさなどを手作業で修
正して定められた容量内に収めるようにしなければなら
ず、利用者の作業負担が大きかった。
2. Description of the Related Art Generally, when a document is created by using a device having a document creation / editing function such as a word processor, a workstation, a personal computer, etc., for example, as in an in-house report, the document is stored within one A4 page as much as possible. For example, there are cases where the user wants to store the document within a predetermined capacity. However, in the conventional document creating apparatus, since the pages of the document are allocated on the basis of a preset format, after the document is created, for example, the content of the document which is desired to be contained in one page overflows in the second page. For example, the document may exceed the specified capacity. For this reason, after creating the document once, it is necessary to manually correct the line spacing and the size of the characters of the newly created document so as to be within the determined capacity, which imposes a heavy work burden on the user. ..

【0003】このような問題を解決するための提案とし
て、例えば特開昭63−70370号公報に開示されて
いるように、作成中の文書が指定された容量に収まるま
で、まず書式の行間隔を可能な限り詰め、次に文字間隔
を可能な限り詰め、最後に余白を可能な限り狭くするこ
とによって、指定容量内に収めるようにした文書作成装
置や、特開平1−240968号公報に開示されている
ように、さらに収まりきれない場合に文字サイズまで可
能な限り小さくすることによって指定容量内に収めるよ
うにした文書編集方式などがある。また、特開昭63−
221457号公報に開示されているように、章や見出
しといった論理的な要素を判別し、見出しとその後の段
落の間に置かれている空白行などを削ることによって指
定容量内に収めるようにした文書整形装置がある。
As a proposal for solving such a problem, for example, as disclosed in Japanese Patent Laid-Open No. 63-70370, line spacing of a format is first set until the document being created fits within a specified capacity. Disclosed as disclosed in Japanese Patent Laid-Open No. 1-240968, in which the character spacing is reduced as much as possible, then the character spacing is reduced as much as possible, and finally the margin is reduced as much as possible so as to be within the designated capacity. As described above, there is a document editing method in which the character size is reduced as much as possible so that the character size fits within the specified capacity. In addition, JP-A-63-
As disclosed in Japanese Patent No. 2214457, a logical element such as a chapter or a heading is discriminated, and a blank line or the like placed between the heading and a paragraph after the heading is deleted so that the heading is accommodated within the designated capacity. There is a document shaping device.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上述し
た従来の技術は、いずれも文書の余白や要素同士の間隔
を可能な限り狭くするか、あるいは文字サイズを可能な
限り小さくすることによって文書内容を定められた容量
内に強制的に収めるようにしたもので、文書のデザイン
的な要素については、何らの配慮もされていなかった。
したがって、これらの技術を用いた場合、文書内容はあ
る容量内に収められるものの、文書としての読みやすさ
や見栄えなどが極端に悪くなるという問題点があった。
However, in any of the above-described conventional techniques, the document content is reduced by making the margins of the document and the intervals between the elements as small as possible, or by making the character size as small as possible. It was forcibly contained within the specified capacity, and no consideration was given to the design element of the document.
Therefore, when these techniques are used, the content of the document can be stored within a certain capacity, but the readability and appearance of the document are extremely deteriorated.

【0005】この発明は、文書内容をある定められた容
量に強制的に収める際に、読みやすさや見栄えを十分に
考慮した文書を作成することができる文書作成支援装置
を提供することを目的とする。
An object of the present invention is to provide a document creation support apparatus capable of creating a document in which readability and appearance are fully taken into consideration when the document content is forcibly stored in a predetermined capacity. To do.

【0006】[0006]

【課題を解決するための手段】上記課題を解決するた
め、この発明に係わる文書作成支援装置では、作成中の
文書の内容や属性等の文書情報を記憶した、例えば磁気
ディスク装置などの文書記憶手段と、前記文書記憶手段
に記憶されている文書情報を指定容量内に収容すること
を指示する、例えばキーボードやマウスなどの指定容量
内強制収容指示手段と、前記文書記憶手段に記憶されて
いる文書情報が指定容量内に収容されているかどうかを
判定する指定容量内収容正否判断手段と、文書の評価用
語、文書の属性、文書の容量に関係する文書書式パラメ
ータ、ならびにこれらの相互関係を規定する知識である
文書デザイン知識情報を格納した知識データベースと、
前記指定容量内収容正否判断手段の判断結果に基づい
て、前記文書記憶手段に記憶された文書情報と前記知識
データベースに格納された文書デザイン知識情報とを用
いて推論処理を行い、文書情報を指定容量内に収容する
ための最適な収容方法を抽出する指定容量内収容方法抽
出手段と、文書を作成又は編集する文書編集機能を持つ
文書編集手段と、前記指定容量内収容方法抽出手段で抽
出した方法を前記文書編集手段を用いて前記文書記憶手
段に記憶されている文書に適用する指定容量内収容方法
実行手段とを具え、前記指定容量内収容方法抽出手段は
指定容量内収容方法実行手段を起動した後、再び指定容
量内収容正否判断手段を起動することを特徴とする。
In order to solve the above-mentioned problems, a document creation support apparatus according to the present invention stores document information such as contents and attributes of a document being created, for example, a document storage such as a magnetic disk device. And means for instructing that the document information stored in the document storage means be accommodated in a designated capacity, for example, a designated capacity compulsory accommodation instructing means such as a keyboard or a mouse, and the document storage means. Defines whether or not the document information is accommodated within the specified capacity, and determines whether or not the specified capacity is accommodated, document evaluation terms, document attributes, document format parameters related to the document capacity, and their interrelationships. A knowledge database that stores knowledge of document design knowledge,
Based on the determination result of the storage capacity in the designated capacity determination unit, inference processing is performed using the document information stored in the document storage unit and the document design knowledge information stored in the knowledge database, and the document information is designated. Extracted by the specified capacity accommodation method extraction means for extracting the optimum accommodation method for accommodating within the capacity, the document editing means having a document editing function for creating or editing a document, and the specified capacity accommodation method extraction means. A designated capacity accommodation method execution means for applying the method to the document stored in the document storage means by using the document editing means, wherein the designated capacity accommodation method extraction means includes a designated capacity accommodation method execution means. After the activation, the specified capacity accommodation correctness determination means is activated again.

【0007】[0007]

【作用】上記構成において、利用者などの指示により指
定容量内強制収容指示手段が起動されると、前記指定容
量内強制収容指示手段により指定容量内収容正否判断手
段が起動される。指定容量内収容正否判断手段は文書記
憶手段の記憶内容を参照し、文書記憶手段に記憶されて
いる文書が指定容量内に収まっているかどうかを判断す
る。この結果、文書が指定容量内に収まっていないと判
断すると、指定容量内収容方法抽出手段を起動する。指
定容量内収容方法抽出手段は、知識データベースの内容
と、文書記憶手段に記憶されている文書の内容や属性を
参照しつつ、文書記憶手段に記憶されている文書を指定
容量内に収めるための収容方法を抽出する。抽出された
収容方法は指定容量内収容方法実行手段に渡され、指定
容量内収容方法実行手段は、文書編集部の文書編集機能
を使って前記収容方法を文書記憶手段に記憶されている
文書に適用する。
In the above structure, when the designated capacity forced accommodation instruction means is activated by an instruction from the user or the like, the designated capacity forced accommodation instruction means activates the designated capacity accommodation correctness determination means. The designated capacity accommodation correctness determination means refers to the stored contents of the document storage means to determine whether the document stored in the document storage means is within the designated capacity. As a result, when it is determined that the document does not fit in the designated capacity, the designated capacity accommodation method extraction means is activated. The specified capacity accommodation method extraction means is for storing the document stored in the document storage means within the specified capacity while referring to the contents of the knowledge database and the contents and attributes of the document stored in the document storage means. Extract the containment method. The extracted accommodation method is passed to the designated capacity accommodation method execution means, and the designated capacity accommodation method execution means uses the document editing function of the document editing unit to convert the accommodation method to the document stored in the document storage means. Apply.

【0008】また、指定容量内収容方法抽出手段は、文
書記憶手段に記憶されている文書がきちんと指定容量内
に収まったかどうかを確認する意味で再び指定容量内収
容正否判断手段を起動する。指定容量内収容正否判断手
段は判断の結果、文書記憶手段に記憶されている文書が
指定容量内に収まっていると判断したときは処理を終了
し、指定容量内に収まっていないと判断したときは、再
び指定容量内収容方法抽出手段を起動して、文書が指定
容量内に収まるまで上述した処理を繰り返す。
Further, the designated capacity accommodation method extraction means activates the designated capacity accommodation correctness determination means again in order to confirm whether or not the document stored in the document storage means is properly accommodated within the designated capacity. As a result of the judgment, the designated capacity accommodation correctness judging means terminates the process when it judges that the document stored in the document storage means is within the specified capacity, and judges that the document does not fit within the specified capacity. Restarts the accommodation method extracting means within the designated capacity, and repeats the above-described processing until the document fits within the designated capacity.

【0009】[0009]

【実施例】以下、この発明に係わる文書作成支援装置の
一実施例を、図面を参照しながら詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the document creation support device according to the present invention will be described in detail below with reference to the drawings.

【0010】図1は本実施例における文書作成支援装置
の基本的な構成を示すブロック図である。この文書作成
支援装置は、指定容量内強制収容指示部1、文書記憶部
2、指定容量内収容正否判断部3、知識データベース
4、指定容量内収容方法抽出部5、文書編集部6、指定
容量内収容方法実行部7とから構成されている。なお、
必要に応じて、例えばディスプレイやプリンタ等の文字
や図形、又はメッセージ等を表示または出力する装置を
設けてもよい。
FIG. 1 is a block diagram showing the basic arrangement of a document creation support device according to this embodiment. This document creation support apparatus includes a designated capacity forced accommodation instruction unit 1, a document storage unit 2, a designated capacity accommodation correctness determination unit 3, a knowledge database 4, a designated capacity accommodation method extraction unit 5, a document editing unit 6, and a designated capacity. It is composed of an internal accommodation method execution unit 7. In addition,
If necessary, a device such as a display or a printer for displaying or outputting characters or figures, or a message may be provided.

【0011】指定容量内強制収容指示部(以下、指示部
という)1は、入力装置や他の装置からの指示内容を受
け取る制御装置であり、例えばキーボード、マウス、ジ
ョイスティック、タッチパネルなどの入力装置やCPU
装置で構成される。
A designated capacity forced accommodating instructing unit (hereinafter referred to as an instructing unit) 1 is a control device that receives an instruction content from an input device or another device. CPU
Composed of devices.

【0012】文書記憶部2は、ワードプロセッサなどに
より作成されたコードデータや図形データ、それに文書
の種類や作成日時、用途等の属性など、一般に電子化さ
れた文書とその付帯情報を表すデータを文書情報として
格納するものであり、例えば磁気ディスク装置や主記憶
装置などで構成される。文書記憶部2のデータは、これ
ら記憶装置の上にアクセス可能な状態で保持されてお
り、例えば文書の種類を知りたい場合には、「”文書.
種類”」といった問合せによって「”出張報告速報”」
などのデータを得ることができるほか、その文書の本文
の文字書体のサイズを知りたい場合には、「”文書.本
文.文字.書体.サイズ“」といった問い合わせによっ
て「12[ポイント]」などのデータを得ることができ
るように構成されている。
The document storage unit 2 stores code data and graphic data created by a word processor or the like, and generally digitalized documents and data representing their accompanying information such as attributes such as document type, creation date and time, and the like. The information is stored as information, and is composed of, for example, a magnetic disk device or a main storage device. The data in the document storage unit 2 is held in an accessible state on these storage devices. For example, when it is desired to know the type of document, "" Document.
Inquiries such as "type", ""
If you want to know the size of the typeface of the text of the document in addition to the data such as ",". Text. letter. Typeface. Data such as "12 [points]" can be obtained by an inquiry about the size "".

【0013】指定容量内収容正否判断部(以下、判断部
という)3は、文書記憶部2の書式データに基づいて、
文書記憶部2に記憶されている文書が指定容量内に収ま
っているかどうかを判断する手段であり、例えば文書記
憶部2に記憶されている文書が1ページに収まっている
かどうかについて、文書記憶部2に対して「”文書.ペ
ージ数“」という問い合わせをし、返ってきた値が2以
上であるかどうかを判断するといったように構成した計
算装置である。この判断部3は、指定容量に関するデー
タを指示部1から受け取ることもあるし、文書記憶部2
の中に記憶されている文書の属性から捜し出すこともあ
る。すなわち、書式に従って文書を作成する場合は、そ
の書式に定められた指定容量(例えば、ページ数など)
に関するデータを文書記憶部2から捜し出すことによっ
て、指示部1から指定容量を入力する手間を省くことが
できる。
The correctness determination unit 3 for accommodating the designated capacity (hereinafter referred to as a determination unit) 3 is based on the format data in the document storage unit 2.
The document storage unit 2 is means for determining whether or not the document stored in the document storage unit 2 is within the specified capacity. For example, regarding whether or not the document stored in the document storage unit 2 is within one page, the document storage unit 2 for "" document. The computing device is configured to make an inquiry about the number of pages "" and determine whether the returned value is 2 or more. The determination unit 3 may receive the data regarding the designated capacity from the instruction unit 1, and may also receive the data from the document storage unit 2.
Sometimes it is searched from the attributes of the document stored in the document. That is, when creating a document according to a format, the specified capacity (for example, the number of pages) specified in the format
By searching the document storage unit 2 for the data related to, it is possible to save the trouble of inputting the designated capacity from the instruction unit 1.

【0014】知識データベース4は、IF−THENル
ール形式やフレーム形式など何らかの知識表現方法によ
り文書の目的、印象などを表す評価用語と、文書の属
性、紙サイズや版面の大きさ、文字サイズ等の文書の容
量に関係する文書書式パラメータ、ならびにこれらの相
互関係を規定する知識を文書デザイン知識情報として格
納するものであり、磁気ディスク装置や光ディスク装置
などで構成される。
The knowledge database 4 includes evaluation terms such as IF-THEN rule format and frame format that represent the purpose and impression of a document by some knowledge representation method, and the attributes of the document, paper size, plate size, character size, and the like. The document format parameters relating to the capacity of the document and the knowledge defining the mutual relation between them are stored as document design knowledge information, which is configured by a magnetic disk device, an optical disk device, or the like.

【0015】一般的な知識データベースにおける知識の
表現方法や推論エンジンの構成については、例えば
「F.ヘイズ−ロス他編、AIUEO訳、エキスパート
システム、産業図書、1985.」などに詳しく解説さ
れている。
The method of expressing knowledge in a general knowledge database and the structure of the inference engine are described in detail in, for example, "F. Hayes-Loss et al., AIUEO translation, expert system, industrial book, 1985." ..

【0016】知識データベース4には、前述の参考文献
などに記載されている知識表現方法を用いて、文書を指
定容量内に収容するための知識を実装し、格納する。こ
こで、指定容量内に収容するための知識とは、例えば
「富士ゼロックス著、プレゼンテーション&ドキュメン
テーション、富士ゼロックス、1989.」などに記さ
れているような定性的または定量的なデータ、あるいは
社内の規則による決めごとなどを表したデータなどを基
にして、行間隔、文字間隔、余白、文字サイズなどを見
栄え良く読みやすさを損なわないように変更するのに必
要な種々の知識のことである。
The knowledge database 4 implements and stores knowledge for accommodating a document in a specified capacity by using the knowledge representation method described in the above-mentioned references and the like. Here, the knowledge for accommodating in the designated capacity is, for example, qualitative or quantitative data as described in "Fuji Xerox, Presentation & Documentation, Fuji Xerox, 1989." It refers to various knowledge necessary to change the line spacing, character spacing, margins, character size, etc. so that they are aesthetically pleasing and do not impair legibility, based on data that expresses the rules, etc. ..

【0017】具体的には、例えば「A4タテの用紙指定
で指定容量を大きくはみ出している場合、書式で見出し
の左マージンを版面に対して取っていなくて(0[m
m]で)、段落の左マージンを版面に対して50[m
m]以上とっていて、しかも、そのパラメタを変更して
も良いのであれば、段落の左マージンを版面に対して0
[mm]にする。」というような知識が図2に示される
ような形で表現されたものである。また、「A4タテの
用紙で本文が[10ポイント]以下の書体である場合、
書式が1段で、一行の長さが150[mm]以上になっ
ていて、しかも、書式の段数を変更しても良いのであれ
ば、段数を2段にし、段間隔を6[mm]にする。」と
いうような知識が図3に示されるような形で表現されて
いるものである。
Specifically, for example, "When the specified capacity is greatly exceeded by specifying the A4 vertical paper, the left margin of the heading is not taken in the format with respect to the plate (0 [m
m]), the left margin of the paragraph is 50 [m
m] or more, and if the parameter can be changed, the left margin of the paragraph is 0 with respect to the printing plate.
Set to [mm]. 2 is expressed in the form shown in FIG. In addition, "If the body of A4 vertical paper and the text is [10 points] or less,
If the format is one step and the length of one line is 150 [mm] or more, and if the number of steps in the format can be changed, the number of steps should be two and the step interval should be 6 [mm]. To do. Knowledge such as "is expressed in the form shown in FIG.

【0018】指定容量内収容方法抽出部(以下、抽出部
という)5は、文書記憶部2の文書情報を基に、知識デ
ータベース4の文書デザイン知識情報を使って推論を行
いながら指定容量内に収容する収容方法を抽出する手段
であり、前向き推論や後ろ向き推論などの何らかの推論
を行う推論エンジンによって構成される。
The storage method extraction unit (hereinafter referred to as an extraction unit) 5 in the designated capacity stores data in the designated capacity while performing inference based on the document information in the document storage unit 2 using the document design knowledge information in the knowledge database 4. It is a means for extracting the accommodation method for accommodation, and is composed of an inference engine that performs some inference such as forward inference or backward inference.

【0019】文書編集部6は、一般のワープロやワーク
ステーション、DTPにおける文書作成編集機能を有す
る手段であり、指定容量内収容方法実行部(以下、実行
部という)7は、文書編集部6の文書編集機能を実行し
て文書記憶部2に記憶されている文書が抽出部5が抽出
した収容方法が適用されたものとなるように編集する手
段である。
The document editing unit 6 is a unit having a document creating / editing function in a general word processor, workstation, or DTP. The designated capacity accommodation method executing unit (hereinafter referred to as executing unit) 7 is a unit of the document editing unit 6. It is a means for executing the document editing function and editing the document stored in the document storage unit 2 so that the storage method extracted by the extraction unit 5 is applied.

【0020】一般に、実行部7の構成は文書編集部6の
機能に深く依存している。例えば、文書の段落の版面に
対する左側の余白を70[mm]から0[mm]にする
場合について考えてみると、文書編集部6において、段
落の版面に対する左側の余白の大きさを指定する記憶部
に”0“のデータを入れて「割り付け処理」と呼ばれる
特別な処理を実行することにより、段落の左側の余白が
0[mm]になるとすると、実行部7では図4に示すよ
うな実行手段を持つことになる。また、同様に文書の段
落の版面に対する左側の余白を0[mm]にする場合、
文書編集部6において段落の左右の余白をそれぞれ指定
の値に設定する手段が用意されているとすると、その手
段を用いる図5に示すような実行手段を持つことにな
る。すなわち、実行部7は、文書編集部6で用意されて
いる手段を実行するための実行手段を持っている。
In general, the configuration of the execution unit 7 is deeply dependent on the function of the document editing unit 6. For example, consider a case where the left margin of the paragraph paragraph of the document is changed from 70 [mm] to 0 [mm]. In the document editing unit 6, a memory for designating the left margin size with respect to the paragraph edition is stored. If the margin on the left side of the paragraph becomes 0 [mm] by performing a special process called "allocation process" by putting "0" data in the copy, the execution unit 7 executes the process as shown in FIG. You will have the means. Similarly, when the left margin with respect to the printing face of the paragraph of the document is set to 0 [mm],
If the document editing unit 6 is provided with means for setting the left and right margins of a paragraph to designated values, the execution means as shown in FIG. That is, the execution unit 7 has an execution unit for executing the unit prepared by the document editing unit 6.

【0021】このように、実行部7は抽出部5が抽出す
る可能性のある全ての収容方法について、文書編集部6
の文書編集機能を介して文書記憶部2に記憶されている
文書が指定容量内に収まるように編集させる実行手段
(抽出された方法を具体的に実行する手段)を保持す
る。そして、抽出部5から送られた収容方法について、
上記実行手段を実行する。これにより、文書記憶部2に
記憶されている文書は抽出部5が抽出した収容方法で編
集された文書となる。
As described above, the execution unit 7 determines the document editing unit 6 for all accommodation methods that the extraction unit 5 may extract.
It holds an execution unit (a unit that specifically executes the extracted method) that edits the document stored in the document storage unit 2 through the document editing function so that the document is stored within the specified capacity. And regarding the accommodation method sent from the extraction unit 5,
The executing means is executed. As a result, the document stored in the document storage unit 2 becomes a document edited by the storage method extracted by the extraction unit 5.

【0022】次に、文書を指定容量内に収容する際の文
書作成支援装置の動作手順を、図6のフローチャートに
より説明する。
Next, the operation procedure of the document creation support device when the document is stored in the designated capacity will be described with reference to the flowchart of FIG.

【0023】抽出部5は推論開始の指示を受けると、推
論エンジンの動きにより、まず知識データベース4から
IF−THEN形式に書かれた全てのルールを取り出
し、これをrulesとする(ステップ101)。次
に、文書記憶部2に記憶されている文書情報を基に、r
ulesの中でIF条件部に書かれた条件が全て真とな
るルールを全て見つけ出し、これをTrulesとする
(ステップ103)。次に、Trulesの中から一つ
を選択する。実行部7は、このルールのTHEN実行部
に書かれた実行内容を文書編集部6の文書編集機能を使
って実行する(ステップ105)。これらのルールの選
択および実行を、THEN実行部による推論停止指示が
出るか(ステップ102)、あるいはTrulesが空
になる(ステップ104)まで繰り返す。
Upon receiving the instruction to start the inference, the extraction unit 5 first extracts all the rules written in the IF-THEN format from the knowledge database 4 by the operation of the inference engine, and sets them as rules (step 101). Next, based on the document information stored in the document storage unit 2, r
All the rules in which all the conditions written in the IF condition section are true are found out as rules, and these are set as Trues (step 103). Next, one is selected from Trues. The execution unit 7 executes the execution content written in the THEN execution unit of this rule by using the document editing function of the document editing unit 6 (step 105). The selection and execution of these rules are repeated until an instruction to stop the inference is issued by the THEN execution unit (step 102) or until Trules becomes empty (step 104).

【0024】さて、抽出部5からの指示により、実行部
7の起動及び実行が完了すると、抽出部5は再び判断部
3を起動する。ここで、判断部3が文書記憶部2に記憶
されている文書が指定容量内にきちんと収まっているこ
とを確認すると、一連の処理が終了することになる。も
し、判断部3が文書記憶部2に記憶されている文書が指
定容量内に収まりきれていないと判断すると、再び抽出
部5を起動し、上記の処理を繰り返す。このような一連
の処理により、文書記憶部2に保持されている文書があ
る容量内に収まった文書となる。
When the activation and execution of the execution unit 7 is completed by the instruction from the extraction unit 5, the extraction unit 5 activates the determination unit 3 again. Here, when the determination unit 3 confirms that the document stored in the document storage unit 2 is properly contained in the designated capacity, the series of processes ends. If the judgment unit 3 judges that the documents stored in the document storage unit 2 are not stored in the designated capacity, the extraction unit 5 is activated again and the above processing is repeated. By such a series of processes, the document stored in the document storage unit 2 becomes a document that fits within a certain capacity.

【0025】次に、上述した文書作成支援装置により、
文書を指定容量内に収める場合の具体例を説明する。
Next, by the above-mentioned document creation support device,
A specific example of storing the document in the designated capacity will be described.

【0026】まず、文書記憶部2には、図7に示すよう
な原文書、及び付帯情報として「文書種類:出張報告速
報」、「目的/印象:読みやすさ(4)、要点明確度
(4)、注目度(4)、フォーマル度(3)…」のよう
な情報を持ったものを格納する。ここで、文書種類とは
企画書、連絡書といった文書の内容や用途に応じた種類
を表し、目的/印象とは上記例のような文書に付加した
い目的や印象を表している。目的/印象を表している各
評価用語の項目の後の数字は5点満点の得点を示すもの
で、目的/印象としてデザインされた結果の文書に与え
たいイメージ(仕上げの印象)の程度を示している。
First, the document storage unit 2 stores the original document as shown in FIG. 7, and the supplementary information "Document type: Business trip report bulletin", "Purpose / impression: Readability (4), and point clarity ( 4), attention degree (4), formal degree (3) ... ”. Here, the document type represents a type according to the content or use of the document such as a plan document or a contact note, and the purpose / impression represents the purpose or impression desired to be added to the document as in the above example. The number after each evaluation term item that expresses the purpose / impression indicates the score of 5 points, and indicates the degree of the image (finishing impression) to be given to the resulting document designed as the purpose / impression. ing.

【0027】まず、指示部1から図8に示すような指示
が判断部3に送られる。これにより、判断部3は指定容
量が「1ページ以内」であることを知る。指示部1から
の指示によって起動された判断部3は、前述したような
動作により原文書が「1ページ以内」に収まっていない
と判断し、抽出部5に推論開始の指示を出す。抽出部5
では、図2に示すルールが選択実行され、「段落の左マ
ージンを版面に対して0[mm]にする」が決定され
る。このルールは、文書記憶部2において「A4タテの
用紙指定で指定容量を大きくはみ出している」などの情
報によりIF条件部が真となり選ばれたルールである。
その意味するところは、例えば、文書量が大きくはみ出
している場合は、これを行間隔を狭くしたりなどの他の
方法で指定容量内に収めようとすると、行間隔を極端に
詰めざるを得ないなど見栄えを大きく損なう恐れがある
ので、可能な限り版面そのものを広くすることで指定容
量内に収める方が良いという意味である。さらに、同様
に「段落の左マージンを版面に対して0[mm]にす
る」と決定されたというデータも含めて抽出部5でのル
ールの選択が行われる。そして、今度は図3に示すルー
ルが選択実行され、「段数を2段にし、段間隔を6[m
m]にする」が決定される。この意味するところは、例
えば、版面を広くしたことにより一行の行の長さが長く
なると、読者にとって読みにくいものとなるため、可能
であれば段数を2段にすることにより、結果的に1行の
長さが長くなりすぎるのを防ぐという意味である。以下
同様にルールが選択実行され、「見出し語の書体を太ゴ
シックにする」などの方法が抽出されていき、指定容量
内に収容するための一連の方法が抽出されたところで推
論が終了する。
First, the instruction unit 1 sends an instruction as shown in FIG. 8 to the determination unit 3. As a result, the determination unit 3 knows that the designated capacity is “within one page”. The determination unit 3 activated by the instruction from the instruction unit 1 determines that the original document is not within “one page” by the above-described operation, and issues an inference start instruction to the extraction unit 5. Extraction unit 5
Then, the rule shown in FIG. 2 is selectively executed, and "set the left margin of the paragraph to 0 [mm] with respect to the printing plate" is determined. This rule is a rule in which the IF condition section is set to be true in the document storage section 2 on the basis of information such as "A4 vertical paper is specified and the specified capacity is significantly out of range".
This means that, for example, when the amount of documents is largely outside, if you try to fit it within the specified capacity by narrowing the line spacing, you have to reduce the line spacing extremely. It means that it is better to make the printing plate itself as wide as possible so that it fits within the specified capacity, since there is a possibility that it will greatly damage the appearance. Further, similarly, the rule is selected by the extraction unit 5 including the data that "the left margin of the paragraph is set to 0 [mm] with respect to the printing plate" is included. Then, this time, the rule shown in FIG. 3 is selected and executed, and “the number of steps is set to 2 and the step interval is 6 [m
m] ”is determined. This means that, for example, if the length of one line becomes longer due to the wider printing plate, it will be difficult for the reader to read. This means preventing the line length from becoming too long. In the same manner, rules are selected and executed in the same manner, and methods such as “make the font of the entry word bold Gothic” are extracted, and the inference ends when a series of methods for accommodating within the designated capacity are extracted.

【0028】上述した処理により抽出された収容方法は
実行部7に渡される。実行部7では、前述のように、内
部に保持している「抽出された方法を具体的に実行する
手段」を用いて文書編集部6の文書編集機能を駆使しな
がら、文書記憶部2に記憶されている文書に対して、抽
出された収容方法を全て適用する。
The accommodating method extracted by the above-mentioned processing is passed to the executing section 7. As described above, the execution unit 7 makes full use of the document editing function of the document editing unit 6 by using the “means for concretely executing the extracted method” held inside the document storage unit 2. Apply all extracted containment methods to stored documents.

【0029】このようにして得られた結果の文書の一例
を図9に示す。実行部7の実行が完了すると、抽出部5
は再び判断部3を起動し、結果の文書が「1ページ以
内」に収まっているかどうかの判断がなされる。図9に
示した結果の文書の例では、きちんと「1ページ以内」
に収まっているので、判断部3での処理が終了する。
An example of the resulting document thus obtained is shown in FIG. When the execution of the execution unit 7 is completed, the extraction unit 5
Activates the determination unit 3 again, and determines whether or not the resulting document is within "one page". In the example of the result document shown in FIG.
Since the value is within, the processing in the determination unit 3 ends.

【0030】[0030]

【発明の効果】以上説明したように、この発明に係わる
文書作成支援装置においては、指定容量内に収まってい
ない文書について、その文書情報と文書デザイン知識情
報を用いて推論を行い、文書を指定容量内に収めるため
の最適な収容方法を抽出し、この収容方法に基づいて文
書の編集を行うようにしたため、読みやすさや見栄えを
十分に考慮した文書を作成することができる。
As described above, in the document creation support apparatus according to the present invention, a document which does not fit within the designated capacity is inferred using the document information and the document design knowledge information, and the document is designated. Since the most suitable storage method to fit within the capacity is extracted and the document is edited based on this storage method, it is possible to create a document in which readability and appearance are fully considered.

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

【図1】実施例における文書作成支援装置の基本的な構
成を示すブロック図。
FIG. 1 is a block diagram showing a basic configuration of a document creation support device according to an embodiment.

【図2】知識データベースにおける知識の表現の一例を
示す図。
FIG. 2 is a diagram showing an example of expression of knowledge in a knowledge database.

【図3】知識データベースにおける知識の表現の一例を
示す図。
FIG. 3 is a diagram showing an example of expression of knowledge in a knowledge database.

【図4】指定容量内収容方法実行部での実行手段を示す
図。
FIG. 4 is a diagram showing an executing means in a specified capacity accommodation method executing unit.

【図5】指定容量内収容方法実行部での実行手段を示す
図。
FIG. 5 is a diagram showing an executing unit in a specified capacity accommodation method executing unit.

【図6】文書を指定容量内に収容する際の文書作成支援
装置の動作手順を示すフローチャート。
FIG. 6 is a flowchart showing an operation procedure of a document creation support device when a document is stored in a designated capacity.

【図7】原文書の一例を示す図。FIG. 7 is a diagram showing an example of an original document.

【図8】指定容量内強制収容指示部からの指示の一例を
示す図。
FIG. 8 is a diagram illustrating an example of an instruction from a designated capacity forced accommodation instruction unit.

【図9】原文書を編集した場合の一例を示す図。FIG. 9 is a diagram showing an example of editing an original document.

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

1…指定容量内強制収容指示部、2…文書記憶部、3…
指定容量内収容正否判断部、4…知識データベース、5
…、6…文書編集部、7…指定容量内収容方法実行部
1 ... Forced accommodating instruction part within designated capacity, 2 ... Document storage part, 3 ...
Accurate determination unit for accommodating within specified capacity, 4 ... Knowledge database, 5
..., 6 ... Document editing section, 7 ... Specified capacity accommodation method execution section

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】作成支援対象文書の内容や属性等の文書情
報を記憶した文書記憶手段と、 前記文書記憶手段に記憶されている文書情報を指定容量
内に収容することを指示する強制収容指示手段と、 前記文書記憶手段に記憶されている文書情報が指定容量
内に収容されているか否かを判定する収容正否判断手段
と、 文書の評価用語、文書の属性、文書の容量に関係する文
書書式パラメータならびにこれらの相互関係を規定する
文書デザイン知識情報を格納した知識データベースと、 前記収容正否判断手段の判断結果に基づいて、前記文書
記憶手段に記憶された文書情報と前記知識データベース
に格納された文書デザイン知識情報とを用いて推論処理
を行い、文書情報を指定容量内に収容するための収容方
法を抽出する収容方法抽出手段と、 文書を作成又は編集する文書編集手段と、 前記収容方法抽出手段で抽出した収容方法を前記文書編
集手段を用いて前記文書記憶手段に記憶されている文書
に適用する収容方法実行手段と、 を具えたことを特徴とする文書作成支援装置。
1. A document storage unit that stores document information such as contents and attributes of a document to be created, and a compulsory storage instruction that stores the document information stored in the document storage unit within a designated capacity. Means, an accommodation correctness determination means for determining whether or not the document information stored in the document storage means is accommodated within a designated capacity, and a document relating to a document evaluation term, a document attribute, and a document capacity A knowledge database that stores format parameters and document design knowledge information that defines their mutual relationship; and document information stored in the document storage unit and the knowledge database, based on the determination result of the accommodation correctness determination unit. A storing method extracting means for performing an inference process using the document design knowledge information and extracting a storing method for storing the document information in the designated capacity; Document storing means for creating or editing the storing method, and storing method executing means for applying the storing method extracted by the storing method extracting means to the document stored in the document storing means using the document editing means. A document creation support device characterized by the above.
JP31274191A 1991-11-27 1991-11-27 Device for supporting document preparation Pending JPH05151210A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31274191A JPH05151210A (en) 1991-11-27 1991-11-27 Device for supporting document preparation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31274191A JPH05151210A (en) 1991-11-27 1991-11-27 Device for supporting document preparation

Publications (1)

Publication Number Publication Date
JPH05151210A true JPH05151210A (en) 1993-06-18

Family

ID=18032863

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31274191A Pending JPH05151210A (en) 1991-11-27 1991-11-27 Device for supporting document preparation

Country Status (1)

Country Link
JP (1) JPH05151210A (en)

Similar Documents

Publication Publication Date Title
US6533822B2 (en) Creating summaries along with indicators, and automatically positioned tabs
US5608857A (en) Document preparation support system using knowledge database to determine document layout
JPH05108641A (en) Document style design supporting device
JPH05151210A (en) Device for supporting document preparation
JPS60222270A (en) Table data insertion printer
JP2763227B2 (en) Format determination method
JPH06119328A (en) Document edition processing system
JPH01229673A (en) English and european writing printing control system
JPH05101053A (en) Structured document editing method
JP3275629B2 (en) Layout correction device
Richard Corel Ventura Publisher
JPH0736886A (en) Document preparing device and method for controlling editing history
JPS60253572A (en) Blank filling printing system
JPS6270065A (en) Document printing controlling system
Thimbleby An Author’s Cross-referencer
JPH01220066A (en) Document outputting device
JPH08106454A (en) Document information editing device
Wilson et al. Computer-Aided Graphics and Desk Top Publishing
Orgass et al. CMS Software Notebook.
JPH11232254A (en) Document data processor and its program recording medium
JPS63214794A (en) Management system for character font data
JPH0225354A (en) Document output device
JPH05197715A (en) Document preparing device
JPH10116280A (en) Method and device for style data constitution of document processor
JPS61285534A (en) Index production system