JPS62197873A - Image processor - Google Patents
Image processorInfo
- Publication number
- JPS62197873A JPS62197873A JP61041080A JP4108086A JPS62197873A JP S62197873 A JPS62197873 A JP S62197873A JP 61041080 A JP61041080 A JP 61041080A JP 4108086 A JP4108086 A JP 4108086A JP S62197873 A JPS62197873 A JP S62197873A
- Authority
- JP
- Japan
- Prior art keywords
- block
- floating
- information
- frame
- fixed
- 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.)
- Granted
Links
Landscapes
- Image Input (AREA)
- Processing Or Creating Images (AREA)
- Document Processing Apparatus (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、文字、図形イメージ等の画像データを処理す
る画像処理装置に関し、特に文字、図形、イメージ等の
固有の属性を持つブロックを文書データの流れに従って
浮動させたり、或は文書データに係らず該ブロックを固
定したりすることのできる画像処理装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image processing device that processes image data such as text and graphic images, and in particular blocks that have unique attributes such as text, graphics, and images in documents. The present invention relates to an image processing device that can float blocks according to the flow of data or fix blocks regardless of document data.
(従来の技術)
従来ワードプロセッサでは、文書に地図や写真を貼り込
む場合、文書中の文章の途中に固定的な枠を空け、その
中に図形や写真を貼り付けるという方法をとっていた。(Prior Art) In conventional word processors, when pasting a map or photograph into a document, a fixed frame is left in the middle of the text in the document, and the figure or photograph is pasted into that frame.
しかしながら、この場合、通常枠を空ける場所は、貼り
付ける写真や図形に関連する文章の近傍であるが、文章
の削除や挿入により、関連する文章と枠の位置がくい違
うという欠点があった。However, in this case, the frame is usually placed near the text related to the photo or figure to be pasted, but there is a drawback that the position of the related text and the frame may be different due to the deletion or insertion of text.
又、写植機や電子組版機などで、浮動的なブロックを扱
えるものもあるが、浮動的なブロックは自分の思った所
にブロックが設定されるとは限らないという問題点があ
った。Furthermore, although some phototypesetting machines and electronic typesetting machines can handle floating blocks, there is a problem in that floating blocks are not always set where you want them to be.
この問題点を解決する為に本発明は、画像データの一部
をブロックとして指示する手段と、指示された一部を浮
動ブロックとするか固定ブロックとするかを指定する指
定手段とを備えてなる。In order to solve this problem, the present invention includes means for designating a part of image data as a block, and designation means for designating whether the designated part is to be a floating block or a fixed block. Become.
〔作 用)
編集作業にしたがって、任意のブロックが移動したり、
固定されたつが指定手段によって容易に行なうことがで
きる。[Effect] Any block can be moved or moved according to the editing process.
Fixation can be easily done by designated means.
以下、添付図面に従って本発明の一実施例を詳細に説明
する。Hereinafter, one embodiment of the present invention will be described in detail with reference to the accompanying drawings.
第1図は本発明に係る一実施例の文書処理装置のブロッ
ク構成図である。図において、1はラスクスキャン表示
方式のCRT表示部、2は1画面のパターン展開情報を
記憶するビデオRAM(VRAM)、3はVRA’M2
へのパターン展開制御及びCR7表示部1へのパターン
読出制御をする表示制御部、4は本実施例装置の主制御
を掌るマイクロプロセッサ(MPU)、5は第8.9図
のフローチャートに従った制御プログラムを内蔵するR
OMとデータ処理のためのRAMから成る主メモリ、6
は文書ファイル等を格納している外部磁気ディスク装置
、7は表示画面の位置指定入力を行なうポインティング
デバイス(PD)、8はキーボード、9はこれら各ブロ
ックとMPU4を接続するI10バスである。FIG. 1 is a block diagram of a document processing apparatus according to an embodiment of the present invention. In the figure, 1 is a CRT display unit using the rask scan display method, 2 is a video RAM (VRAM) that stores pattern development information for one screen, and 3 is a VRA'M2.
4 is a microprocessor (MPU) that is in charge of main control of the apparatus of this embodiment; 5 is a display controller that controls pattern expansion to the CR7 display section 1 and pattern readout to the CR7 display section 1; R with built-in control program
Main memory consisting of OM and RAM for data processing, 6
7 is a pointing device (PD) for inputting the position of the display screen, 8 is a keyboard, and 9 is an I10 bus that connects each of these blocks to the MPU 4.
第2図は固定ブロックの指示方法について説明した図で
ある。CR7表示部1に表示された文書に対し、2点を
指示することによりブロックの作成位置が決まる。この
ブロックは文章が削除や挿入されても移動しない。当然
ブロックは指示されたページ上に固定される。FIG. 2 is a diagram illustrating a method of specifying fixed blocks. The block creation position is determined by specifying two points on the document displayed on the CR7 display section 1. This block does not move even if text is deleted or inserted. Naturally, the block is fixed on the designated page.
第3図は、浮動ブロックの指示方法について説明した図
である。指示方法は固定ブロックと同じであるが、ブロ
ックの挿入位置はブロックの左上端がテキストに対し、
ソフトウェア的に決まる位置である。従って、実際には
指定後ブロックは多少移動する。テキストに対し浮動ブ
ロックが挿入された位置にブイ(浮動を意味するマーク
)がテキスト中に挿入され、表示される。ブロックはテ
キストの挿入削除でテキストの増減があるとブイが動く
ことにより浮動的に動く。FIG. 3 is a diagram illustrating a method of specifying floating blocks. The instruction method is the same as for fixed blocks, but the insertion position of the block is such that the upper left corner of the block is relative to the text.
This is a position determined by software. Therefore, the block actually moves somewhat after being specified. A buoy (a mark meaning floating) is inserted into the text and displayed at the position where the floating block is inserted. The block moves floatingly due to the movement of the buoy when the text increases or decreases by inserting or deleting text.
ここで浮動ブロックを固定ブロックに切り換えるとブイ
は削除され、固定ブロックとしての動作をする。逆に固
定ブロックを浮動ブロックにすると、固定ブロックの左
上端からソフトウェア的に決まる位置にブイが、挿入、
表示され、浮動ブロックとして動作する。If you switch the floating block to a fixed block, the buoy will be deleted and it will behave as a fixed block. Conversely, if you make a fixed block a floating block, a buoy will be inserted, inserted, or
displayed and behaves as a floating block.
浮動ブロックと固定ブロックの切り換えは、ブロックを
ポインティングデバイスで選択した後、ブロックの属性
を指示することにより行う。Switching between a floating block and a fixed block is performed by selecting a block with a pointing device and then indicating the attribute of the block.
第4は外部磁気ディスク装置6に格納される、文書ファ
イルのフォーマットについて説明したものである。文書
ヘッドは、文書ファイルの大きさや、ブロックの数、ブ
ロック情報403,404や所定定義402のアドレス
等を持つ。書式定義402は、用紙サイズ、版面位置、
文字セット情報、文字ピッチ、行ピッチ等の書式の情報
を持つ。The fourth section describes the format of document files stored in the external magnetic disk device 6. The document head has the size of the document file, the number of blocks, block information 403 and 404, the address of the predetermined definition 402, and the like. The format definition 402 includes paper size, plate position,
Contains format information such as character set information, character pitch, and line pitch.
浮動ブロック情報403や固定ブロック情報404は同
じ構造を持つ。浮動ブロック情報403と固定ブロック
情報404は、各々に呼び出し順にソートされている。Floating block information 403 and fixed block information 404 have the same structure. Floating block information 403 and fixed block information 404 are each sorted in the order of calling.
ブロックデータ405は、各ブロック情報403,40
4の実データが格納されている。文章データ406は、
その中に浮動ブロック呼出407を含む。Block data 405 includes each block information 403, 40
4 actual data is stored. The text data 406 is
It includes a floating block call 407.
第5図は、ブロック情報の構成例である。プライオリテ
ィ501は、複数ブロックが重なった時の表示優先順位
。固定/浮動は当該ブロックが固定ブロックか浮動ブロ
ックかを示すフラグ。ページ番号/浮動ブロック番号5
03は、固定ブロックの時はページ番号が入り、浮動ブ
ロックの時は、浮動ブロック番号が入る。ブロック左上
X座標、ブロック左上X座標504は、ブロックの大き
さを幅と高さで格納する。ブロックデータアドレス50
6はブロックデータ405中の当該ブロックに関するデ
ータのアドレスを格納する。FIG. 5 shows an example of the structure of block information. Priority 501 is the display priority when multiple blocks overlap. Fixed/Floating is a flag indicating whether the block is a fixed block or a floating block. Page number/floating block number 5
03 contains the page number when it is a fixed block, and the floating block number when it is a floating block. Block upper left X coordinate and block upper left X coordinate 504 store the size of the block in terms of width and height. block data address 50
6 stores the address of data related to the block in the block data 405.
第6図は第1図の構成を機能分けして示すブロック図で
ある。図において、キーボード8及びディスク装置6よ
りなるデータ供給源10からの文書データは制御手段4
1を介してページ処理手段42に送られる。ページ処理
手段42は読み込まれた文書データ列に含まれる改行、
改頁、オフセット等の各種フォーマット制御コードに従
い、VRAM2への展開アドレスと入力文書コードとの
対応を成すテーブルを作成し、ページアドレステーブル
51に格納する。こうしてページアドレステーブル51
に格納された文書データは表示のために直ちに読み出さ
れキャラクタジェネレータ(CG)31でパターンに変
換されてVRAM2に展開される。またデータ供給源1
0からは、ブロックに関する情報も読み出され、ブロッ
クの表示とそのブロック情報が浮動ブロック情報602
と固定ブロック情報603にセットも同時に行われる。FIG. 6 is a block diagram showing the configuration of FIG. 1 divided into functions. In the figure, document data from a data supply source 10 consisting of a keyboard 8 and a disk device 6 is transmitted to a control means 4.
1 to the page processing means 42. The page processing means 42 handles line breaks included in the read document data string,
In accordance with various format control codes such as page break and offset, a table is created that corresponds to the address to be expanded to the VRAM 2 and the input document code, and is stored in the page address table 51. In this way, the page address table 51
The document data stored in is immediately read out for display, converted into a pattern by a character generator (CG) 31, and expanded into the VRAM 2. Also, data source 1
Information about the block is also read from 0, and the block display and its block information are displayed as floating block information 602.
The fixed block information 603 is also set at the same time.
第7図はページアドレステーブル601の構成を示す図
である。図においてyoとxoは行の先頭の文字位置の
X座標とX座標を与えるデータ、ofst 1は行の先
頭文字位置からX座標のオフセット量を与えるデータで
ある。この場合に先頭文字位置からのオフセットである
ことを示すためofstlの最上位ビットはOFFにな
っている。また■で示すヘッダ制御データがあるときは
、X座標のオフセットofsti、は0のオフセット値
となり次の文字の表示位置に影響を与えない。そしてこ
の場合のofsti、の最上位ビットはONになってい
る。FIG. 7 is a diagram showing the structure of the page address table 601. In the figure, yo and xo are data giving the X coordinate and X coordinate of the first character position of the line, and ofst1 is data giving the offset amount of the X coordinate from the first character position of the line. In this case, the most significant bit of ofstl is OFF to indicate that it is an offset from the first character position. Further, when there is header control data indicated by ■, the offset ofsti of the X coordinate becomes an offset value of 0 and does not affect the display position of the next character. In this case, the most significant bit of ofsti is turned ON.
第8図は上述した本実施例の処理手順を示すフローチャ
ートである。ステップS1では文書データの人力がある
か否かを判別する。データ人力があれば、ステップS2
でそのデータを読み取り、ページ処理手段42にそのデ
ータを送る。ページ処理手段42はステップS3でその
データがVRAMZ上のどの場所に位置するかを求め、
ステップS4では、求めたVRAM2の座標とそのコー
ドデータをページアドレステーブル51に格納する。次
にステップS5ではページアドレステーブル51に従っ
てキードとVRAMZ上の展開アドレスを表示制御部3
上に送る。表示制御部3はステップS6でVRAMZ上
の与えられた位置にコードに対応するパターンをCG3
1で展開し、CR7表示部1に表示し、ステップS1に
戻る。FIG. 8 is a flowchart showing the processing procedure of this embodiment described above. In step S1, it is determined whether or not there is manpower available for document data. If you have data manpower, step S2
reads the data and sends the data to the page processing means 42. The page processing means 42 determines where on the VRAMZ the data is located in step S3,
In step S4, the obtained coordinates of the VRAM 2 and their code data are stored in the page address table 51. Next, in step S5, the expanded address on the key and VRAMZ is displayed on the display control unit 3 according to the page address table 51.
Send it up. In step S6, the display control unit 3 creates a pattern corresponding to the code at a given position on the VRAMZ on the CG3.
1, the data is expanded and displayed on the CR7 display section 1, and the process returns to step S1.
またステップS1の判別でデータ人力でないときはステ
ップS7でPD7からの入力を調べ、無ければ再びステ
ップS1に戻る。またPD7からの人力があるときはス
テップS8で現在の処理がブロック処理のモードである
かを判定し、ブロック処理のモードでなければSlへ戻
る。ブロック処理のモードであればステップS9のブロ
ック処理ルーチンへ行き、ブロック処理の後ステップS
tへ戻る。Further, if it is determined in step S1 that the data is not manually input, the input from the PD 7 is checked in step S7, and if there is no input, the process returns to step S1 again. If there is human power from PD7, it is determined in step S8 whether the current processing is in block processing mode, and if it is not in block processing mode, the process returns to Sl. If the mode is block processing, the process goes to the block processing routine of step S9, and after the block processing, step S
Return to t.
第9図は第8図ステップS9のブロック処理ルーチンの
フロチャートである。ステップSIOで画面下のr枠属
性」の1−conを指示したか、r枠空」の1−con
を指示したかによってブロックの生成か既存のブロック
の変更かどうか調べる。「枠空」の1−conを指示し
て、生成ならばステップS21で枠をカーソルによって
指示したのちステップ11で固定ブロックの生成が浮動
ブロックの生成かどうか調べる。画面下の「固定」の1
−conを指示したならばステップS12で固定ブロッ
ク情報603にブロックに関する情報をセットし、CR
TI上に固定枠を空け、元のルーチンにリターンする。FIG. 9 is a flowchart of the block processing routine of step S9 in FIG. Did you specify 1-con of "r frame attribute" at the bottom of the screen in step SIO, or 1-con of "r frame empty"?
Checks whether the block is created or an existing block is modified depending on whether the command is specified. 1-con with "frame empty" is designated, and if it is generated, the frame is designated with the cursor in step S21, and then, in step 11, it is checked whether the generation of a fixed block is the generation of a floating block. "Fixed" 1 at the bottom of the screen
-con, in step S12, information regarding the block is set in the fixed block information 603, and CR
Free a fixed frame on TI and return to the original routine.
ステップS11で画面下のr浮動」の1−conを指示
したならばステップ313で浮動ブロック情報602に
ブロックに関する情報をセットしCRTI上に浮動枠を
空け、浮動ブロックの挿入位置をページアドレステーブ
ルから求め、該当位置にブイを挿入する。そして元のル
ーチンにリターンする。If 1-con of "r floating" at the bottom of the screen is specified in step S11, information about the block is set in the floating block information 602 in step S11, a floating frame is opened on the CRTI, and the insertion position of the floating block is determined from the page address table. and insert a buoy at the corresponding position. Then return to the original routine.
ステップ510で既存ブロックの変更であれば即ち「枠
属性」の1−conを指示した場合にはステップS14
に移り「固定」の1−conを指示したか「8勤」の1
−conを指示したかによって固定ブロックから浮動ブ
ロックの変更か、浮動ブロックから固定ブロックの変更
かを調へる。If the existing block is changed in step 510, that is, if 1-con of the "frame attribute" is specified, step S14
1-con of "Fixed" was instructed or 1 of "8th shift"
Depending on whether -con is specified, it is checked whether the change is from a fixed block to a floating block or from a floating block to a fixed block.
浮動ブロックから固定ブロックへの変更ならばステップ
S15で浮動ブロックの・情報を固定ブロックの情報に
変え、ステップS16て浮動ブロック情報602から、
該ブロックの情報を削除し、固定ブロック情報603に
登録する。次にステップS17で、元の浮動ブロックの
位置情報とページアドレステーブル601から、元の浮
動ブロックのブイを削除する。そして元のルーチンにリ
ターンする。ステップS14で、固定ブロックから浮動
ブロックへの変更ならば、ステップS18で固定ブロッ
クの情報を浮動ブロックの情報にかえ、ステップS19
で固定ブロック情報603から該ブロックの情報を削除
し、浮動ブロック情報602に登録する。次にステップ
S20でページアドレステーブル601とブロックの位
置から浮動ブロックの挿入位置にブイを挿入する。そし
て元のルーチンにリターンする。If it is a change from a floating block to a fixed block, the floating block information is changed to fixed block information in step S15, and from the floating block information 602 in step S16,
The information of the block is deleted and registered in the fixed block information 603. Next, in step S17, the buoy of the original floating block is deleted from the position information of the original floating block and the page address table 601. Then return to the original routine. If the fixed block is changed to a floating block in step S14, the fixed block information is changed to floating block information in step S18, and step S19
The information on the block is deleted from the fixed block information 603 and registered in the floating block information 602. Next, in step S20, a buoy is inserted from the page address table 601 and the block position to the floating block insertion position. Then return to the original routine.
以上述べた如く本発明によれば文書中に固定な枠と浮動
な粋が自由自在に空けれ、しかもその枠の属性も容易に
変更出来るので、枠に関する煩わしい処理を著しく軽減
する効果がある。As described above, according to the present invention, fixed frames and floating frames can be freely created in a document, and the attributes of the frames can also be easily changed, which has the effect of significantly reducing the troublesome processing related to frames.
更に、文書作成の時文章に依存した枠は浮動ブロックの
枠にして人力編集を行い、大体の位置が決った時に固定
ブロックにするということで、操作軽減と操作者の思い
通りの枠空けが出来るという効果がある。Furthermore, when creating a document, frames that depend on the text are made into floating blocks for manual editing, and when the approximate position is determined, they are made into fixed blocks, which reduces operations and allows the operator to empty the frames as desired. There is an effect.
第1図は本発明に係る一実施例の文書処理装置のブロッ
ク構成図、
第2図、第3図は、本実施例における枠空は操作の説明
図、
第4図は、本実施例の文書フォーマットの構成図、
第5図は、ブロック情報の構成図、
第6図は、第1図の構成を機能分けして示すブロック図
、
第7図はページアドレステーブルの構成を示す図、
第8図、第9図は、本実施例の処理手順を示すフローチ
ャートである。
ここで、1−CR7表示部、2−ビデオRAM(VRA
M)、3−一表示制御部、4−マイクロプロセッサ(M
PU)、5−主メモリ、6−外部磁気ディスク装置、7
−ポインティングデバイス(PD)、8−−キーボード
、g−I10バス1?ある。FIG. 1 is a block diagram of a document processing device according to an embodiment of the present invention. FIGS. 2 and 3 are blank frames for explaining operations in this embodiment. Figure 5 is a diagram showing the configuration of the document format; Figure 5 is a diagram showing the configuration of block information; Figure 6 is a block diagram showing the configuration of Figure 1 divided into functions; Figure 7 is a diagram showing the configuration of the page address table; 8 and 9 are flowcharts showing the processing procedure of this embodiment. Here, 1-CR7 display section, 2-video RAM (VRA
M), 3-1 display control unit, 4-microprocessor (M
PU), 5-main memory, 6-external magnetic disk device, 7
-Pointing device (PD), 8--Keyboard, g-I10 bus 1? be.
Claims (1)
憶手段に格納された画像データの1部分を指示する為の
指示手段と、 前記画像記憶手段に格納された画像データに対して編集
を行う為の編集手段と、 前記編集手段による編集に応じて前記指示手段によって
指示された前記画像データの1部分を移動させるか、否
かを指示する為の指定手段と、を有することを特徴とす
る画像処理装置。[Scope of Claims] Image storage means for storing image data, instruction means for specifying a portion of the image data stored in the image storage means, and image data stored in the image storage means. an editing means for editing the image data; and a specifying means for instructing whether or not to move a portion of the image data instructed by the instruction means in accordance with the editing by the editing means. An image processing device comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61041080A JP2744228B2 (en) | 1986-02-25 | 1986-02-25 | Image processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61041080A JP2744228B2 (en) | 1986-02-25 | 1986-02-25 | Image processing device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS62197873A true JPS62197873A (en) | 1987-09-01 |
JP2744228B2 JP2744228B2 (en) | 1998-04-28 |
Family
ID=12598482
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP61041080A Expired - Fee Related JP2744228B2 (en) | 1986-02-25 | 1986-02-25 | Image processing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2744228B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04170670A (en) * | 1990-11-05 | 1992-06-18 | Fuji Xerox Co Ltd | Document processor |
JPH05189424A (en) * | 1991-11-11 | 1993-07-30 | Sanyo Electric Co Ltd | Device and method for editing document |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5846427A (en) * | 1981-09-11 | 1983-03-17 | Toshiba Corp | Document editing device |
JPS58144934A (en) * | 1982-02-23 | 1983-08-29 | Toshiba Corp | Document producing device |
-
1986
- 1986-02-25 JP JP61041080A patent/JP2744228B2/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5846427A (en) * | 1981-09-11 | 1983-03-17 | Toshiba Corp | Document editing device |
JPS58144934A (en) * | 1982-02-23 | 1983-08-29 | Toshiba Corp | Document producing device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04170670A (en) * | 1990-11-05 | 1992-06-18 | Fuji Xerox Co Ltd | Document processor |
JPH05189424A (en) * | 1991-11-11 | 1993-07-30 | Sanyo Electric Co Ltd | Device and method for editing document |
Also Published As
Publication number | Publication date |
---|---|
JP2744228B2 (en) | 1998-04-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH028339B2 (en) | ||
JPH06236367A (en) | Control method for word processor | |
JPH026072B2 (en) | ||
JPH0541997B2 (en) | ||
JPS58208865A (en) | document creation device | |
JPS62197873A (en) | Image processor | |
JPH0419584B2 (en) | ||
JPH08241401A (en) | Electronic filing device | |
JP3136626B2 (en) | Document creation device | |
JP2624447B2 (en) | Document processing device | |
JPS63165852A (en) | Magazine editing system | |
JPS6359654A (en) | Picture processor | |
JPH0581399A (en) | Document creation device | |
JPH057742B2 (en) | ||
JP2933958B2 (en) | Image processing apparatus and method | |
JPH06266706A (en) | Word processor with character size changing function | |
JPH05216877A (en) | Document preparation device | |
JPS6359653A (en) | Picture processor | |
JPH03153298A (en) | Document output device | |
JPH04289958A (en) | Document generating device | |
JPH0816575A (en) | Document processing method | |
JPH0580013B2 (en) | ||
JPH06119326A (en) | Document data processor | |
JPH04287267A (en) | document creation device | |
JPS63170686A (en) | Image processor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
LAPS | Cancellation because of no payment of annual fees |