JPH0392959A - Character processor - Google Patents

Character processor

Info

Publication number
JPH0392959A
JPH0392959A JP1231847A JP23184789A JPH0392959A JP H0392959 A JPH0392959 A JP H0392959A JP 1231847 A JP1231847 A JP 1231847A JP 23184789 A JP23184789 A JP 23184789A JP H0392959 A JPH0392959 A JP H0392959A
Authority
JP
Japan
Prior art keywords
layout
document
text
line
page
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
JP1231847A
Other languages
Japanese (ja)
Inventor
Kenichi Kazumi
健一 数見
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 JP1231847A priority Critical patent/JPH0392959A/en
Publication of JPH0392959A publication Critical patent/JPH0392959A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To easily execute a layout edition processing by transforming the page, line and digit of a sentence to coordinate values for the unit of a dot according to format information, controlling ON/OFF of an obtained dot pattern and obtaining the page, line and digit information of a document form from dot pattern information. CONSTITUTION:When an activating means 100 is operated, one document file stored in a document storing means is wholly layout-displayed by a layout developing means 110 and the layout of the document is outputted to a display means 120. Next, when a layout control activating means 140 is operated, moving and copying is executed for the unit of a window by a layout control means 150 and the layout is outputted to the display means 120. Further, the dot coordinates are transformed to the page, line and digit information by a document form transforming means 160 and afterwards, the information are stored in an original document storing means 130. Thus, when a graphic, etc., positioned in the end of the document is moved or copied to the head of the sentence, this edition for moving and copying, etc., can be processed in one picture and the simplified operation can be realized.

Description

【発明の詳細な説明】 「産業上の利用分野] 本発明は、文字処理装置に関し、特に文章・図・表・画
像の混在したレイアウト編集処理を容易に行うことを支
援する文字処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a character processing device, and more particularly to a character processing device that supports easy layout editing processing in which text, figures, tables, and images are mixed.

[従来の技術] 従来の文字処理装置において、レイアウト編集処理を行
う場合の制御範囲は、1頁に限られているのが一般的だ
った(第2図参照)。なぜならば、表示画面サイズとレ
イアウト表示する文字・イメージ・図形等の大きさの関
係上、1度に表示可能なレイアウトサイズは、1頁が限
度であった。従って、数真にわたってレイアウト編集処
理を行うには、改頁等のキーアクションが必要であった
[Prior Art] In conventional character processing devices, the control range when performing layout editing processing is generally limited to one page (see FIG. 2). This is because, due to the relationship between the display screen size and the size of characters, images, figures, etc. displayed in the layout, the layout size that can be displayed at one time is limited to one page. Therefore, key actions such as page breaks are required to perform layout editing processing over several pages.

[発明が解決しようとしている課題] しかしながら、前記の方法では、他の頁とのレイアウト
関係を知るためには、改頁等のキーアクションにより画
面を切り替える必要があるので、何かしらの頁レイアウ
トの記憶手段を必要としていた。そのような記憶手段が
ない文字処理装置においては、多くの場合は、ユーザの
イメージの記憶能力に頼っていた。
[Problem to be solved by the invention] However, in the above method, in order to know the layout relationship with other pages, it is necessary to change the screen by key action such as page break, so it is necessary to memorize some page layout. I needed the means. Character processing devices without such storage means often rely on the user's ability to store images.

更に上記のような文字処理装置においては、頁をまたい
でレイアウト編集を行うのは、きわめて不便であった。
Furthermore, in the above-mentioned character processing device, it is extremely inconvenient to edit the layout across pages.

例えば、第2図に示すようなレイアウトからイメージ枠
を2頁に移動する場合、イメージ枠を指定した後にカッ
ト処理を行う(第3図参照)と、1頁の文書のレイアウ
ト構成は、明らかに悪くなっている。次に頁指定して、
2頁のレイアウト表示する(簿4図参照)。前記でカッ
トしたイメージを張り付ける場所を指定して、ペースト
処理を行う(第5図番照)。第2図から第5図までの一
連の作業終了後、レイアウト構成の悪くなった1頁に戻
ってレイアウトの再構戒を試みる。このような流れが、
従来のレイアウト編集であった。
For example, when moving the image frame from the layout shown in Figure 2 to page 2, if you specify the image frame and then perform the cut process (see Figure 3), the layout structure of the 1-page document will be clearly changed. It's getting worse. Next, specify the page,
Display the 2-page layout (see Figure 4 of the book). Specify the location where the cut image is to be pasted and perform the paste process (see Figure 5). After completing the series of work from FIG. 2 to FIG. 5, return to the first page where the layout composition has deteriorated and try to reorganize the layout. This kind of flow is
It was conventional layout editing.

本発明は上記事情に鑑みてなされたもので、1画面で1
文書ファイルをすべて表示することによって、頁をまた
がったレイアウト編集処理を容易にできるようにしたも
のである。
The present invention was made in view of the above circumstances, and it is possible to
By displaying all document files, layout editing processing that spans pages can be easily performed.

[問題点を解決するための手段(及び作用)]木発明に
よれば、レイアウト表示を行うに当たって、第1図の起
動手段100を操作したとき、文書格納手段に格納され
ている1文書ファイルすへてか、レイアウト展開手段1
10によりレイアウト展開されて、文書のレイアウトが
表示手段120に出力される(第7図参照)。このとき
、レイアウトイメージを極限までlJ(さくするために
、文章部分は表示しない。例えば、テキスト画面で1文
字が24X24ドット構成であれば、その文字位置を1
ドットで示す。つまり、その文字の存在する頁の行桁位
置をドット座標で示しその座標値をOFFとし、画面表
示しないようにする。逆に文章以外の部分(例えば、イ
メージ・表・図形等)であれば、24X24ドットを構
成単位として、それが存在する頁の行桁位置のドット座
標値をONとして画面表示する。そして、各々のドット
座標値は、実際のテキストの頁・行・桁に相対的に一致
させておく。上記の処理をレイアウト展開千段110で
行う。
[Means for Solving the Problems (and Effects)] According to the invention, when the activation means 100 shown in FIG. 1 is operated to display a layout, all one document file stored in the document storage means is Hey, layout development method 1
10, and the layout of the document is output to the display means 120 (see FIG. 7). At this time, in order to make the layout image as small as possible, the text part is not displayed. For example, if one character on the text screen is composed of 24 x 24 dots, the character position is
Indicated by dots. That is, the line column position of the page where the character exists is indicated by dot coordinates, and the coordinate value is set to OFF so that it is not displayed on the screen. On the other hand, if it is a part other than text (for example, an image, table, figure, etc.), it is displayed on the screen using 24×24 dots as a constituent unit and turning on the dot coordinate value of the line column position of the page where it exists. Then, each dot coordinate value is made to correspond relatively to the page, line, and column of the actual text. The above processing is performed in the layout development stage 110.

次に、移動・複写等のレイア・ウト編集処理を行うに当
たって、レイアウト制御起動手段140を操作したとき
、レイアウト制御手段150によつてウィンドウ単位で
の移動・複写が行われて、表示手段120に出力される
(第8図参照)。
Next, when the layout control starting means 140 is operated in order to perform layout editing processing such as moving and copying, the layout control means 150 moves and copies each window, and the display means 120 is output (see Figure 8).

更に文書形式変換千段160によって、ドット座標を頁
・行・桁情報に変換した後に、元の文書格納手段130
に格納する。
Furthermore, after converting the dot coordinates into page/line/column information by the document format conversion step 160, the original document storage means 130
Store in.

[実施例] 以下、図面を参照して本発明を詳細に説明する。[Example] Hereinafter, the present invention will be explained in detail with reference to the drawings.

第9図は本発明の全体構戒の一例である。FIG. 9 is an example of the overall structure of the present invention.

図示の構成において、CPUは、マイクロプロセッサで
あり、文字処理のための演算、論理判断等を行ない、ア
ドレスバスAB,コントロールバスCB,データパスD
Bを介して、それらのバスに接続された各構成要素を制
御する。
In the illustrated configuration, the CPU is a microprocessor that performs calculations, logical judgments, etc. for character processing, and includes an address bus AB, a control bus CB, and a data path D.
B to control each component connected to those buses.

アドレスバスABはマイクロプロセッサCPUの制御の
対象とする構成要素を指示するアドレス信号を転送する
。コントロールパスCBはマイクロプロセッサCPUの
制御の対象とする各構威要素のコントロール信号を転送
して印加する。データバスDBは各構成要素相互間のデ
ータの転送を行なう。
Address bus AB transfers address signals indicating the components to be controlled by the microprocessor CPU. The control path CB transfers and applies control signals for each structural element to be controlled by the microprocessor CPU. Data bus DB transfers data between each component.

ROMは、読出し専用の固定メモリである。そのうちの
PAは、第11図につき後述するマイクロプロセッサC
PUによる制御手順等を記憶させたプログラムエリアで
ある。
ROM is a read-only fixed memory. Of these, PA is a microprocessor C, which will be described later with reference to FIG.
This is a program area in which control procedures etc. by the PU are stored.

また、RAMは、1ワード16ビットの構成の書込み可
能のランダムアクセスメモリであって、各構成要素から
の各種データの一時記憶に用いる。
Further, the RAM is a writable random access memory having a configuration of 1 word and 16 bits, and is used for temporary storage of various data from each component.

TBUFは文書バッファであり、キーボードKBより入
力された文書情報を蓄えるためのメモリである。
TBUF is a document buffer, which is a memory for storing document information input from the keyboard KB.

DICIは、部首入力、画数入力、単漢字入力などによ
って、漢字を検索するための辞書である。
DICI is a dictionary for searching kanji by inputting radicals, number of strokes, single kanji, etc.

DIC2は、カナ漢字変換を行なうための辞書である。DIC2 is a dictionary for performing kana-kanji conversion.

YBUFはキーボードKBにあるカナ入カキーKANA
より入力されたカナ読みコードを蓄えるためのメモリで
ある。
YBUF is the kana key KANA on the keyboard KB.
This is a memory for storing the kana reading code input by the user.

PREDICは数字の前につく接頭語(前置助数詞)辞
書である。
PREDIC is a dictionary of prefixes that appear before numbers.

NUMD I Cは、数字辞書である。NUMD IC is a numeric dictionary.

PSTD I Cは助数詞(後置助数詞)辞書である。PSTD IC is a particle word (postfix particle) dictionary.

KBはキーボードであって、アルファベットキひらがな
キー,カタカナキー等の文字記号入力キー,及び、変換
キー.無変換キー,取消キー等の本文字処理装置に対す
る各種機能を指示するための各種のファンクションキー
を備えている。
KB is a keyboard, and has character symbol input keys such as alphabet, hiragana keys and katakana keys, and conversion keys. It is equipped with various function keys, such as a no-conversion key and a cancel key, for instructing various functions to the character processing device.

第9図において、CONは変換キー KANAは読みを
入力するための文字記号入力キーである。また、BUS
HUは、部首入力を起動するためのキー、ウインドウ表
示された単語候補の中から該当卑語を選択するためのキ
ーである。
In FIG. 9, CON is a conversion key and KANA is a character symbol input key for inputting readings. Also, BUS
HU is a key for activating radical input and a key for selecting a corresponding vulgar word from word candidates displayed in a window.

DISKは定型文書を記憶するためのメモリで作成され
た文書の保管を行ない、保管された文書はキーボードの
指示により、必要な時呼び出される。
The DISK stores documents created in a memory for storing standard documents, and the stored documents can be called up when necessary by instructions from the keyboard.

CRはカーソルレジスタである。CPUにより、カーソ
ルレジスタの内容を読み書きできる。
CR is a cursor register. The CPU can read and write the contents of the cursor register.

後述するCRTコントローラCRTCは、ここに蓄えら
れたアドレスに対する表示装置CRT上の位置にカーソ
ルを表示する。
A CRT controller CRTC, which will be described later, displays a cursor at a position on the display device CRT corresponding to the address stored here.

DBUFは表示用バッファメモリで,TBUFに蓄えら
れた文書情報等のパターンを蓄える。
DBUF is a display buffer memory that stores patterns such as document information stored in TBUF.

MDBUFはメッセージ表示用バッファメモリで、RO
M内のメッセージデータMSDATのパターンを蓄える
MDBUF is a message display buffer memory, and RO
Store the pattern of message data MSDAT in M.

CRTCはカーソルレジスタCR及びバッファDBUF
,MDBUFに蓄えられた内容を表示器CRTに表示す
る役割を担う。また、CRTは陰極線管等を用いた表示
装置であり、その表示装置CRTにおけるドット構成の
パターンおよびカーソルの表示をCRTコントローラで
制御する。
CRTC is cursor register CR and buffer DBUF
, MDBUF has the role of displaying the contents stored in the display device CRT. Further, a CRT is a display device using a cathode ray tube or the like, and the display of a dot configuration pattern and a cursor on the display device CRT is controlled by a CRT controller.

さらに、CGはキャラクタジェネレータであって、表示
装置CRTに表示する文字、記号のパターンを記憶する
ものである。
Furthermore, CG is a character generator that stores patterns of characters and symbols to be displayed on the display device CRT.

かかる各構成要素からなる本発明文字処理装置において
は、キーボードKBからの各種の入力に応して作動する
ものであって、キーボードK B h)らの入力が供給
されると、まず、インタラブト信号がマイクロプロセッ
サCPUに送られ、そのマイクロプロセッサCPUがR
OM内に記憶してある各種の制御信号を読出し、それら
の制御信号に従って、各種の制御が行なわれる。
The character processing device of the present invention comprising these components operates in response to various inputs from the keyboard KB, and when inputs from the keyboard KB, etc. are supplied, first, an interrupt signal is is sent to the microprocessor CPU, and the microprocessor CPU
Various control signals stored in the OM are read out, and various controls are performed according to these control signals.

第10図は、テキストバッファに蓄えられる文書の形式
を示している。文書メモリの構成概略のインデックス部
は、行管理情報部の先頭アドレス・テキスト部の先頭ア
ドレス、レイアウトデータ部の先頭アドレスを格納して
いる。行管理情報部は、テキスト1行ごとにテキストを
管理するための情報、つまり1行ごとのテキスト部への
ポインタと1行ごとのバイト数を格納する。テキスト部
には、文字コードあるいは図形・表・イメージ等を識別
するための制御コードが連続したエリアに格納している
。図中、※〜※まで9部分が上記の制御コードにあたる
。レイアウトデータ部には、レイアウトデータの管埋情
報と、レイアウトデータが格納されている。テキストデ
ータの制御コ−ドにより、レイアウトデータ部の実デー
タが格納されている場所を知る。レイアウトデータ座標
部で、実データが文書中に張り付けられる位置を知り、
レイアウトデータ部のデータをその位置に張り付ける。
FIG. 10 shows the format of the document stored in the text buffer. The index section of the general structure of the document memory stores the start address of the line management information section, the start address of the text section, and the start address of the layout data section. The line management information section stores information for managing text for each line of text, that is, a pointer to the text section for each line and the number of bytes for each line. In the text portion, character codes or control codes for identifying figures, tables, images, etc. are stored in continuous areas. In the figure, 9 parts from * to * correspond to the above control code. The layout data section stores layout data management information and layout data. The location where the actual data of the layout data section is stored is known from the control code of the text data. In the layout data coordinate section, know the position where the actual data will be pasted in the document,
Paste the data in the layout data section at that position.

このような文書構造のとき、本発明の制御フローを第1
1図(a)(b)(c)で示している。
When the document structure is like this, the control flow of the present invention is
1 (a), (b), and (c).

第6図において、プルダウンメニューのレイアウト編集
がセレクトされたとき、第11図(a)のS3のキー判
別で本発明による制御プログラムが起動する。S5にて
、第7図に示すところの大ブロックあ大きさを計算する
。これは、文字処理装置の表示ドットサイズに影響され
る部分である。例えば、レイアウト表示に使用できる最
大ドット数が500X900ドットで、書式を1頁60
行70桁に設定していれば、縦(図中y座標)サイズ5
00+60−8頁(480ドット)、シたがって、1ブ
ロックの大きさは、約480X70に設定できる。さら
にブロック間サイズを30ドットとれば、横(図中X座
標)のサイズ70+30,従って、900÷100で、
最大9個の大ブロックが1度に表示できることになる。
In FIG. 6, when layout editing is selected from the pull-down menu, the control program according to the present invention is activated by key determination at S3 in FIG. 11(a). At S5, the size of the large block shown in FIG. 7 is calculated. This is a part that is affected by the display dot size of the character processing device. For example, the maximum number of dots that can be used for layout display is 500 x 900 dots, and the format is 60 dots per page.
If the line is set to 70 columns, the vertical (y coordinate in the figure) size is 5.
00+60-8 pages (480 dots), therefore, the size of one block can be set to approximately 480×70. Furthermore, if the inter-block size is 30 dots, the horizontal size (X coordinate in the figure) is 70+30, so 900÷100.
A maximum of nine large blocks can be displayed at one time.

S7にて、各パラメータを初期化する。つまり、各ブロ
ックのスタート座標とエンド座標を求め、カレント座標
を第1ブロックの左上として(0、0)に設定する。更
に第1行目の行管理情報をリードすることによって、テ
キスト部の先頭行のアドレスを知る。S9で、テキスト
カウンタcn[がカレント行の総バイト数より小さけれ
ば、S17で現在のx,y座標がカレント大ブロックに
納まるかどうかをチェックする。納まれば、現在のポイ
ンタで示されるテキスト部のデータを1バイトリードし
、そのデータが文字であるか、制御コードであるかを3
23チェックする。この時のテキストポインタは、行管
理情報部のカレント行のテキスト部へのポインタとカウ
ンタcntより得る事ができる。さらにテキストデータ
を1バイトリードした後カウンタをインクリメントして
おく。S23にて、文字コードであれば、S27でカレ
ント座標の1ドットをOFFにする。もし、制御コード
であれは、S25てレイアウトデータ部の座標管理部よ
り得られる桁までの座標をONにする。そして、X座標
とカウンタcntを更新して、S9に戻る。
In S7, each parameter is initialized. That is, the start coordinate and end coordinate of each block are determined, and the current coordinate is set to (0, 0) as the upper left corner of the first block. Furthermore, by reading the line management information of the first line, the address of the first line of the text portion is known. If the text counter cn[ is smaller than the total number of bytes of the current line in S9, it is checked in S17 whether the current x, y coordinates fit within the current large block. If it is settled, read 1 byte of data in the text part indicated by the current pointer, and check whether the data is a character or a control code.
23 Check. The text pointer at this time can be obtained from the pointer to the text section of the current line in the line management information section and the counter cnt. Furthermore, after reading 1 byte of text data, the counter is incremented. If it is a character code in S23, one dot at the current coordinates is turned off in S27. If it is a control code, the coordinates up to the digits obtained from the coordinate management section of the layout data section are turned on in S25. Then, the X coordinate and the counter cnt are updated, and the process returns to S9.

S9で、テキストカウンタcntがカレント行の総バイ
ト数より大きくなれば、Sitで次の行管理情報をリー
ドし、テキスト部へのポインタとカレント行の総バイト
数を更新する。更にS15にて、y座標をインクリメン
トし、X座標をスタート座標に戻す。また、カウンタc
ntは、クリ゛アしておく。
In S9, if the text counter cnt becomes larger than the total number of bytes of the current line, the next line management information is read in Sit, and the pointer to the text portion and the total number of bytes of the current line are updated. Furthermore, in S15, the y coordinate is incremented and the X coordinate is returned to the start coordinate. Also, counter c
nt is cleared.

さて、S17で現在の大ブロックの座標範囲に納まらな
いときは、S19にて、s5で得た次の大ブロック座標
系に移す。
Now, if it is determined in S17 that the coordinates do not fit within the current large block coordinate range, then in S19 the coordinate system is moved to the next large block coordinate system obtained in s5.

上記のフローは、S13で行管理情報がなくなるまで続
く。
The above flow continues until there is no row management information left in S13.

このような制御を経て、完成したレイアウト画面を第7
図に示す。
After such control, the completed layout screen is transferred to the seventh screen.
As shown in the figure.

さて、第7図において、第2大ブロックのマウスカーソ
ル位置のイメージデータを、第1大プロックに移動させ
る場合の制御フローを第11図(b)(c)に示す。ま
た、移動後のレイアウト画面を第8図に示す。
Now, FIGS. 11(b) and 11(c) show the control flow when the image data at the mouse cursor position of the second large block in FIG. 7 is moved to the first large block. Moreover, the layout screen after the movement is shown in FIG.

第7図でメニューバーのカットをマウスでクリックし、
次に第2大ブロックのイメージデータにマウスカーソル
を移動しマウスをクリックしたときに、第11図(b)
に示すフロー制御が始まる。
In Figure 7, click Cut on the menu bar with the mouse,
Next, when you move the mouse cursor to the image data of the second large block and click the mouse, the image shown in Fig. 11(b)
Flow control begins as shown in .

S105でマウスカーソルの位置のドットがONである
から、S107にて、マウスガーソル位置のイメージデ
ータの開始座標と終了座標と現在の位置座標を計算しセ
ーブする。イメージデータ部分は、ドットがONである
から、現在位置座標から上下左右にドットOFFになる
まで1ドットずつスキャンしていけば計算できる。さら
に、開始座標と終了座標から、テキスト上の行桁を計算
する。S107で既に、第2大ブロックの先頭座標と先
頭頁を得ているから、座標の差分を取れば、イメージデ
ータの先頭行桁を得ることができる。S109で行管理
情報部より、イメージデータのテキスト部へのポインタ
を得て、テキスト部をスキャンすることによって、イメ
ージデータの識別コートを獲得する。現在カット処理で
あるから、S111を経てS113で、開始座標から終
了座標までの領域、つまりイメージデータの座標エリア
をすべてクリアする。さらに、s115でテキスト部の
イメージデータの識別制御コードをイメージデータの終
了行まで削除する。そして、イメージデータの先頭行か
らの行管理情報部を更新する。さらに、イメージデータ
の識別コードからレイアウトデータNoを知り、そのレ
イアウトデータ座標部をクリアする。
Since the dot at the mouse cursor position is ON in S105, the start coordinates, end coordinates, and current position coordinates of the image data at the mouse cursor position are calculated and saved in S107. Since the dots in the image data part are ON, calculations can be made by scanning one dot at a time from the current position coordinates up, down, left and right until the dots become OFF. Furthermore, the line column on the text is calculated from the start and end coordinates. Since the first coordinates and the first page of the second large block have already been obtained in S107, the first row column of the image data can be obtained by taking the difference between the coordinates. In S109, a pointer to the text section of the image data is obtained from the line management information section, and the identification code of the image data is obtained by scanning the text section. Since cutting is currently being performed, the entire area from the start coordinates to the end coordinates, that is, the coordinate area of the image data, is cleared in S113 through S111. Furthermore, in s115, the identification control code of the image data in the text portion is deleted up to the last line of the image data. Then, the row management information section from the first row of the image data is updated. Furthermore, the layout data No. is known from the identification code of the image data, and the layout data coordinate section is cleared.

ところで、第7図でマウスカーソルの位置が、文章エリ
アつまりドットがOFFであれば、s105の判定で上
記の変換処理を行わずに終了する。また、カットではな
くコピー処理の場合は、S111の判定で、イメージデ
ータ部のドットのクリア、テキスト部の識別制御コード
の削除、レイアウトデータ座標部のクリアを行わずに終
了する。
By the way, if the position of the mouse cursor in FIG. 7 is in the text area, that is, the dots are OFF, the process ends without performing the above conversion process based on the determination in s105. Furthermore, in the case of copy processing rather than cutting, the process ends without clearing the dots in the image data area, deleting the identification control code in the text area, or clearing the layout data coordinate area in the determination in S111.

上記の制御の終了後、第8図のペーストをマウスでクリ
ックした後に、第1ブロックのドットがOFFの部分に
マウスカーソルを移動し、マウスをクリックしたとき、
第11図(C)のフローで示す制御が始まる。
After completing the above control, click the paste in Figure 8 with the mouse, move the mouse cursor to the part where the dot in the first block is OFF, and click the mouse.
The control shown in the flowchart of FIG. 11(C) begins.

S121のキー判別で、ペースト処理であるからS12
3に分岐して、マウスカーソルの移動距離と、イメージ
データを貼り付けるエリアの開始座標と終了座標を求め
る。移動距離は、カット時のマウスカーソルの座標(S
107で既に得ている)との差分を求めることによって
得る。さらに、ペーストの開始座標と終了座標は、S1
07で求めたイメージデータの開始座標あるいは終了座
標と、前記の移動距離を加算することによって計算する
。次に、S125とS127で貼り付けることが可能な
エリアであるかどうかのチェックを行う。S125では
、貼り付けるエリアにイメージデータが存在していない
かどうかをチェックし、S127では、貼り付けるエリ
アが大ブロックに納まっているかどうかをチェックする
。もし、貼り付けることができなければその時点で処理
は終了する。貼り付けることができるならはS129で
、S123で求めた座標エリアのドットをすべてONに
する。S】31では、開始座標と終了座標から、テキス
ト上の行桁を計算する6S7で既に、第1大ブロックの
先頭座標と先頭頁を得ているから、貼りつけたイメージ
データ座標との差分を求めれば、貼り付けたイメージデ
ータの先頭の行桁を得ることができる。この行に相当す
る行管理情報部のテキスト部へのポインタによって示さ
れるテキスト部へ、S109で得た識別制御コードを挿
入すると同時に、行管理情報部の情報を更新する。この
処理をイメージデータの最終行まで行う。それ以降の行
の行管理情報部は、上記で挿入したコード分の加算を行
って新たに更新する。さらに、レイアウトデータの座標
部も張り付けた行桁を新たに追加する。
In the key determination in S121, since it is a paste process, S12
Branching to step 3, the moving distance of the mouse cursor and the start and end coordinates of the area to paste the image data are determined. The moving distance is the coordinates of the mouse cursor at the time of cutting (S
(already obtained in step 107). Furthermore, the paste start and end coordinates are S1
It is calculated by adding the start coordinate or end coordinate of the image data obtained in step 07 and the movement distance described above. Next, in S125 and S127, it is checked whether the area can be pasted. In S125, it is checked whether there is no image data in the area to be pasted, and in S127, it is checked whether the area to be pasted is within a large block. If it cannot be pasted, the process ends at that point. If pasting is possible, in S129 all dots in the coordinate area determined in S123 are turned ON. S] In step 31, calculate the line column on the text from the start and end coordinates. Since you have already obtained the start coordinates and the start page of the first large block in step S7, calculate the difference between the coordinates of the pasted image data and If you do this, you can get the first line column of the pasted image data. The identification control code obtained in S109 is inserted into the text section indicated by the pointer to the text section of the line management information section corresponding to this line, and at the same time, the information in the line management information section is updated. This process is repeated until the last line of the image data. The row management information section of subsequent rows is newly updated by adding the code inserted above. Furthermore, a new row column is added to which the coordinate part of the layout data is also pasted.

このようにして、イメージデータが移動したレイアウト
表示を第8図に示す。
FIG. 8 shows a layout display in which the image data has been moved in this manner.

以上のフローでは、イメージデータの移動によって、そ
の移動座標よりも後に存在する他のイメージ・図形・表
データは、影響を受けない。つまり、イメージ・図形・
表データは、編集対象にあるデータのみレイアウト座標
、行桁が変化するものとして説明してある。ただし、文
章は、それらのデータの移動・複写によって座標・行桁
が変化する。
In the above flow, the movement of image data does not affect other images, figures, and table data that exist after the movement coordinates. In other words, images, shapes,
Table data has been described on the assumption that only the data to be edited changes layout coordinates and line digits. However, the coordinates and line digits of text change as the data is moved or copied.

[他の実施例] 本発明の説明では、イメージ枠全体をテキスト位置へ移
動する例を取って説明しているが、テキストの特定文章
の移動・複写も可能である。
[Other Embodiments] Although the present invention has been described using an example in which the entire image frame is moved to a text position, it is also possible to move or copy a specific sentence of text.

例えば、カラー表示できる文字処理装置で、文章部を赤
、イメージ部を青、図形部を緑、表部を黄、空白部を白
、のように座標値を指定していれば、文章を他の座標に
複写したとき、青・緑・黄のドット部分はその座標位置
を変えず、−複写位置より後にある座標の白部分を複写
した赤のドット数だけ埋めてやれば、種別属性の複写は
出来たことになる。更に、上記の複写に連動して、複写
によって影響を受けた座標だけ文書の中身を変更する。
For example, on a character processing device that can display in color, if you specify coordinate values such as red for the text section, blue for the image section, green for the graphic section, yellow for the front section, and white for the blank section, the text can be displayed in other places. When copying to the coordinates of , the blue, green, and yellow dots do not change their coordinate positions, and if you fill in the white part of the coordinates after the -copy position by the number of red dots copied, the type attribute is copied. This means that it has been completed. Further, in conjunction with the copying described above, the content of the document is changed by the coordinates affected by the copying.

もちろん、座標位置と文書の行桁位置は、相対的に関係
を持たしているので、座標から行桁を計算できるように
なっている。
Of course, there is a relative relationship between the coordinate position and the line position of the document, so the line position can be calculated from the coordinates.

[発明の効果] 従来は文書の最後に位置する図形などを文書の先頭に移
動・複写等をする場合、まず文書の最終頁を頁指定して
、画面を文書の最終頁に切り替え、移動・複写させたい
図形を指定して、文書の先頭頁を頁指定して、画面を文
書の先頭頁に切り替える。そして画面が切り替わったら
、前記の処理を行った図形を指定箇所に貼りつけるとい
うのが一般的なオペレーションであった。本発明によれ
ば、上記のような移動・複写等の編集を1画面で処理す
ることができ、操作の簡略化を実現できる。
[Effect of the invention] Conventionally, when moving or copying a figure located at the end of a document to the beginning of the document, the last page of the document was first specified, the screen was switched to the last page of the document, and the movement/copying was performed. Specify the figure you want to copy, specify the first page of the document, and switch the screen to the first page of the document. Then, when the screen changed, the general operation was to paste the graphic that underwent the above processing into the specified location. According to the present invention, editing such as moving and copying as described above can be processed on one screen, and operations can be simplified.

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

第1図は本発明の全体構威図、 第2図は従来までの表示例を示す図、 第3図は従来までの表示例を示す図、 第4図は従来までの表示例を示す図、 第5図は従来までの表示例を示す図、 第6図は第9図の実施例における本発明の起動前の画面
表示例を示す図、 第7図は本発明による表示例を示す図、第8図は本発明
による表示例を示す図、第9図は本発明文字処理装置の
一実施例を示すプロ多ゾク図、 第10図は本発明の文書構威例を示す模式図、第11図
(a)(b)(c)は本実施例によるレイアウト形式変
換手順の一例を示すフローチャート。
Figure 1 is an overall configuration diagram of the present invention; Figure 2 is a diagram showing a conventional display example; Figure 3 is a diagram showing a conventional display example; Figure 4 is a diagram showing a conventional display example. , FIG. 5 is a diagram showing a conventional display example, FIG. 6 is a diagram showing a screen display example before starting the present invention in the embodiment of FIG. 9, and FIG. 7 is a diagram showing a display example according to the present invention. , FIG. 8 is a diagram showing a display example according to the present invention, FIG. 9 is a professional diagram showing an embodiment of the character processing device according to the present invention, and FIG. 10 is a schematic diagram showing an example of document structure according to the present invention. FIGS. 11(a), 11(b), and 11(c) are flowcharts showing an example of a layout format conversion procedure according to this embodiment.

Claims (1)

【特許請求の範囲】 1、文字を入力するための入力手段と、 前記入力手段から入力される文章を表示する表示手段と
、 その文章を記憶する文書格納手段と、 文章の頁・行・桁を書式情報に従って、ドット単位の座
標値に変換するレイアウト展開手段と、前記レイアウト
展開手段によって得られたドットパターンのON/OF
Fを制御するレイアウト制御手段と、 そのドットパターン情報から文書形式の頁・行・桁情報
を得るための文書形式変換手段を有することを特徴とす
る文字処理装置。
[Claims] 1. An input means for inputting characters; a display means for displaying the text input from the input means; a document storage means for storing the text; and pages, lines, and columns of the text. layout development means for converting the image into coordinate values in dot units according to format information, and ON/OF of the dot pattern obtained by the layout development means.
1. A character processing device comprising: layout control means for controlling F; and document format conversion means for obtaining document format page, line, and column information from the dot pattern information.
JP1231847A 1989-09-06 1989-09-06 Character processor Pending JPH0392959A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1231847A JPH0392959A (en) 1989-09-06 1989-09-06 Character processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1231847A JPH0392959A (en) 1989-09-06 1989-09-06 Character processor

Publications (1)

Publication Number Publication Date
JPH0392959A true JPH0392959A (en) 1991-04-18

Family

ID=16929945

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1231847A Pending JPH0392959A (en) 1989-09-06 1989-09-06 Character processor

Country Status (1)

Country Link
JP (1) JPH0392959A (en)

Similar Documents

Publication Publication Date Title
JPH0392959A (en) Character processor
JPH03156668A (en) Document preparing device
JPH0640296B2 (en) Character processor
JP3200249B2 (en) Document processing device
JPH0392958A (en) Character processor
JPS6375964A (en) Table preparing system
JP3200250B2 (en) Document processing device
JP2606579B2 (en) Character display device
JPH11212968A (en) Document processor and document processing method
JPH03288262A (en) Word processor
JPH04282755A (en) Word processor
JPH02161557A (en) Character processor
JPH06274483A (en) Character processor
JPH01216875A (en) Character processor
JPH0831097B2 (en) Document input processor
JPS63208928A (en) Information processor
JPH05158924A (en) Device for editing document and method therefor
JPH03263257A (en) Document processor
JPH02165259A (en) Character processor
JPH06309320A (en) Method and device for character processing
JPH03141462A (en) Document processor
JPH03160557A (en) Document processor
JPH03141461A (en) Document processor
JPH04282746A (en) Document preparing device
JPH04268956A (en) Document preparing device