JPH07109582B2 - Document processor - Google Patents

Document processor

Info

Publication number
JPH07109582B2
JPH07109582B2 JP61100287A JP10028786A JPH07109582B2 JP H07109582 B2 JPH07109582 B2 JP H07109582B2 JP 61100287 A JP61100287 A JP 61100287A JP 10028786 A JP10028786 A JP 10028786A JP H07109582 B2 JPH07109582 B2 JP H07109582B2
Authority
JP
Japan
Prior art keywords
information
document
merge
attribute
character
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP61100287A
Other languages
Japanese (ja)
Other versions
JPS62256123A (en
Inventor
和弘 中村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP61100287A priority Critical patent/JPH07109582B2/en
Publication of JPS62256123A publication Critical patent/JPS62256123A/en
Publication of JPH07109582B2 publication Critical patent/JPH07109582B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Record Information Processing For Printing (AREA)
  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、文書中の差し込み位置に差し込むべき文字を
差し込んで印刷させる文書処理装置に関するものであ
る。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document processing apparatus for inserting and printing a character to be inserted at a inserting position in a document.

[従来の技術] 従来、この種の文書処理装置における差し込み機能(す
なわち、マージ機能,マージプリント機能など)は、予
め作成された文書情報中の指定された特定位置へ他の文
書情報を単に差し込み、印字を行うのみであった。
[Prior Art] Conventionally, the insertion function (that is, the merge function, the merge print function, etc.) in this type of document processing apparatus simply inserts other document information into a specified position in the document information created in advance. , Only printed.

[発明が解決しようとする問題点] しかしながら、従来の文書処理装置において、マージさ
れる文書(オリジナルドキュメント)中の文字モード
(特に、差込み位置(マージポジション)に関してなさ
れたモードの設定)は、マージ(差し込み)すべき文書
(マージドキュメント)に対し、マージ実行後、何の実
効性(拘束力)を有するものではない。例えば、オリジ
ナルドキュメントのあるマージポジションにボールドモ
ードが設定されているとき、マージドキュメントをその
マージポジションに差し込んだ場合、差し込んだマージ
ドキュメントに対しボールドモードは有効性を持たず、
モード設定はなされないことになる。
[Problems to be Solved by the Invention] However, in the conventional document processing apparatus, the character mode in the document to be merged (original document) (particularly, the setting of the mode made regarding the insertion position (merge position)) is merged. A document to be (inserted) (merged document) does not have any effectiveness (binding power) after execution of merge. For example, if the merge position of an original document is set to bold mode, and the merge document is inserted at that merge position, the bold mode has no effect on the merge document inserted.
The mode will not be set.

従って、マージすべきドキュメントに対し全て同一モー
ドを設定する場合には、各々のマージドキュメントに対
し同一モードを個別的に設定する必要が生じる。
Therefore, when the same mode is set for all the documents to be merged, the same mode needs to be set individually for each merged document.

また、従来から知られている文書処理装置中には、マー
ジドキュメントの文字モードを個別に設定することがで
きない機種も存在する。
In addition, there are some types of conventionally known document processing apparatuses in which the character mode of a merge document cannot be individually set.

その結果、文書処理装置の操作性を欠くのみならず、操
作ミスを招来する可能性も高くなるという欠点がみられ
る。また、マージの実行によって、オペレータの意に反
した文書が作成され、はなはだ不便であった。
As a result, there is a drawback that not only the operability of the document processing apparatus is lost, but also the possibility of causing an operation error increases. In addition, the execution of the merge creates a document against the operator's will, which is inconvenient.

よって本発明の目的は、上述の点に鑑み、差し込み指示
情報により指示される指し込み位置に設定される第1属
性情報と差し込むべき文字に対応する文字情報に設定さ
れる第2属性情報とに基づき、前記文字情報を前記文書
情報に差し込んで印刷する際の前記文字情報の属性を決
定することにより、マージの目的に応じて、きめ細やか
な文書を作成できる文字処理装置を提供することにあ
る。
Therefore, in view of the above points, an object of the present invention is to provide the first attribute information set to the pointing position indicated by the insertion instruction information and the second attribute information set to the character information corresponding to the character to be inserted. Based on the above, by determining the attribute of the character information when the character information is inserted into the document information and printed, it is possible to provide a character processing device capable of creating a detailed document according to the purpose of merging. .

[問題点を解決するための手段] かかる目的を達成するために、本発明に係る文字処理装
置は、文書情報中の差し込み位置を指示する差し込み指
示情報と、前記差し込み指示情報により指示される差し
込み位置に設定される第1属性情報とを記憶する第1記
憶手段と、差し込むべき文字に対応する文字情報と、前
記文字情報に設定される第2属性情報とを記憶する第2
記憶手段と、前記第1属性情報と前記第2属性情報とに
基づき、前記文字情報を前記文書情報に差し込んで印刷
する際の前記文字情報の属性を決定する決定手段と、前
記差し込み指示情報が示す位置に、前記決定手段により
決定された属性に基づいて前記文字情報を印刷させる印
刷制御手段とを有するものである。
[Means for Solving the Problems] In order to achieve such an object, the character processing device according to the present invention provides insertion instruction information indicating an insertion position in document information, and insertion instruction indicated by the insertion instruction information. A first storage means for storing the first attribute information set at the position, a second attribute information set for the character to be inserted, and second attribute information set for the character information.
Storage means, determination means for determining the attribute of the character information when the character information is inserted into the document information and printed based on the first attribute information and the second attribute information; and the insertion instruction information. A print control unit for printing the character information based on the attribute determined by the determination unit is provided at the position shown.

前記決定手段は、前記第1属性情報が設定されていない
場合、前記第2属性情報を有効として属性を決定するこ
とができる。あるいは、前記決定手段は、前記第1属性
情報と前記第2属性情報との論理和を取ることにより属
性を決定することができる。
When the first attribute information is not set, the determining means can determine the attribute by validating the second attribute information. Alternatively, the determining means can determine the attribute by taking the logical sum of the first attribute information and the second attribute information.

[実施例] 以下、添付図面に従って、本発明に係る一実施例の詳細
に説明する。
[Embodiment] An embodiment of the present invention will be described in detail below with reference to the accompanying drawings.

第1図は、本発明による文書処理装置の全体構成図であ
る。本実施例では、第1文字列中の特定位置に第2文字
列を差し込む差し込み手段Aと、第1文字列あるいは第
2文字列に関して予め設定されたモードに従って、第2
文字列のマージ態様を選択指示する制御手段Bとを具備
する。
FIG. 1 is an overall configuration diagram of a document processing apparatus according to the present invention. In the present embodiment, according to the insertion means A for inserting the second character string into a specific position in the first character string and the mode preset for the first character string or the second character string,
And a control unit B for selecting and instructing the merge mode of the character strings.

第2図は、本発明の一実施例を示すブロック図である。FIG. 2 is a block diagram showing an embodiment of the present invention.

本図中、1は本実施例の主制御を掌るセントラルプロセ
ッシングユニット(以下、CPUと称す)であり、システ
ムバスSBを介して、互いに接続された後述する各構成要
素を制御する。
In the figure, reference numeral 1 denotes a central processing unit (hereinafter, referred to as a CPU) which controls the main control of the present embodiment, and controls each constituent element, which will be described later, connected to each other via a system bus SB.

2は、CPU1の制御手順を記憶する制御メモリとして用い
られるリードオンリメモリ(ROM)である。
Reference numeral 2 is a read only memory (ROM) used as a control memory for storing the control procedure of the CPU 1.

3はランダムアクセスメモリ(RAM)であり、プログラ
ムおよび各種データの一時記憶用ワークメモリとして使
用される。
A random access memory (RAM) 3 is used as a work memory for temporarily storing programs and various data.

4は、文章等のデータを表示し、カーソルによる文字処
理位置指定を行うCRTである。
Reference numeral 4 is a CRT which displays data such as sentences and designates a character processing position with a cursor.

5は、作成・編集した文章等を記憶し、保存を行う外部
メモリ(以下FDと称す)である。
Reference numeral 5 denotes an external memory (hereinafter referred to as FD) that stores and saves created and edited sentences and the like.

6は、キーボード(以下KBと称す)であり、CPU1に指示
を与える各種キーが配置されている。
A keyboard (hereinafter referred to as KB) 6 has various keys for giving instructions to the CPU 1.

7は、CRT4に表示すべき表示データを保持するVRAMであ
る。
A VRAM 7 holds display data to be displayed on the CRT 4.

8は、CRT4の表示制御を行うCRTコントローラ(以下CRT
Cと称す)である。
8 is a CRT controller for controlling display of CRT 4 (hereinafter, CRT)
It is called C).

9は、FD5の制御装置(以下FDCと称す)である。Reference numeral 9 is an FD5 control device (hereinafter referred to as FDC).

10はKB6の制御を行うキーボードコントローラ(以下、K
BCと称す)である。
10 is a keyboard controller for controlling KB6 (hereinafter K
It is called BC).

11はプリンタ(以下PRTと称す)である。11 is a printer (hereinafter referred to as PRT).

第3図(A)は、RAM3のメモリ構成図である。本図中、
12はテキストバッファポインタ(TB_P)であり、テキス
トバッファTBの位置を指定するポインタである。オリジ
ナルドキュメントバッファポインタ13(OB_P)およびマ
ージドキュメントバッファポインタ14(MB_P)も同様
に、オリジナルドキュメントバッファ19(OB)およびマ
ージドキュメントバッファ20(MB)の位置をそれぞれ示
すポインタである。また、ワークポインタとして、オリ
ジナルドキュメントバッファワークポインタ15(OP)、
マージドキュメントバッファワークポインタ16(MP)を
備えている。17はマージドキュメントキャラクタカウン
タCNTであり、OB内のキャラクタ数を保持する領域であ
る。
FIG. 3A is a memory configuration diagram of the RAM3. In this figure,
A text buffer pointer (TB_P) 12 is a pointer for designating the position of the text buffer TB. Similarly, the original document buffer pointer 13 (OB_P) and the merge document buffer pointer 14 (MB_P) are pointers indicating the positions of the original document buffer 19 (OB) and the merge document buffer 20 (MB), respectively. Also, as a work pointer, the original document buffer work pointer 15 (OP),
It has a merge document buffer work pointer 16 (MP). Reference numeral 17 denotes a merge document character counter CNT, which is an area for holding the number of characters in the OB.

第3図(A)に示した各バッファ領域18,19,20の詳細
は、第3図(B)に示してある。第3図(B)におい
て、TB_P_IはテキストバッファTBの先頭位置を保持する
領域、またTB_P_MAXは反対にテキストバッファTBの終端
位置を保持する領域である。このバッファTBは、キャラ
クタバッファTB_cとアトリビュートバッファTB_aとから
成り、両者ともTB_Pで示されるポインタで位置づけされ
る。また、オリジナルドキュメントバッファOBおよびマ
ージドキュメントバッファMBに関しても同様である。
Details of the buffer areas 18, 19, 20 shown in FIG. 3 (A) are shown in FIG. 3 (B). In FIG. 3B, TB_P_I is an area for holding the start position of the text buffer TB, and TB_P_MAX is an area for holding the end position of the text buffer TB. This buffer TB is composed of a character buffer TB_c and an attribute buffer TB_a, both of which are positioned by a pointer indicated by TB_P. The same applies to the original document buffer OB and merge document buffer MB.

以上の構成より成る本実施例の動作を、以下に説明す
る。
The operation of this embodiment having the above configuration will be described below.

本実施例においては、CPU1の制御のもとに、KB6より順
次文書情報を入力する。この入力された文書情報は、一
時RAM3に格納されると共に、CRT4に表示される。そして
編集された後、FD5に記憶されたり、PRT11より印字がな
される。ここで、KB6からは各々のコマンドが入力さ
れ、本実施例における文字列のモード設定,マージポジ
ション等も文書情報中に設定される。更に、差し込み機
能もKB6から命令される。
In this embodiment, the document information is sequentially input from KB6 under the control of CPU1. The input document information is temporarily stored in the RAM 3 and displayed on the CRT 4. After being edited, it is stored in the FD 5 or printed by the PRT 11. Here, each command is input from KB6, and the character string mode setting, merge position, etc. in this embodiment are also set in the document information. Furthermore, the plug-in function is also instructed by KB6.

次に、フローチャートを参照して、本実施例の制御手順
をより詳細に説明する。
Next, the control procedure of the present embodiment will be described in more detail with reference to the flowchart.

第4図(A),(B)は本実施例における文書作成時の
編集処理について示すフローチャートである。
4A and 4B are flow charts showing the editing process at the time of creating a document in this embodiment.

第4図(A)では、まずステップS1にてキーコードの取
り込み処理を行う。ステップS2では、得られたキーが一
般キーか否かを判定し、一般キーの場合はステップS3に
進み、一般処理を行う。また、一般キー以外の場合に
は、ステップS4にて該当する特殊処理を行い、処理を終
了する。
In FIG. 4A, first, in step S1, a key code fetching process is performed. In step S2, it is determined whether or not the obtained key is a general key, and if it is a general key, the process proceeds to step S3 to perform general processing. If the key is not a general key, the corresponding special process is performed in step S4, and the process ends.

上述した特殊処理の内容は第4図(B)に示してある。
ここでは、まずステップS5にてモード設定キーか否かが
判定され、モード設定キーの場合には、ステップS7にて
モード設定処理が行われ、処理が終了する。
The contents of the special processing described above are shown in FIG.
Here, it is first determined in step S5 whether the key is the mode setting key. If it is the mode setting key, the mode setting process is performed in step S7, and the process ends.

また、ステップS5において否定判定がなされた場合に
は、ステップS6にてマージポジション設定キーか否かが
判定される。マージポジション設定キーの場合には、ス
テップS8にてマージポジション設定処理が行われ、処理
が終了する。それ以外の場合には、ステップS9にて他の
処理を行い、処理が終了する。
If a negative determination is made in step S5, it is determined in step S6 whether or not the key is the merge position setting key. In the case of the merge position setting key, merge position setting processing is performed in step S8, and the processing ends. Otherwise, another process is performed in step S9, and the process ends.

ステップS7のモード設定処理においては、該当モードの
設定フラグをOFFする場合はONに、ONする場合はOFFにす
る。これにより、文字入力時にフラグがONの場合には、
第3図(B)におけるTBのアトリビュート領域TB_aのカ
レントポジションに対し、ビット単位の該当モード情報
をセットする。これを第7図(A)について述べると、
ボールドモードONの時に入力されたキャラクタの各アト
リビュート領域に“bl":ボールドモードフラグがビット
単位でセットされることになる。
In the mode setting process of step S7, the setting flag of the corresponding mode is turned ON when turned OFF, and turned OFF when turned ON. As a result, if the flag is ON when entering characters,
Bit-wise corresponding mode information is set to the current position of the attribute area TB_a of TB in FIG. 3 (B). This will be described with reference to FIG. 7 (A).
The "bl": bold mode flag is set in bit units in each attribute area of the character input when bold mode is ON.

また、第4図(A)に示すステップS3の一般処理におい
ては、TBのキャラクタ領域TB_cのカレントポジションTB
_c[TB_P]に入力されたキャラクタコードをセットする
と同時に、モードフラグに応じて前述の如く同ポジショ
ンのアトリビュート領域TB_a[TB_P]に該当アトリビュ
ート情報をセットする。
In the general processing of step S3 shown in FIG. 4A, the current position TB of the character area TB_c of TB is set.
At the same time as setting the input character code in _c [TB_P], corresponding attribute information is set in the attribute area TB_a [TB_P] at the same position as described above according to the mode flag.

ステップS8のマージポジション設定処理においては、TB
のキャラクタ領域TB_cのカレントポジションTB_c[TB_
P]にマージポジションコードをセットする。これに
よりセットされたコードは、第7図(A)に示すOB_P_M
位置の“”に該当する。
In the merge position setting process of step S8, TB
Character area TB_c current position TB_c [TB_
Set the merge position code in [P]. The code set by this is OB_P_M shown in FIG. 7 (A).
Corresponds to the position "".

第5図は、マージファンクション処理の全体を示すフロ
ーチャートである。
FIG. 5 is a flowchart showing the entire merge function process.

ステップS10においては、マージ処理の初期処理とし
て、オリジナルドキュメントをOBに、またマージドキュ
メントをMBにセットし、マージドキュメントのキャラク
タカウントを行ってマージすべきキャラクタ数をCNTと
してRAM3の所定位置にセットする。
In step S10, as an initial process of the merge process, the original document is set to OB, the merge document is set to MB, the character count of the merge document is set, and the number of characters to be merged is set to CNT as a predetermined position in RAM3. .

ステップS11においては、オリジナルドキュメントバッ
ファポインタOB_Pを先頭位置OB_P_Iにセットする。次い
で、ステップS12では、OB_Pが指すOB_cの内容がドキュ
メント終了コード“EOF"であるか否かがチェックされ
る。その結果、“EOF"でない場合は、ステップS13にお
いて同内容が“”すなわちマージポジションコードで
あるか否かが判定される。
In step S11, the original document buffer pointer OB_P is set to the head position OB_P_I. Next, in step S12, it is checked whether the content of OB_c pointed to by OB_P is the document end code "E OF ". As a result, if it is not "E OF ", it is determined in step S13 whether or not the content is "", that is, a merge position code.

マージポジションコードであるならば、マージ処理を該
当位置に施す必要があるので、ステップS14にてマージ
処理を行い、再びステップS12へ戻る。逆にマージポジ
ションコードでない場合には、ステップS15においてポ
インタOB_Pをインクリメントし、再びステップS12へ戻
る。
If it is the merge position code, it is necessary to perform the merge process on the corresponding position, so the merge process is performed in step S14, and the process returns to step S12 again. On the contrary, if it is not the merge position code, the pointer OB_P is incremented in step S15, and the process returns to step S12 again.

ステップS12において“EOF"と判定された場合には、ス
テップS16において印字モードであるか否かが判定され
る。その結果、印字モードであると判定された場合に
は、ステップS18にて印字処理が行われる。また、印字
モードでない場合には、ステップS17にてOBの内容をFD5
に保存する等の処理が行われる。
If "E OF " is determined in step S12, it is determined in step S16 whether the print mode is set. As a result, when it is determined that the print mode is set, print processing is performed in step S18. If the print mode is not set, the OB contents are changed to FD5 in step S17.
Processing such as saving to

第6図(A),(B)は、第5図に示したステップS14
(マージ処理)の内容を詳細に示すフローチャートであ
る。
6A and 6B show step S14 shown in FIG.
It is a flowchart which shows the content of (merge processing) in detail.

まず、第6図(A)に示すステップS19にてマージドキ
ュメントバッファポインタMB_Pを先頭位置MB_P_Iにセッ
トし、ステップS20では、オリジナルドキュメントのマ
ージポジション以降の内容を後部へ移動させる処理を行
う。
First, in step S19 shown in FIG. 6 (A), the merge document buffer pointer MB_P is set to the head position MB_P_I, and in step S20, the contents of the original document after the merge position are moved to the rear.

第6図(B)は、このステップS20の詳細を示すフロー
チャートである。本図に示すステップS25では、ワーク
ポインタとしてOPを現在のポインタOB_Pにセットする。
ステップS26では、このOPが指すOBの内容が“EOF"であ
るか否かを判定する。その結果、“EOF"でない場合に
は、ステップS27においてOPをインクリメントし、再び
ステップS26に戻る。ここではオリジナルドキュメント
の最後尾を検出し、その位置をOPにて得る。
FIG. 6 (B) is a flowchart showing details of step S20. In step S25 shown in this figure, OP is set to the current pointer OB_P as a work pointer.
In step S26, it is determined whether or not the content of the OB pointed to by this OP is "E OF ". As a result, if it is not "E OF ", OP is incremented in step S27 and the process returns to step S26 again. Here, the end of the original document is detected and its position is obtained by OP.

ステップS26において“EOF"が検出された場合にはステ
ップS28に制御を移し、“EOF"を所定のカウント数(CNT
−1)だけ後部へ移動した場合にはオリジナルバッファ
OBからはみ出すおそれがあるか否かを判定する。すなわ
ち、OB_P_MAX−{OP+(CNT−1)}が負の場合には、
バッファがあふれるので、ステップS29にて移動すべき
最後尾のバッファポインタOPをOB_P_MAX−(CNT−1)
にセットし、同時にOB_c[OB_P_MAX]に“EOF"をセット
する。
When "E OF " is detected in step S26, the control is transferred to step S28, and "E OF " is counted by a predetermined count number (CNT
-1) Original buffer if moved to the rear
Determine whether there is a risk of protruding from the OB. That is, when OB_P_MAX- {OP + (CNT-1)} is negative,
Since the buffer overflows, the last buffer pointer OP to be moved is set to OB_P_MAX- (CNT-1) in step S29.
Set OB_c [OB_P_MAX] to "E OF " at the same time.

ステップS28において否定判定がなされた場合(正の場
合)、ならびにステップS29が実行された場合には、ス
テップS30にて、OPがマージポジションOB_P(OB_P_M)
であるか否かが判定される。その結果OB_Pでない場合に
は、移動処理が未だ終了していないことになるので、ス
テップS31にて、OPが指すOBの内容を、OP+(CNT−1)
の指すOBへ移動させる。
If a negative determination is made in step S28 (in the case of positive) and if step S29 is executed, the OP is in the merge position OB_P (OB_P_M) in step S30.
Is determined. As a result, if it is not OB_P, it means that the moving process is not completed yet. Therefore, in step S31, the content of the OB pointed to by OP is OP + (CNT-1).
Move to the OB pointed to by.

ステップS32ではOPをデクリメントし、ステップS30にて
再び判定を行う。
The OP is decremented in step S32, and the determination is performed again in step S30.

また、ステップS30においてOP=OB_Pであると判定され
たときには、マージのためのオリジナルドキュメントの
キャラクタ移動は終了したとものと判断して、ステップ
S20の処理を終了する。
If it is determined in step S30 that OP = OB_P, it is determined that the character movement of the original document for merging is completed,
The process of S20 ends.

再び第6図(A)に戻り、ステップS21以降を説明す
る、ステップS21では、MB_c[MP_P]が“EOF"であるか
否か(マージドキュメントのすべてがオリジナルドキュ
メントへマージされたか否か)が判定される。その結
果、“EOF"でない場合には、ステップS22にてOB_PがOB_
P_MAXであるか否かを判定する。
Returning to FIG. 6 (A) again, step S21 and subsequent steps will be described. In step S21, whether MB_c [MP_P] is "E OF " (whether all the merged documents have been merged into the original document) Is determined. As a result, if it is not "E OF ", OB_P is OB_P in step S22.
It is determined whether it is P_MAX.

ステップS22において否定判定がなされた場合は、ステ
ップS23にてマージを実行する。すなわち、MB_c[MB_
P]の内容をOB_c[OB_P]へ移動し、キャラクタのマー
ジを行う。次に、MP_aが“0"ならばオリジナルドキュメ
ントマージポジションにはモード指定がなされていない
ことになるので、マージドキュメントのモードを有効と
し、MB_a[MB_P]をOB_a[OB_P]へ移動(複写)し、マ
ージドキュメント現ポジションのモードを、オリジナル
ドキュメント現ポジションのアトリビュート領域へセツ
トする。また、MP_aが“0"以外のとき(すなわち、アト
リビュートビットフラグがセットされているとき)に
は、オリジナルドキュメントマージポジションにモード
指定がなされていることになるので、MP_aをOB_a[OB_
P]へ移動(複写)し、マージポジションの指定モード
を、オリジナルドキュメント現ポジションのアトリビュ
ート領域へセットする。
If a negative determination is made in step S22, merge is executed in step S23. That is, MB_c [MB_
The contents of P] are moved to OB_c [OB_P], and the characters are merged. Next, if MP_a is "0", it means that the original document merge position has no mode specified, so the merge document mode is enabled and MB_a [MB_P] is moved (copied) to OB_a [OB_P]. , Merge Document Set the current position mode to the original document current position attribute area. When MP_a is other than “0” (that is, when the attribute bit flag is set), it means that the mode is specified in the original document merge position, so MP_a is set to OB_a [OB_
P) and set the merge position specification mode to the attribute area of the current position of the original document.

その後、ステップS24において、OB_PおよびMB_Pが共に
インクリメントされ、再びステップS21へ戻る。
Then, in step S24, OB_P and MB_P are both incremented, and the process returns to step S21.

以上述べたループによりマージが実現され、ステップS2
1あるいはステップS22において肯定判定が得られると、
処理は終了する。
Merge is realized by the loop described above, and step S2
1 or when a positive determination is obtained in step S22,
The process ends.

なお、上述した本実施例においては、オリジナルドキュ
メント中のマージポジションにモード指定がなされてい
ない場合のみ、マージドキュメントになされたモードを
有効としたが、マージポジションのモード(すなわち、
アトリビュート領域の内容)と、マージドキュメントに
おける各ポジションのモード(すなわち、アトリビュー
ト領域の内容)との論理和を求めることにより、両者の
アトリビュートを有効とすることも可能である。
In the above-described embodiment, the mode set for the merge document is valid only when the mode is not specified for the merge position in the original document.
It is also possible to validate both attributes by obtaining the logical sum of the content of the attribute area) and the mode of each position in the merge document (that is, the content of the attribute area).

以上説明したとおり、本発明の一実施例によれば、マー
ジポジションにおけるモード(すなわち、アトリビュー
ト情報)設定の有無により、マージ実行後のドキュメン
トに対しマージポジションの当該モードを有効するか、
あるいは、マージドキュメントのモードを有効とするか
を選択することができる。例えば、マージポジションに
モードを設定した場合には、マージ実行後、当該ポジシ
ョンにマージしたドキュメントの全体にそのモードが設
定される。
As described above, according to one embodiment of the present invention, whether the mode of the merge position is valid for the document after the merge is executed depending on whether the mode (that is, attribute information) is set in the merge position,
Alternatively, it is possible to select whether to enable the merge document mode. For example, when the mode is set to the merge position, the mode is set to the entire document merged to the position after executing the merge.

このように、オリジナルドキュメント作成時においてマ
ージポジションのモード設定を行うだけで、各々異なる
モードを有するマージドキュメントのモードを容易に統
一することができる。かくして、各々のマージドキュメ
ントに対して個別的にモードを設定する必要がなくな
り、オペレータの手間を省くことができると同時に、操
作ミスも最小限に押えることが可能となる。
In this way, the modes of merge documents having different modes can be easily unified by simply setting the mode of the merge position when creating the original document. Thus, it is not necessary to individually set the mode for each merged document, and the operator's labor can be saved, and at the same time, the operation error can be suppressed to the minimum.

また、各々のマージドキュメントに対しそれぞれ異なっ
たモードを設定したい場合には、当該マージポジション
にモードの設定を行わないことにより、各々のマージド
キュメントのモードがマージ実行後も生かされることに
なる。その結果、マージの目的に応じてきめ細かな文書
情報を得ることが可能となる。
Further, when it is desired to set a different mode for each merge document, the mode of each merge document is kept alive even after the merge is executed by not setting the mode at the merge position. As a result, detailed document information can be obtained according to the purpose of merging.

[発明の効果] 以上説明した通り本発明によれば、差し込み指示情報に
より指示される指し込み位置に設定される第1属性情報
と差し込むべき文字に対応する文字情報に設定される第
2属性情報とに基づき、前記文字情報を前記文書情報に
差し込んで印刷する際の前記文字情報の属性を決定する
ことにより、マージの目的に応じて、きめ細やかな文書
を作成することができる、という格別な効果を得ること
ができる。
[Effects of the Invention] As described above, according to the present invention, the first attribute information set in the pointing position indicated by the insertion instruction information and the second attribute information set in the character information corresponding to the character to be inserted. Based on the above, it is possible to create a detailed document according to the purpose of merging by determining the attribute of the character information when the character information is inserted into the document information and printed. The effect can be obtained.

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

第1図は本発明による文書処理装置の全体構成を示す
図、 第2図は本発明の一実施例を示すブロック図、 第3図(A),(B)は本実施例に用いるメモリの構成
を示す図、 第4図(A)および(B),第5図,第6図(A)およ
び(B)は本実施例の動作手順を示すフローチャート、 第7図(A),(B),(C)は本実施例による具体的
な動作例を示す図である。 1……CPU、 2……ROM、 3……RAM、 4……CRT、 5……外部メモリ、 6……キーボード、 7……VRAM、 11……プリンタ。
FIG. 1 is a diagram showing an overall configuration of a document processing apparatus according to the present invention, FIG. 2 is a block diagram showing an embodiment of the present invention, and FIGS. 3A and 3B show a memory used in this embodiment. FIG. 4 (A) and FIG. 4 (B), FIG. 5 (A) and FIG. 6 (B) are flow charts showing the operation procedure of this embodiment, and FIG. 7 (A) and FIG. ) And (C) are diagrams showing a specific operation example according to the present embodiment. 1 ... CPU, 2 ... ROM, 3 ... RAM, 4 ... CRT, 5 ... external memory, 6 ... keyboard, 7 ... VRAM, 11 ... printer.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】文書情報中の差し込み位置を指示する差し
込み指示情報と、前記差し込み指示情報により指示され
る差し込み位置に設定される第1属性情報とを記憶する
第1記憶手段と、 差し込むべき文字に対応する文字情報と、前記文字情報
に設定される第2属性情報とを記憶する第2記憶手段
と、 前記第1属性情報と前記第2属性情報とに基づき、前記
文字情報を前記文書情報に差し込んで印刷する際の前記
文字情報の属性を決定する決定手段と、 前記差し込み指示情報が示す位置に、前記決定手段によ
り決定された属性に基づいて前記文字情報を印刷させる
印刷制御手段と を有することを特徴とする文書処理装置。
1. A first storage means for storing insertion instruction information for instructing an insertion position in document information and first attribute information set at the insertion position instructed by the insertion instruction information, and a character to be inserted. Second storage means for storing character information corresponding to the character information and second attribute information set in the character information, and the character information based on the first attribute information and the second attribute information. Determining means for determining the attribute of the character information when inserting and printing the character information, and print control means for causing the character information to be printed at the position indicated by the inserting instruction information based on the attribute determined by the determining means. A document processing apparatus having:
【請求項2】前記決定手段は、前記第1属性情報が設定
されていない場合、前記第2属性情報を有効として属性
を決定することを特徴とする特許請求の範囲第1項記載
の文書処理装置。
2. The document processing according to claim 1, wherein the determining means determines the attribute by validating the second attribute information when the first attribute information is not set. apparatus.
【請求項3】前記決定手段は、前記第1属性情報と前記
第2属性情報との論理和を取ることにより属性を決定す
ることを特徴とする特許請求の範囲第1項記載の文書処
理装置。
3. The document processing apparatus according to claim 1, wherein the determining means determines the attribute by taking the logical sum of the first attribute information and the second attribute information. .
JP61100287A 1986-04-30 1986-04-30 Document processor Expired - Fee Related JPH07109582B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61100287A JPH07109582B2 (en) 1986-04-30 1986-04-30 Document processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61100287A JPH07109582B2 (en) 1986-04-30 1986-04-30 Document processor

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP6272759A Division JP2777067B2 (en) 1994-11-07 1994-11-07 Document processing device

Publications (2)

Publication Number Publication Date
JPS62256123A JPS62256123A (en) 1987-11-07
JPH07109582B2 true JPH07109582B2 (en) 1995-11-22

Family

ID=14269971

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61100287A Expired - Fee Related JPH07109582B2 (en) 1986-04-30 1986-04-30 Document processor

Country Status (1)

Country Link
JP (1) JPH07109582B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63106827A (en) * 1986-10-24 1988-05-11 Casio Comput Co Ltd Word processor
JP2777067B2 (en) * 1994-11-07 1998-07-16 キヤノン株式会社 Document processing device
CN110442359A (en) * 2018-05-03 2019-11-12 大唐移动通信设备有限公司 A kind of pair of MIB document carries out the method and device of merger

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0612514B2 (en) * 1981-10-19 1994-02-16 キヤノン株式会社 Document processing method and apparatus
JPS6144663A (en) * 1984-08-09 1986-03-04 Sanyo Electric Co Ltd Printing apparatus

Also Published As

Publication number Publication date
JPS62256123A (en) 1987-11-07

Similar Documents

Publication Publication Date Title
JPS6370370A (en) Document preparing device
JPH07109582B2 (en) Document processor
JP2777067B2 (en) Document processing device
JPS6366630A (en) Input device for print position
US6728935B1 (en) Apparatus for setting attributes to character strings and graphic objects
JPH0522933B2 (en)
JPH01229673A (en) English and european writing printing control system
JPH03185558A (en) Device and method for editing document
JP3674905B2 (en) Document editing device
JP3404770B2 (en) Document processing device
JP2672548B2 (en) Document creation device
JPH0682360B2 (en) Document creation device
JP2922372B2 (en) Text processing device in the area
JP2802142B2 (en) Document input editing device
JPS59180620A (en) Document formation device
JP3036064B2 (en) Document output device
JPH01149165A (en) Document processor
JPH0793319A (en) Document processor
JPH10232861A (en) Document output device
JPS63128418A (en) Output control system for table data
JPH01155463A (en) Document preparing and editing device
JPS63293629A (en) Data processor
JPS63298664A (en) Data editing device
JPS63106827A (en) Word processor
JPH0687236B2 (en) Mechanism for selecting homonyms in word processors

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees