JPH05181851A - Automatic editing document processing device - Google Patents

Automatic editing document processing device

Info

Publication number
JPH05181851A
JPH05181851A JP3356726A JP35672691A JPH05181851A JP H05181851 A JPH05181851 A JP H05181851A JP 3356726 A JP3356726 A JP 3356726A JP 35672691 A JP35672691 A JP 35672691A JP H05181851 A JPH05181851 A JP H05181851A
Authority
JP
Japan
Prior art keywords
format
data
document
data storage
storage part
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
JP3356726A
Other languages
Japanese (ja)
Inventor
Yoshio Kumakawa
善雄 熊川
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP3356726A priority Critical patent/JPH05181851A/en
Priority to US07/992,867 priority patent/US5425138A/en
Publication of JPH05181851A publication Critical patent/JPH05181851A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide the automatic editing document processing device which can control sentence areas and table areas by different rules. CONSTITUTION:When a document including sentences and tables together is inputted, a document input editor 11 generates document data and stores it in a sentence and table data storage part 141 of a data storage part 14. Data to manage the sentence areas and the table areas is stored in an area management data storage part 142. A format setting part 12 sets a sentence format and a table format by different rules, and they are stored in a sentence format data storage part 131 and a table format data storage part 132 of a format storage part 13 respectively. When layout display or print is indicated in the document input editor 11, a document shaping editing part 15 generates the print image of the document in accordance with format data stored in the format storage part 13, and a layout display part 19 and a print part 20 display and print the layout based on this print image.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はワードプロセッサ等のデ
ータ処理装置に係り、特に編集作業を自動的に行う文書
処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing device such as a word processor, and more particularly to a document processing device for automatically performing editing work.

【0002】[0002]

【従来の技術】従来、ワードプロセッサやオフィスコン
ピュータ等の文書処理装置では、図4(a)に示すよう
に文書が1頁の上方で終わってしまうようなバランス良
く配置されていない頁を、例えば、「頁均等割付」機能
等により自動的に1頁以内にバランスよく配置し直すこ
とがされている。
2. Description of the Related Art Conventionally, in a document processing apparatus such as a word processor or an office computer, as shown in FIG. 4A, a page which is not arranged in a well-balanced manner such that the document ends above one page, for example, With the "equal page layout" function, etc., the pages are automatically rearranged within one page in a well-balanced manner.

【0003】即ち、この「頁均等割付」機能は、文書デ
ータの文字サイズ、行間、桁間ピッチを自動的に変更す
ることによって頁内に文書データを均等に割り付ける機
能である。
That is, the "page even allocation" function is a function to evenly allocate the document data within a page by automatically changing the character size, line spacing, and column spacing of the document data.

【0004】[0004]

【発明が解決しようとする課題】しかし、図4(a)に
示すような文章と表が混在している文書に、この「頁均
等割付」を適用した場合、文章データについては改行さ
れるため文章データが書面からはみだして消えてしまう
という問題は生じないが、表データについては改行でき
ないため同図(b)に示すように、一部が書面からはみ
出て消えてしまうという問題があった。
However, when this "equal page layout" is applied to a document in which sentences and tables are mixed as shown in FIG. Although there is no problem that the text data is out of the document and disappears, there is a problem that part of the table data may be out of the document and disappear as shown in FIG.

【0005】本発明の課題は、頁の書式を一律に変える
ことなく、文章領域と表領域を別の規則で調節すること
である。
An object of the present invention is to adjust the text area and the table area by different rules without uniformly changing the page format.

【0006】[0006]

【課題を解決するための手段】本発明の手段は次の通り
である。文書データ記憶手段1(図1の機能ブロック図
参照、以下同じ)は、入力された表データと文章データ
が混在した文書データを記憶する。書式データ記憶手段
2は、上記文書データ記憶手段に記憶された文書データ
を出力するための書式データを記憶する。第1の書式デ
ータ変更手段3は、上記書式データ記憶手段に記憶され
ている表データに係る書式データを変更する。第2の書
式データ変更手段4は、上記書式データ記憶手段に記憶
されている表データ及び文章データに係る書式データを
変更する。出力手段5は、上記第1及び第2の書式デー
タ変更手段により変更された書式データに基づいて文書
データを出力する。
The means of the present invention are as follows. The document data storage unit 1 (see the functional block diagram of FIG. 1, the same applies hereinafter) stores document data in which input table data and text data are mixed. The format data storage unit 2 stores format data for outputting the document data stored in the document data storage unit. The first format data changing means 3 changes the format data relating to the table data stored in the format data storage means. The second format data changing means 4 changes the format data relating to the table data and the sentence data stored in the format data storage means. The output means 5 outputs the document data based on the format data changed by the first and second format data changing means.

【0007】[0007]

【作用】本発明の手段の作用は以下の通りである。文書
データ記憶手段1により、入力された表データと文章デ
ータが混在した文書データが記憶され、書式データ記憶
手段2により、上記文書データ記憶手段に記憶された文
書データを出力するための書式データが記憶される。そ
して、第1の書式データ変更手段3により、上記書式デ
ータ記憶手段に記憶されている表データに係る書式デー
タが変更され、第2の書式データ変更手段4により、上
記書式データ記憶手段に記憶されている表データ及び文
章データに係る書式データが変更される。そして、出力
手段5により、上記第1及び第2の書式データ変更手段
により変更された書式データに基づいて文書データが出
力される。
The operation of the means of the present invention is as follows. The document data storage unit 1 stores the document data in which the input table data and the sentence data are mixed, and the format data storage unit 2 stores the format data for outputting the document data stored in the document data storage unit. Remembered. Then, the first format data changing means 3 changes the format data relating to the table data stored in the format data storage means, and the second format data changing means 4 stores it in the format data storage means. The table data and the format data relating to the text data are changed. Then, the output means 5 outputs the document data based on the format data changed by the first and second format data changing means.

【0008】[0008]

【実施例】図2は本発明の一実施例に係る自動編集文書
処理装置の構成を示す図である。
FIG. 2 is a diagram showing the configuration of an automatic edit document processing apparatus according to an embodiment of the present invention.

【0009】同図に示すように、本装置は、入力部10
と、文書入力エディタ11、書式設定部12、書式記憶
部13、データ記憶部14、文書整形編集部15、自動
編集部16、レイアウト表示制御部17、印刷制御部1
8、レイアウト表示部19、印刷部20により構成され
ている。
As shown in FIG.
And a document input editor 11, a format setting unit 12, a format storage unit 13, a data storage unit 14, a document shaping editing unit 15, an automatic editing unit 16, a layout display control unit 17, a print control unit 1.
8, a layout display section 19, and a printing section 20.

【0010】そして、上記書式記憶部13は、文章書式
データ記憶部131、表書式データ記憶部132により
構成されており、上記データ記憶部14は、文書・表デ
ータ記憶部141と領域管理データ記憶部142により
構成されている。
The format storage unit 13 comprises a sentence format data storage unit 131 and a table format data storage unit 132. The data storage unit 14 stores a document / table data storage unit 141 and area management data storage. It is configured by the section 142.

【0011】このような構成において、入力部10より
文章と表が混在した文書が文書編集エディタ11に入力
されると、該文書入力エディタ11において文書データ
が作成され不図示の表示装置に表示される。
In such a configuration, when a document in which sentences and tables are mixed is input from the input unit 10 to the document editing editor 11, document data is created in the document input editor 11 and displayed on a display device (not shown). It

【0012】そして、上記文書データはデータ記憶部1
4の文章・表データ記憶部141に記憶され、文章領域
と表領域を管理するためのデータは領域管理データ記憶
部142に記憶される。
The document data is stored in the data storage unit 1.
4 is stored in the text / table data storage unit 141, and data for managing the text area and the table area is stored in the area management data storage unit 142.

【0013】上記入力部10からの指示により、上記文
書入力エディタ11において書式設定が指定されると、
書式設定部12において文章書式及び表書式が設定さ
れ、文章書式データは書式記憶部13の文章書式データ
記憶部131に記憶され、表書式データは記憶部13の
表書式データ記憶部132に記憶される。
When a format setting is designated in the document input editor 11 according to an instruction from the input section 10,
A sentence format and a table format are set in the format setting unit 12, the sentence format data is stored in the sentence format data storage unit 131 of the format storage unit 13, and the table format data is stored in the table format data storage unit 132 of the storage unit 13. It

【0014】そして、上記入力部10からの指示によ
り、上記文書入力エディタ11においてレイアウト表示
または印刷が指定されると、データ記憶部14に記憶さ
れた文章・表データから書式記憶部13に記憶された書
式データに従って文書整形編集部15において文書の印
刷イメージが作成される。この時、自動編集が指定され
ている頁に関しては、自動編集部16において自動編集
が行われる。
When layout display or printing is designated in the document input editor 11 by an instruction from the input section 10, the text / table data stored in the data storage section 14 is stored in the format storage section 13. A document print image is created in the document shaping / editing unit 15 according to the format data. At this time, with respect to the page for which automatic editing is designated, automatic editing is performed by the automatic editing section 16.

【0015】こうして作成された印刷イメージをレイア
ウト表示制御部17に送ることによりレイアウト表示部
19によりレイアウト表示が行われ、印刷制御部18に
送ることにより印刷部20において印刷が行われる。
By sending the print image thus created to the layout display control unit 17, the layout display unit 19 displays the layout, and by sending it to the print control unit 18, the printing unit 20 prints.

【0016】以下、図3のフローチャートを参照して、
本実施例の自動編集文書処理装置の特徴的な動作である
自動編集部16における自動編集動作について説明す
る。
Hereinafter, with reference to the flowchart of FIG.
An automatic editing operation in the automatic editing unit 16 which is a characteristic operation of the automatic editing document processing apparatus of this embodiment will be described.

【0017】まず、文書整形編集部15で作成された印
刷イメージにおいて、文書が1頁内にバランス良く配置
されているか否かをテストする(ステップS301)。
First, in the print image created by the document shaping / editing section 15, it is tested whether or not the document is arranged in a well-balanced manner within one page (step S301).

【0018】このテストは、例えば1頁の下方に用紙全
体に対して何パーセントの余白が残っているかを算出し
て、所定の基準値と比較することにより簡単に行うこと
ができる。
This test can be easily performed, for example, by calculating what percentage of blank space remains on the entire sheet below one page and comparing it with a predetermined reference value.

【0019】上記テストの結果、文書がバランスよく配
置されていると判断された場合には動作を終了し、バラ
ンスが悪いと判断された場合には(ステップS30
2)、文字サイズが限界値を越えているか否かを制御す
る(ステップS303)。
As a result of the above test, if it is determined that the documents are arranged in a well-balanced manner, the operation is terminated, and if it is determined that the documents are not well-balanced (step S30).
2) Control whether the character size exceeds the limit value (step S303).

【0020】そして、まだ、文字サイズが限界値よりも
小さい場合には、文字サイズを1段階大きくした後(ス
テップ304)、上記ステップS301に戻る。
If the character size is still smaller than the limit value, the character size is increased by one level (step 304) and the process returns to step S301.

【0021】ここで、文字サイズの限界値とは、用紙サ
イズ毎に予めきめられている値であり、文字サイズが限
界値より小さい場合には、1ポイント毎にそのサイズ拡
大するものとする。
Here, the character size limit value is a value that is set in advance for each paper size, and if the character size is smaller than the limit value, the size is enlarged every point.

【0022】ここで、文字サイズの拡大は文書データに
おける文字に対して行われ、表データ、つまり表中の文
字には適用されない。
Here, the enlargement of the character size is performed on the characters in the document data and is not applied to the table data, that is, the characters in the table.

【0023】一方、上記ステップS303において、文
字サイズが限界値を越えていると判断された場合には、
次に行間隔が限界値を越えているか否かを検討する(ス
テップS305)。
On the other hand, when it is determined in step S303 that the character size exceeds the limit value,
Next, it is examined whether the line spacing exceeds the limit value (step S305).

【0024】そして、上記ステップS305において、
行間隔が限界値より小さいと判断された場合には、行間
隔を1段階(1/8文字幅)大きくする(ステップS3
06)。この場合は文章データ、表データ共に適用され
る。その後、文書データが1頁内にバランス良く配置さ
れているか否かを再度テストする(ステップS30
7)。尚、このテストはステップS301と同様に行わ
れる。
Then, in step S305,
If it is determined that the line spacing is smaller than the limit value, the line spacing is increased by one step (1/8 character width) (step S3).
06). In this case, both text data and table data are applied. After that, it is tested again whether or not the document data are arranged in a well-balanced manner within one page (step S30).
7). Note that this test is performed in the same manner as step S301.

【0025】このテストの結果、文書がバランス良く配
置されていると判断された場合には動作を終了し、バラ
ンスが悪いと判断された場合には上記ステップS305
に戻る(ステップS308)。
As a result of this test, if it is determined that the documents are arranged in a well-balanced manner, the operation is ended, and if it is determined that the documents are not well-balanced, the above step S305
(Step S308).

【0026】一方、上記ステップS305において、行
間隔が限界値を越えていると判断された場合には、上余
白が限界値を越えているか否かを検討する(ステップS
309)。
On the other hand, when it is determined in step S305 that the line spacing exceeds the limit value, it is examined whether or not the upper margin exceeds the limit value (step S).
309).

【0027】そして、上記ステップS309において、
上余白が限界値より小さいと判断された場合には、上余
白を1段階大きくして(ステップS310)、文章及び
表が1頁内にバランス良く配置されているか否かをステ
ップS301と同様の処理で再度テストする(ステップ
S311)。尚、上余白については、1段階は1mm単
位である。
Then, in step S309,
If it is determined that the upper margin is smaller than the limit value, the upper margin is increased by one step (step S310) and it is determined whether or not the text and the table are arranged in a well-balanced manner in the same manner as in step S301. The process is tested again (step S311). The upper margin is in units of 1 mm in one step.

【0028】このテストの結果、バランス良く配置され
ていると判断された場合には動作を終了し、バランスが
悪いと判断された場合には上記ステップS309に戻る
(ステップS312)。
As a result of this test, if it is determined that they are arranged in good balance, the operation is ended, and if it is determined that the balance is not good, the process returns to step S309 (step S312).

【0029】一方、上記ステップS309においても、
上余白が限界値を越えていると判断されてしまった場合
には、そこで自動編集部16の動作を終了する。
On the other hand, also in step S309,
When it is determined that the upper margin exceeds the limit value, the operation of the automatic editing unit 16 ends there.

【0030】以上詳述したように、本発明の自動編集文
書処理装置は、頁均等割付といった自動編集機能におい
て、自動調節の際、頁の書式を一律に変えてしまうので
はなく、文章領域と表領域を別の規則で調節する。
As described in detail above, in the automatic editing document processing apparatus of the present invention, in the automatic editing function such as page even allocation, when the automatic adjustment is performed, the page format is not changed uniformly, but the text area is not changed. Adjust the table area with another rule.

【0031】よって、文章と表が混在した文書において
も正常な自動編集を行うことができる。
Therefore, normal automatic editing can be performed even in a document in which sentences and tables are mixed.

【0032】[0032]

【発明の効果】本発明によれば、頁の書式を一律に変え
ることなく、文章領域と表領域とを別の規則により調節
することが可能な自動編集文書処理装置を提供すること
ができる。
According to the present invention, it is possible to provide an automatic edit document processing apparatus capable of adjusting a text area and a table area according to different rules without uniformly changing the page format.

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

【図1】本発明を説明するための機能ブロック図であ
る。
FIG. 1 is a functional block diagram for explaining the present invention.

【図2】本発明の実施例に係る自動編集文書処理装置の
ブロック構成図である。
FIG. 2 is a block configuration diagram of an automatic edit document processing apparatus according to an embodiment of the present invention.

【図3】実施例の自動編集文書処理装置の動作を説明す
るためのフローチャートである。
FIG. 3 is a flowchart for explaining the operation of the automatically edited document processing apparatus of the embodiment.

【図4】従来の自動編集文書処理装置の動作を説明する
ための図である。
FIG. 4 is a diagram for explaining the operation of a conventional automatic edit document processing apparatus.

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

1…文書データ記憶手段、2…書式データ記憶手段、3
…第1の書式変更手段、4…第2の書式変更手段、5…
出力手段。
1 ... Document data storage means, 2 ... Format data storage means, 3
... first format changing means, 4 ... second format changing means, 5 ...
Output means.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 入力された表データと文章データが混在
した文書データを記憶する文書データ記憶手段と、 上記文書データ記憶手段に記憶された文書データを出力
するための書式データを記憶する書式データ記憶手段
と、 上記書式データ記憶手段に記憶されている表データに係
る書式データを変更する第1の書式データ変更手段と、 上記書式データ記憶手段に記憶されている表データ及び
文章データに係る書式データを変更する第2の書式デー
タ変更手段と、 上記第1及び第2の書式データ変更手段により変更され
た書式データに基づいて文書データを出力する出力手段
と、を具備することを特徴とする自動編集文書処理装
置。
1. A document data storage means for storing document data in which input table data and text data are mixed, and format data for storing format data for outputting the document data stored in the document data storage means. Storage means, first format data changing means for changing format data relating to table data stored in the format data storage means, and format relating to table data and sentence data stored in the format data storage means It is characterized by further comprising: second format data changing means for changing data; and output means for outputting document data based on the format data changed by the first and second format data changing means. Automatic editing document processor.
JP3356726A 1991-12-26 1991-12-26 Automatic editing document processing device Pending JPH05181851A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP3356726A JPH05181851A (en) 1991-12-26 1991-12-26 Automatic editing document processing device
US07/992,867 US5425138A (en) 1991-12-26 1992-12-17 Apparatus and method for automatically editing documents including text data and table data with ruled lines

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3356726A JPH05181851A (en) 1991-12-26 1991-12-26 Automatic editing document processing device

Publications (1)

Publication Number Publication Date
JPH05181851A true JPH05181851A (en) 1993-07-23

Family

ID=18450471

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3356726A Pending JPH05181851A (en) 1991-12-26 1991-12-26 Automatic editing document processing device

Country Status (1)

Country Link
JP (1) JPH05181851A (en)

Similar Documents

Publication Publication Date Title
US5353222A (en) Document processing apparatus for correcting address and format information of document information up to a designated page
JPH05181851A (en) Automatic editing document processing device
JPH0232878A (en) Information processor with function for designating printing-starting position
US5333253A (en) Apparatus for writing a document under two-document display condition
JPS61173373A (en) Document editing device
JP2003046762A (en) Image processor
JPH0410660B2 (en)
JP2005193559A (en) Image forming apparatus
JPH05204899A (en) Document layout device
JPH06266702A (en) Document processor
JP3161744B2 (en) Information processing device
JPH04263357A (en) Information processor
JP3171557B2 (en) Document creation device
JPH09114434A (en) Image forming device
JPH1173293A (en) Information processor and method for displaying picture
JPH04373066A (en) Document processor
JPH0540466A (en) Information processor
JPH11216926A (en) Document printer
JPH10207878A (en) Document editing and printing device
JPH0535734A (en) Information processor
JPH0844735A (en) Document processor
JPH05127848A (en) Document printer
JPH08156365A (en) Paging printer
JPH0696069A (en) Ruled line drawing device with format
JPH05181849A (en) Automatic editing table processing device