JP2810368B2 - Image processing method - Google Patents

Image processing method

Info

Publication number
JP2810368B2
JP2810368B2 JP62289145A JP28914587A JP2810368B2 JP 2810368 B2 JP2810368 B2 JP 2810368B2 JP 62289145 A JP62289145 A JP 62289145A JP 28914587 A JP28914587 A JP 28914587A JP 2810368 B2 JP2810368 B2 JP 2810368B2
Authority
JP
Japan
Prior art keywords
cell
text
ruled line
line
ruled
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 - Fee Related
Application number
JP62289145A
Other languages
Japanese (ja)
Other versions
JPH01130264A (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 JP62289145A priority Critical patent/JP2810368B2/en
Priority to DE3838729A priority patent/DE3838729C2/en
Publication of JPH01130264A publication Critical patent/JPH01130264A/en
Priority to US07/948,621 priority patent/US5867159A/en
Application granted granted Critical
Publication of JP2810368B2 publication Critical patent/JP2810368B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 〔技術分野〕 本発明は、表の編集が容易に行える文書処理装置に関
する。 〔従来の技術〕 従来の文書処理装置における作表方式では、罫線を引
く手段としては、 (1)罫線の始点、終点の2点を指示する。 (2)罫引する本数を指定し、既に引かれている基準と
なる罫線と、別に指示された位置との距離を罫引する本
数で分割して罫線の位置を求め、それらの求められた位
置の罫線を最も近い格子点であるグリツド(第2図
(a),(b)100)に整列させる。 というような方法がとられていた。 これを第2図をもとに説明する。第2図(a)の15は
基準線である。この基準線とカーソル20との間の距離
(基準線が横罫線の場合、y座標の差分、縦罫線の場合
X座標の差分で、この例の場合はy座標の差分)を罫引
の本数5で割り、罫線の間隔を求める。この間隔で5本
の罫線の位置を求めると(a)の点線16のようになる。
これらの罫線の位置を最も使いグリツド100に整列し、
第2図(b)のような結果が得られる。 しかし一般的に文書に用いられる表は、行幅の等しい
表が多いにもかかわらず、上記分割罫引の方法では、第
2図(b)のように、最大1グリツド間隔分のずれが生
じ等間隔な罫線を引くことが困難であった。又、1つの
表を作成するのに1本の罫線に平行で、長さが等しい罫
線をその度毎に描画させるために操作が繁雑であった。 〔目的〕 以上の点に鑑み、本発明は、簡単な操作で所望の数の
罫線を等間隔で引くことのできる画像処理方法を提供す
ることを目的とする。 本発明は、簡単な操作でグリッド(寸法表示)に応じ
た複数の罫線を引くことのできる画像処理方法を提供す
ることを目的とする。 〔実施例〕 以下、図面を用いて本発明を詳細に説明する。なお、
本発明でいう文書は、文章(表も含む),図形,イメー
ジ等を含めて総称している。又、本発明の機能が実行さ
れるのであれば、単体の機器であっても、複数の機器か
ら成るシステムであっても、LAN等のネツトワークを介
して、処理が行われるシステムであっても本発明が適用
されることは言うまでもない。なお、本発明の文書処理
は元来、机上でペン等により人間が描くという処理を電
子的に行うという基本的な考えがあり、明細書中「線を
引く」、「移動」…等は全て電子的な処理によるもので
ある。 [システムブロツク図] 第1図は本発明に係る一実施例の文書処理装置のシス
テムブロツク図である。1はラスタ・スキヤン表示方式
で使用されるCRT部、2は一画面分の表示パターン情報
を記憶するビデオRAM(VRAM)、3はVRAM2に対するパタ
ーン情報の書き込み、CRT1への読み出しを制御する表示
制御部である。4はマイクロプロセツサ(MPU)でこの
装置の主制御である。5は後述フローチヤートに示すよ
うな制御プログラムや文書データを格納するエリアを有
する主メモリである。MPU4には文字データ等の入力を行
うキーボード8及びCRT上の位置の指定を行い、図形等
のデータの入力編集を行うポインテイング・デバイス
(以下P.D)9が接続されている。6はハードデイスク
装置でこの中に文書フアイルや後述のフローチヤートに
示す様なプログラムや文字フオントが格納されている。
10は作成された文書を出力するためのプリンタで、両面
出力ユニツト等を有している。11は画像等のイメージデ
ータを読み込むためのイメージスキヤナ、12は文書フア
イル等の保存を行うためのフロツピーデイスク装置であ
る。これらの各構成ブロツクはI/Oバス7で接続されて
いる。 [文書編集画面] 以上のような構成からなる文書編集装置は組版ルール
に基づけ字づめ、文字の配列及びその印刷形式をCRT1上
に表示し、キーボード8、P.D9を用いて即応性のある文
書編集方法を画面上の任意の領域、又はその領域内に枠
空けされた領域についても行うことができる。第3−1
図は文書編集画面の例で、20はP.Dによって操作される
カーソル、21は印刷形式を画面上に表示した用紙ウイン
ドウである。用紙には第3−2図に示すように、文字5
0、図形51、イメージ52、フオーム53のデータを入力す
ることができる。それぞれには優先順位が決められてお
り、フオーム、イメージ、図形、文字の順に重ね合わせ
て表示される。なお、後述の表組は上記文字と同等と考
えるものとする。又、第3−1図の22はユーザメニユー
で文字入力用かな漢字ウインドウ、機能選択用フアンク
シヨンキーが表示される。23はステータスラインでキー
ボードの入力モードやオペレータに対するメツセージな
どが表示される。24は用紙上に枠空けされた領域(以下
枠と呼ぶ)で、枠内には文字(小組)又は表組及び図形
イメージのデータが入力でき、用紙同様、各々の優先順
位に従い重ね合せて表示される。 [ワープロ編集] 次に各編集機能について説明する。ワープロ編集は、
用紙又は枠内の文字の入力、編集を行うことができる。
文字の入力はローマ字かな変換、かな漢字変換等の機能
を用いて行われる。各用紙には書式が割当てられてい
て、用紙サイズ、用紙中の文書等の入力編集する領域で
ある版面の位置、段組の数、段中の行数、本文の文字サ
イズ、書体(明朝、ゴシツク等)、ノンブル(ページ番
号)、柱(欄外の見出し)等が定義されている。文字は
この書式に従って組まれて表示又は印刷される。又編集
機能により部分的な文字サイズ、書体の変更、アンダー
ライン,圏点,ルビ,上付,下付文字等の文字修飾,セ
ンタリング,右寄せ,左寄せ,均等割付等の行そろえ等
も行う。さらに、文字列を検索して、他の文字列に置換
する間作置換の機能も持つ。又、文字の移動、入力、削
除に供い、文字に追従して動く、浮動枠の枠空け、サイ
ズ等の変更、消去等を行う浮動枠編集の機能を持つ。 [図形編集] 次に図形編集は、直線、円、矩形、だ円等の図形の入
力及び面種、線種の変更、図形の移動、複写、消去、変
形、回転、拡大、縮小等の編集機能、複数のレイアの層
から構成され、各レイア単独の表示、編集ができ、複数
レイアを重ねて表示することができる多重レイア構造な
どの機能を持つ。 [イメージ編集] イメージ編集はイメージスキヤナからの画像の入力、
イメージデータの回転、反転、移動、複写、消去並びに
1ドツト単位で編集を行う、ドツト単位編集、イメージ
データを部分的に切り出すトリミングの機能を有する。 [固定枠編集] 次に固定枠編集は浮動枠とは異なり、用紙上の固定位
置に枠空けされ、文字の移動に依存しない枠の枠空け、
サイズ変更、移動、消去等の機能を持つ。 [表組処理] 次に本発明の中心である表組処理について説明する。
表組は小組の入っていない枠に対して編集を行うことが
できる。機能は罫線を引いたり、移動,削除を行う罫線
編集と、文字を入力したり、アンダーライン,ルビなど
の修飾を行う文字編集とに大きく2つに分けられる。罫
線編集は罫線を引いて表を作り、セルを呼ばれる罫線で
囲まれた矩形の領域を作成することが目的である。文字
はこのセルの中に入力することができる。文字編集は、
罫線編集で作られたセルの中に文字を入力することが目
的である。これら2つの編集機能を用いることにより、
良質かつ複雑な表を早く容易に作成できる。 [表組データテーブルレイアウト] 第4図はハードデイスク中の文書データの1部である
表組データテーブルのレイアウトの一例を示す図で、制
御テーブル罫線テーブル、テキストテーブル、セル(第
5−2図の様な枠)属性テーブルから構成される。制御
テーブルは表組データテーブル全体を管理するためのも
のである。statは表組データ型式を表わす番号が格納さ
れている。measrは内部記憶座標単位からCRT又はプリン
タ座標単位への変換のための制御情報が格納されてい
る。次に斜線、横線、縦線、テキスト、セル属性の各々
のオフセツト(offset)およびカウントが格納されてい
る。オフセツトは罫線テーブルの斜線、横線、縦線及び
テキストデータテーブル、セル属性テーブルのテーブル
領域の始点アドレスを示すデータである。又、カウント
は斜線、横線、縦線及びテキスト、属性の各レコードの
個数を示すもので、斜線レコードはn1個横線レコードは
n2個、縦線レコードはn3個、テキストレコードはn4個、
セル属性レコードはn5個である。これらのoffsetとcoun
tにより罫線テーブル、テキストテーブル、属性テーブ
ルの領域を把握することができる。 [第4図罫線テーブル] 罫線テーブルは斜線、横線、縦線各々の情報の集まり
である。POS(x,y)は、各線の開始位置が格納されてい
る。line styleは例えば実線、一点鎖線のような各線
の線種を表わす情報が格納されている。line widthは
各線の太さの情報が格納されている。flagは各罫線のロ
ツク情報が格納されている。roundは、横線と縦線の交
点の角丸めの情報が格納されている。横線レコード、縦
線レコードのlengthは各線の長さの情報が格納されてい
る。斜線のw−length,h−lengthはそれぞれ横方向、縦
方向の長さの情報が格納されている。横線レコードのテ
キストoffsetは、その横線が構成するセルに対応するテ
キストデータがテキストテーブルのどの位置に格納され
ているかを示すオフセツトが格納されている。テキスト
を持たない場合は−1の値が格納されている。罫線テー
ブルの各レコードは、POS(x,y)の示す開始位置情報に
より、斜線、横線はx座標値昇順、縦線はy座標値昇順
に整列されている。なお、この罫線はセルを構成する素
片といっても良い。 [第4図テキストテーブル] テキストテーブルは可変長さテキストレコードから構
成される。属性offsetは、そのテキストの属性、例えば
組み方向(縦組/横組)、文字の大きさ、左,右,セン
タリングなどの文字揃え、行間、字間等がセル属性テー
ブルのどこに格納されているかを示すオフセツトであ
る。text countにはテキストデータの文字数が格納さ
れている。テキストデータは文字コードの配列でtext
count個の2バイトコードから成る。flagはセルの表示
状態などのフラグがセツトされる。テキストレコードは
文字又は属性を持ったセルに1つずつ存在し、このテキ
ストレコードに対する属性レコード必ず1つ存在する。
但し、属性がまったく同じテキストには同じ属性が割り
当てられる。 [第4図セル属性テーブル] セル属性テーブルは可変長さのセル属性レコードから
構成される。attrsizは1つのセル属性のサイズでバイ
ト数が格納される。flgは使用されているか未使用かの
フラグが格納されている。meshはセルの中塗りパターン
番号が格納されている。kum−fは縦組か横組かのフラ
グ、字間,文字ピツチどちらの指定か、行間,行ピツチ
どちらの指定かのフラグが格納されている。aldpは、
上,下,左,右の文字揃え、回転表示の回転角度、表示
方式(白抜き、重ね書きなど)の情報が格納されてい
る。fontは文字書体(明朝,ゴシツクなど)の情報が格
納されている。psは文字の大きさが格納される。lnsp.c
hspはkum−fに従って、行ピツチ又は行間、文字ピツチ
又は字間の値が格納される。lrmgn,udmgnは左右、上下
のマージンの値が格納される。 オペレータは後述する分割罫引や連続罫引を用いて、
後述する様に第10図のように図形的に罫引を行うことが
できるが、内部的には縦横の罫線は、第5−1図に示す
ように交点において分割されて記憶される。この様に記
憶しているので、表を描くときには図形的に行い、各セ
ルに対して編集(1つのセルの左辺のみを消去する等)
する時は、各素片について行うことが可能となる。又、
各セルのテキストデータは各セルを構成する罫線のうち
左上端の横罫線(第5−2図の太線で示した罫線)が保
持している(第5−2図)。 [分割罫引] 第6図から第8図を用いて、複数の平行な罫線を等間
隔に引く方法について説明する。第6図はその制御フロ
ーチヤートである。まずキーボード又はP.Dにより分割
罫引を指示すると第7図40の分割数入力ウインドウが表
示される。第6図のstep1においてキーボードより、平
行で等間隔な罫線(分割罫線)の本数(分割数)を入力
する。第7図では分割数を10と入力したところを示して
いる。step2で分割罫線の基準となる基準線第7図41を
決定する。これは、すでに引かれている罫線上にP.Dに
よりカーソル20を動かし、P.Dのボタンを1度押す(以
下1クリツク)か、又は罫線を罫引する(罫線の始点で
P.Dのボタンを押し、押したままカーソルを終点へ移動
し、ボタンを放す)ことによって基準線は決定される。
次にstep3において任意の位置にカーソルを動かし、P.D
のボタンを押すと、基準線とカーソルの位置との距離
(基準線が横罫線ならy座標の差分、縦罫線ならx座標
の差分)を求めこの距離を分割数で割ることにより、分
割罫線間距離(第8−1図(a)L1)を求める。なお、
第8−1図では横罫線である。次に分割罫線が全てグリ
ツド100に整列するようにstep4でstep3で求めた距離を
グリツド間隔の整数倍に近似する。近似は、 によって行われる。割り算は小数点以下切り捨てで行わ
れるために求める値はグリツド間隔の整数倍として求め
られる(第8−1図(b)L2)。次に第6図のstep5に
おいてstep4で求められた分割罫線間隔で分割数の数だ
けの分割罫線を表示する(第8−2図42)。以上第6図
step3以降をP.Dのボタンが放されるまで繰り返す。オペ
レータは罫線間隔が適当になるまでP.Dのボタンを押し
ながらカーソルを移動する。これに応じて等間隔の複数
の罫線が、リアルタイムに表示される。P.Dのボタンを
放すことにより罫線間隔が決定されて、分割罫線のレコ
ードが登録される。 [連続罫引] 次、任意な位置に平行な罫線を連続して罫引する手段
について説明する。キーボード又はP.Dにより連続罫引
を指示することにより開始される。連続罫引の制御フロ
ーチヤートを第9−1図に示す。まずstep1において基
準線を決定する。これはP.Dにより既に引かれている罫
線上にカーソルを移動し、1クリツクするか、罫線を罫
引することによって決定される(第9−2図41)。次に
step2において基準線と平行な罫線を引きたい位置にカ
ーソル20を移動し、1クリツクするとstep4〜7に基準
線が縦罫線なら基準線のx座標を、横罫線ならy座標を
クリツク位置に最も近いグリツドの座標に置き変えたレ
コードを登録する(第10図)。以上step2以降、1クリ
ツクを繰り返すことにより、連続して平行線を引くこと
ができる。 [罫線消去] 罫線消去によるテキストデータの移動について説明す
る。 まず、第11図(a)は横罫線の消去に関する制御フロ
ーチヤートである。step1において消去される横罫線が
テキストを持っているかをチエツク(第4図横線レコー
ドのテーブルテキストoffsetが−1でないかどうか)し
持っていなければ(−1ならば)横罫線レコードを消去
する(step5)。もしテキストを持っていれば、step2で
その横罫線の上はセルかどうかをチエツクし、セルでな
ければstep4にてテキストデータを消去し、step5で罫線
データを消去する(第12−1図(b)のH3の消去のよう
な場合)。上がセルの時は(第12−1(a)のH1を消去
のような場合)罫線の消去によりセルC1とC2が合成され
るものと扱って、step3にてH1のテキストデータを上の
セルのテキストデータであるH2の保持するテキストデー
タに合成し、第12−1図(a)の左図ような結果を得
る。なお、本発明でいうテキストの合成は第4図のセル
の属性テーブルのalbp等によって合成先のセルの属性に
基づいて行われる。つまり第12−1図の(a)でセルC1
の属性の1つに「センタリング」があったとすると、H1
を消去することによりできるセルの属性も「センタリン
グ」となり、合成テキストの「ああいい」がセンタリン
グされる。これは他のテキストの合成でも同様である。 表組における文字列の再配列つまり、文字の合成につ
いて第12−2図から第12−3図を用いて説明する。第12
−2図は、第4図のテキストテーブルだけを示した図で
ある。まず(a)のようにある合成先テキスト(第12−
1図(a)の例ではH2の保持しているテキストレコー
ド)を第12−2図(b)のように抜き出し、抜いたテキ
ストレコード以降のテキストテーブルを(c)のように
前に詰める。この時、この詰められたテキストレコード
を保持する横罫線のテキストoffsetは、ずれるので横罫
線テーブルのレコードのテキストoffsetを順に調べ、合
成先テキストのオフセツトより大きいテキストoffsetを
持つ罫線レコードのテキストoffsetから合成先テキスト
のサイズ減ずることにより、全ての横罫線のテキストof
fsetは補正される。次に抜き出しておいた合成先テキス
トをテキストテーブルの最後尾に挿入し、合成先横罫線
レコードのテキストoffsetに挿入された位置を格納す
る。次に合成元テキストも同様に、合成先テキストの後
に移動し(c)のような状態にする。第12−3図(a)
がテキストテーブルの最後尾に移動された合成先、合成
元それぞれのテキストレコードである。次に合成元テキ
ストレコードのヘツダ部(第12−3図(a)の110)を
取り、それ以降を前に詰め、第12−3図(b)のように
し、合成先テキストレコードのtext countに合成元テ
キストレコードのtext countを加える。さらに合成元
横罫線レコードのテキストoffsetを−1にすることによ
り合成が完了する。 次に第11図の(b)は縦罫線を消去した時の制御フロ
ーチヤートである。step1において消去される縦罫線が
セルの左辺を構成する罫線かどうかを調べる。もしそう
でなければ、step4にて罫線レコードを消去して終る。
もし左辺を構成する罫線ならば(例えば第12−1図の
(b)のV1)そのセル(第12−1図(b)のC3)の左上
端横罫線H3がテキストを持っているかをチエツクする
(step2)。持っていかなければstep4へ、もし持ってい
れば、その縦罫線の左側がセルかどうかをチエツクする
(step3)。もしセルでなければstep4へ、セルならば
(例えば第12−1図(c)のV3を消去する場合)step4
にて右側のセルのテキストへ合成(H5のテキストをH4テ
キストへ合成)する。 [罫線移動] (横罫線移動) 横罫線の移動について説明する。第13図はその制御フ
ローチヤートである。まずstep1において移動される罫
線がテキストデータを持っているかどうか(第4図横罫
線レコードのテキストoffsetが−1でないかどうか)を
チエツクし、持っていなければ(−1ならば)、そのま
ま移動する。もしテキストを持っていればstep2におい
てその横罫線の上はセルかどうかをチエツクする。セル
でなければテキストデータも罫線と一緒に移動する(第
14図(c)のH9をH9′の位置に移動する。H9′はテキス
トを持っていたが、セルでなくなったのでテキストは表
示されない第14図(c)右図)。もし上がセルであれば
step3においてその罫線を移動した結果がセルを構成す
るかどうかをチエツクする。もし移動先もセルだったら
(第14図(b)のH8をH8′へ移動した時移動先はセル
9′である)テキストデータへ罫線と一緒に移動する。
もし移動先がセルでなかったら(第14図(a)H6をH6′
へ移動)、step4でその罫線のテキストデータは上のセ
ルのテキストデータへ合成される(H6のテキストをH7へ
合成)。なお、この合成については第12−2図、第12−
3図における説明と同様である。 (縦罫線移動) 次に縦罫線の移動について説明する。第15図はその制
御フローチヤートである。まずstep1において移動罫線
は、セルの左辺を構成するかをチエツクする。もしNoな
らばstep7にて罫線を移動して終る。Yesならstep2にお
いて、そのセルの左上端横罫線(第16図(c)のV5を移
動しようとした時のH15)はテキストを持っているかを
チエツクする。もしNoならばstep7へ、もし持っていれ
ばstep3にてその移動罫線の左側はセルかどうかをチエ
ツクする。セルでなければstep7へ(第16図(c)のV5
をV5′に移動、H15のテキストはセルでなくなるため表
示されなくなる。)、セルであればstep4に進み、移動
先がセルかどうか判定する。セルであればstep1に進
み、移動元のセルの左上端横罫線のテキストを移動先の
セルの左上端横罫線に合成する(第16図(b)のH13の
テキストをH13′のテキストに合成)。もしセルでなけ
れば(第16図(a)のV3をV3′へ移動)移動元のセルの
左上端横罫線(H11)のテキストを移動罫線の左側のセ
ル(C6)の左上端横罫線(H10)のテキストに合成する
(H10′の罫線のテキストとする)。 [セル消去] 次に消去したいセルに隣接するセルを壊すことなくセ
ル単位で罫線を消去する方法について説明する。まず、
キーボード又はP.Dによりセル消去を指示する。次に消
去したいセルが1つならばP.Dによりそのセルを1クリ
ツク(第17図(a))する、複数ならば第17図(b)に
示すようにP.Dのボタンを押し、押したままカーソルを
移動して範囲を指定し、ボタンを開放する。この場合P.
Dのボタンを押し下げた位置と、開放した位置の2点よ
りできる矩形(第17図点線で示す)に接するすべてのセ
ルがセル消去の対象となり、反転表示される。消去した
いセルが指示されたら、まず、第4図の罫線テーブル中
の横罫線レコードを順に第18図に示す制御フローチヤー
トのように処理する。まず、step1において、罫線の下
はセルかどうかを調べる。言い換えれば、この罫線はセ
ルの上辺を構成するかどうかを調べる。もしセルならば
step2においてそのセルが反転されているか(セル消去
の対象か)どうかを調べる。反転されていればstep3に
おいてその罫線の上がセルかどうか(セルの下辺を構成
するかどうか)を調べる。もしセルならばstep4におい
てそのセルは反転されているかどうかを調べる。もし反
転されていればstep5においてその罫線のテキストoffse
tの示すところのテキストレコードを消去し、その罫線
レコードを消去する、又、step4において上のセルが反
転されていなければ、step8にて次の罫線があればstep1
から繰り返す。次の罫線がなければ終了する、又、step
3においてセルでなければstep5においてテキストレコー
ドと罫線レコードが消去される。又、step1において罫
線の下がセルでなかったり、step2において下のセルが
反転されていない場合は、step6にて罫線の上がセルか
どうかを調べる。もし、セルでなければstep8にて、次
の罫線へ処理が移る。又、もし罫線の上がセルならば、
step7において、上のセルが反転されているかを調べ
る。反転されていれば罫線のテキストレコードを消去
し、反転されていなければ次の罫線へ処理が移る。 次に縦罫線に対しても同様の処理を行う。ただし縦罫
線の場合は、step1,step2において罫線の下を調べる所
を右側を調べ、step3,4,6,7において罫線の上を調べる
所を左側を調べることにより同様の処理を行うことがで
きる。又、縦罫線はテキストを持たないのでstep5にお
いてテキストレコードの消去は行われない。 以上を全ての横罫線、縦罫線に対して行うことによ
り、反転されているセル間の境界にある罫線と隣接する
セルのないセルの辺を構成する罫線全てを消去すること
ができ、消去されるセルに隣接するセルを損なうことな
く、セルを消去することができる。 以上説明したように本発明により以下のような効果が
ある。 複数の平行で等間隔な罫線を引く手段と任意な位置に
平行な罫線を連続して引く手段を具備することにより、
オペレータの思い通りに、少ない操作で素早く作表する
ことを実現した。 罫線の消去、移動時に、文字を入力する領域であるセ
ルの左下左右の関係を考慮して文字の合成先を決定する
ことにより、どの罫線にも属さない不要な文字データが
生じるのを防ぎ、文書フアイル領域の節約になった。 〔発明の効果〕 以上詳述したように、本発明によれば、簡単な操作で
所望の数の罫線を等間隔で引くことができる。 本発明によれば、簡単な操作でグリッド(寸法表示)
に応じた複数の罫線を引くことができる。
Description: TECHNICAL FIELD The present invention relates to a document processing apparatus capable of easily editing a table. [Prior Art] In a tabulation method in a conventional document processing apparatus, as a means for drawing a ruled line, (1) a start point and an end point of the ruled line are specified. (2) The number of lines to be ruled is specified, and the distance between the already drawn reference ruled line and the position specified separately is divided by the number of lines to be ruled to determine the position of the ruled line. The ruled line at the position is aligned with the grid (FIG. 2 (a), (b) 100) which is the closest lattice point. Such a method was taken. This will be described with reference to FIG. Reference numeral 15 in FIG. 2A indicates a reference line. The distance between the reference line and the cursor 20 (the difference in the y coordinate when the reference line is a horizontal ruled line, the difference in the X coordinate when the vertical line is a ruled line, and the difference in the y coordinate in this example) is the number of ruled lines. Divide by 5 to obtain the ruled line interval. When the positions of the five ruled lines are obtained at this interval, the dotted line 16 in FIG.
Align the positions of these ruled lines with the grid 100 most,
The result as shown in FIG. 2 (b) is obtained. However, although there are many tables that are generally used for documents and have the same line width, in the above-described division and crease method, a shift of up to one grid interval occurs as shown in FIG. 2 (b). It was difficult to draw equally spaced ruled lines. In addition, the operation is complicated because a ruled line that is parallel to one ruled line and has the same length is drawn each time to create one table. [Object] In view of the above points, an object of the present invention is to provide an image processing method capable of drawing a desired number of ruled lines at equal intervals by a simple operation. SUMMARY OF THE INVENTION It is an object of the present invention to provide an image processing method capable of drawing a plurality of ruled lines according to a grid (size display) with a simple operation. EXAMPLES Hereinafter, the present invention will be described in detail with reference to the drawings. In addition,
The document referred to in the present invention is a generic term including sentences (including tables), figures, images, and the like. Further, if the functions of the present invention are performed, a system in which processing is performed via a network such as a LAN, whether it is a single device or a system including a plurality of devices, may be used. Needless to say, the present invention is applied. Note that the document processing of the present invention originally has a basic idea of electronically performing processing in which a human draws with a pen or the like on a desk. In the specification, “draw a line”, “move”, etc. This is due to electronic processing. [System Block Diagram] FIG. 1 is a system block diagram of a document processing apparatus according to an embodiment of the present invention. 1 is a CRT unit used in a raster scan display system, 2 is a video RAM (VRAM) that stores display pattern information for one screen, and 3 is a display control that controls writing of pattern information to VRAM2 and reading to CRT1. Department. Reference numeral 4 denotes a microprocessor (MPU), which is the main control of this device. Reference numeral 5 denotes a main memory having an area for storing a control program and document data as shown in a flowchart described later. The MPU 4 is connected to a keyboard 8 for inputting character data and the like and a pointing device (hereinafter PD) 9 for specifying a position on the CRT and inputting and editing data such as graphics. Reference numeral 6 denotes a hard disk device in which a document file, a program as shown in a flowchart described later, and a character font are stored.
Reference numeral 10 denotes a printer for outputting a created document, and includes a duplex output unit and the like. Reference numeral 11 denotes an image scanner for reading image data such as images, and reference numeral 12 denotes a floppy disk device for storing document files and the like. These constituent blocks are connected by an I / O bus 7. [Document Editing Screen] The document editing apparatus having the above-described structure displays characters on the CRT 1 based on the typesetting rules, character arrangements and their printing formats, and is responsive using the keyboard 8 and P.D9. The document editing method can be applied to an arbitrary area on the screen or an area framed within the area. No. 3-1
The figure shows an example of a document editing screen, in which reference numeral 20 denotes a cursor operated by the PD, and reference numeral 21 denotes a paper window displaying a print format on the screen. As shown in Fig. 3-2, the characters 5
0, figure 51, image 52, and form 53 data can be input. Each of them has a priority order, and is displayed in the form of a form, an image, a figure, and a character in an overlapping manner. In addition, it is assumed that the following table set is equivalent to the above character. A reference numeral 22 in FIG. 3-1 is a user menu, in which a Kana-Kanji window for character input and a function selection function key are displayed. Reference numeral 23 denotes a status line on which a keyboard input mode, a message for an operator, and the like are displayed. Numeral 24 is a framed area on the paper (hereinafter referred to as a frame). In the frame, text (small group) or table data and graphic image data can be input. Is done. [Word Processor Editing] Next, each editing function will be described. Word processing editing
The user can input and edit characters in a sheet or a frame.
The input of characters is performed using functions such as Roman-Kana conversion and Kana-Kanji conversion. A format is assigned to each sheet. The sheet size, the position of the printing plate, which is an area for inputting and editing a document or the like on the sheet, the number of columns, the number of lines in the column, the character size of the text, the font (Mincho , Gossip, etc.), page numbers (page numbers), columns (headings on margins), and the like. The characters are displayed or printed according to this format. The editing function also performs partial character size and typeface changes, character modification of underline, emphasis point, ruby, superscript, subscript, etc., alignment of centering, right alignment, left alignment, uniform layout, etc. Furthermore, it has a function of intercropping replacement in which a character string is searched and replaced with another character string. It also has a floating frame editing function for moving, inputting, and deleting characters, moving along with the characters, opening a floating frame, changing the size, etc., and erasing. [Figure editing] Next, figure editing involves inputting figures such as straight lines, circles, rectangles, ellipses, etc. and editing the surface type, line type, moving, copying, erasing, transforming, rotating, enlarging, reducing, etc. It has functions such as a multiple layer structure that is composed of multiple layers of layers, can display and edit each layer independently, and can display multiple layers in a superimposed manner. [Image Editing] Image editing is for inputting images from Image Scanner,
It has a function of editing in units of dots for performing rotation, inversion, movement, copying, erasing of image data and editing in units of one dot, and a function of trimming for partially cutting out image data. [Fixed frame editing] Next, fixed frame editing differs from floating frames in that a frame is opened at a fixed position on the paper, and a frame that does not depend on the movement of characters is opened.
It has functions such as resizing, moving, and erasing. [Table Composing Processing] Next, table composing processing, which is the main feature of the present invention, will be described.
The table set can be edited for frames that do not contain small sets. The functions are broadly divided into two types: ruled line editing for drawing, moving, and deleting ruled lines, and character editing for inputting characters and modifying characters such as underline and ruby. The purpose of rule line editing is to draw a rule line to create a table, and to create a rectangular area surrounded by rule lines called cells. Characters can be entered in this cell. Character editing is
The purpose is to enter characters into cells created by ruled line editing. By using these two editing functions,
Good and complex tables can be created quickly and easily. [Table Data Table Layout] FIG. 4 is a view showing an example of a layout of a table data table which is a part of the document data on the hard disk, and includes a control table ruled line table, a text table, and cells (see FIG. 5-2). Such a frame) is composed of an attribute table. The control table is for managing the entire table data table. In stat, a number indicating a table data type is stored. measr stores control information for conversion from an internal storage coordinate unit to a CRT or printer coordinate unit. Next, offsets and counts of the oblique lines, horizontal lines, vertical lines, text, and cell attributes are stored. The offset is data indicating a diagonal line, a horizontal line, a vertical line of the ruled line table, and a starting address of a table area of the text data table and the cell attribute table. In addition, the count indicates the number of each record of the oblique line, the horizontal line, the vertical line, the text, and the attribute.
n2, vertical line record n3, text record n4,
There are n5 cell attribute records. These offset and coun
With t, the area of the ruled line table, text table, and attribute table can be grasped. [FIG. 4 Ruled Line Table] The ruled line table is a collection of information of oblique lines, horizontal lines, and vertical lines. POS (x, y) stores the start position of each line. The line style stores information indicating the line type of each line such as a solid line and a dashed line. The line width stores information on the thickness of each line. The flag stores the lock information of each ruled line. "round" stores information on rounding of intersections between horizontal and vertical lines. The length of each of the horizontal line record and the vertical line record stores information on the length of each line. The hatched w-length and h-length store information on the lengths in the horizontal and vertical directions, respectively. The text offset of the horizontal line record stores an offset indicating in which position in the text table the text data corresponding to the cell constituted by the horizontal line is stored. If there is no text, a value of -1 is stored. Each record in the ruled line table is sorted by the starting position information indicated by POS (x, y), where the oblique lines and horizontal lines are arranged in ascending order of x coordinate values, and the vertical lines are arranged in ascending order of y coordinate values. Note that this ruled line may be referred to as a fragment constituting a cell. [Figure 4 Text Table] The text table is composed of variable length text records. The attribute "offset" indicates where in the cell attribute table the attributes of the text, for example, the composition direction (vertical composition / horizontal composition), character size, character alignment such as left, right, centering, line spacing, character spacing, etc., are stored. Is an offset. The text count stores the number of characters of the text data. Text data is an array of character codes and text
It consists of count 2-byte codes. In flag, a flag such as a display state of a cell is set. There is one text record in each cell having a character or attribute, and there is always one attribute record for this text record.
However, the same attribute is assigned to texts having exactly the same attribute. [FIG. 4 Cell Attribute Table] The cell attribute table is composed of variable length cell attribute records. Attrsiz stores the number of bytes in the size of one cell attribute. In flg, a flag indicating whether the flag is used or not is stored. In the mesh, the intermediate pattern number of the cell is stored. kum-f stores a flag indicating whether vertical setting or horizontal setting, character spacing or character pitch designation, or line spacing or line pitch designation flag is stored. aldp is
Information of upper, lower, left, and right character alignment, rotation angle of rotation display, and display method (whiteout, overwriting, etc.) are stored. The font stores information of a character typeface (Mincho, Gothic, etc.). ps stores the size of the character. lnsp.c
In hsp, a value of line pitch or space, a value of character pitch or space is stored according to kum-f. lrmgn, udmgn stores left, right, top and bottom margin values. The operator uses division crease and continuous crease described later,
As will be described later, the rule can be drawn graphically as shown in FIG. 10, but internally the vertical and horizontal ruled lines are divided and stored at intersections as shown in FIG. 5-1. Since it is stored in this way, when drawing a table, it is done graphically and edited for each cell (such as deleting only the left side of one cell)
When it does, it becomes possible to do about each element. or,
The text data of each cell is held by a horizontal ruled line (a ruled line shown by a thick line in FIG. 5-2) at an upper left end among ruled lines constituting each cell (FIG. 5-2). [Divided Rule Drawing] A method of drawing a plurality of parallel ruled lines at equal intervals will be described with reference to FIGS. FIG. 6 shows the control flow chart. First, when a division rule is instructed by a keyboard or PD, a division number input window shown in FIG. 40 is displayed. In step 1 in FIG. 6, the number of parallel ruled lines (divided ruled lines) (division number) is input from the keyboard. FIG. 7 shows the case where the number of divisions is input as 10. In step 2, a reference line shown in FIG. 7 as a reference for the divided ruled line is determined. This is done by moving the cursor 20 with a PD on the ruled line that has already been drawn and pressing the PD button once (hereinafter, one click), or by creased the ruled line (at the starting point of the ruled line).
The reference line is determined by pressing the button on the PD, holding down and moving the cursor to the end point and releasing the button).
Next, in step 3, move the cursor to any position and
Button, the distance between the reference line and the position of the cursor (if the reference line is a horizontal ruled line, the difference in y-coordinate, if the reference line is a vertical ruled line, the difference in x-coordinate) is obtained, and this distance is divided by the number of divisions. The distance (FIG. 8-1 (a) L1) is obtained. In addition,
In FIG. 8-1, it is a horizontal ruled line. Next, the distance obtained in step 3 in step 4 is approximated to an integral multiple of the grid interval so that all the divided ruled lines are aligned with the grid 100. The approximation is Done by Since the division is performed with the fractional part truncated, the value to be obtained is obtained as an integral multiple of the grid interval (FIG. 8-1 (b) L2). Next, in step 5 of FIG. 6, as many divided rule lines as the number of divisions are displayed at the divided rule line intervals obtained in step 4 (FIG. 42). Fig. 6
Repeat the steps from step 3 until the PD button is released. The operator moves the cursor while pressing the PD button until the ruled line interval becomes appropriate. In response, a plurality of equally spaced ruled lines are displayed in real time. By releasing the PD button, the ruled line interval is determined, and the record of the divided ruled line is registered. [Continuous Crease] Next, a description will be given of a means for continuously crating parallel ruled lines at arbitrary positions. It is started by instructing continuous crease by keyboard or PD. FIG. 9-1 shows a control flow chart of the continuous crease. First, in step 1, a reference line is determined. This is determined by moving the cursor over the ruled line already drawn by the PD and clicking one or by ruled out the ruled line (FIG. 9-2, FIG. 41). next
In step 2, move the cursor 20 to the position where you want to draw a ruled line parallel to the reference line, and click one. In steps 4 to 7, the x-coordinate of the reference line if the reference line is a vertical ruled line, and the y coordinate if it is a horizontal ruled line, are closest to the clicked position. Register the record replaced with the grid coordinates (Fig. 10). By repeating one click after step 2, parallel lines can be drawn continuously. [Line Erase] Movement of text data due to line erase will be described. First, FIG. 11 (a) is a control flowchart relating to erasure of a horizontal ruled line. Check whether the horizontal ruled line deleted in step 1 has text (whether the table text offset of the horizontal line record in FIG. 4 is not -1) or not (if -1), delete the horizontal ruled line record (if -1). step5). If there is text, it is checked in step 2 whether the cell is above the horizontal ruled line. If it is not a cell, the text data is deleted in step 4 and the ruled line data is deleted in step 5 (FIG. 12-1 ( b) In case of erasing H3). When the upper part is a cell (in the case of erasing H1 in the 12-1 (a)), it is treated that the cells C1 and C2 are synthesized by erasing the ruled line. The result is combined with the text data held by H2, which is the text data of the cell, to obtain the result shown in the left diagram of FIG. 12A. The synthesis of the text in the present invention is performed based on the attribute of the cell to be synthesized by albp or the like in the attribute table of the cell in FIG. That is, the cell C1 in FIG.
Suppose one of the attributes is "centering", H1
Is also "centering", and the "ai" of the composite text is centered. This also applies to the synthesis of other texts. Rearrangement of character strings in a table set, that is, combination of characters will be described with reference to FIGS. 12-2 to 12-3. Twelfth
FIG. 2 shows only the text table of FIG. First, as shown in FIG.
In the example of FIG. 1 (a), the text record held by H2 is extracted as shown in FIG. 12-2 (b), and the text tables after the extracted text record are packed forward as in FIG. 1 (c). At this time, the text offset of the horizontal ruled line that holds the packed text record is shifted, so the text offset of the record in the horizontal ruled table is examined in order, and the text offset of the ruled line record having a text offset larger than the offset of the destination text is calculated. By reducing the size of the destination text, the text of all horizontal ruled lines
fset is corrected. Next, the extracted synthesis destination text is inserted at the end of the text table, and the inserted position is stored in the text offset of the horizontal ruled line record of the synthesis destination. Next, the synthesis source text is similarly moved after the synthesis destination text to a state as shown in FIG. Fig. 12-3 (a)
Are the text records of the synthesis destination and the synthesis source, respectively, that have been moved to the end of the text table. Next, the header portion (110 in FIG. 12-3 (a)) of the source text record is taken, and the subsequent portions are stuffed to the front, as shown in FIG. 12-3 (b). To the text count of the source text record. Further, the combining is completed by setting the text offset of the combining horizontal ruled line record to -1. Next, FIG. 11 (b) is a control flow chart when the vertical ruled line is deleted. It is checked whether the vertical ruled line erased in step 1 is a ruled line constituting the left side of the cell. If not, the ruled line record is deleted in step 4 and the processing ends.
If the ruled line constitutes the left side (for example, V1 in FIG. 12-1 (b)), check whether the upper left horizontal ruled line H3 of the cell (C3 in FIG. 12-1 (b)) has text. (Step2). If not, go to step 4; if so, check if the left side of the vertical ruled line is a cell (step 3). If it is not a cell, go to step 4; if it is a cell (for example, when erasing V3 in FIG. 12-1 (c)), step 4
Combine with the text of the cell on the right side (combine the text of H5 with the text of H4). [Move Ruled Line] (Move Horizontal Rule) Movement of a horizontal ruled line will be described. FIG. 13 shows the control flow chart. First, in step 1, it is checked whether the ruled line to be moved has text data (whether the text offset of the horizontal ruled record in FIG. 4 is not -1), and if it is not (if -1), it is moved as it is. . If there is text, check in step 2 whether the cell is above the horizontal ruled line. If it is not a cell, the text data moves with the ruled line (No.
14H9 in FIG. 14C is moved to the position of H9 '. H9 'had text, but the text is not displayed because it is no longer a cell (Fig. 14 (c), right). If the top is a cell
In step 3, it is checked whether the result of moving the ruled line forms a cell. If the destination is a cell (when H8 in FIG. 14 (b) is moved to H8 ', the destination is cell 9'), the text data is moved together with the ruled line.
If the destination is not a cell (Fig. 14 (a) H6 is replaced by H6 '
), And in step 4, the text data of the ruled line is synthesized with the text data of the upper cell (text of H6 is synthesized with H7). This synthesis is shown in FIGS. 12-2 and 12-
This is the same as the description in FIG. (Vertical Ruled Line Movement) Next, the movement of the vertical ruled line will be described. FIG. 15 shows the control flow chart. First, in step 1, it is checked whether the moving ruled line forms the left side of the cell. If No, move the ruled line in step 7 and end. If Yes, in step 2, it is checked whether or not the upper left horizontal ruled line (H15 when moving V5 in FIG. 16 (c)) has text. If No, go to step 7 and if you have one, check in step 3 if the left side of the moving rule is a cell. If it is not a cell, go to step 7 (V5 in FIG. 16 (c)).
Is moved to V5 ', and the text of H15 is no longer displayed because it is no longer a cell. ), If it is a cell, proceed to step 4 and determine whether the destination is a cell. If it is a cell, proceed to step 1 and combine the text of the upper left horizontal ruled line of the source cell with the upper left horizontal ruled line of the destination cell (combine the text of H13 in FIG. 16 (b) with the text of H13 ') ). If it is not a cell (V3 in FIG. 16 (a) is moved to V3 '), the text of the upper left horizontal ruled line (H11) of the source cell is moved. Combine with the text of H10) (the text is the ruled line of H10 '). [Cell Erase] Next, a method of erasing a ruled line in cell units without destroying a cell adjacent to a cell to be erased will be described. First,
Instruct cell erasure by keyboard or PD. Next, if there is only one cell to be erased, click on the cell by PD (Fig. 17 (a)). If there are multiple cells, press the PD button as shown in Fig. 17 (b). Move to specify the range and release the button. In this case P.
All cells that are in contact with a rectangle (shown by the dotted line in FIG. 17) formed by the two positions, the position where the button D is pressed down and the position where the button D is released, are subjected to cell erasure and are highlighted. When a cell to be erased is designated, first, the horizontal ruled line records in the ruled line table of FIG. 4 are sequentially processed as shown in the control flowchart of FIG. First, in step 1, it is checked whether or not a cell is below the ruled line. In other words, it is checked whether this ruled line forms the upper side of the cell. If a cell
In step 2, it is checked whether the cell is inverted (is to be erased). If it is inverted, it is checked in step 3 whether the upper part of the ruled line is a cell (whether it constitutes the lower side of the cell). If it is a cell, it is checked in step 4 if the cell is inverted. If it is reversed, the text of that ruled line is offse in step 5.
The text record indicated by t is deleted, and the ruled line record is deleted. If the upper cell is not inverted in step 4, if the next ruled line is present in step 8, step 1
Repeat from If there is no next ruled line, the process ends.
If it is not a cell in 3, the text record and the ruled line record are deleted in step 5. If no cell is below the ruled line in step 1 or if the cell below is not inverted in step 2, it is checked in step 6 whether the cell is above the ruled line. If it is not a cell, the process moves to the next ruled line in step 8. Also, if the cell above the ruled line,
In step 7, it is checked whether the upper cell is inverted. If it is inverted, the text record of the ruled line is deleted, and if it is not inverted, the processing moves to the next ruled line. Next, the same processing is performed on the vertical ruled line. However, in the case of a vertical ruled line, a similar process can be performed by checking the right side of the portion under the ruled line in step 1 and step 2 and examining the left side of the portion above the ruled line in steps 3, 4, 6, and 7. . Further, since the vertical ruled line has no text, the erasure of the text record is not performed in step 5. By performing the above for all the horizontal ruled lines and the vertical ruled lines, it is possible to delete all ruled lines forming the side of the cell having no cell adjacent thereto and the ruled line at the boundary between the inverted cells. Cell can be erased without damaging cells adjacent to the cell. As described above, the present invention has the following effects. By providing a plurality of parallel and equally spaced ruled means and a means for continuously drawing parallel ruled lines at arbitrary positions,
Realized quick creation with few operations as desired by the operator. When erasing or moving the ruled line, by determining the combination destination of the character in consideration of the lower left and right sides of the cell where the character is input, the unnecessary character data that does not belong to any ruled line is prevented, Saved document file space. [Effects of the Invention] As described above in detail, according to the present invention, a desired number of ruled lines can be drawn at equal intervals by a simple operation. According to the present invention, the grid (size display) can be performed by a simple operation.
A plurality of ruled lines can be drawn according to.

【図面の簡単な説明 第1図は本発明適用の装置のシステムブロツク図、 第2図は従来技術の説明図、 第3−1図は文書編集画面の説明図、 第3−2図は文字,図形,イメージ,フオームのデータ
の説明図、 第4図は表組データテーブルの説明図、 第5−1図は罫線の交点の様子を示す図、 第5−2図はセル中のテキストデータの保持の仕方の説
明図、 第6図は分割罫引の制御フローチヤート、 第7図は分割罫引を行う場合の表示画面の説明図、 第8−1図は分割罫引の演算の説明図、 第8−2図は分割罫引を行った結果の表示例を示す図、 第9−1図は連続罫引の制御フローチヤート 第9−2図は連続罫引を行う場合の表示画面の説明図、 第10図は連続罫引を行う過程の説明図、 第11図は罫線消去の制御フローチャート、 第12−1図は罫線消去の表示例を示す図、 第12−2図は表組における文字の再配列の説明図、 第12−3図はテキストテーブルの説明図、 第13図は罫線移動の制御フローチヤート、 第14図は横罫線の移動の説明図、 第15図は縦罫線移動の制御フローチヤート、 第16図は縦罫線移動の説明図、 第17図はセル消去の説明図、 第18図はセル消去の制御フローチヤート。 4……MPU 3……表示制御部 5……主メモリ
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a system block diagram of an apparatus to which the present invention is applied, FIG. 2 is an explanatory diagram of a prior art, FIG. 3-1 is an explanatory diagram of a document editing screen, and FIG. FIG. 4 is an explanatory diagram of a table data table, FIG. 5-1 is a diagram showing an intersection of ruled lines, and FIG. 5-2 is text data in a cell. FIG. 6 is a control flow chart for dividing and scoring, FIG. 7 is an explanatory view of a display screen when performing dividing and scoring, and FIG. Fig. 8-2 is a diagram showing a display example of the result of divisional creases. Fig. 9-1 is a control flow chart of continuous creases. Fig. 9-2 is a display screen for continuous creases. , FIG. 10 is an explanatory diagram of a process of performing continuous crease, FIG. 11 is a control flowchart of ruled line erasing, FIG. FIG. 12-2 is a diagram showing a display example of ruled line erasure, FIG. 12-2 is a diagram for explaining the rearrangement of characters in a table set, FIG. 12-3 is a diagram for explaining a text table, FIG. 13 is a control flow chart for ruled line movement; Fig. 14 is an explanatory diagram of horizontal ruled line movement, Fig. 15 is a control flow chart of vertical ruled line movement, Fig. 16 is an explanatory diagram of vertical ruled line movement, Fig. 17 is an explanatory diagram of cell erasing, Fig. 18 is a cell erasing Control flow chart. 4 MPU 3 Display control unit 5 Main memory

Claims (1)

(57)【特許請求の範囲】 1.線分の数を入力する入力工程と、 表示画面上で位置を指示する位置指示工程と、 前記入力工程により入力される数と前記位置指示工程に
より指示される位置に基づいて複数の線分間の間隔を決
定する間隔決定工程と、 前記間隔決定工程により決定された間隔に基づいて、複
数の線分を表示画面上に表示するよう制御する制御工程
と、 を有することを特徴とする画像処理方法。 2.表示画面上に任意の間隔のグリッドを表示するグリ
ッド表示工程と、 前記間隔決定工程は前記表示されたグリッドに対応して
線分を表示できるよう、前記間隔を決定することを特徴
とする特許請求の範囲第1項に記載の画像処理方法。
(57) [Claims] An input step of inputting the number of line segments; a position indicating step of specifying a position on a display screen; and a plurality of line segments based on the number input in the input step and the position specified in the position indicating step. An image processing method comprising: an interval determining step of determining an interval; and a controlling step of controlling to display a plurality of line segments on a display screen based on the interval determined in the interval determining step. . 2. A grid display step of displaying a grid at an arbitrary interval on a display screen, and the interval determining step determines the interval so that a line segment can be displayed corresponding to the displayed grid. 2. The image processing method according to item 1.
JP62289145A 1987-11-16 1987-11-16 Image processing method Expired - Fee Related JP2810368B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP62289145A JP2810368B2 (en) 1987-11-16 1987-11-16 Image processing method
DE3838729A DE3838729C2 (en) 1987-11-16 1988-11-15 Document processing device
US07/948,621 US5867159A (en) 1987-11-16 1992-09-22 Document processing apparatus for displaying a plurality of ruled lines at regular intervals

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62289145A JP2810368B2 (en) 1987-11-16 1987-11-16 Image processing method

Publications (2)

Publication Number Publication Date
JPH01130264A JPH01130264A (en) 1989-05-23
JP2810368B2 true JP2810368B2 (en) 1998-10-15

Family

ID=17739338

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62289145A Expired - Fee Related JP2810368B2 (en) 1987-11-16 1987-11-16 Image processing method

Country Status (1)

Country Link
JP (1) JP2810368B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2833203B2 (en) * 1990-11-27 1998-12-09 富士ゼロックス株式会社 Table creation processing device
JP6136584B2 (en) * 2013-05-30 2017-05-31 沖電気工業株式会社 Display control apparatus, display control method, and program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60183682A (en) * 1984-03-02 1985-09-19 Sanyo Electric Co Ltd Generating system of summary table frame in document generator
JPS62251980A (en) * 1986-04-25 1987-11-02 Hitachi Ltd Grid display system

Also Published As

Publication number Publication date
JPH01130264A (en) 1989-05-23

Similar Documents

Publication Publication Date Title
US7800776B2 (en) Methods and apparatus for mixed page imposition
US5867159A (en) Document processing apparatus for displaying a plurality of ruled lines at regular intervals
JP2810368B2 (en) Image processing method
JP2962720B2 (en) Image processing method
JP2547797B2 (en) Document processing method
JP2547799B2 (en) Document processing method
JP3487917B2 (en) Electronic file device
JP2547798B2 (en) Document processing method
JP4275808B2 (en) Character assignment processing device
JP3062259B2 (en) Document processing apparatus and method
JPH0675952A (en) Document preparing device
JPH03156668A (en) Document preparing device
JP3109804B2 (en) Formula processing apparatus and method
JP3026617B2 (en) Document processing apparatus and method
JP6540546B2 (en) Information processing apparatus and program
JPH087012A (en) Method and device for editing output mode of data
JP4466780B2 (en) Method and apparatus for mixed processing of character string and ruled line
JPS62168275A (en) Processing system for picture editing
JPH0750477B2 (en) Information processing equipment
JPH03137764A (en) Document processor
JPH04664A (en) Document preparing device
JPH0511947A (en) Printing position setting device
JPH08293033A (en) Information processor
JPH0827698B2 (en) Document processing device
JPS62254264A (en) Slip designing system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees