JP2741750B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JP2741750B2
JP2741750B2 JP61202669A JP20266986A JP2741750B2 JP 2741750 B2 JP2741750 B2 JP 2741750B2 JP 61202669 A JP61202669 A JP 61202669A JP 20266986 A JP20266986 A JP 20266986A JP 2741750 B2 JP2741750 B2 JP 2741750B2
Authority
JP
Japan
Prior art keywords
format
document
data
input
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 - Lifetime
Application number
JP61202669A
Other languages
Japanese (ja)
Other versions
JPS6359657A (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 JP61202669A priority Critical patent/JP2741750B2/en
Publication of JPS6359657A publication Critical patent/JPS6359657A/en
Application granted granted Critical
Publication of JP2741750B2 publication Critical patent/JP2741750B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、文字,図形,イメージ等の画像データを
書式に基づいて処理する画像処理装置に関するものであ
る。 〔従来の技術〕 最近、ワードプロセッシングシステムの技術の進歩に
伴ない単に文字の入力だけでなく、レイアウト等も考慮
したワードプロセッシング機能が装備されている。従っ
て、文字数,文字ピッチだけでなく段数,段幅等も含め
た書式の定義も可能となってきた。しかし、そのような
文章のフォーマッティングには個々に段数,段幅等の値
を順にマンマシンインタフェースであるキーボードから
の数値入力により作成変更していく必要があった。 〔発明が解決しようとする問題点〕 従って、作成ミスや修正もれが発生しやすく、バラン
スのとれたフォーマッティングの文章とするには時間と
熟練が必要であった。特に書式作成の場合は、個々の数
値パラメータの集合から全体の組体裁を想像することは
難しく、結局修正を何回も繰り返さないと書式ができな
い等の問題点があった。 一方、雑誌や新聞等のように紙面に制約がある場合、
既に入力された画像データを制約された紙面に適合した
書式,特に制約された紙面一杯を使った書式を作るのが
非常に難しい等の問題点があった。 この発明は、上記の問題点を解消するためになされた
もので、文字データの配置を規定する為の複数のパラメ
ータの内の所望のパラメータの変更を選択的に許容する
ことにより、所望のパラメータを変更して、文書上の文
字を入力するエリアに対して、高品位で適正な文字を配
列することができる画像処理装置を提供することを目的
とする。 〔問題点を解決するための手段〕 この発明に係る画像処理装置は、複数種類のパラメー
タからなる書式フォーマットに基づいて作成される領域
を表示画面に表示し、入力される文書画像データを編集
する編集手段と、書式適合指令が、前記複数種類のパラ
メータのうちのいずれのパラメータに係るものであるか
を識別する識別手段と、前記編集手段により作成された
領域に入力される前記文書画像データの配置状態に基づ
いて書式フォーマットの適合性を判断する判断手段と、
前記判断手段による判断に基づいて、前記書式フォーマ
ットのうち、前記識別手段により識別されたパラメータ
を調整することにより前記書式フォーマットを補正する
補正制御手段とを有したものである。 〔作用〕 この発明においては、判定手段による判断に基づい
て、書式フォーマットのうち識別手段により識別された
パラメータを調整することにより、所望の文字の配置を
決定して、文書上の文字を入力するエリアに対して、高
品位で適正な文字を配列することを可能とする。 〔実施例〕 第1図はこの発明の一実施例を示す画像処理装置の構
成を説明するブロック図であり、1はラスタスキャン方
式のCRT表示器、2はビデオRAM(VRAM)で、CRT表示器
1の1画面のパターン展開情報を記憶する。3は表示制
御部で、VRAM2へのパターン展開制御およびCRT表示器1
へのパターン読出し制御を行う。4はマイクロプロセッ
サ(MPU)で、I/Oバス5を介して接続される各部を総括
的に制御する。6は主メモリで、制御プログラムを内蔵
するROM6aとデータ処理のためのRAM6bから構成されてい
る。7は外部磁気ディスク装置で、文書ファイルおよび
文書ファイルを管理する管理ファイルが格納されてい
る。8はポインティングデバイス(PD)で、CRT表示器
1の表示画面の位置指定および書式設定画面(メニュ
ー)の書式設定操作のための選択操作を行う。KBDはキ
ーボードで、文書情報,制御コマンド,管理情報等を入
力する。 なお、I/Oバス5をLAN化することによりこのようなシ
ステムをネットワーク化することが可能となる。また、
リーダ,プリンタを設けて、画像の入力および出力を行
えるように構成してもよい。 また、この発明において組版とは、元来、活版印刷の
1工程を表す言葉であり、一言で説明すると、「原稿に
基づいて活字を拾い、原稿指定に基づいて順序,字詰
め,行数,字間,位置等を正しく組み上げ、1つの文書
を作り上げる」ことを意味し、この処理を電子的に行う
ことである。 以上のように構成されたシステムにおいて、この発明
における文書情報も含めた画像処理システムの機能の
内、特に文書処理については、通常の文書の入力編集機
能の他に以下のような書式に関する機能を有する。 (1)書式の登録、(2)登録された書式の一部修
正、(3)文書への書式付け、(4)文書の書式の一部
修正 まず、上記(1)〜(4)の説明の前に、書式のデー
タについて説明する。 第2図は、第1図に示した外部磁気ディスク装置7内
に格納されるデータの一部を説明する模式図であり、9
は書式ファイルテーブルで、書式ファイル10のどのファ
イルを選択するかを決定するものである。11は文章ファ
イルで、実際の文章データが格納されている文章部12,
その文章に対応した書式が格納された書式部13とからな
り、文書ファイルテーブル14により文章ファイル11のど
の文章あるいは書式を選択するかを決定する。 次に第2図に示した書式ファイル10内に格納される書
式データについて第3図を参照しながら説明する。 第3図は、第2図に示した書式ファイル10内に格納さ
れる書式データを説明する模式図であり、21は段定義部
で、天データ定義部,のどデータ定義部,段数定義部,
段揃えデータ定義部,行長データ定義部、行数データ定
義部、段間データ定義部等からなる。22は本文定義部
で、字間データ定義部,行送り定義部,段落字下げデー
タ定義部等よりなる。 第4図は書式に関するパラメータ(用語)を説明する
ための図であり、31は表示画面で、CRT表示器1に表示
された状態を示してある。32は2段で構成される版面
で、維持対象エリアとなる。縦横の矢印で示される領域
からなる版面32は見開きページの左ページの版面とな
る。Iは天を示し、IIはのど(綴じ目の部分)を示し、
IIIは段揃えで段の下段を揃える位置を示す。IVは行数
を示し、Vは段間で段と段との距離を示す。また、VIは
行間を示し、VIIは小口を示す。なお、上記I〜VIは段
定義部21で決定されるもので、本文定義部22は文字のフ
ォント,ドット数,大きさや文字間隔,段落字下げ,色
情報等のデータを有している。 次に前述の書式に関する各機能について詳細に説明す
る。 (1)書式の登録 第5図は書式登録設定手順を説明するフローチャート
である。なお、(1)〜(5)は各ステップを示す。 書式を登録するコマンドを入力すると、CRT表示器1
およびキーボードKBDからなるワークステーション(W
S)の有する様々な機能のうち、書式登録ルーチンがス
タートし、用紙情報、すなわち用紙の大きさ、用紙の載
置方向,縦書/横書等を入力する(1)。次いで、段体
裁情報、すなわち第6図(a)に示すように、用紙PA内
の版面32をポインティングデバイス8により、例えば*
印の2点を入力することにより決定する(2)。そし
て、第6図(b)に示すように、段数、この図において
は「2」を入力し、さらに、第6図(c)に示すよう
に、キーボードKBDまたはポインティングデバイス8に
より、例えば*印点を指定し、段幅,段間を指定する。
ここまでの操作で段定義指定が終了する。次いで、段体
裁情報入力が終了したかどうかを判断し(3)、NOなら
ば第6図(d)に示すように、本文定義指定、すなわ
ち、ノンブル(ページ数),柱(欄外見出し),見出し
類等を入力し(4)、YESならば設定された書式を第2
図に示した書式ファイル10の書式ファイルA,B,C,…に登
録する(5)。このように、CRT表示器1に表示される
画像を見ながら段定義情報および本文定義指定が直感的
に行えるので、非常に効率よく書式を設定することがで
きる。なお、書式設定状態および書式を数値表示するこ
とにより、さらに正確な書式設定を行えることは云うま
でもない。 (2)登録された書式の一部修正 次に第7図、第8図を参照しながら登録された書式の
一部修正動作を説明する。 第7図はこの発明による書式メニュー表示動作を説明
する模式図であり、第1図に示したCRT表示器1にマル
チウィンド表示した状態を示してある。 第8図はこの発明による登録された書式の一部修正を
説明するためのフローチャートである。なお、(1)〜
(4)は各ステップを示す。 登録された書式の一部修正を行う場合は、登録された
書式を呼び出すための書式メニューをCRT表示器1の表
示画面上の一部に、例えば第7図に示されるように、書
式ファイル一覧、例えば書式ファイルA〜Eをマルチウ
ィンド表示する(1)。なお、書式ファイルBは、内容
が記事で、用紙の大きさが「A」版,活字の大きさが
「10ポイント」(図示は省略),段数が「1」の場合を
模式的に表示している。次いで、ポインティングデバイ
ス8によりカーソル(図中K)を移動させ、所望とする
書式、例えば書式ファイルAのレポートの所で、ポイン
ティングデバイス8のキー(図示しない)をオンする
と、第2図に示した書式ファイルAに入っていた書式が
書式ファイルテーブル9により選択され、第1図に示し
たCRT表示器1に第4図に示したように表示させる
(2)。そして、書式ファイルAについての段の行長等
のパラメータについてキーボードKBDまたはポインティ
ングデバイス8により数値または直感的に画像を変形す
ることにより書式を修正する(3)。次いで、修正され
た書式を第2図に示した書式ファイルAに再書き込みを
行う(4)。 (3)文書への書式付け 次に第9図を参照しながらこの発明による文書への書
式付け動作について説明する。 第9図はこの発明による文書への書式付け動作を説明
するためのフローチャートである。なお、(1),
(2)は各ステップを示す。 ワークステーションにより文書への書式付けを行うコ
マンドを入力すると、第7図に示した画面がCRT表示器
1に表示される。なお、この画面は、現在画面上で文書
処理中であっても、その上に重畳されて表示される。従
って、文書を見易いように、第7図の右下に示した口を
カーソルKで上向きに指示して、カーソルKの移動に合
せてウィンドを変倍することができる。また、タイトル
の「書式ファイル」の部分を指示して移動させれば、ウ
ィンド全体を移動させることができる。従って、文章画
面を表示したままでも文章画面上の空いた部分に第7図
に示した画面を移動または変倍して表示させ、文章画面
に合せてウィンド内の所望の書式を容易に選択すること
ができる。 今、画面上に第2図に示した文章部12のデータn1の文
書が表示されている状態で、ワークステーションからの
キー入力により第7図に示した書式ファイル一覧のウィ
ンドを画面上の任意の位置に呼び出して表示し(1)、
ポインティングデバイス8およびカーソルKにより所望
の書式、例えば書式ファイルAが選択されると、第2図
の書式ファイルAが選択され、その書式は第2図に示し
た書式部13のデータn1に対応したaの部分に複写される
(2)。これによって、現在処理中に文書の書式は削除
される。そして、文書の組版出力は、文書内の新しい書
式に従って文章をフォーマッティングしながら行われる
ので、以上の操作で上記処理中の文書が完全に新しい書
式フォーマットで出力される。 (4)文書の書式の一部変更 次に第10図を参照しながらこの発明による文書の一部
変更動作を説明する。 第10図はこの発明による文書の一部変更動作を説明す
るフローチャートである。なお、(1)〜(3)は各ス
テップを示す。 上述した(3)の文書への書式付けによって作成され
た文書の書式を一部修正する場合は、書式部13および文
章部12からなる文書ファイル11を文書ファイルテーブル
14によって読み出し(1)、CRT表示器1において、そ
の書式で文書を表示する。次いで、前述の段数,段組,
行長,段間等の書式に関するパラメータを修正し
(2)、登録しておきたい場合は、第2図に示した文書
ファイル11に新しくまたは再登録してもよい(3)。 次に第11図および第12図を参照しながらこの発明によ
る書式補正制御動作について説明する。 第11図は第1図に示したMPU4の機能を説明するブロッ
ク図であり、第1図と同一のものには同じ符号を付して
ある。 この図において、41は前記キーボードKBDおよび外部
磁気ディスク装置7よりなるデータ供給源で、文書デー
タを制御手段42に転送する。43はページ処理手段で、読
み込まれた文書データ列に含まれる改行,改頁,オフセ
ット等の各種フォーマット制御コードに従い、VRAM2へ
の展開アドレスと入力文書コードとの対応をなすテーブ
ルを作成し、ページアドレステーブル44(前記主メモリ
6内に確保される)に格納する。45は前記主メモリ6に
格納される書式データで、ページ処理手段43が入力され
た入力文書をVRAM2に展開する際に必ずアクセスされ、
必要な書式フォーマット情報が読み出され、表示制御部
3が発生させた文字のドットパターンをVRAM2に展開す
る。46はキャラクタジェネレータ(CG)で、文字コード
に対応するフォントパターン(ドットパターン)を発生
させる。 第12図(a)〜(d)は第11図に示したページ処理手
段43による書式フォーマット補正動作を説明する模式図
である。 これらの図において、51,52は文書データで、例えば
「うだるような暑さが続くと、ついクーラのスイッチを
入れてしまう。」および「うだるような暑さが続くと、
ついクーラのスイッチを入れっぱなしにしてしまうこと
が多くなる。」等がデータ供給源41から入力された場合
を示してある。P1〜P4は文字ピッチ情報、Q1〜Q4は行ピ
ッチ情報で、文書データ51,52の書式フォーマットによ
り可変する状態を示している。 第12図(a)に示すような書式フォーマット、すなわ
ち文字ピッチ情報P1,行ピッチ情報Q1が与えられた状態
で、文書データ51がデータ供給源41より入力されると、
ページ処理手段43がページアドレステーブル44,書式デ
ータ45を参照しながらVRAM2上に文書データを展開す
る。この展開された文書データ51がCRT表示器1に表示
されると(第12図(a)参照)、文書データ51の文末に
かなりのスペースが発生して見映えの低い文書(書式フ
ォーマットが不適合)となってしまう。ここで、ポイン
ティングデバイス8により書式フォーマットの適合指令
を入力すると、ページ処理手段43が第12図(a)に示し
た画面内に過不足なく文書データ51が配置されるよう
に、書式データ45中の文字ピッチ情報P1,行ピッチ情報
Q1を文字ピッチ情報P2,行ピッチ情報Q2に変更し、文書
データ51の新たな書式データ45として主メモリ6に書き
込まれる。次いで、ページ処理手段43が上述と同様の処
理を行うことにより、第12図(b)に示すように、文書
データ51を文字ピッチ情報P2,行ピッチ情報Q2で画面に
表示させる。 また、第12図(a)に示した文書データ51とは逆に文
書データ52が画面上の版面から溢れた場合も(第12図
(c)参照)、ポインティングデバイス8を操作して書
式フォーマットの適合指令を入力すると、ページ処理手
段43が第12図(c)の版面に設定された書式データ45中
の文字ピッチ情報P3,行ピッチ情報Q3を文字ピッチ情報
P4,行ピッチ情報Q4に変更し、文書データ52の新たな書
式データ45として主メモリ6に書き込まれる。次いで、
ページ処理手段43が上述と同様の処理を行うことによ
り、第12図(d)に示すように、文書データ52を文字ピ
ッチ情報P4,行ピッチ情報Q4で画面に表示させる。 なお、ポインティングデバイス8が指示した版面のみ
を指示させて、制御手段42に各版面の書式フォーマット
の適合性を判断させてもよい。また、行ピッチ,文字ピ
ッチに加えて文字のフォントサイズを変更するように構
成してもよく、オペレータの好みで、行ピッチ優先,文
字ピッチ優先,フォトサイズ優先に書式フォーマットを
変更するように構成してもよい。 次に第13図,第14図に示すフローチャートを参照しな
がらこの発明による書式フォーマット補正制御動作につ
いて詳細に説明する。 第13図は、第11図に示したページ処理手段43の処理手
順を説明するフローチャートである。なお、(1)〜
(8)は各ステップを示す。 まず、データ供給源41からデータの入力を待機し
(1)、データ入力がなされたら、入力データが文書デ
ータかどうかを判断し(2)、YESならばその文書デー
タを読み取り、ページ処理手段43へ入力データを送出す
る(3)。ページ処理手段43は、入力データがVRAM2上
のどの場所に位置(座標位置)しているかを演算し
(4)、演算して得られた座標(アドレス)とそのコー
ドデータをページアドレステーブル44に格納する
(5)。次いで、ページアドレステーブル44に従ってコ
ード情報とVRAM2上の展開アドレスを表示制御部3に送
出する(6)。これを受けて、表示制御部3が展開アド
レスに基づいて与えられたコードに対応するフォントパ
ターンをCG46で展開し(7)、CRT表示器1に表示して
ステップ(1)に戻る。 一方、ステップ(2)の判断で、NOの場合は、書式の
再設定処理(後述する)を行い(8)、ステップ(1)
に戻る。 第14図は、第11図に示したページ処理手段43による書
式フォーマット再設定制御動作手順を説明するフローチ
ャートである。なお、(1)〜(16)は各ステップ示
す。また、上記ステップ(1)〜(16)は第13図に示し
たステップ(8)の詳細手順である。 ポインティングデバイス8から入力された書式適合指
令がフォント変更優先であるかどうかをMPU4が判断し
(1)、YESならばCRT表示器1内の制約された画面内に
空きがあるかどうかを判断する(2)。この判断で、YE
Sの場合は文書データのフォントを拡大して字詰めを行
い(3)、ステップ(16)以降に進み、NOならばフォン
トを縮小して字詰めを行い(4)、ステップ(16)以降
に進む。 一方、ステップ(1)の判断でNOの場合は、ポインテ
ィングデバイス8から入力された書式適合指令が行ピッ
チ変更優先であるかどうかをMPU4が判断し(5)、YES
ならばCRT表示器1内の制約された画面内に空きがある
かどうかを判断する(6)。この判断でNOの場合は、行
ピッチを狭めて行間を調整し(7)、ステップ(16)以
降に進み、YESの場合は行ピッチを拡げて行間を調整し
(8)、ステップ(16)以降に進む。 ステップ(5)の判断でNOの場合は、ポインティング
デバイス8から入力された書式適合指令が文字ピッチ変
更優先であるかどうかをMPU4が判断し(9)、YESなら
ばCRT表示器1内の制約された画面内に空きがあるかど
うかを判断する(10)。この判断でNOの場合は、文字ピ
ッチを狭めて文字間を調整し(11)、ステップ(16)以
降に進み、YESの場合は文字ピッチを拡げて文字間を調
整し(12)、ステップ(16)以降に進む。 一方、ステップ(9)の判断で、NOの場合は、ポイン
ティングデバイス8から入力された書式適合指令が自動
調整モードであるとMPU4が判断し、CRT表示器1内の制
約された画面内に空きがあるかどうかを判断し(13)、
NOならばフォント,行ピッチ,文字ピッチを小さくし調
整し(14)、ステップ(16)以降に進み、YESならばフ
ォント,行ピッチ,文字ピッチを大きく調整し(15)、
主メモリ6内に書き込まれている書式データ45を書き直
し(16)、リターンする。 なお、上記画像処理装置で作成されたフローチャート
を構成する枠内に文字を挿入する場合に、この発明を適
用することにより、入力される文字情報を枠内に収まる
ように、フォントサイズ、行間,文字間等の書式を変更
することにより、過不足なく文字情報を入力することが
できる。 〔発明の効果〕 以上説明したように、この発明によれば、判断手段に
よる判断に基づいて、書式フォーマットのうち識別手段
により識別されたパラメータを調整することにより、所
望の文字の配置を決定して、文書上の文字を入力するエ
リアに対して、高品位で適正な文字を配列することがで
きるという効果を奏する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus that processes image data such as characters, graphics, and images based on a format. [Related Art] Recently, word processing functions have been provided which take into account not only the input of characters but also the layout and the like with the advance of the technology of word processing systems. Therefore, it has become possible to define a format including not only the number of characters and the character pitch but also the number of columns and the width of columns. However, for formatting such sentences, it is necessary to individually create and change the values of the number of steps, the step width, and the like in order by numerical input from a keyboard which is a man-machine interface. [Problems to be Solved by the Invention] Accordingly, errors in creation and omission of correction are apt to occur, and it takes time and skill to obtain a well-balanced formatting sentence. In particular, in the case of creating a format, it is difficult to imagine the entire format from a set of individual numerical parameters, and there is a problem that the format cannot be formed unless corrections are repeated many times. On the other hand, if the space is limited like a magazine or newspaper,
There has been a problem that it is very difficult to create a format that is suitable for a restricted page of already input image data, especially a format that uses the full page. SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problem, and selectively changes a desired parameter among a plurality of parameters for defining the arrangement of character data, thereby achieving a desired parameter. To provide an image processing apparatus capable of arranging high-quality and appropriate characters in an area for inputting characters on a document. [Means for Solving the Problems] An image processing apparatus according to the present invention displays an area created based on a format format including a plurality of types of parameters on a display screen and edits input document image data. Editing means, identification means for identifying which of the plurality of types of parameters the format matching command relates to, and the document image data input to the area created by the editing means. Determining means for determining the suitability of the format format based on the arrangement state;
A correction control unit that corrects the format format by adjusting a parameter identified by the identification unit in the format format based on the determination by the determination unit. [Operation] In the present invention, the arrangement of desired characters is determined by adjusting the parameters identified by the identification unit in the format format based on the determination by the determination unit, and the characters on the document are input. It is possible to arrange high-quality and appropriate characters in an area. FIG. 1 is a block diagram for explaining the arrangement of an image processing apparatus according to an embodiment of the present invention. Reference numeral 1 denotes a raster scan type CRT display, 2 denotes a video RAM (VRAM), and CRT display. The pattern development information of one screen of the container 1 is stored. Reference numeral 3 denotes a display control unit, which controls pattern development to the VRAM 2 and a CRT display 1.
To control the pattern reading to Reference numeral 4 denotes a microprocessor (MPU) which controls each unit connected via the I / O bus 5 as a whole. Reference numeral 6 denotes a main memory, which comprises a ROM 6a containing a control program and a RAM 6b for data processing. Reference numeral 7 denotes an external magnetic disk device which stores a document file and a management file for managing the document file. Reference numeral 8 denotes a pointing device (PD) for performing a selection operation for designating a position of a display screen of the CRT display 1 and performing a format setting operation of a format setting screen (menu). The KBD is a keyboard for inputting document information, control commands, management information, and the like. It should be noted that such a system can be networked by converting the I / O bus 5 into a LAN. Also,
A reader and a printer may be provided so that image input and output can be performed. Also, in the present invention, typesetting is a word originally representing one process of letterpress printing. In short, it can be described as "print type is picked up based on a manuscript, and the order, character filling, number of lines, This means that the character spacing, position, etc. are correctly assembled to create one document. " In the system configured as described above, of the functions of the image processing system including the document information according to the present invention, in particular, with regard to document processing, a function relating to the following format is provided in addition to a normal document input / edit function. Have. (1) Registration of a format, (2) Partial correction of a registered format, (3) Formatting of a document, (4) Partial correction of a document format First, the above (1) to (4) will be described. Before, the format data will be described. FIG. 2 is a schematic diagram for explaining a part of data stored in the external magnetic disk device 7 shown in FIG.
Is a format file table for determining which file of the format file 10 is to be selected. Reference numeral 11 denotes a text file, which is a text part in which actual text data is stored.
The document file table 14 is used to determine which text or format of the text file 11 is to be selected. Next, format data stored in the format file 10 shown in FIG. 2 will be described with reference to FIG. FIG. 3 is a schematic diagram for explaining format data stored in the format file 10 shown in FIG. 2. Reference numeral 21 denotes a column definition unit, which includes a sky data definition unit, a throat data definition unit, a column number definition unit,
It comprises a row alignment data definition section, a row length data definition section, a row number data definition section, a row data definition section, and the like. Reference numeral 22 denotes a text definition section, which includes a character space data definition section, a line feed definition section, a paragraph indentation data definition section, and the like. FIG. 4 is a diagram for explaining parameters (terms) relating to the format. Reference numeral 31 denotes a display screen, which is displayed on the CRT display 1. Reference numeral 32 denotes a two-stage printing plate, which is an area to be maintained. The printing plate 32 composed of the area indicated by the vertical and horizontal arrows becomes the printing plate of the left page of the facing page. I indicates the sky, II indicates the throat (the binding part),
III indicates the position where the bottom of the column is aligned in the column alignment. IV indicates the number of rows, and V indicates the distance between steps between steps. Further, VI indicates a line spacing, and VII indicates a fore-edge. The above I to VI are determined by the column definition unit 21, and the text definition unit 22 has data such as character font, dot number, size, character spacing, paragraph indentation, and color information. Next, each function related to the above-mentioned format will be described in detail. (1) Format Registration FIG. 5 is a flowchart for explaining a format registration setting procedure. In addition, (1) to (5) indicate each step. Enter the command to register the format, CRT display 1
Workstation consisting of keyboard and keyboard KBD (W
Among the various functions of S), the format registration routine starts, and paper information, that is, paper size, paper placement direction, vertical / horizontal writing, and the like are input (1). Next, as shown in FIG. 6 (a), step format information, that is, the plate surface 32 in the sheet PA is
It is determined by inputting two points of the mark (2). Then, as shown in FIG. 6 (b), the number of steps, "2" in this figure, is input. Further, as shown in FIG. 6 (c), for example, an asterisk (*) is displayed by the keyboard KBD or the pointing device 8. Specify a point, and specify the step width and step distance.
The column definition designation is completed by the above operations. Next, it is determined whether or not the input of the form information has been completed (3). If NO, as shown in FIG. 6 (d), the body definition is specified, that is, the page number (number of pages), column (headline outside the margin), Enter the headings, etc. (4), and if YES, set the format to the second
Register in the format files A, B, C,... Of the format file 10 shown in the figure (5). As described above, the column definition information and the text definition can be intuitively specified while looking at the image displayed on the CRT display 1, so that the format can be set very efficiently. It is needless to say that a more accurate format setting can be performed by numerically displaying the format setting state and the format. (2) Partial Correction of Registered Format Next, a partial correction operation of the registered format will be described with reference to FIGS. 7 and 8. FIG. 7 is a schematic diagram for explaining the format menu display operation according to the present invention, and shows a state in which multi-window display is performed on the CRT display 1 shown in FIG. FIG. 8 is a flow chart for explaining a partial correction of a registered form according to the present invention. In addition, (1)-
(4) shows each step. When a part of the registered format is to be modified, a format menu for calling up the registered format is provided in a part of the display screen of the CRT display 1 in, for example, a format file list as shown in FIG. For example, the format files A to E are displayed in multi-window (1). The format file B schematically shows a case where the content is an article, the paper size is “A”, the type size is “10 points” (not shown), and the number of columns is “1”. ing. Next, when a cursor (K in the figure) is moved by the pointing device 8 and a key (not shown) of the pointing device 8 is turned on at a report of a desired format, for example, a format file A, as shown in FIG. The format contained in the format file A is selected by the format file table 9 and displayed on the CRT display 1 shown in FIG. 1 as shown in FIG. 4 (2). Then, the format of the parameter such as the line length of the row of the format file A is corrected by numerically or intuitively deforming the image by the keyboard KBD or the pointing device 8 (3). Next, the corrected format is rewritten into the format file A shown in FIG. 2 (4). (3) Formatting of Document Next, the formatting operation of a document according to the present invention will be described with reference to FIG. FIG. 9 is a flow chart for explaining a document formatting operation according to the present invention. (1),
(2) shows each step. When a command for formatting a document is input from the workstation, the screen shown in FIG. 7 is displayed on the CRT display 1. This screen is superimposed and displayed on the screen even if a document is currently being processed on the screen. Therefore, the window shown in the lower right of FIG. 7 can be pointed upward with the cursor K so that the document can be easily viewed, and the window can be scaled in accordance with the movement of the cursor K. In addition, if the "format file" portion of the title is designated and moved, the entire window can be moved. Therefore, even if the text screen is displayed, the screen shown in FIG. 7 can be moved or scaled and displayed in an empty portion on the text screen, and a desired format in the window can be easily selected according to the text screen. it can. Now, in a state where the document data n 1 sentence portion 12 shown in FIG. 2 on the screen is being displayed, the window format file list shown in FIG. 7 by a key input from a workstation on the screen Call and display at any position (1)
Desired format by the pointing device 8 and the cursor K, for example, the format file A is selected, the format file A in FIG. 2 is selected, the format corresponds to the data n 1 format section 13 shown in FIG. 2 It is copied to the part a (2). As a result, the format of the document is deleted during the current processing. Since the typesetting output of the document is performed while formatting the text in accordance with the new format in the document, the above-mentioned operation outputs the document being processed in a completely new format. (4) Partial Change of Document Format Next, a partial change operation of a document according to the present invention will be described with reference to FIG. FIG. 10 is a flowchart for explaining the document partial change operation according to the present invention. Note that (1) to (3) indicate each step. When partially modifying the format of a document created by formatting a document in (3) above, a document file 11 including a format part 13 and a text part 12 is stored in a document file table.
At step (1), the document is displayed in that format on the CRT display 1. Next, the above-mentioned number of columns, columns,
If it is desired to correct the parameters relating to the format such as line length and column spacing (2) and register them, they may be newly or re-registered in the document file 11 shown in FIG. 2 (3). Next, the format correction control operation according to the present invention will be described with reference to FIG. 11 and FIG. FIG. 11 is a block diagram for explaining the function of the MPU 4 shown in FIG. 1, and the same components as those in FIG. 1 are denoted by the same reference numerals. In this figure, reference numeral 41 denotes a data supply source composed of the keyboard KBD and the external magnetic disk device 7, and transfers document data to the control means 42. Reference numeral 43 denotes a page processing means which creates a table for associating the expanded document address in the VRAM 2 with the input document code in accordance with various format control codes such as line feed, page break and offset included in the read document data string. It is stored in an address table 44 (secured in the main memory 6). Numeral 45 is format data stored in the main memory 6, which is always accessed when the page processing means 43 expands the input document input into the VRAM 2,
The necessary format information is read, and the dot pattern of the character generated by the display control unit 3 is developed in the VRAM 2. A character generator (CG) 46 generates a font pattern (dot pattern) corresponding to a character code. FIGS. 12 (a) to 12 (d) are schematic diagrams for explaining the format format correction operation by the page processing means 43 shown in FIG. In these figures, 51 and 52 are document data, for example, "If the sweltering heat continues, the cooler will be turned on." And "If the sweltering heat continues,
Frequently, the cooler is left switched on. And the like are input from the data supply source 41. P 1 to P 4 are character pitch information, and Q 1 to Q 4 are line pitch information, which are variable depending on the format format of the document data 51, 52. When the document data 51 is input from the data supply source 41 in a state where the format format as shown in FIG. 12A, that is, the character pitch information P 1 and the line pitch information Q 1 are given,
The page processing means 43 expands the document data on the VRAM 2 while referring to the page address table 44 and the format data 45. When the expanded document data 51 is displayed on the CRT display 1 (see FIG. 12 (a)), a considerable space is generated at the end of the text of the document data 51, and the document having a poor appearance (the format format is incompatible) ). Here, when a format format conforming command is input by the pointing device 8, the page processing means 43 causes the page data 43 in the format data 45 to be arranged in the screen shown in FIG. Character pitch information P 1 , line pitch information
Q 1 character pitch information P 2, changes the line pitch information Q 2, are written in the main memory 6 as a new format data 45 of the document data 51. Next, the page processing means 43 performs the same processing as described above, thereby causing the document data 51 to be displayed on the screen with the character pitch information P 2 and the line pitch information Q 2 as shown in FIG. 12 (b). Also, when the document data 52 overflows from the printing plate on the screen contrary to the document data 51 shown in FIG. 12 (a) (see FIG. 12 (c)), the pointing device 8 is operated to format the document. Is input, the page processing means 43 converts the character pitch information P 3 and the line pitch information Q 3 in the format data 45 set on the printing plate of FIG.
P 4 is changed to line pitch information Q 4 , and is written in the main memory 6 as new format data 45 of the document data 52. Then
When the page processing means 43 performs the same processing as described above, the document data 52 is displayed on the screen with the character pitch information P 4 and the line pitch information Q 4 as shown in FIG. Note that only the printing plate indicated by the pointing device 8 may be specified, and the control unit 42 may determine the suitability of the format of each printing plate. In addition, the font format of the character may be changed in addition to the line pitch and the character pitch. The format may be changed to the line pitch, the character pitch, or the photo size according to the operator's preference. May be. Next, the format format correction control operation according to the present invention will be described in detail with reference to the flowcharts shown in FIGS. FIG. 13 is a flowchart for explaining the processing procedure of the page processing means 43 shown in FIG. In addition, (1)-
(8) shows each step. First, it waits for data input from the data supply source 41 (1). When data input is performed, it is determined whether or not the input data is document data (2). If YES, the document data is read, and the page processing means 43 is read. The input data is sent to (3). The page processing means 43 calculates where the input data is located (coordinate position) on the VRAM 2 (4), and stores the calculated coordinates (address) and its code data in the page address table 44. It is stored (5). Next, the code information and the expanded address on the VRAM 2 are transmitted to the display control unit 3 according to the page address table 44 (6). In response to this, the display control unit 3 develops the font pattern corresponding to the code given based on the development address with the CG 46 (7), displays it on the CRT display 1, and returns to step (1). On the other hand, if the determination in step (2) is NO, a format resetting process (described later) is performed (8), and step (1) is performed.
Return to FIG. 14 is a flowchart for explaining a format format resetting control operation procedure by the page processing means 43 shown in FIG. (1) to (16) show each step. Steps (1) to (16) are the detailed procedure of step (8) shown in FIG. The MPU 4 determines whether the format adaptation command input from the pointing device 8 has priority on font change (1), and if YES, determines whether there is a free space in the restricted screen in the CRT display 1. (2). By this judgment, YE
In the case of S, the font of the document data is enlarged and stuffed (3), and the process proceeds to step (16). If NO, the font is reduced and stuffed (4), and the process proceeds to step (16) and thereafter. On the other hand, if the determination in step (1) is NO, the MPU 4 determines whether the format adaptation command input from the pointing device 8 has priority on changing the line pitch (5), and
Then, it is determined whether there is a free space in the restricted screen in the CRT display 1 (6). If the determination is NO, the line pitch is narrowed to adjust the line spacing (7), and the process proceeds to step (16). If the determination is YES, the line pitch is widened to adjust the line spacing (8), and step (16). Proceed to the following. If the determination in step (5) is NO, the MPU 4 determines whether or not the format matching command input from the pointing device 8 has priority on changing the character pitch (9). If YES, the restriction in the CRT display 1 is set. It is determined whether or not there is an empty space in the screen (10). If the determination is NO, the character pitch is narrowed to adjust the character spacing (11), and the process proceeds to step (16). If YES, the character pitch is widened to adjust the character spacing (12), and the step ( 16) Proceed to the following steps. On the other hand, if the determination in step (9) is NO, the MPU 4 determines that the format matching command input from the pointing device 8 is in the automatic adjustment mode, and the MPU 4 determines that there is an empty space in the restricted screen in the CRT display 1. (13)
If NO, reduce and adjust the font, line pitch, and character pitch (14), and go to step (16). If YES, adjust the font, line pitch, and character pitch to a large value (15),
The format data 45 written in the main memory 6 is rewritten (16), and the process returns. When a character is inserted into a frame constituting the flowchart created by the image processing apparatus, by applying the present invention, the font size, line spacing, line spacing, By changing the format such as the space between characters, it is possible to input character information without excess or deficiency. [Effects of the Invention] As described above, according to the present invention, a desired character arrangement is determined by adjusting the parameters identified by the identification means in the format format based on the determination by the determination means. Thus, there is an effect that high-quality and proper characters can be arranged in an area for inputting characters on a document.

【図面の簡単な説明】 第1図はこの発明の一実施例を示す画像処理装置の構成
を説明するブロック図、第2図は、第1図に示した外部
磁気ディスク装置内に格納されるデータの一部を説明す
る模式図、第3図は、第2図に示した書式ファイル内に
格納される書式データを説明する模式図、第4図は書式
に関するパラメータを説明するための図、第5図は書式
登録設定手順を説明するフローチャート、第6図は段体
裁入力画面を説明する模式図、第7図はこの発明により
書式メニュー表示動作を説明する模式図、第8図はこの
発明による登録された書式の一部修正を説明するための
フローチャート、第9図はこの発明による文書への書式
付け動作を説明するためのフローチャート、第10図はこ
の発明による文書の一部変更動作を説明するフローチャ
ート、第11図は、第1図に示したMPUの機能を説明する
ブロック図、第12図は、第11図に示したページ処理手段
による書式フォーマット補正動作を説明する模式図、第
13図は、第11図に示したページ処理手段の処理手順を説
明するフローチャート、第14図は、第11図に示したペー
ジ処理手段による書式フォーマット再設定制御動作手順
を説明する説明するフローチャートである。 図中、1はCRT表示器、2はVRAM、3は表示制御部、4
はMPU、5はI/Oバス、6は主メモリ、7は外部磁気ディ
スク装置、8はポインティングデバイス、KBDはキーボ
ードである。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram illustrating the configuration of an image processing apparatus according to an embodiment of the present invention, and FIG. 2 is stored in the external magnetic disk device shown in FIG. FIG. 3 is a schematic diagram for explaining a part of data, FIG. 3 is a schematic diagram for explaining format data stored in the format file shown in FIG. 2, FIG. 4 is a diagram for explaining parameters related to the format, FIG. 5 is a flowchart for explaining a format registration setting procedure, FIG. 6 is a schematic diagram for explaining a form input screen, FIG. 7 is a schematic diagram for explaining a format menu display operation according to the present invention, and FIG. FIG. 9 is a flowchart for explaining a document formatting operation according to the present invention, and FIG. 10 is a flowchart for explaining a document modifying operation according to the present invention. Explained flow Chart, FIG. 11 is a block diagram illustrating the function of MPU shown in FIG. 1, FIG. 12 is a schematic diagram illustrating the format format correction operation by the page processing means shown in FIG. 11, the
FIG. 13 is a flowchart for explaining a processing procedure of the page processing means shown in FIG. 11, and FIG. 14 is a flowchart for explaining a format format reset control operation procedure by the page processing means shown in FIG. is there. In the figure, 1 is a CRT display, 2 is a VRAM, 3 is a display control unit, 4
Is an MPU, 5 is an I / O bus, 6 is a main memory, 7 is an external magnetic disk device, 8 is a pointing device, and KBD is a keyboard.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 谷口 ゆかり 東京都大田区下丸子3丁目30番2号 キ ヤノン株式会社内 (72)発明者 浜田 正基 東京都大田区下丸子3丁目30番2号 キ ヤノン株式会社内 (56)参考文献 特開 昭60−107357(JP,A) 特開 昭61−86865(JP,A) 特開 昭61−121165(JP,A) 特開 昭60−263987(JP,A)   ────────────────────────────────────────────────── ─── Continuation of front page    (72) Inventor Yukari Taniguchi               3-30-2 Shimomaruko, Ota-ku, Tokyo               Inside Canon Inc. (72) Inventor Masaki Hamada               3-30-2 Shimomaruko, Ota-ku, Tokyo               Inside Canon Inc.                (56) References JP-A-60-107357 (JP, A)                 JP-A-61-86865 (JP, A)                 JP-A-61-121165 (JP, A)                 JP-A-60-263987 (JP, A)

Claims (1)

(57)【特許請求の範囲】 1.複数種類のパラメータからなる書式フォーマットに
基づいて作成される領域を表示画面に表示し、入力され
る文書画像データを編集する編集手段と、 書式適合指令が、前記複数種類のパラメータのうちのい
ずれのパラメータに係るものであるかを識別する識別手
段と、 前記編集手段により作成された領域に入力される前記文
書画像データの配置状態に基づいて書式フォーマットの
適合性を判断する判断手段と、 前記判断手段による判断に基づいて、前記書式フォーマ
ットのうち、前記識別手段により識別されたパラメータ
を調整することにより前記書式フォーマットを補正する
補正制御手段と、 を有したことを特徴とする画像処理装置。
(57) [Claims] An editing unit that displays an area created based on a format format including a plurality of types of parameters on a display screen and edits input document image data; and a format matching command is one of the plurality of types of parameters. Identification means for identifying whether the parameter is related to a parameter, determination means for determining suitability of a format format based on an arrangement state of the document image data input to the area created by the editing means, An image processing apparatus comprising: a correction control unit that corrects the format format by adjusting a parameter identified by the identification unit in the format format based on a determination by the unit.
JP61202669A 1986-08-30 1986-08-30 Image processing device Expired - Lifetime JP2741750B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61202669A JP2741750B2 (en) 1986-08-30 1986-08-30 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61202669A JP2741750B2 (en) 1986-08-30 1986-08-30 Image processing device

Publications (2)

Publication Number Publication Date
JPS6359657A JPS6359657A (en) 1988-03-15
JP2741750B2 true JP2741750B2 (en) 1998-04-22

Family

ID=16461187

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61202669A Expired - Lifetime JP2741750B2 (en) 1986-08-30 1986-08-30 Image processing device

Country Status (1)

Country Link
JP (1) JP2741750B2 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0298773A (en) * 1988-10-05 1990-04-11 Honda Motor Co Ltd Method for changing line length of text in editor
JP2907859B2 (en) * 1989-03-20 1999-06-21 富士通株式会社 Document processing system
JPH0457150A (en) * 1990-06-27 1992-02-24 Fujitsu Ltd Format change processor for base medium
JPH0460757A (en) * 1990-06-29 1992-02-26 Casio Comput Co Ltd Automatic adjustment document processor
JPH0460755A (en) * 1990-06-29 1992-02-26 Casio Comput Co Ltd Automatic adjustment document processor
JPH04160464A (en) * 1990-10-23 1992-06-03 Matsushita Electric Ind Co Ltd Japanese language processor
JP2945465B2 (en) * 1990-11-14 1999-09-06 シャープ株式会社 Character processor with award print function
JP2763227B2 (en) * 1992-03-25 1998-06-11 株式会社東芝 Format determination method
JPH07231309A (en) * 1994-02-17 1995-08-29 Hitachi Ltd Information distribution system
JPH1093618A (en) * 1996-09-17 1998-04-10 Murata Mach Ltd Communication terminal device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60107357A (en) * 1983-11-16 1985-06-12 Hitachi Ltd Word-processor

Also Published As

Publication number Publication date
JPS6359657A (en) 1988-03-15

Similar Documents

Publication Publication Date Title
JP2741750B2 (en) Image processing device
JPH0616280B2 (en) Document processor
JP2670469B2 (en) Document processing method
JP2728871B2 (en) Document processing device
JP2811461B2 (en) Information processing device
JP2851846B2 (en) Document processing method and apparatus
JPH0447865B2 (en)
JP3062212B2 (en) Character editing system
JPH06243225A (en) Image editing method
JPH0750511B2 (en) Image processing system
JPH0589096A (en) Word processing method
JPH07121515A (en) Method and device for edition processing
JPH0750477B2 (en) Information processing equipment
JPH04263357A (en) Information processor
JPH05189424A (en) Device and method for editing document
JPH0827698B2 (en) Document processing device
JPH08153092A (en) Document processor
JPH05135034A (en) Document processing method
JP2001117910A (en) Device and method for automatically correcting document format and storage medium storing automatic document format correction program
JPH08315164A (en) Layout correcting device
JPH06328650A (en) Layout design equipment
JPS63208931A (en) Document printing device
JPH0619443A (en) Information processor
JPH0470955A (en) Document processor
JPH06223059A (en) Word processor

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term