JPH05298292A - Document processor with automatic editing function - Google Patents
Document processor with automatic editing functionInfo
- Publication number
- JPH05298292A JPH05298292A JP4127920A JP12792092A JPH05298292A JP H05298292 A JPH05298292 A JP H05298292A JP 4127920 A JP4127920 A JP 4127920A JP 12792092 A JP12792092 A JP 12792092A JP H05298292 A JPH05298292 A JP H05298292A
- Authority
- JP
- Japan
- Prior art keywords
- editing
- document
- paper
- rule
- editing rule
- 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
Links
Landscapes
- Document Processing Apparatus (AREA)
Abstract
(57)【要約】
【目的】 予め設定されている編集規則にしたがって文
書データを自動的に編集できる他に、指定された用紙の
種類特有の要素も考慮して編集する。
【構成】 CPU1は用紙の種類が指定されると、その
種類に対応する編集規則を編集規則辞書メモリ12−2
から読み出す。そして、CPU1は文書メモリ12−1
内の文書データを解析し、その解析結果に基づいてこの
文書データを編集規則辞書メモリ12−2から読み出し
た編集規則にしたがって編集する。
(57) [Summary] [Purpose] Besides automatically editing document data in accordance with preset editing rules, it also takes into account elements specific to the specified paper type. [Structure] When a paper type is designated, the CPU 1 creates an edit rule corresponding to the type of the edit rule dictionary memory 12-2.
Read from. Then, the CPU 1 uses the document memory 12-1.
The document data in is analyzed and based on the analysis result, this document data is edited according to the editing rule read from the editing rule dictionary memory 12-2.
Description
【0001】[0001]
【産業上の利用分野】この発明は、ワードプロセッサ等
において、文書データを予め設定されている編集規則に
したがって自動的に編集する自動編集機能付き文書処理
装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document processing apparatus having an automatic editing function for automatically editing document data in a word processor or the like in accordance with preset editing rules.
【0002】[0002]
【従来の技術】一般に、ワードプロセッサにおいては、
文書作成中あるいは文書作成後に、文書全体の配置状態
を揃える編集作業や特定の文字あるいは行に対してアン
ダーラインを引いたり、文字サイズを拡大することによ
り部分強調を行う編集作業を行うことができるようにな
っており、また、日本語文書の印字形式に対応して横書
き印字、縦書き印字の両方を選択できるようになってい
る。2. Description of the Related Art Generally, in a word processor,
During or after creating a document, you can perform editing work to align the layout of the entire document or underline a specific character or line, or to perform partial highlighting by enlarging the character size. In addition, both horizontal writing and vertical writing can be selected according to the printing format of the Japanese document.
【0003】[0003]
【発明が解決しようとする課題】しかしながら、上述の
編集作業は文書作成としては付随的な作業であるにも拘
らず意外に手間と時間がかかり、ユーザにとっては大き
な負担となっていた。ところで、同一サイズの用紙であ
っても用紙の向きを変えて文字の印字方向を縦書きから
横書きに変更すると、図6の(A)に示す場合には、縦
書き印字における上下の位置関係が横書き印字における
左右の位置関係に対応付けられ、印字方向の変更に伴う
不都合は特に生じない。しかしながら、一般的な印字レ
イアウトとしては必ずしも縦書きにおける上下の位置関
係を横書きにおける左右の位置関係に置き換えるだけで
はないのが普通である。例えば、図6の(B)に示す様
に縦書きをそのまま横書きに変更すると、「平成元年」
の文字列は横書きで左寄せ位置に配置されるが、一般に
日付の記入位置は横書きのときには右寄せ位置に配置さ
れるべきであり、実情に沿わなくなる。また、文字の大
きさという要素と印刷する用紙との関係について考えて
みると、白紙に印刷する場合には強調のために文字サイ
ズを拡大することが可能だが、原稿用紙やレポート用紙
のような罫線つきの用紙では拡大文字の使用を避けるの
が普通である。この発明の課題は、予め設定されている
編集規則にしたがって文書データを自動的に編集できる
他に、指定された用紙の種類特有の要素も考慮して編集
できるようにすることである。However, although the above-mentioned editing work is an incidental work for creating a document, it takes a lot of time and effort, which is a great burden for the user. By the way, even if the paper of the same size is changed and the printing direction of the characters is changed from vertical writing to horizontal writing, in the case shown in FIG. Corresponding to the left-right positional relationship in horizontal writing, no particular inconvenience occurs when changing the printing direction. However, as a general print layout, it is not always necessary to replace the vertical positional relationship in vertical writing with the horizontal positional relationship in horizontal writing. For example, if vertical writing is changed to horizontal writing as shown in FIG.
The character string of is horizontally written and is arranged at the left-justified position, but in general, the date entry position should be arranged at the right-justified position when horizontally written, which does not follow the actual situation. In addition, considering the relationship between the element of character size and the paper to be printed, it is possible to increase the character size for emphasis when printing on blank paper, It is common to avoid using enlarged characters on lined paper. An object of the present invention is to allow document data to be automatically edited according to a preset editing rule, and also to be edited in consideration of an element peculiar to a designated paper type.
【0004】[0004]
【課題を解決するための手段】この発明の手段は次の通
りである。 (1)、文書記憶手段は文書データを記憶するランダム
アクセスメモリやディスク装置等である。 (2)、解析手段はこの文書記憶手段に記憶されている
文書データの編集内容を解析する。ここで、編集内容と
は右寄せ、左寄せ等の文字の配置状態や部分強調の為の
文字サイズ等である。 (3)、編集規則記憶手段は用紙の種類毎にその編集規
則を記憶する。ここで、編集規則記憶手段は例えば、文
書の配置状態を定義する編集規則を用紙の種類別に記憶
したり、文書の部分強調を定義する編集規則を用紙の種
類別に記憶する。 (4)、読出手段は印字に使用する用紙が指定された場
合に指定用紙の種類に対応する編集規則を前記編集規則
記憶手段から読み出す。 (5)、編集手段は前記解析手段の解析結果に基づいて
前記文書記憶手段内の文書データを前記読出手段によっ
て読み出された編集規則にしたがって自動編集する。The means of the present invention are as follows. (1) The document storage means is a random access memory or a disk device for storing document data. (2), the analysis means analyzes the edited contents of the document data stored in the document storage means. Here, the edited contents are the character arrangement state such as right justification and left justification, and the character size for partial emphasis. (3) The edit rule storage means stores the edit rule for each type of paper. Here, the edit rule storage means stores, for example, an edit rule that defines a layout state of a document for each paper type, and an edit rule that defines partial emphasis of a document for each paper type. (4) When the paper to be used for printing is designated, the reading means reads the editing rule corresponding to the type of designated paper from the editing rule storage means. (5) The editing means automatically edits the document data in the document storage means according to the editing rule read by the reading means based on the analysis result of the analyzing means.
【0005】[0005]
【作用】この発明の手段の作用は次の通りである。い
ま、編集規則記憶手段には用紙の種類、例えば縦書き原
稿用紙、横書き原稿用紙、レポート用紙、縦書き白紙、
横書き白紙毎にその編集規則が記憶されている場合に、
使用すべき用紙として縦書き原稿用紙が指定されると、
読出手段はこの指定用紙の種類に対応する編集規則を編
集規則記憶手段から読み出す。すると、編集手段は前記
解析手段の解析結果に基づいて前記文書記憶手段内の文
書データを前記読出手段によって読み出された編集規則
にしたがって自動編集する。したがって、予め設定され
ている編集規則にしたがって文書データを自動的に編集
できる他に、指定された用紙の種類特有の要素も考慮し
て編集することができる。The operation of the means of the present invention is as follows. Now, in the editing rule storage means, types of paper, for example, vertical writing original paper, horizontal writing original paper, report paper, vertical writing blank paper,
If the editing rule is stored for each horizontal blank page,
If vertical document paper is specified as the paper to be used,
The reading unit reads the editing rule corresponding to the type of the designated sheet from the editing rule storage unit. Then, the editing unit automatically edits the document data in the document storage unit according to the editing rule read by the reading unit based on the analysis result of the analyzing unit. Therefore, in addition to being able to automatically edit the document data according to the preset editing rule, it is possible to edit in consideration of the element peculiar to the designated paper type.
【0006】[0006]
【実施例】以下、図1〜図5を参照して一実施例を説明
する。図1は自動編集機能付きワードプロセッサのブロ
ック図である。CPU1はROM2内に格納されている
システムプログラム等にしたがってこのワードプロセッ
サの各種の動作を制御するもので、その周辺デバイスと
してCPU1にはキーボード3、CRT表示装置4、デ
ィスク装置5、プリンタ装置6が対応するキーボード制
御部7、CRT制御部8、外部記憶制御部9、プリンタ
制御部10を介してそれぞれ接続されており、CPU1
はこれらの入出力動作を制御する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment will be described below with reference to FIGS. FIG. 1 is a block diagram of a word processor having an automatic editing function. The CPU 1 controls various operations of this word processor in accordance with a system program stored in the ROM 2, and the CPU 1, as its peripheral device, corresponds to the keyboard 3, the CRT display device 4, the disk device 5, and the printer device 6. Are connected via a keyboard control unit 7, a CRT control unit 8, an external storage control unit 9, and a printer control unit 10.
Controls these input / output operations.
【0007】キーボード制御部7はキーボード3上のキ
ーが操作されると、その操作キーに対応するキーコード
を生成出力してCPU1に与える。CRT制御部8はC
PU1の制御下でビデオRAM(VRAM)11内に記
憶されている画像データを読み出してCRT表示装置4
から表示出力させる。外部記憶制御部9は文書ファイル
等を記憶するディスク装置5に対してデータの書き込み
/読み出し動作を制御する。プリンタ制御部10はCP
U1の制御下でRAM12内の文書メモリ12−1から
読み出された文書データ等をプリンタ装置6から印字出
力させる。When a key on the keyboard 3 is operated, the keyboard control section 7 generates and outputs a key code corresponding to the operation key and gives it to the CPU 1. CRT control unit 8 is C
Under the control of the PU 1, the image data stored in the video RAM (VRAM) 11 is read to read the CRT display device 4
Display output from. The external storage controller 9 controls data writing / reading operations with respect to the disk device 5 that stores a document file or the like. Printer control unit 10 is CP
Under the control of U1, the document data read from the document memory 12-1 in the RAM 12 is printed out from the printer device 6.
【0008】RAM12は文書メモリ12−1の他に編
集規則辞書メモリ12−2、ワークメモリ12−3、受
信人辞書メモリ12−4、発信人辞書メモリ12−5等
を備えた主記憶装置で、文書メモリ12−1は通常と同
様に入力作成された文書データを記憶するテキストメモ
リである。編集規則辞書メモリ12−2は自動編集機能
を構成するもので、この編集規則辞書メモリ12−2に
は用紙の種類に対応して用紙別の編集規則が記憶されて
いる。ここで、CPU1は文書メモリ12−1に格納さ
れている文書データの編集内容を解析すると共に、この
解析結果に基づいて文書メモリ12−1内の文書データ
を自動的に編集する。その際、CPU1はキー操作によ
って用紙の種類が指定された場合には、編集規則辞書メ
モリ12−2から指定用紙の種類に対応する編集規則を
読み出し、その編集規則にしたがって文書データの編集
を行う。The RAM 12 is a main storage device including an editing rule dictionary memory 12-2, a work memory 12-3, a recipient dictionary memory 12-4, a sender dictionary memory 12-5, etc. in addition to the document memory 12-1. The document memory 12-1 is a text memory for storing the input and created document data as usual. The editing rule dictionary memory 12-2 constitutes an automatic editing function, and the editing rule dictionary memory 12-2 stores the editing rule for each sheet in correspondence with the type of sheet. Here, the CPU 1 analyzes the editing contents of the document data stored in the document memory 12-1, and automatically edits the document data in the document memory 12-1 based on the analysis result. At this time, when the paper type is specified by the key operation, the CPU 1 reads the editing rule corresponding to the specified paper type from the editing rule dictionary memory 12-2, and edits the document data according to the editing rule. ..
【0009】図2は編集規則辞書メモリ12−2内に予
め設定されている編集規則の一部を示したもので、編集
規則には文書全般に関するルール(A)と文書構成要素
に対するルール(B)とが存在する。なお、文書構成要
素とは文書解析によって抽出した要素で、本実施例では
「文書全体の大見出し」、「日付」、「受信人」、「発
信人」等の文字列である。このようなルール(A)とル
ール(B)とから成る編集規則は用紙の種類に対応して
編集規則辞書メモリ12−2に設定されている。ここ
で、用紙の種類には図示の如く、「縦書き原稿用紙」、
「横書き原稿用紙」、「レポート用紙」、「縦書き白
紙」、「横書き白紙」で、その他にも「縦書き便せ
ん」、「横書き便せん」等が存在する。そして、文書全
般に関するルール(A)には次のものがある。文字サイ
ズに制限が有るか(全角か自由倍角か)。文字位置(文
字ピッチ)は全角単位か半角単位か。均等割付を許す
か。また、文書構成要素に関するルール(A)には次の
ものがある。大見出しを自由倍角にするか全角のみか。
大見出しの印字位置を中央に寄せるか。日付の印字位置
を右側(下側)に寄せるか。受信人の印字位置を左側
(上側)に寄せるか。発信人の印字位置を右側(下側)
に寄せるか。これらのルール(A)、(B)は「縦書き
原稿用紙」に対しては次のような内容の編集規則が設定
されている。文書全般に関するルール(A)……文字サ
イズは全角のみ、文字位置は全角単位、均等割付は許さ
ない。文書構成要素に対するルール(B)……大見出し
は倍角文字にしない、大見出しの文字位置は中央寄せ、
日付は上側に寄せ、受信人は上側に寄せ、発信人は下側
に寄せる。FIG. 2 shows a part of the editing rules preset in the editing rule dictionary memory 12-2. The editing rules include a rule (A) for the whole document and a rule (B) for the document constituent elements. ) And exist. The document constituent elements are elements extracted by the document analysis, and are character strings such as “large headline of the entire document”, “date”, “receiver”, “sender” in this embodiment. The editing rule including the rule (A) and the rule (B) is set in the editing rule dictionary memory 12-2 corresponding to the type of paper. Here, as shown in the figure, the type of paper is "vertical writing original paper",
There are “horizontal writing original paper”, “report paper”, “vertical writing blank paper”, “horizontal writing blank paper”, and also “vertical writing letter paper”, “horizontal writing letter paper” and the like. Then, there are the following rules (A) relating to the entire document. Is there a limit on the font size (full-width or free-width)? Is the character position (character pitch) in full-width or half-width units? Do you allow even allocation? Further, there are the following rules (A) relating to document components. Whether the headline is double-width or full-width only.
Is the print position of the large headline centered? Is the date print position shifted to the right (lower side)? Is the print position of the recipient moved to the left side (upper side)? The sender's print position is on the right side (lower side)
To send to? In these rules (A) and (B), the following editing rules are set for the "vertical writing original paper". Rules for general documents (A): Character size is full-width only, character position is full-width unit, and even allocation is not allowed. Rule for document components (B) ... Large headings are not double-byte characters, large headings are centered,
Dates are moved up, recipients are moved up, senders are moved down.
【0010】次に、本実施例の動作を図3〜図5に示す
フローチャートにしたがって説明する。図3は印字時の
自動編集処理を示したフローチャート、図4は図3の大
見出し編集処理(ステップA7)を詳細に示したフロー
チャート、図5は図3の日付編集処理(ステップA9)
を詳細に示したフローチャートである。先ず、キーボー
ド3から印字すべき用紙の種類を指定すると(ステップ
A1)、CPU1は編集規則辞書メモリ12−2からそ
の指定用紙の種類に対応する編集規則としてルール
(A)とルール(B)を読み出し、ワークメモリ12−
3に格納しておく(ステップA2)。次に、CPU1は
印字対象である文書メモリ12−1内の文書データを指
定すると共にその文書データの構造解析を行う(ステッ
プA3)。ここで、CPU1は文書構造を解析した結
果、文書構成要素として「文書全体の大見出し」、「日
付」、「受信人」、「発信人」等を抽出するが、この場
合の抽出条件を例示すると、下記の通りである。大見出
し文……大見出しは1文書に1文とする。句読点を含ま
ないこと。日付、受信人、発信人でないこと。記号(例
えば“1”、(1)などの記号)付き文字列よりも前に
あること。 日付……Xを年号、Nを数字、Wを曜日として例えば下
記のパターンに一致すること。「(X) N年N月N日
(W)」、「N.N.N.W」、「N−N−N(W)」
等。 発信人、受信人……受信人辞書メモリ12−4、発信人
辞書メモリ12−5に予め登録されている人名や会社名
であること。Next, the operation of this embodiment will be described with reference to the flow charts shown in FIGS. 3 is a flowchart showing the automatic editing process at the time of printing, FIG. 4 is a flowchart showing in detail the large headline editing process (step A7) of FIG. 3, and FIG. 5 is the date editing process of FIG. 3 (step A9).
2 is a flowchart showing in detail. First, when the type of paper to be printed is designated from the keyboard 3 (step A1), the CPU 1 determines the rule (A) and the rule (B) from the editing rule dictionary memory 12-2 as the editing rule corresponding to the designated type of paper. Read, work memory 12-
3 (step A2). Next, the CPU 1 specifies the document data in the document memory 12-1 to be printed and analyzes the structure of the document data (step A3). Here, as a result of analyzing the document structure, the CPU 1 extracts “large headline of the entire document”, “date”, “recipient”, “sender”, etc. as document constituent elements. The extraction conditions in this case are illustrated. Then, it is as follows. Large headline sentence: One large headline per document. Do not include punctuation. Not the date, recipient, or sender. Be preceded by a character string with a symbol (for example, a symbol such as "1" or (1)). Date: X is the year number, N is the number, and W is the day of the week. Match the following patterns, for example. "(X) Nth Nth Nth (W)", "NNNNW", "NNNN (W)"
etc. Sender, receiver ... A person name or a company name registered in advance in the recipient dictionary memory 12-4 and the sender dictionary memory 12-5.
【0011】このような文書構造の解析処理が終ると、
次に文書データを用紙の種類に対応して編集する自動編
集処理を行う。先ず、文書終了か、つまり、印字対象で
ある文書データの全文について自動編集処理を終了した
か否かをチェックするが(ステップA4)、最初は当然
編集処理の実行前であるので、印字対象である文書デー
タの先頭からその1文を取り出し(ステップA5)、そ
れが大見出しか(ステップA6)、日付か(ステップA
8)、受信人か(ステップA10)、発信人か(ステッ
プA12)かをチェックする。この場合、上述した文書
構造の解析結果に照し合わせながらそのチェックを行
う。ここで、大見出し、日付、受信人、発信人のいずれ
かに該当する文であれば、それに対応する自動編集処理
(ステップA7、A9、A11、A13)を行ったのち
その編集結果をプリンタ制御部10内の印字バッファ
(図示せず)に対して出力する(ステップA15)。一
方、上述のいずれにも該当する文でなければステップA
14に進み、その文の自動編集を行わずにそのままの状
態でプリンタ制御部10内の印字バッファに対して出力
したのちステップA4に戻る。When the document structure analysis process is completed,
Next, automatic edit processing is performed to edit the document data according to the type of paper. First, it is checked whether the document is finished, that is, whether the automatic editing process has been completed for all the sentences of the document data to be printed (step A4). The one sentence is taken out from the beginning of a certain document data (step A5), and whether it is a headline (step A6) or a date (step A).
8) It is checked whether it is the receiver (step A10) or the sender (step A12). In this case, the check is performed with reference to the analysis result of the document structure described above. Here, if the sentence corresponds to any one of the headline, date, recipient, and sender, the corresponding automatic editing process (steps A7, A9, A11, A13) is performed, and the edited result is controlled by the printer. The data is output to the print buffer (not shown) in the unit 10 (step A15). On the other hand, if the sentence does not correspond to any of the above, step A
In step 14, the sentence is output to the print buffer in the printer control unit 10 as it is without being automatically edited, and then the process returns to step A4.
【0012】ここで、大見出し文に対する自動編集処理
を図4のフローチャートにしたがって説明する。先ず、
編集規則辞書メモリ12−2から読み出してワークメモ
リ12−3内に保持させてある編集規則を参照し、ルー
ルAの文字サイズは全角のみかをチェックする(ステッ
プB1)。いま、指定用紙が縦書き原稿用紙であれば文
字サイズは全角のみであるが、縦書き白紙や横書き白紙
の場合には自由倍角も許されている。ここで、文字サイ
ズとして全角に制限されていなければ、倍角文字に拡大
した場合に大見出し文の文字数等から大見出し文の全体
を行内に収めることができるか否かをチェックする(ス
テップB2)。ここで、次行への回り込みが起きず、行
内に収めることができれば文字サイズを指定倍角に拡大
し、大見出し文を拡大文字に変更する(ステップB
3)。Now, the automatic editing process for a large headline sentence will be described with reference to the flowchart of FIG. First,
The editing rule read from the editing rule dictionary memory 12-2 and held in the work memory 12-3 is referred to, and it is checked whether the character size of the rule A is only full width (step B1). Now, if the designated paper is the vertical writing original paper, the character size is only full-width, but in the case of the vertical writing blank paper or the horizontal writing blank paper, the double-width is also allowed. Here, if the character size is not limited to full-width characters, it is checked whether or not the entire large-headline sentence can be accommodated in a line based on the number of characters of the large-headline sentence when enlarged to double-width characters (step B2). .. Here, if there is no wraparound to the next line and it can fit in the line, the character size is enlarged to the specified double-width, and the large headline sentence is changed to the enlarged character (step B).
3).
【0013】このようにしてルール(A)の編集規則を
参照することにより大見出し文の文字サイズに対する自
動編集処理が終ると、更に指定用紙に対応する編集規則
を参照することによりその配置位置に対する自動編集処
理を行う。先ず、編集規則の大見出し位置を参照し行の
中央に寄せるか否かをチェックする(ステップB4)。
ここで、中央寄せが指定されていなければ、見出し文を
左側(上側)に寄せる位置に配置する(ステップB
6)。一方、中央寄せが指定されていれば、ステップB
5に進み、編集規則の文字位置は全角単位か半角単位か
をチェックする(ステップB5)。ここで、半角単位が
指定されていれば、大見出し文を半角単位で中央寄せ位
置に配置する(ステップB7)。また、全角単位が指定
されていれば、大見出し文を全角単位で中央寄せ位置に
配置する(ステップB8)。In this way, when the automatic editing process for the character size of the large headline sentence is completed by referring to the editing rule of rule (A), the editing position corresponding to the specified sheet is further referred to by referring to the editing rule. Perform automatic edit processing. First, it is checked whether or not the heading position of the editing rule is aligned with the center of the line (step B4).
Here, if centering is not specified, the headline sentence is arranged at a position to the left side (upper side) (step B).
6). On the other hand, if centering is specified, step B
5, the character position of the editing rule is checked whether it is a full-width unit or a half-width unit (step B5). Here, if the half-width unit is designated, the headline sentence is arranged in the center-aligned position in the half-width unit (step B7). If the full-width unit is designated, the large headline sentence is placed in the center-aligned position in full-width units (step B8).
【0014】次に、日付に対する自動編集処理を図5の
フローチャートにしたがって説明する。先ず、指定用紙
の種類に対応する編集規則の日付位置を参照することに
より右側(下側)寄せか否かをチェックする(ステップ
C1)。この結果、ステップC1でNOと判断された場
合には日付を左側(上側)に寄せて配置するが(ステッ
プC2)、YESと判断された場合には日付を右側(下
側)に寄せて配置する(ステップC3)。Next, the automatic editing process for the date will be described with reference to the flowchart of FIG. First, by referring to the date position of the editing rule corresponding to the type of the designated paper, it is checked whether the right side (lower side) is aligned (step C1). As a result, if NO is determined in step C1, the date is arranged on the left side (upper side) (Step C2), but if YES is determined, the date is arranged on the right side (lower side). (Step C3).
【0015】この図5のフローチャートは受信人や発信
人の文字列配置にも利用され、日付配置と同様に受信人
や発信人の文字列も指定用紙の種類に対応する編集規則
にしたがって配置される。The flowchart of FIG. 5 is also used for character string arrangement of the receiver and the sender, and similarly to the date arrangement, the character strings of the receiver and the sender are arranged according to the editing rule corresponding to the type of the designated sheet. It
【0016】なお、上記実施例において、編集規則辞書
メモリ12−2に設定されている編集規則は予めメーカ
サイドによって固定的に用意されたものであるが、ユー
ザの使用状況等に応じて編集規則を任意に設定変更した
り、追加登録できるようにしてもよい。この場合、通常
の設定登録と同様に設定画面に編集規則を表示させなが
ら操作者と会話形式で任意の編集規則を入力設定すれば
よい。In the above embodiment, the editing rule set in the editing rule dictionary memory 12-2 is fixedly prepared in advance by the maker side. However, the editing rule is set according to the user's usage situation. May be arbitrarily set or additionally registered. In this case, an arbitrary editing rule may be input and set in a conversational manner with the operator while displaying the editing rule on the setting screen as in the case of normal setting registration.
【0017】[0017]
【発明の効果】この発明によれば、予め設定されている
編集規則にしたがって文書データを自動的に編集できる
他に、指定された用紙の種類特有の要素も考慮して編集
することができるので、ユーザの負担を大幅に軽減でき
ると共に、原稿用紙やレポート用紙のように罫線付きの
用紙や横書き用紙、縦書き用紙等であっても用紙の種類
に応じた適正な編集が可能となり、極めて実用性の高い
ものとなる。According to the present invention, the document data can be automatically edited in accordance with a preset editing rule, and in addition, the elements peculiar to the designated paper type can be considered and edited. , The burden on the user can be greatly reduced, and even with ruled paper such as manuscript paper and report paper, horizontal writing paper, vertical writing paper, etc., it is possible to perform appropriate editing according to the type of paper, which is extremely practical. It will be highly responsive.
【図1】実施例に係る自動編集機能付きワードプロセッ
サの構成を示したブロック図。FIG. 1 is a block diagram showing the configuration of a word processor with an automatic editing function according to an embodiment.
【図2】編集規則辞書メモリ12−2に予め設定されて
いる編集規則の一部を示した図。FIG. 2 is a diagram showing a part of editing rules preset in an editing rule dictionary memory 12-2.
【図3】印字時の自動編集処理全体を示したフローチャ
ート。FIG. 3 is a flowchart showing the entire automatic editing process during printing.
【図4】図3の大見出し編集処理(ステップA7)を詳
細に示したフローチャート。FIG. 4 is a flowchart showing in detail the large headline editing process (step A7) of FIG.
【図5】図3の日付編集処理(ステップA9)を詳細に
示したフローチャート。5 is a flowchart showing in detail the date editing process (step A9) of FIG.
【図6】従来において縦書き印字から横書き印字に変更
した場合の印字状態図で、(A)は印字方向を変更して
も適正状態に印字される場合、(B)は印字方向の変更
により不適正な印字となる場合を例示した図。FIG. 6 is a print state diagram in the case where the vertical writing is changed to the horizontal writing in the related art, and (A) shows a proper state even if the printing direction is changed, and (B) shows the changing of the printing direction. The figure which illustrated the case where it became improper printing.
1 CPU 2 ROM 3 キーボード 6 プリンタ装置 10 プリンタ制御部 12 RAM 12−1 文書メモリ 12−2 編集規則辞書メモリ 12−4 受信人辞書メモリ 12−5 発信人辞書メモリ 1 CPU 2 ROM 3 keyboard 6 printer device 10 printer control unit 12 RAM 12-1 document memory 12-2 editing rule dictionary memory 12-4 recipient dictionary memory 12-5 sender dictionary memory
Claims (3)
容を解析する解析手段と、 用紙の種類毎にその編集規則を記憶する編集規則記憶手
段と、 用紙が指定された場合に指定用紙の種類に対応する編集
規則を前記編集規則記憶手段から読み出す読出手段と、 前記解析手段の解析結果に基づいて前記文書記憶手段内
の文書データを前記読出手段によって読み出された編集
規則にしたがって編集する編集手段と、 を具備したことを特徴とする自動編集機能付き文書処理
装置。1. A document storage means for storing document data, an analysis means for analyzing editing contents of the document data stored in the document storage means, and an editing rule storage for storing an editing rule for each type of paper. Means, reading means for reading out the editing rule corresponding to the type of the designated paper from the editing rule storage means when a paper is designated, and document data in the document storage means based on the analysis result of the analyzing means. A document processing apparatus with an automatic editing function, comprising: an editing unit that edits according to the editing rule read by the reading unit.
定義する編集規則を用紙の種類別に記憶するようにした
ことを特徴とする請求項第1項記載の自動編集機能付き
文書処理装置。2. The document processing apparatus with an automatic editing function according to claim 1, wherein the editing rule storage means stores an editing rule defining a layout state of the document for each type of paper.
定義する編集規則を用紙の種類別に記憶するようにした
ことを特徴とする請求項第1項記載の自動編集機能付き
文書処理装置。3. The document processing apparatus with an automatic editing function according to claim 1, wherein the editing rule storage means stores an editing rule defining partial emphasis of a document for each type of paper.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4127920A JPH05298292A (en) | 1992-04-22 | 1992-04-22 | Document processor with automatic editing function |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4127920A JPH05298292A (en) | 1992-04-22 | 1992-04-22 | Document processor with automatic editing function |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH05298292A true JPH05298292A (en) | 1993-11-12 |
Family
ID=14971912
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4127920A Pending JPH05298292A (en) | 1992-04-22 | 1992-04-22 | Document processor with automatic editing function |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH05298292A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2017113110A1 (en) * | 2015-12-29 | 2017-07-06 | Microsoft Technology Licensing, Llc. | Formatting document objects by visual suggestions |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS62123524A (en) * | 1985-11-22 | 1987-06-04 | Casio Comput Co Ltd | Standard formatting device |
| JPS62229364A (en) * | 1986-03-29 | 1987-10-08 | Toshiba Corp | Document processor |
| JPS62284460A (en) * | 1986-06-03 | 1987-12-10 | Toshiba Corp | Document creation support device |
| JPS6346536A (en) * | 1986-08-13 | 1988-02-27 | Hitachi Ltd | document creation device |
| JPH0458320A (en) * | 1990-06-27 | 1992-02-25 | Canon Inc | Document processing method and device |
-
1992
- 1992-04-22 JP JP4127920A patent/JPH05298292A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS62123524A (en) * | 1985-11-22 | 1987-06-04 | Casio Comput Co Ltd | Standard formatting device |
| JPS62229364A (en) * | 1986-03-29 | 1987-10-08 | Toshiba Corp | Document processor |
| JPS62284460A (en) * | 1986-06-03 | 1987-12-10 | Toshiba Corp | Document creation support device |
| JPS6346536A (en) * | 1986-08-13 | 1988-02-27 | Hitachi Ltd | document creation device |
| JPH0458320A (en) * | 1990-06-27 | 1992-02-25 | Canon Inc | Document processing method and device |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2017113110A1 (en) * | 2015-12-29 | 2017-07-06 | Microsoft Technology Licensing, Llc. | Formatting document objects by visual suggestions |
| US10970473B2 (en) | 2015-12-29 | 2021-04-06 | Microsoft Technology Licensing, Llc | Formatting document objects by visual suggestions |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS63618A (en) | word processor | |
| JPS61262964A (en) | Document producing device | |
| JPH0137783B2 (en) | ||
| JPS5994131A (en) | word processor | |
| JPH05108716A (en) | Machine translation system | |
| JPH05298292A (en) | Document processor with automatic editing function | |
| JPH0142417B2 (en) | ||
| JPH07168837A (en) | Document creation device | |
| JP2908899B2 (en) | Character processor | |
| JPS58214980A (en) | text editing device | |
| JP2723601B2 (en) | Character input device | |
| JPS60159974A (en) | Japanese word processor | |
| JP2674983B2 (en) | Information processing method | |
| JPH01321555A (en) | document processing device | |
| JPS60201467A (en) | Japanese processing device | |
| JPH044459A (en) | Document processor | |
| JPH02136269A (en) | Document processing apparatus | |
| JPH06320801A (en) | Printer | |
| JPH05210655A (en) | Document preparing device | |
| JPH0764977A (en) | Document creating apparatus and format changing method | |
| JPS58200326A (en) | Word processor | |
| JPS62186355A (en) | Document creation method | |
| JPS63259715A (en) | electronic typewriter | |
| JPH06259414A (en) | Method of outputting furigana of document creation device and device | |
| JPS63221069A (en) | Document creation and editing device |