JPS63221457A - Document shaping device - Google Patents

Document shaping device

Info

Publication number
JPS63221457A
JPS63221457A JP62054111A JP5411187A JPS63221457A JP S63221457 A JPS63221457 A JP S63221457A JP 62054111 A JP62054111 A JP 62054111A JP 5411187 A JP5411187 A JP 5411187A JP S63221457 A JPS63221457 A JP S63221457A
Authority
JP
Japan
Prior art keywords
document
formatting
format
logical structure
document data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP62054111A
Other languages
Japanese (ja)
Other versions
JPH0668748B2 (en
Inventor
Miwako Doi
美和子 土井
Isamu Iwai
岩井 勇
Miyoshi Fukui
美佳 福井
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP62054111A priority Critical patent/JPH0668748B2/en
Publication of JPS63221457A publication Critical patent/JPS63221457A/en
Publication of JPH0668748B2 publication Critical patent/JPH0668748B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To effectively store the documents within the designated number of pages by deciding an output form based on the logical structure of an input document so that the designated page conditions are satisfied. CONSTITUTION:A shaping rule dictionary 7 stores a format which evolves the logical structure of an input document analyzed by a logical structure analyzing part 5 and a shaping rule which decides said format. Then the application of the shaping rule is decided by a shaping processing part 8. The part 8 calculates the extra and short amounts, etc., of designated pages when a document is evolved in a prescribed format. Based on this calculation result, the part 8 selects an optimum shaping rule and applies it to change the document evolving format so that the document data are stored within the designated number of pages. In such a way, an optimum document structure that is stored within the prescribed number of pages can be selected.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、文書データの論理構造に基づいて文書出力フ
ォーマットを決定する文書整形装置に係わり、特に指定
されたページ条件を守った出力形態の決定を可能にした
文書整形装置に関する。
Detailed Description of the Invention [Objective of the Invention] (Industrial Application Field) The present invention relates to a document formatting device that determines a document output format based on the logical structure of document data, and particularly relates to a document formatting device that determines a document output format based on the logical structure of document data. The present invention relates to a document formatting device that makes it possible to determine a protected output format.

(従来の技術) 一般にワードプロセッサでは、予め設定されたフォーマ
ットに基づいた文書データのページ割り付けが行われて
いる。従って、例えば学会の全国大会の発表論文集のよ
うに、納めるべきページ数に条件のある文書では、作成
された文書の文字数から、上記ページ数を超えないよう
に1ページ当りの文字数及び行数を設定する必要があっ
た。
(Prior Art) In general, word processors perform page layout of document data based on a preset format. Therefore, for documents that have a condition on the number of pages that should be included, such as a collection of papers presented at a national conference of an academic society, the number of characters and lines per page must be determined based on the number of characters in the document so as not to exceed the number of pages stated above. needed to be set.

しかしながら、文書中に章見出しや節見出し等の見出し
が存在する場合には、この見出し及びその前後に空行を
とるかどうかなどの諸条件を考慮したうえで、文書の出
力フォーマットを決定しなければならず、全文書にわた
って全ての見出しを考慮してフォーマットを決定するの
は非常に手間がかかる作業であった。
However, if there are headings such as chapter headings or section headings in a document, the output format of the document must be determined after considering these headings and various conditions such as whether to leave blank lines before and after them. However, determining the format by considering all the headings for the entire document was a very time-consuming task.

(発明が解決しようとする問題点) このように、従来のワードプロセッサでは、予め指定さ
れたページ数的に文書を効率良く納めるため、文書作成
者が文書の文字数及び行数を決定したり、見出しの部分
の調整をする等の試行錯誤を繰返すという繁雑な作業が
必要であった。
(Problem to be solved by the invention) As described above, in conventional word processors, in order to efficiently fit a document into a pre-specified number of pages, the document creator decides the number of characters and lines of the document, and This required a complicated process of repeated trial and error, such as making adjustments to these parts.

本発明は、このような事実に基づき、文書データから把
握される文書構造に基いて、指定されたページ条件を満
たすように文書データの出力フォーマットを決定する文
書整形装置を提供することを目的とする。
Based on such facts, an object of the present invention is to provide a document formatting device that determines the output format of document data to satisfy specified page conditions based on the document structure ascertained from the document data. do.

[発明の構成] (問題点を解決するための手段) 本発明は、文書データを入力するとともに制約ページ数
を指定する入力部と、この人力部により入力された文書
データから形態的特徴を検出し、上記文言データの章・
節等の論理構造を解析する論理構造解析部と、ここで得
られた前記入力文書データの論理構造を記憶する論理構
造記憶部と、この論理構造記憶部に記憶された論理構造
に基づいて前記文書データを展開する際の書式及びこの
書式を決定する整形規則を記憶した整形規則辞書と、前
記文書データが前記指定されたページ数的に納まるよう
に前記整形規則を適用して前記書式を決定する整形処理
部と、この整形処理部により処理された結果を出力する
出力部とを具備したことを特徴としている。
[Structure of the Invention] (Means for Solving the Problems) The present invention includes an input unit for inputting document data and specifying the number of restricted pages, and detecting morphological features from the document data input by the human input unit. and the wording data chapter above.
a logical structure analysis unit that analyzes the logical structure of clauses, etc.; a logical structure storage unit that stores the logical structure of the input document data obtained here; and a logical structure storage unit that stores the logical structure of the input document data obtained here; a formatting rule dictionary that stores a format for developing document data and a formatting rule for determining this format; and determining the format by applying the formatting rule so that the document data fits within the specified number of pages. The present invention is characterized by comprising a formatting processing section that performs the processing, and an output section that outputs the results processed by the formatting processing section.

(作用) 本発明によれば、論理構造解析部で解析された入力文書
の論理構造を展開する書式と、この書式を決定する整形
規則とを整形規則辞書に格納し、上記整形規則の適用を
整形処理部で決定するようにしている。整形処理部では
、例えば所定の書式で文書を展開したときの指定ページ
数に対する超過分、不足分等を計算し、この計算結果か
ら、最適な整形規則を選択して適用し、指定されたベー
ジ数内に前記文書データが納まるように文書展開の書式
を変更するようにしているので、所定のページ数的に納
まる最適な文書構造が選択される。
(Operation) According to the present invention, a format for expanding the logical structure of an input document analyzed by the logical structure analysis unit and a formatting rule for determining this format are stored in a formatting rule dictionary, and the formatting rule is applied. This is determined by the formatting processing section. For example, the formatting processing unit calculates the excess and shortage of the specified number of pages when a document is developed in a predetermined format, selects and applies the optimal formatting rule from the calculation results, and prints the specified page. Since the document development format is changed so that the document data fits within the specified number of pages, the optimal document structure that fits within the predetermined number of pages is selected.

したがって、本発明によれば、ユーザに負担をかけるこ
となく、しかも得られる文書は文IFlilt造の統一
された見易い形態となる。
Therefore, according to the present invention, the obtained document can be obtained in a uniform, easy-to-read format without imposing any burden on the user.

(実施例) 以下、図面を参照しながら本発明の一実施例について説
明する。
(Example) Hereinafter, an example of the present invention will be described with reference to the drawings.

第1図は本実施例に係る文書整形装置の概略構成図であ
る。
FIG. 1 is a schematic configuration diagram of a document formatting device according to this embodiment.

入力部1は、例えばキーボードなどからなる入力手段で
あり、文書データやページ制約情報等、必要なデータを
入力するためのものである。この入力部1を介して入力
されたデータは、it全全体制御を司る文書管理部2に
与えられる。文書管理部2に与えられた文書データは、
原文記憶部3に格納される。文書管理部2は、原文記憶
部3に格納された文書データの区切りコード、例えば改
行コードを検出し、これを1文の最後とみなして1文毎
に分解する。表示部4は、このように分解された文書デ
ータを第2図に示すように文番号とともに表示する。
The input unit 1 is an input means including, for example, a keyboard, and is used to input necessary data such as document data and page restriction information. Data input through this input section 1 is given to a document management section 2 which is in charge of overall IT control. The document data given to the document management section 2 is
It is stored in the original text storage unit 3. The document management unit 2 detects a delimiter code, such as a line feed code, in the document data stored in the original text storage unit 3, considers this to be the end of one sentence, and decomposes it into individual sentences. The display unit 4 displays the document data decomposed in this way together with sentence numbers as shown in FIG.

論理構造解析部5は、内部に日本語辞書を備えており、
この日本語辞書を参照して入力文書の形B要素のつなが
り関係、前後の文の構造をもとに、章、節等の論理構造
を判定する。例えば、第2図の例では文番号1は最初の
文章で「文書理解システム」という名詞句で終わってい
るので、この1番の文の属性は標題であると判断する。
The logical structure analysis unit 5 is equipped with a Japanese dictionary inside.
With reference to this Japanese dictionary, the logical structure of chapters, sections, etc. is determined based on the connection relationship between the form B elements of the input document and the structure of the preceding and succeeding sentences. For example, in the example shown in FIG. 2, sentence number 1 is the first sentence and ends with the noun phrase "document understanding system," so it is determined that the attribute of sentence number 1 is a title.

また、この標題には見出しパターンが付加されていない
ので、見出しパターンにはnullコードが与えられる
Further, since no heading pattern is added to this title, a null code is given to the heading pattern.

文番号2は、[大川太部]という固有名詞であることが
日本語辞書を参照して分るので、これは著者名であると
判断する。この著者名についても見出しパターンはnu
llである。このようにして解析された結果を第3図に
示す。この解析された論理構造は、構造記憶部6に格納
される。数字午後置部等の見出しパターンは、検出され
た順に、例えば章見出し、節見出しとし、かつ同一構造
のものは同一レベルの見出しと考えて属性を決定してい
く。
Since sentence number 2 is found to be the proper noun [Okawa Taibe] by referring to a Japanese dictionary, it is determined that this is the author's name. The heading pattern for this author name is nu
It is ll. The results of this analysis are shown in FIG. This analyzed logical structure is stored in the structure storage unit 6. The attributes of heading patterns such as the numeric afterword section are determined in the order in which they are detected, for example, as chapter headings and section headings, and those with the same structure are considered to be headings of the same level.

整形規則辞117は、得られた論理構造の展開形態(書
式)と、指定されたページに納まるようにするには、そ
の書式をどのように変更すべきかに関する規則とを備え
ている。第4図は記憶されている書式の例である。星印
が付いているところが現在選択されている書式である。
The formatting rule dictionary 117 includes the developed form (format) of the obtained logical structure and rules regarding how to change the format so that it fits on a designated page. FIG. 4 is an example of a stored format. The currently selected format is marked with an asterisk.

また、規則は第5図に示される。The rules are also shown in FIG.

即ち、規則■は、整形規則辞書7に記憶されている書式
のうち「属性:後文」を1行ずつ減らして行く規則で、
例えば第6図(a)から同図(b)に示すように、見出
しと次に続く段落との間を行を縮めるものである。この
規則は、小見出し→項見出し→節見出し→章見出しの順
、つまりレベルの低い順に適用される。最も小さな間隔
(空行O)になれば、それ以上この規則は適用されない
。又、この規則は、記憶されている書式がもともとr後
文−空行OJを選択しているときには適用されない。
In other words, rule ■ is a rule that reduces "attribute: post sentence" one line at a time among the formats stored in the formatting rule dictionary 7.
For example, as shown in FIGS. 6(a) to 6(b), the line between the heading and the next paragraph is shortened. This rule is applied in the order of subheadings → section headings → section headings → chapter headings, that is, in descending order of level. Once the interval becomes the smallest (blank line O), this rule is no longer applied. Further, this rule is not applied when the stored format originally selects r-sequel-blank line OJ.

規則■は、整形州別辞書7に記憶されている書式の「属
性:前文コを1行ずつ減らしていく規則で、例えば第6
図(b)から同図(C)に示すように、見出しとその前
の段落との間の行を縮めるためのものである。最も小さ
い間隔(空行O)になれば、この規則は適用されない。
Rule ■ is a rule that reduces "attribute: preamble" one line at a time in the format stored in the formatting state dictionary 7. For example, the 6th rule
As shown in Figures (b) to (C), this is for shortening the line between the heading and the preceding paragraph. This rule is not applied if the interval is the smallest (blank line O).

以後は規則■と同様である。The rest is the same as rule ■.

規則■は、整形規則辞書7に記憶されている「属性:後
文」を空白1にし、さらに見出しの「属性:下線」を「
有」にする規則で、第6図(C)から同図(d)に示す
ように、見出しとそれに続く段落との間を改行せずに空
白により区切るようにし、その分、見出しが目立つよう
に下線を引くように変更することを意味している。
Rule ■ sets "Attribute: Sequel" stored in the formatting rule dictionary 7 to blank 1, and also sets "Attribute: Underline" in the heading to "
As shown in Figures 6(C) to 6(d), the heading and the following paragraph are separated by a blank space without a line break, making the heading more noticeable. It means to change it so that it is underlined.

また、規則■と■は、1行当りの字数及び1頁当りの行
数をそれぞれ1字及び1行ずつ増やすものである。この
規則を適用すると、当然、文字間隔、行ピッチも変更さ
れる。その他、文字サイズの変更(規則6)等、指定さ
れたページ内に文書が納まるようにするための様々な規
則が、整形規則辞117には格納されている。
Furthermore, rules (■) and (2) increase the number of characters per line and the number of lines per page by one character and one line, respectively. Naturally, when this rule is applied, character spacing and line pitch will also change. In addition, the formatting rule dictionary 117 stores various rules such as changing the font size (rule 6) so that the document can fit within a specified page.

整形処理部8は、上記整形規則辞書7の規則を適用して
、文書データが指定されたページ数的に納まるように最
適な書式を決定するる。
The formatting processing unit 8 applies the rules of the formatting rule dictionary 7 to determine the optimal format so that the document data fits within the specified number of pages.

さらに、出力部9は、この整形処理部8で決定された書
式で文書データを出力する。
Further, the output section 9 outputs the document data in the format determined by the formatting section 8.

次に、このように構成された本実施例に係る装置の動作
について説明する。
Next, the operation of the apparatus according to this embodiment configured as described above will be explained.

入力部1を介して第2図の文書データが入力され、原文
記憶部3にこれが格納されると、論理構造解析部5は、
第7図に示す処理を行なって文書データの論理構造を決
定する。
When the document data shown in FIG. 2 is input through the input unit 1 and stored in the original text storage unit 3, the logical structure analysis unit 5
The process shown in FIG. 7 is performed to determine the logical structure of document data.

即ち、まず、文書データ中から見出し語があるかどうか
が判定され(a)、見出し語がある場合には、見出し候
補を作成する(b)。次に、作成された見出し候補のな
かで一致する見出し規則が有るかどうかを確認しくC)
、見出しを作る(d)。もし見出し語が検出されなかっ
た場合及び一致する見出し規則が得られなかった場合に
は、見出し無しとして処理をする(e)、次に、一致す
る文書構造規則があるかどうかを調べ(f)、一致する
文書構造規則がある場合には、文言構造を作る(Q)。
That is, first, it is determined whether there is a headword in the document data (a), and if there is a headword, a headline candidate is created (b). Next, check whether there is a matching heading rule among the created heading candidatesC)
, create a heading (d). If a headword is not detected or a matching header rule is not obtained, it is treated as having no header (e), and then it is checked whether there is a matching document structure rule (f). , if there is a matching document structure rule, create a word structure (Q).

そして、その文書構造を構造記憶部6に壽込む(iT)
。もし、一致する文書規則がない場合には、エラー処理
を行なう(1)。
Then, store the document structure in the structure storage unit 6 (iT)
. If there is no matching document rule, error processing is performed (1).

以上の処理を行なうと、構造記憶部6には、第3図に示
すような論理構造が格納される。
When the above processing is performed, a logical structure as shown in FIG. 3 is stored in the structure storage section 6.

次に、整形処理部8での動作を第8図に基づき声明する
Next, the operation of the formatting processing section 8 will be explained based on FIG.

まず、整形処理部8は、予め指定された書式、或は初期
設定された書式に基づいて、文書データを展開する<j
)。この展開の結果、指定されたページ数の中に納まっ
ているかどうかをWl認する(k)。ここで指定のペー
ジ数に納まっている場合には、ここでの処理は終了する
が、指定ページを超過している場合には、余分な行数m
を計算する(2)。規則1から順に適用しながら (n
First, the formatting processing unit 8 develops document data based on a prespecified format or an initialized format.
). As a result of this expansion, it is checked whether the number of pages is within the specified number of pages (k). If the number of pages is within the specified number of pages, the processing ends here, but if the number of pages exceeds the specified number of pages, the extra number of lines m is added.
Calculate (2). Applying rule 1 in order (n
.

m、o)、その都度、短くなる行数nを計算する1)。m, o), calculate the number of lines n to be shortened each time 1).

この計算は、m≦nになるまで続行される((1)。This calculation continues until m≦n ((1).

例えば、文書データをA4で2ページに納めて出力する
ように指定され、初期展開を第4図の書式に従って展開
したところ、2ページに納まらずに、4行分余ったとす
る。この場合、整形処理部8は、整形規則辞書7の規則
を規則1から順番に適用して、短くできる行数を計算す
る。
For example, suppose that document data is specified to be output in two A4 pages, and when the initial development is performed according to the format shown in FIG. 4, it does not fit on two pages and four lines are left over. In this case, the formatting processing unit 8 applies the rules of the formatting rule dictionary 7 in order from rule 1 to calculate the number of lines that can be shortened.

いま、この文書に節見出しが4か所あり、かつ規則■が
通用できれば、全体で1行×4−4行分短くできる。こ
の場合は、4行短くなれば、指定の2ページに納まるの
で、整形処理部7は、ページ制約が守れたと判断して処
理を終了する。文書管理部4は、新しい書式の文書を表
示部4で表示させるとともに、出力部9を介してプリン
トアウトさせる。
Now, if this document has four section headings and Rule (2) can be applied, the entire document can be shortened by 1 x 4-4 lines. In this case, if the data is shortened by four lines, it will fit on the designated two pages, so the formatting processing unit 7 determines that the page constraints have been met and ends the process. The document management section 4 displays the document in the new format on the display section 4 and prints it out via the output section 9.

このような処理を行なうことにより、ユーザになんら負
担をかけることなく、指定されたページ数的に、見易い
形で納まった文書を得ることができる。
By performing such processing, it is possible to obtain a document that fits in the specified number of pages in an easy-to-read format without placing any burden on the user.

なお、以上は指定ページからはみ出す場合の短縮方法に
ついて重点的に説明しているが、指定ページに足りない
場合についても、殆ど同様に処理することができる。こ
の場合には、第5図の規則■、■の空行変更値を(−1
)→(+1)に変更できるようにしておく。そして、第
9図に示すように、指定ページに足りない行数mを求め
た後(r)、mの正負を判定しくs)、m−0であれば
指定ページ数に丁度納まっているので終了し、m<Oな
らば上記変更値を〈−1)にセットしくt)、m>Qな
らば上記変更値を(+1)にセットする(U)。そして
、規則を■から順に適用し、増えた行数nを計算する(
V)。そして、1ml≦lnlになったら(W)、処理
を終了すればよい。
Note that, although the above explanation focuses on the shortening method when the number exceeds the designated page, almost the same processing can be performed even when the number is insufficient for the designated page. In this case, change the blank line change value for rules ■ and ■ in Figure 5 to (-1
)→(+1). Then, as shown in Figure 9, after finding the number of lines m that is missing from the specified page (r), it is necessary to judge whether m is positive or negative (s), and if m-0, it is exactly within the specified number of pages. If m<O, set the above change value to <-1), and if m>Q, set the above change value to (+1) (U). Then, apply the rules in order from ■ to calculate the increased number of lines n (
V). Then, when 1ml≦lnl (W), the process may be terminated.

なお、以上の各実施例では第5図に示すような整形規則
に従ってページ制約を守る例を説明したが、この規則を
変更することは十分可能である。
In each of the above embodiments, an example has been described in which page constraints are observed according to the formatting rules as shown in FIG. 5, but it is quite possible to change these rules.

また、規則の適用順序や規則の内容も、ユーザの指定に
より種々変更することは可能である。
Furthermore, the application order of the rules and the contents of the rules can be changed in various ways according to the user's specifications.

また、書式の構造や論理構造も、上記実施例で示した内
容に限定されるものではない。
Furthermore, the format structure and logical structure are not limited to those shown in the above embodiments.

更には、規則の適用により、指定ページに納めることが
困難な場合には、その旨のメツセージを出すようにする
ことも可能である。また、見出し語とその本文とがペー
ジわたりしないように、例えば見出し語がページの最後
の行に位置したときには、その見出し語を次のページに
送る等の処理を、論理構造に基づき行なえば、更に見易
い文書を得ることができる。
Furthermore, if it is difficult to fit the information into a designated page due to the application of rules, it is also possible to issue a message to that effect. Also, in order to prevent a headword and its text from spanning multiple pages, for example, when a headword is located on the last line of a page, processing such as sending the headword to the next page can be performed based on the logical structure. A more easily viewable document can be obtained.

[発明の効果コ 以上述べたように、本発明によれば、ユーザは納めたい
ページ数を指定するだけで書式の変更により指定ページ
に納めることができるので、ユーザへの負担を少なくで
き、しかも得られる文書は見易いものであるという効果
が得られる。
[Effects of the Invention] As described above, according to the present invention, the user can simply specify the number of pages he or she wants to fit and change the format to fit the page in the specified page, reducing the burden on the user. The effect is that the resulting document is easy to read.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図〜第8図は本発明の一実施例に係る文書整形装置
を説明するための図で、第1図は全体構成を示すブロッ
ク図、第2図は表示部における表示形態の一例を示す図
、第3図は構造記憶部に記憶される論理構造の一例を示
す図、第4図は整形規則辞書に格納される書式データを
示す図、第5図は同辞書に格納される整形規則を示す図
、第6図は同規則を適用して変化する文書形態の例を示
す図、第7図は論理構造解析手順を示す流れ図、第8図
は文書整形手順を示す流れ図、第9図は本発明の他の実
施例に係る文書整形装置を示す流れ図である。 1・・・入力部、2・・・立置管理部、3・・・原文記
憶部、4・・・表示部、5・・・論理構造解析部、6・
・・構造記憶部、7・・・整形規則辞書、8・・・整形
処理部、9・・・出力部。 出願人代理人 弁理士 鈴江武彦 第3図 第5図 第6図 第7図 第8図
1 to 8 are diagrams for explaining a document formatting device according to an embodiment of the present invention, in which FIG. 1 is a block diagram showing the overall configuration, and FIG. 2 is an example of the display form on the display unit. 3 is a diagram showing an example of the logical structure stored in the structure storage unit, FIG. 4 is a diagram showing format data stored in the formatting rule dictionary, and FIG. 5 is a diagram showing formatting data stored in the formatting rule dictionary. 6 is a diagram showing an example of a document format that changes by applying the same rule. FIG. 7 is a flowchart showing a logical structure analysis procedure. FIG. 8 is a flowchart showing a document formatting procedure. The figure is a flowchart showing a document formatting device according to another embodiment of the present invention. DESCRIPTION OF SYMBOLS 1... Input section, 2... Standing management section, 3... Original text storage section, 4... Display section, 5... Logical structure analysis section, 6.
...Structure storage section, 7.. Formatting rule dictionary, 8.. Formatting processing section, 9.. Output section. Applicant's Representative Patent Attorney Takehiko Suzue Figure 3 Figure 5 Figure 6 Figure 7 Figure 8

Claims (4)

【特許請求の範囲】[Claims] (1)コード情報の系列からなる文書データ及びこの文
書データを出力する際に納めるべきページ数を入力する
入力部と、この入力部により入力された文書データの形
態的特徴を検出し、得られた形態的特徴から上記文書デ
ータの章・節等の論理構造を解析する論理構造解析部と
、この論理構造解析部で得られた前記入力文書データの
論理構造を記憶する論理構造記憶部と、この論理構造記
憶部に記憶された論理構造に基づいて前記文書データを
展開する際の書式及びこの書式を決定する整形規則を記
憶した整形規則辞書と、前記文書データが前記指定され
たページ数内に納まるように前記整形規則を適用して前
記書式を決定する整形処理部と、この整形処理部により
処理された結果を出力する出力部とを具備したことを特
徴とする文書整形装置。
(1) An input section for inputting document data consisting of a series of code information and the number of pages to be included when outputting this document data, and detecting the morphological characteristics of the document data input through this input section. a logical structure analysis unit that analyzes the logical structure of chapters, sections, etc. of the document data based on the morphological characteristics; a logical structure storage unit that stores the logical structure of the input document data obtained by the logical structure analysis unit; a formatting rule dictionary that stores a format for developing the document data based on the logical structure stored in the logical structure storage unit and a formatting rule for determining this format; A document formatting device comprising: a formatting processing unit that applies the formatting rules to determine the format so that the formatting process fits within the format; and an output unit that outputs a result processed by the formatting processing unit.
(2)前記整形処理部は、指定ページに納まるように、
見出しと段落との間にある空行などの区切り要素を文書
全体に関して統一して変形することを特徴とする特許請
求の範囲第1項記載の文書整形装置。
(2) The formatting processing unit adjusts the formatting so that it fits on the specified page.
2. The document formatting device according to claim 1, wherein delimiting elements such as blank lines between headings and paragraphs are uniformly transformed for the entire document.
(3)前記整形処理部は、文書データが指定ページに納
まるようにページ当りの行数、1行当りの文字数を変え
ることを特徴とする特許請求の範囲第1項記載の文書整
形装置。
(3) The document formatting device according to claim 1, wherein the formatting processing section changes the number of lines per page and the number of characters per line so that the document data fits on a designated page.
(4)前記整形処理部は、文書データが指定ページに納
まるように書式の変形を行なったときに、見出しとその
本文とがページわたりしないように、前記論理構造記憶
部の内容に基づいて整形処理を行なうものであることを
特徴とする特許請求の範囲第2項又は第3項記載の文書
整形装置。
(4) The formatting processing unit formats the document data based on the contents of the logical structure storage unit so that the heading and the main text do not span multiple pages when the format is transformed so that the document data fits on the specified page. A document formatting device according to claim 2 or 3, characterized in that the document formatting device performs processing.
JP62054111A 1987-03-11 1987-03-11 Document formatting method Expired - Lifetime JPH0668748B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62054111A JPH0668748B2 (en) 1987-03-11 1987-03-11 Document formatting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62054111A JPH0668748B2 (en) 1987-03-11 1987-03-11 Document formatting method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP4066681A Division JP2763227B2 (en) 1992-03-25 1992-03-25 Format determination method

Publications (2)

Publication Number Publication Date
JPS63221457A true JPS63221457A (en) 1988-09-14
JPH0668748B2 JPH0668748B2 (en) 1994-08-31

Family

ID=12961483

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62054111A Expired - Lifetime JPH0668748B2 (en) 1987-03-11 1987-03-11 Document formatting method

Country Status (1)

Country Link
JP (1) JPH0668748B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0460755A (en) * 1990-06-29 1992-02-26 Casio Comput Co Ltd Automatic adjustment document processor
JPH0460756A (en) * 1990-06-29 1992-02-26 Casio Comput Co Ltd Automatic adjustment document processor
JPH04233066A (en) * 1990-12-28 1992-08-21 Casio Comput Co Ltd Document processor
JPH0581247A (en) * 1992-03-25 1993-04-02 Toshiba Corp Method for shaping document
US6920617B2 (en) 2000-09-06 2005-07-19 Seiko Epson Corporation System and methods for distributing digital content

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0460755A (en) * 1990-06-29 1992-02-26 Casio Comput Co Ltd Automatic adjustment document processor
JPH0460756A (en) * 1990-06-29 1992-02-26 Casio Comput Co Ltd Automatic adjustment document processor
JPH04233066A (en) * 1990-12-28 1992-08-21 Casio Comput Co Ltd Document processor
JPH0581247A (en) * 1992-03-25 1993-04-02 Toshiba Corp Method for shaping document
US6920617B2 (en) 2000-09-06 2005-07-19 Seiko Epson Corporation System and methods for distributing digital content

Also Published As

Publication number Publication date
JPH0668748B2 (en) 1994-08-31

Similar Documents

Publication Publication Date Title
Kešelj et al. N-gram-based author profiles for authorship attribution
US5587902A (en) Translating system for processing text with markup signs
US6336124B1 (en) Conversion data representing a document to other formats for manipulation and display
US5526477A (en) System and method for generating glyphs of unknown characters
EP1071023B1 (en) Apparatus and method for generating a summary according to hierarchical structure of topic
US7984076B2 (en) Document processing apparatus, document processing method, document processing program and recording medium
JPH0776969B2 (en) Document processor
Peels et al. Document architecture and text formatting
JPS62229364A (en) Document processor
JPS63221457A (en) Document shaping device
JP2763227B2 (en) Format determination method
JPH05135025A (en) Document editor
KR100434526B1 (en) Sentence extracting method from document by using context information and local document form
JPS62245366A (en) Document processor
JPH03185559A (en) Document shaping device
JPS6371767A (en) Document producing device
JP2915225B2 (en) Document creation device
JP2829264B2 (en) Document layout method
JPH07182344A (en) Machine translation system
JP4061001B2 (en) Machine translation device
JPS63245760A (en) Document shaping device
JP2003016052A (en) Apparatus for text shaping
JPH07141366A (en) Word processor and method for generating document with notes
JPH06342428A (en) Document layout method
JPH06119325A (en) Word correcting device

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term