JPS62209660A - Document exchange system for word processor - Google Patents

Document exchange system for word processor

Info

Publication number
JPS62209660A
JPS62209660A JP61049008A JP4900886A JPS62209660A JP S62209660 A JPS62209660 A JP S62209660A JP 61049008 A JP61049008 A JP 61049008A JP 4900886 A JP4900886 A JP 4900886A JP S62209660 A JPS62209660 A JP S62209660A
Authority
JP
Japan
Prior art keywords
blank
characters
width
word processor
document exchange
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
JP61049008A
Other languages
Japanese (ja)
Inventor
Nobuhiro Watanabe
渡辺 信浩
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP61049008A priority Critical patent/JPS62209660A/en
Publication of JPS62209660A publication Critical patent/JPS62209660A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To minimize the shifts of characters produced in exchange of documents with a word processor by checking whether or not a blank en character is included in the subsequent character strings if an odd number of en characters are detected continuously and then deleting the blank en character if exists. CONSTITUTION:At the time of the exchange of documents, a blank deleting means 2 is provided to a data processor which converts the input KANA (Japanese syllabary) characters into KANJI (Chinese characters) to store and deliver them. The means 2 starts its operation at the time of an odd number of continuous en characters are detected and checks whether or not the subsequent character strings include an en blank. Then an en blank if detected is deleted. In such a constitution, the increase of characters is avoided and therefore a document exchange system is secured.

Description

【発明の詳細な説明】 〔概要〕 連続して奇数個の半角文字が有る時は以後の文字列に空
白の半角文字が有るか否かを調べ、若し有る時は其の空
白の半角文字を削除することによりワードプロセッサの
文書交換に発生する字ずれを最小限に抑える。
[Detailed Description of the Invention] [Summary] When there is an odd number of consecutive half-width characters, check whether there is a blank half-width character in the subsequent character string, and if there is, replace the blank half-width character. Minimize misalignment that occurs during word processor document exchange by deleting .

〔産業上の利用分野〕[Industrial application field]

本発明はワードプロセッサの文書交換に於ける半角文字
制御に係り、特にワードプロセッサの文書交換に於ける
体裁保障に関するものである。
The present invention relates to half-width character control in word processor document exchange, and particularly to format guarantee in word processor document exchange.

〔従来の技術〕[Conventional technology]

ワードプロセッサ・の文書交換に於いては半角文字が使
用されている。半角文字は文の配列の方向の外枠の大き
さが、通常の大きさの50%である文字の大きさを云う
 (JIS  C6225用語)。
Half-width characters are used in word processor document exchange. Half-width characters are characters whose outer frame size in the direction of sentence arrangement is 50% of the normal size (JIS C6225 term).

例えば、35は一つの枠内に3という文字と5という文
字が配列され、其の一つの文字の大きさは通常の文字の
半分(横方向のみ)である。此のような文字を半角文字
と云う。
For example, 35 has the letters 3 and 5 arranged in one frame, and the size of one of the letters is half that of a normal letter (only in the horizontal direction). Characters like this are called half-width characters.

此の半角文字の取扱い方は機種により色々であるが、以
下に述べる制限を持つものが多い。
How these half-width characters are handled varies depending on the model, but most have the following restrictions.

(al  半角文字は必ず2文字ペアで使用する。(Al Half-width characters must be used in pairs of two characters.

(b)  半角文字は数字と英字・英記号に限る。(b) Half-width characters are limited to numbers, letters, and symbols.

文書交換の際にはこれらの制限に基づきこのような状態
が起こらないように制御している。
When exchanging documents, controls are implemented to prevent such situations from occurring based on these restrictions.

(a)の場合、連続する半角文字が奇数個の時は叢後に
半角の空白を1個付加する。
In case (a), if there is an odd number of consecutive half-width characters, one half-width space is added after the string.

(blの場合、半角文字として認められない文字は其の
文字を全角文字で出力する。
(In the case of bl, characters that are not recognized as half-width characters are output as full-width characters.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

此の様に従来方式では常に文字数が増加する形で処理さ
れる。即ち、オリジナル文書では10字であったものが
、文書交換が行われると15字になってしまうことが起
きる。此の事は文書容量を増加させるだけでなく、罫線
で囲まれた表などを破壊にもつながる恐れがあると云う
問題点があった。
In this way, in the conventional method, the number of characters is always increased. That is, what was 10 characters in the original document may end up being 15 characters after document exchange. This not only increases the document capacity, but also poses a problem in that tables surrounded by ruled lines may be destroyed.

本発明の目的は上記従来方式の問題点を除去し、文書交
換による桁ずれを最少限に抑えられるワードプロセッサ
の文書交換に於ける体裁保障方式を提供することである
SUMMARY OF THE INVENTION An object of the present invention is to provide a format guaranteeing method for word processor document exchange, which eliminates the problems of the conventional method and minimizes digit shifts caused by document exchange.

〔問題点を解決するための手段〕 上記問題点は入力かな文字を漢字に変換し、蓄積・出力
するデータ処理装置に於いて文書変換を行う場合、空白
削除手段2を設け、連続する半角文字が奇数個の時に、
空白削除手段2が動作を開始して以後の文字列に半角の
空白が有るか否かを調べ、若し有る時は前記半角の空白
を削除することにより解決される。
[Means for solving the problem] The problem mentioned above is that when performing document conversion in a data processing device that converts input kana characters into kanji, stores and outputs them, a blank deletion means 2 is provided to remove consecutive half-width characters. When is an odd number,
The problem is solved by starting the operation of the blank deletion means 2, checking whether there is a half-width blank in the subsequent character string, and, if there is, deleting the half-width blank.

〔作用〕[Effect]

本発明に依ると連続する半角文字が奇数個の時に、空白
削除手段2が動作を開始して以後の文字列に半角の空白
が有るか否かを調べ、若し有る時は前記半角の空白を削
除するので文字数の増加を抑えられるので文書交換に於
ける体裁を保障出来ると云う利点が生まれる。
According to the present invention, when there is an odd number of consecutive half-width characters, the blank deletion means 2 starts its operation and checks whether there is a half-width blank in the subsequent character string, and if there is, Since the number of characters is deleted, an increase in the number of characters can be suppressed, which has the advantage of ensuring the appearance in document exchange.

〔実施例〕〔Example〕

本発明に依ると前記(a)及び(b)の条件により半角
分の増加を生じた場合、此の増加分を以降に在る空白を
半角分だけ削除することにより桁ずれを補整する。
According to the present invention, when an increase by a half-width amount occurs due to the conditions (a) and (b) above, the digit shift is compensated for by deleting blanks existing after this increase by the half-width amount.

第1図は本発明の原理説明図である。FIG. 1 is a diagram explaining the principle of the present invention.

第2図は本発明に依る体裁保障方式の一実施例を示す図
である。
FIG. 2 is a diagram showing an embodiment of the appearance guarantee system according to the present invention.

図中、1は処理部、2は空白削除手段、3はメモリ、4
はプリンタ制御部、5はプリンタファイルである。
In the figure, 1 is a processing unit, 2 is a blank deletion means, 3 is a memory, and 4
5 is a printer control unit, and 5 is a printer file.

第1図(alに示す様に1〜12枠に文字を配置する場
合を例に取って説明する。第1図(a)では、1枠と2
枠は夫々*、 3枠は空白、 4枠は約、 5枠は2個の半角文字1と0. 6枠の前半は1個の半角文字O1 6枠の後半と7枠の前半は人、 7枠の後半は1個の半角の空白(点線で示す)8枠、9
枠、10枠は夫、々空白、 11枠と12枠は夫々*が記入されている。
An example of placing characters in frames 1 to 12 as shown in Figure 1 (al) will be explained.
The boxes are each *, the 3rd box is blank, the 4th box is about, and the 5th box is two half-width characters 1 and 0. The first half of frame 6 is one half-width character O1. The second half of frame 6 and the first half of frame 7 are people. The second half of frame 7 is one half-width space (indicated by a dotted line) in frames 8 and 9.
Boxes 10 and 10 are blank, and boxes 11 and 12 are marked with *.

本発明に依る文書変換では、先づ第1図(blに示す様
に従来方式と同じく6枠の後半に半角の空白(実線で示
す)を挿入する。此の結果11枠と12枠に在った*は
共に半枠分だけ右に移る。
In document conversion according to the present invention, first, as shown in FIG. Both * move to the right by half a frame.

次ぎに空白削除手段2により、第1図(C)に示すよう
に7枠の後半の1個の半角の空白(点線で示す)を削除
する。従って11枠と12枠の*は共に元に戻り、行内
で枠ずれを吸収出来る。
Next, the blank deletion means 2 deletes one half-width blank (indicated by a dotted line) in the latter half of the seven frames, as shown in FIG. 1(C). Therefore, the * in the 11th and 12th frames both return to their original state, and the frame shift within the row can be absorbed.

第2図に於いて処理部1はメモリ3上で半角文字が奇数
個有ると第1図(b)に示す様に6枠の後半に半角の空
白(実線で示す)を挿入するが、挿入後空白削除手段2
を起動する。
In Fig. 2, if there is an odd number of half-width characters in the memory 3, the processing unit 1 inserts a half-width space (indicated by a solid line) in the latter half of the six frames as shown in Fig. 1(b). Trailing blank deletion means 2
Start.

空白削除手段2は7枠以後に在る半角の空白のを無を調
べ、著し有る時は削除する。
The blank deletion means 2 checks whether there are any half-width blanks after the 7th frame and deletes them if they are significant.

尚此の空白削除手段2の動作範囲は1行で其の動作を停
止しても良いが、次に半角の空白が見つかる迄動作を継
続しても良い。
The operation range of the blank deletion means 2 may be such that the operation is stopped after one line, but the operation may be continued until the next half-width blank is found.

〔発明の効果〕 以上詳細に説明した様に本発明によれば、桁ずれを最小
限に抑えることにより文書の体裁を崩さずに文書交喚が
出来ると云う大きい効果がある。
[Effects of the Invention] As described above in detail, the present invention has the great effect that documents can be exchanged without destroying the format of the documents by minimizing digit shifts.

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

第1図は本発明の原理説明図である。 第2図は本発明に依る体裁保障方式の一実施例を示す図
である。 図中、1は処理部、2は空白削除手段、3はメモリ、4
はプリンタ制御部、5はプリンタである。 1 2 3 4 5 6 7 8 91011 12枠
(al 第  1  図 第  2  図
FIG. 1 is a diagram explaining the principle of the present invention. FIG. 2 is a diagram showing an embodiment of the appearance guarantee system according to the present invention. In the figure, 1 is a processing unit, 2 is a blank deletion means, 3 is a memory, and 4
5 is a printer control unit, and 5 is a printer. 1 2 3 4 5 6 7 8 91011 12 frames (al Figure 1 Figure 2

Claims (1)

【特許請求の範囲】 入力かな文字を漢字に変換し、蓄積・出力するデータ処
理装置に於いて文書変換を行う場合、空白削除手段(2
)を設け、 連続する半角文字が奇数個の時に、 前記空白削除手段(2)が動作を開始して以後の文字列
に半角の空白が有るか否かを調べ、 若し有る時は前記半角の空白を削除することを特徴とす
るワードプロセッサの文書交換方式。
[Claims] When performing document conversion in a data processing device that converts input kana characters into kanji, stores and outputs them, blank deletion means (2
), and when there is an odd number of consecutive half-width characters, the blank deletion means (2) starts operating and checks whether there is a half-width blank in the subsequent character string, and if there is, the half-width blank is removed. A word processor document exchange method characterized by removing blank spaces.
JP61049008A 1986-03-06 1986-03-06 Document exchange system for word processor Pending JPS62209660A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61049008A JPS62209660A (en) 1986-03-06 1986-03-06 Document exchange system for word processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61049008A JPS62209660A (en) 1986-03-06 1986-03-06 Document exchange system for word processor

Publications (1)

Publication Number Publication Date
JPS62209660A true JPS62209660A (en) 1987-09-14

Family

ID=12819132

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61049008A Pending JPS62209660A (en) 1986-03-06 1986-03-06 Document exchange system for word processor

Country Status (1)

Country Link
JP (1) JPS62209660A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58129636A (en) * 1982-01-29 1983-08-02 Canon Inc Character processing device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58129636A (en) * 1982-01-29 1983-08-02 Canon Inc Character processing device

Similar Documents

Publication Publication Date Title
Lesk Understanding digital libraries
JPS6022234A (en) Form overlay type printer
JPS62209660A (en) Document exchange system for word processor
JPH0274374A (en) Printing method for ruled form
JPS5981778A (en) Print control system
JPS61177068A (en) Sentence processor capable of printing contractedly
JPS5892072A (en) Printer
JPS6385695A (en) Serial character generation system
JPS6295588A (en) Full stroke-half stroke character font conversion system
JPS58195267A (en) Picture processor
JP2549629B2 (en) Document creation device
JPH0379739B2 (en)
JPH0462548B2 (en)
JPS63166576A (en) Printer
JPH02144622A (en) Code converter
JPS63723A (en) Text print processing system
JPS62193838A (en) Printer
JPS59231687A (en) Document processor
JPH0560793B2 (en)
JPS6215679A (en) Data reading system
JPH0325667A (en) Japanese word processing system
JPH03121877A (en) Printing processing system of printer
JPS58200326A (en) Word processor
JPS59223832A (en) Document processor
JPH0230565A (en) Small set printing system