JPH0425967A - Information processor - Google Patents

Information processor

Info

Publication number
JPH0425967A
JPH0425967A JP2130305A JP13030590A JPH0425967A JP H0425967 A JPH0425967 A JP H0425967A JP 2130305 A JP2130305 A JP 2130305A JP 13030590 A JP13030590 A JP 13030590A JP H0425967 A JPH0425967 A JP H0425967A
Authority
JP
Japan
Prior art keywords
code
storage means
buffer
block
extracted
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
JP2130305A
Other languages
Japanese (ja)
Inventor
Shinsuke Takeuchi
武内 慎介
Tsuneichi Arai
常一 新井
Kazuhiro Matsubayashi
一弘 松林
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 JP2130305A priority Critical patent/JPH0425967A/en
Publication of JPH0425967A publication Critical patent/JPH0425967A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To simplify and speed up the operation of cut and paste by copying copy data in accordance with the judged result of matching between copy data stored in a second storage means and the format of a block in a first storage means. CONSTITUTION:When a putting position is designated by operating a mouse 5, a code is extracted from a cut buffer 3. When the extracted code is a segment code, the code is newly extracted from the cut buffer 3, and a putting destination is shifted to a next format block. When it is judged that there is no next format block, putting is terminated with the extracted code as a cut buffer end. When the next format block exists, putting is resumed in the new block. When it is judged that the extracted code is not the segment code of the block, the extracted code fits to the format of the putting destination and the extracted code is written into the editer buffer 6 being the putting destination when there is a putting space.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は情報処理装置に関し、特にワードプロセッサや
コンピュータ等、文書作成やエディタにおいて、文字コ
ード列の貼り付け(Pa5te)や複写動作を行なう情
報処理装置に関するものである。
[Detailed Description of the Invention] [Industrial Field of Application] The present invention relates to information processing devices, and particularly to information processing that performs pasting (Pa5te) and copying operations of character code strings in document creation and editors such as word processors and computers. It is related to the device.

[従来の技術] 従来、この種の情報処理装置における文字コード列の貼
り付け(Paste)動作は、指定した箇所のデータフ
ォーマットが、取り込み(Cut)バッファ中の文字コ
ード列の全内容を受は付けるものであるときのみ貼り付
けが可能であったり、或は、受は付は得る文字コードの
みを貼り付け、それ以降の文字コードは無視するよう構
成されている。
[Prior Art] Conventionally, the pasting operation of a character code string in this type of information processing device is performed only when the data format of a specified location cannot accept the entire contents of the character code string in the cut buffer. Pasting is possible only when the character code is to be attached, or the receiver is configured to paste only the obtained character code and ignore subsequent character codes.

[発明が解決しようとしている課題j しかしながら、上記従来例では、例えば、スケジューラ
(時間二数字、スケジュール:文字)、住所録(名前:
漢字・カタカナ・ひらがな・アルファベット、電話二数
字・カッコ・ハイフン、住所:文字・数字)という具合
に、数字のみ、カタカナのみ、数字と文字(数字以外の
漢字、両かな文字、アルファベット)、特殊文字コード
のみ等の異なったフォーマットを持つブロック(区画)
を合わせ持つような文字列バッファへの貼り付けを行う
場合、少なくともブロックと同じ数だけの貼り付けや取
り込み動作が必要となる。その結果、貼り付けや取り込
みのための操作が複雑かつ煩わしいものとなり、”Cu
t & Pa5te”が本来持つ手軽さが消失してしま
うという欠点がある。
[Problem to be solved by the invention j However, in the above conventional example, for example, the scheduler (time: two numbers, schedule: letters), address book (name:
Kanji, katakana, hiragana, alphabet, phone numbers, parentheses, hyphen, address: letters and numbers), numbers only, katakana only, numbers and letters (kanji other than numbers, both kana characters, alphabet), special characters Blocks (sections) with different formats such as code only
When pasting to a string buffer that has both blocks, it is necessary to perform at least as many paste and import operations as there are blocks. As a result, operations for pasting and importing become complicated and troublesome, and
The drawback is that the original ease of use of ``T &Pa5te'' is lost.

[課題を解決するための手段〕 本発明は上述の課題を解決することを目的として成され
たもので、上述の課題を解決する一手段として以下の構
成を備える。
[Means for Solving the Problems] The present invention has been made for the purpose of solving the above-mentioned problems, and includes the following configuration as one means for solving the above-mentioned problems.

即ち、複数のフォーマットを有するブロックから成るデ
ータを記憶する第1の記憶手段と、前記第1の記憶手段
のブロックの区切りを示すデータフードを含む複写デー
タを記憶する第2の記憶手段と、前記第1の記憶手段に
記憶されたデータの配憶手段上での位置を任意に指示す
る指示手段と、前記第2の記憶手段に記憶された複写デ
ータと前記第1の記憶手段のブロックのフォーマットと
の整合性を判定する判定手段と、前記指示手段にて指示
された位置に、前記判定手段での判定結果に従って第2
の記憶手段に記憶された複写データを複写する手段とを
備える。
That is, a first storage means for storing data consisting of blocks having a plurality of formats, a second storage means for storing copy data including data hoods indicating block divisions of the first storage means, instruction means for arbitrarily instructing the location of the data stored in the first storage means on the storage means; the format of the copy data stored in the second storage means and the block of the first storage means; a determining means for determining the consistency with the
and means for copying the copy data stored in the storage means.

[作用] 以上の構成において、情報処理装置におけるCut &
 Pa5teの操作を簡略化、及び高速化できる。
[Operation] In the above configuration, Cut &
Operation of Pa5te can be simplified and speeded up.

[実施例] 以下、添付図面を参照して本発明に係る好適な一実施例
を詳細に説明する。
[Embodiment] Hereinafter, a preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings.

第1図は、本発明に係る一実施例である情報処理装置の
構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of an information processing device that is an embodiment of the present invention.

第1図において、中央制御部lは本情報処理装置全体を
制御するもので、メインプロセッサであるCPU1aと
周辺部駆動のためのドライバ1bから成り、CPU1a
はROM2に格納された制御プログラムに従い動作する
。カットバッファ3には、取り込まれた文字列データを
記憶し、表示手段であるデイスプレィ4には、エディタ
バッファ6に格納されたデイスプレィデータが表示され
る。尚、マウス5は、後述するエディタバッファ6のデ
ータの位置やデイスプレィ上でのデータ表示位置を指示
するためのものである。
In FIG. 1, the central control unit 1 controls the entire information processing device, and consists of a CPU 1a which is the main processor and a driver 1b for driving peripheral parts.
operates according to a control program stored in ROM2. The cut buffer 3 stores the captured character string data, and the display 4, which is a display means, displays the display data stored in the editor buffer 6. The mouse 5 is used to instruct the position of data in an editor buffer 6 and the data display position on the display, which will be described later.

第2図は実施例における貼り付は処理手順を示すフロー
チャートである。
FIG. 2 is a flowchart showing the pasting process procedure in the embodiment.

情報処理装置の使用者がマウス5を操作して貼り付は位
置を指定し、貼り付けが起動されると、ステップS1で
カットバッファ3よりコードを抽出する。このとき、カ
ットバッファ3が空であっても、カットバッファEND
を示すコードが抽出される。次に、ステップS2で、抽
出したコードがカットバッファENDのコードであるが
否かの判定を行ない、それがカットバッファENDのコ
ードであれば貼り付は動作は終了となる。しかし、それ
以外のコードであればステップS3に進み、抽出された
コードがブロックの区切りを表わす区切りコードである
がの判定をする。
The user of the information processing device operates the mouse 5 to specify the paste position, and when pasting is started, the code is extracted from the cut buffer 3 in step S1. At this time, even if cut buffer 3 is empty, cut buffer END
The code indicating the is extracted. Next, in step S2, it is determined whether the extracted code is the cut buffer END code or not. If it is the cut buffer END code, the pasting operation is completed. However, if the code is any other than that, the process proceeds to step S3, and it is determined whether the extracted code is a delimiter code representing a delimiter between blocks.

ステップS3での判定で、抽出したコードが区切りコー
ドであれば、ステップS4で新たにカットバッファ3よ
りコードを抽出し、続くステップS5で、次のフォーマ
ットブロックへ貼り付は先を移行する。そして、ステッ
プS6で、次のフォーマットブロックの有無を判定し、
フォーマットブロックがないと判定されれば、ステップ
S7で抽出コードをカットバッファENDとしてステッ
プS2へ処理を戻し、貼り付けを終了する。しかし、ス
テップS6での判定の結果、次のフォーマットブロック
が存在する場合は、ステップS7の処理を経由せずに直
接ステップS2へ戻ることにより、貼り付けを新たなブ
ロックで再開する。
If it is determined in step S3 that the extracted code is a delimiter code, a new code is extracted from the cut buffer 3 in step S4, and in the subsequent step S5, pasting is moved to the next format block. Then, in step S6, it is determined whether there is a next format block,
If it is determined that there is no format block, the extracted code is set as the cut buffer END in step S7, and the process returns to step S2, thereby ending the pasting. However, as a result of the determination in step S6, if the next format block exists, the process returns directly to step S2 without going through the process of step S7, thereby restarting pasting with a new block.

一方、ステップS3で、抽出コードがブロックの区切り
コードではないと判断されると、ステップS8で、抽出
コードが貼り付は先のフォーマットに適合しているかど
うかを判定する。適合しない場合はステップS5に進み
、次のフォーマットブロックへ貼り付は先を移行する。
On the other hand, if it is determined in step S3 that the extracted code is not a block delimiter code, it is determined in step S8 whether the extracted code conforms to the pasting format. If they do not match, the process advances to step S5, and the pasting process moves to the next format block.

しかし、適合している場合にはステップS9に進み、貼
り付はスペースがあるかをチエツクする。
However, if they match, the process advances to step S9, and it is checked whether there is space for pasting.

このステップS9で貼り付はスペースがあると判断され
れば、次のステップS10で抽出コードを貼り付は先の
エディタバッファ6へ書き込むが、貼り付はスペースが
ないと判断された場合には貼り付けを行なわずにステッ
プS1へ戻る。
If it is determined that there is a space for pasting in this step S9, the extracted code is written to the editor buffer 6 in the next step S10, but if it is determined that there is no space for pasting, the extracted code is pasted into the previous editor buffer 6. The process returns to step S1 without attaching.

ここで、第3図に従い、本実施例における貼り付は動作
について説明する。
Here, referring to FIG. 3, the pasting operation in this embodiment will be explained.

第3図はスケジューラにおける貼り付けの例であり、第
3図(a)は、カットバッファ3に文字列が格納された
様子を示す。また、第3図(b)は、エディタバッファ
6の構成を示しており、バッファ前半は時刻を表わし、
入力コードとしては0〜9の数字のみが許されるフォー
マットブロックで、Aブロックと呼ぶ。そして、バッフ
ァ後半はスケジュール内容を表すもので、入力コードと
しては、漢字、片仮名、平仮名、アルファベット等の文
字とO〜9の数字が許されるフォーマットブロックであ
り、Bブロックと呼ぶ。
FIG. 3 shows an example of pasting in the scheduler, and FIG. 3(a) shows how a character string is stored in the cut buffer 3. Further, FIG. 3(b) shows the configuration of the editor buffer 6, in which the first half of the buffer represents the time;
This is a format block that only allows numbers 0 to 9 as input codes, and is called the A block. The second half of the buffer represents the contents of the schedule, and is a format block in which characters such as kanji, katakana, hiragana, alphabets, and numbers from O to 9 are allowed as input codes, and is called a B block.

第3図(b)に示すエディタバッファ6の矢印の位置か
ら貼り付けを開始する場合、最初に第3図(a)のカッ
トバッファ3の01に位置する数字゛2″を抽出する(
第2図のステップS1に相当)。そして、抽出したコー
ドは、カットバッファENDでもなく(第2図のステッ
プS2のN。
When starting pasting from the arrow position of the editor buffer 6 shown in FIG. 3(b), first extract the number "2" located at 01 of the cut buffer 3 of FIG. 3(a) (
(corresponds to step S1 in FIG. 2). The extracted code is not cut buffer END (N in step S2 in FIG. 2).

に相当)、またブロックの区切りコードでもない(第2
図のステップS3のNOに相当)ので、フォーマットは
適合している(第2図のステップS8のYESに相当)
ということになる。
), nor is it a block delimiter code (equivalent to the second
(corresponds to NO in step S3 in the figure), so the format is compatible (corresponds to YES in step S8 in Figure 2)
It turns out that.

次に、貼り付は先のスペースの確認(第2図ステップS
9に相当)後、エディタバッファ6上のA1へ数字“2
”を貼り付ける(第2図のステップS10に相当)、以
下同様に、カットバッファ3の02〜C8のコードをそ
れぞれエディタバッファ6のA2〜A8へ順次貼り付け
る。
Next, check the space before pasting (Step S in Figure 2)
(equivalent to 9), then input the number “2” to A1 on the editor buffer 6.
” (corresponding to step S10 in FIG. 2), and similarly, the codes 02 to C8 of the cut buffer 3 are pasted to A2 to A8 of the editor buffer 6, respectively.

しかし、カットバッファ3のC9の°゛6“という数字
コードは、貼り付は先のスペースの確認(第2図ステッ
プS9に相当)でNOと判定されるので、貼り付けを行
なわずにカットバッファ3からの次のコード抽出に戻る
。即ち、カットバッファ3のCIOの文字コード”し”
が抽出されることになる。この文字コードは、フォーマ
ット不適合という判定を受ける(第2図のステップS8
に相当)ので、貼り付は位置なAブロックからBブロッ
クに移行してフォーマットの適合を計り、最終的にはエ
ディタバッファ6のB1に貼り付ける。以下同様に、カ
ッ!・バッファ3のCIl〜C15のコードを順次エデ
ィタバッファ6のB2〜B6へ貼り付け、カットバッフ
ァ3のC16からカットバッファ文字列エンドコードが
抽出された時点で、貼り付は動作を終了する。
However, when pasting the numeric code °゛6'' in C9 of cut buffer 3, it is judged as NO in the previous space check (corresponding to step S9 in Figure 2), so the code is not pasted into the cut buffer. Return to the next code extraction from 3. In other words, the character code of CIO in cut buffer 3 is “shi”.
will be extracted. This character code is determined to be format incompatible (step S8 in Figure 2).
(equivalent to ), the paste moves from the A block to the B block, matches the format, and is finally pasted to B1 of the editor buffer 6. Similarly below, Ka! - The codes CI1 to C15 of buffer 3 are pasted sequentially to B2 to B6 of editor buffer 6, and when the cut buffer character string end code is extracted from C16 of cut buffer 3, the pasting operation ends.

以上説明したように、本実施例によれば、貼り付けを指
定した位置のフォーマットに対して無効となる文字コー
ド、または指定した区切りとなるコードが出現した点を
バッファのブロックの区切りとして取り扱うので、異種
フォーマットブロックを有するデータに対しても貼り付
は動作を連続して実行できるという効果がある。
As explained above, according to this embodiment, the point at which a character code that is invalid for the format at the specified paste position or a specified delimiter code appears is treated as a buffer block delimiter. , Paste has the advantage that operations can be performed continuously even for data having blocks in different formats.

また、貼り付は動作を連続して実行できるので貼り付は
動作の回数が減り、操作を簡略化できるという効果があ
る。
Furthermore, since the pasting operation can be performed continuously, the pasting operation has the effect of reducing the number of operations and simplifying the operation.

〈他の実施例〉 次に、本発明に係る他の実施例について説明する。<Other Examples> Next, other embodiments according to the present invention will be described.

第4図は、本発明に係る他の実施例である情報処理装置
の構成を示すブロック図である。同図において、第1図
に示した情報処理装置と同一構成要素には同一番号を付
し、その詳細な説明は省略する。
FIG. 4 is a block diagram showing the configuration of an information processing device according to another embodiment of the present invention. In this figure, the same components as those of the information processing apparatus shown in FIG. 1 are given the same numbers, and detailed explanation thereof will be omitted.

第4図に示した情報処理装置において、カットバッファ
編集装置8を介して入力手段としてのキーボード7から
カットバッファ3に直接文字列データを入力、編集でき
る。
In the information processing apparatus shown in FIG. 4, character string data can be directly input and edited into the cut buffer 3 from the keyboard 7 as input means via the cut buffer editing device 8.

そこで、あらかじめカットバッファ3に文字列データを
入力し、その内容を編集することにより貼り付けを行な
う処理について説明する。
Therefore, a process of pasting by inputting character string data into the cut buffer 3 in advance and editing its contents will be described.

第5図(a)は、カットバッファ3に格納された文字列
データを示しており、Ex、Cut Iのような文字列
データに貼り付は処理を施すと、第5図(b)のE x
、 Edit Iに示すフォーマットへ変換される。し
かし、カットバッファ3の文字列データを、第5図(a
)のEx、CutIIのように、図中■で示すブロック
エンドコードを4個加えることにより、第5図(b)の
E x、 Editllに示す形で貼り付けが行なわれ
る。
FIG. 5(a) shows the character string data stored in the cut buffer 3, and when the pasting process is applied to character string data such as Ex and Cut I, E in FIG. 5(b) is shown. x
, converted to the format shown in Edit I. However, if the character string data in cut buffer 3 is
), by adding four block end codes indicated by ■ in the figure, pasting is performed in the form shown in Ex and Editll in FIG. 5(b).

更に、第6図に示すE x、 Edi tlrlのアド
レスデータなカットバッファ3に取り込めば、E x、
 Cut IIIの如く格納される。そこで、カットバ
ッファ編集装置8にてカットバッファ3内の文字列デー
タなE x、 Cut TVのように編集し、貼り付け
を実行すると、E x、 EdztlVの形でスケジュ
ールデータとして複写される。即ち、異なるブロックフ
ォーマットを持つデータの間の複写が行なわれることに
なる。
Furthermore, if the address data of Ex, Edit tlrl shown in FIG. 6 is taken into the cut buffer 3, Ex,
It is stored like Cut III. Therefore, when the cut buffer editing device 8 edits the character string data in the cut buffer 3 as Ex, Cut TV and pastes it, it is copied as schedule data in the form of Ex, EdztlV. That is, data having different block formats will be copied.

以上説明したように、本実施例によれば、複写データと
編集手段とを合わせ持つことにより、途中のフォーマッ
トブロックを飛び越した貼り付けや異種ブロックフォー
マットデータ間の貼り付けを容易、且つ高速に行なえる
という効果がある。
As explained above, according to this embodiment, by combining copy data and editing means, it is possible to easily and quickly paste data that skips intermediate format blocks or pastes data between different block formats. It has the effect of

[発明の効果] 以上説明したように、本発明によれば、データの取り込
み、及び貼り付は操作が容易になるという効果がある。
[Effects of the Invention] As described above, according to the present invention, there is an effect that data importing and pasting operations become easier.

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

第1図は本発明に係る一実施例である情報処理装置の構
成を示すブロック図、 第2図は実施例に係る貼り付は処理手順を示すフローチ
ャート、 第3図(a)はカットバッファ3に文字列が格納された
様子を示す図、 第3図(b)はエディタバッファ6の構成を示す図、 第4図は他の実施例に係る情報処理装置の構成を示すブ
ロック図、 第5図(a)は他の実施例のカットバッファ3に格納さ
れた文字列データを示す図、 第5図(b)は他の実施例におけるエディタバッファ6
の構成を示す図、 第6図は他の実施例における編集、複写処理を示す図で
ある。 図中、1・・・中央制御部、2・・・ROM、3・・・
カットバッファ、4・・・デイスプレィ、5・・・マウ
ス、6・・・エデイタバファ、7・・・キーボード、8
・・・カットバッファ編集装置である。 1ノ] :“2
FIG. 1 is a block diagram showing the configuration of an information processing device according to an embodiment of the present invention, FIG. 2 is a flowchart showing a pasting process procedure according to the embodiment, and FIG. 3(a) is a cut buffer 3 FIG. 3(b) is a diagram showing the configuration of the editor buffer 6; FIG. 4 is a block diagram showing the configuration of an information processing device according to another embodiment; FIG. 5(a) is a diagram showing character string data stored in the cut buffer 3 of another embodiment, and FIG. 5(b) is a diagram showing the editor buffer 6 of another embodiment.
FIG. 6 is a diagram showing the editing and copying processing in another embodiment. In the figure, 1... central control unit, 2... ROM, 3...
Cut buffer, 4... Display, 5... Mouse, 6... Editor buffer, 7... Keyboard, 8
...It is a cut buffer editing device. 1 no]: “2

Claims (2)

【特許請求の範囲】[Claims] (1)複数のフォーマットを有するブロックから成るデ
ータを記憶する第1の記憶手段と、 前記第1の記憶手段のブロックの区切りを示すデータコ
ードを含む複写データを記憶する第2の記憶手段と、 前記第1の記憶手段に記憶されたデータの記憶手段上で
の位置を任意に指示する指示手段と、前記第2の記憶手
段に記憶された複写データと前記第1の記憶手段のブロ
ックのフォーマットとの整合性を判定する判定手段と、 前記指示手段にて指示された位置に、前記判定手段での
判定結果に従つて第2の記憶手段に記憶された複写デー
タを複写する手段とを有することを特徴とする情報処理
装置。
(1) a first storage means for storing data consisting of blocks having a plurality of formats; a second storage means for storing copy data including data codes indicating block divisions of the first storage means; instruction means for arbitrarily instructing the position on the storage means of the data stored in the first storage means; a format of the copy data stored in the second storage means and the blocks of the first storage means; and means for copying the copy data stored in the second storage means to the position indicated by the instruction means according to the judgment result of the judgment means. An information processing device characterized by:
(2)第2の記憶手段の複写データが含む第1の記憶手
段のブロックの区切りを示すデータコードは、複写先の
ブロックのフォーマットと整合性を有しないこと特徴と
する請求項1項記載の情報処理装置。
(2) The data code included in the copy data of the second storage means indicating the delimitation of blocks of the first storage means is not consistent with the format of the block of the copy destination. Information processing device.
JP2130305A 1990-05-22 1990-05-22 Information processor Pending JPH0425967A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2130305A JPH0425967A (en) 1990-05-22 1990-05-22 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2130305A JPH0425967A (en) 1990-05-22 1990-05-22 Information processor

Publications (1)

Publication Number Publication Date
JPH0425967A true JPH0425967A (en) 1992-01-29

Family

ID=15031144

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2130305A Pending JPH0425967A (en) 1990-05-22 1990-05-22 Information processor

Country Status (1)

Country Link
JP (1) JPH0425967A (en)

Similar Documents

Publication Publication Date Title
JP2006202308A (en) Graphical user interface method, graphical user interface device, and recording medium
JPH07219754A (en) Request definition support device using screen transition diagram
JPH0425967A (en) Information processor
JP3371434B2 (en) Layout editing device
JP3528249B2 (en) Document processing device
JP2763289B2 (en) Detailed description positioning method in logic diagram creation processing device
JPH03142657A (en) Document processor
JPH05324649A (en) Data processing method and device
JPH10198667A (en) Character string conversion device and program recording medium for the device
JPS62156767A (en) Word processor with memo@(244e//00) function
JPS6174061A (en) Document processing device
JPH061470B2 (en) Text processor
JPH0685169B2 (en) Document processing method
JPH08171560A (en) Document data editing device
JPH11191104A (en) Information processor and its method, and computer-readable memory
JPH038070A (en) Keyword extracting system
JPH09185630A (en) Electronic equipment and control method for the equipment
JPH03250361A (en) Document editing device
JPH03176736A (en) Text storing system
JPH04155569A (en) Kana/kanji converter
JPH03171252A (en) Character processor
JPH1011429A (en) Character processor
JPH0311410A (en) Information processing unit
JP2001101170A (en) Information management device
JPS63240670A (en) Document processor