JPH04127266A - Document processor - Google Patents

Document processor

Info

Publication number
JPH04127266A
JPH04127266A JP2247382A JP24738290A JPH04127266A JP H04127266 A JPH04127266 A JP H04127266A JP 2247382 A JP2247382 A JP 2247382A JP 24738290 A JP24738290 A JP 24738290A JP H04127266 A JPH04127266 A JP H04127266A
Authority
JP
Japan
Prior art keywords
frame
frames
page
character
information
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
Application number
JP2247382A
Other languages
Japanese (ja)
Other versions
JP3100614B2 (en
Inventor
Eiji Saoyama
佐尾山 英二
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.)
JustSystems Corp
Original Assignee
JustSystems Corp
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 JustSystems Corp filed Critical JustSystems Corp
Priority to JP02247382A priority Critical patent/JP3100614B2/en
Publication of JPH04127266A publication Critical patent/JPH04127266A/en
Application granted granted Critical
Publication of JP3100614B2 publication Critical patent/JP3100614B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To prepare and edit a document by relating each frame to each other by providing a link means to link desired frame logically, and a control means to manage and control a character string developed in each linked frame or to be developed as a series of character strings. CONSTITUTION:The document is prepared by setting plural frames in each page, and developing the character string inputted from a keyboard, however, when an operator sets the frame, an area 32 for a frame header, a character code area 33, and a character attribute area 34 are secured in a RAM 3. The frame header area 32 is comprised of areas storing a frame number, link information, the size of the frame, the coordinate position of the frame, the number of characters in the frame, and the attribute information of the character, and the frames can be linked (coupled) by the link information. Therefore, it is possible to insert document information to the linked frame according to an insertion order, or to affect the following shift movement of the character on each linked frame by inserting/deleting the character, etc. Thereby, the preparation/edit of the document can be performed by relating each frame to each other.

Description

【発明の詳細な説明】[Detailed description of the invention]

【産業上の利用分野】 本発明は文書処理装置、詳しくは文書の作成及び編集を
行う文書処理装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document processing device, and more particularly to a document processing device for creating and editing documents.

【従来の技術】[Conventional technology]

近年では、コンピュータ等を利用したデスクトップパブ
リッシング(所謂、DTP)が望まれている。 通常、この種のシステムにおいて、文書を作成する場合
、文書を展開する1つ1つの枠内に、キーボード等より
入力された文字を展開していくという操作を行う。
In recent years, desktop publishing (so-called DTP) using computers and the like has been desired. Normally, when creating a document in this type of system, an operation is performed in which characters input from a keyboard or the like are expanded into each frame in which the document is expanded.

【発明が解決しようとする課題】[Problem to be solved by the invention]

しかしながら、こうした操作を行う場合、オペレータは
どのような順に文書を組み立てていくかを常に念頭に入
れながら文書入力を行なわねばならず、オペレータにか
かる負担は大きなものがあった。 本発明はかかる従来技術に鑑みなされたものであり、各
枠を関係付けて文書作成・編集を行える文書処理装置を
提供しようとするものである。 また、本発明の更なる目的は、オペレータが関連付けた
個々の枠に任意の枠内の情報を反映させることを可能に
する文書処理装置を提供しようとするものである。
However, when performing such operations, the operator must input documents while always keeping in mind the order in which the documents should be assembled, which places a heavy burden on the operator. The present invention has been made in view of such prior art, and it is an object of the present invention to provide a document processing device that can create and edit documents by associating each frame with each other. A further object of the present invention is to provide a document processing device that allows information in any frame to be reflected in individual frames associated by an operator.

【課題を解決するための手段】[Means to solve the problem]

この課題を解決するため本第1の発明の文書処理装置は
以下に示す構成を備える。すなわち、ページ内に設定さ
れた少なくとも1つの枠中に文字列を展開表示していっ
て文書の作成及び編集を行う文書処理装置であって、所
望とする枠同志を論理的に連結する連結手段と、該連結
手段で連結された各粋に展開された或いは展開する文字
列を一続きの文字列として管理制御する制御手段とを備
える。
In order to solve this problem, the document processing device of the first invention has the configuration shown below. That is, a document processing device that creates and edits a document by expanding and displaying a character string in at least one frame set in a page, and a connecting means that logically connects desired frames. and a control means for managing and controlling each of the character strings connected by the connecting means and each effectively expanded or expanded as a continuous character string.

【作用】[Effect]

かかる本発明の構成において、連結手段で連結状態にさ
れた各枠内の文字列を制御手段が管理制御する。
In this configuration of the present invention, the control means manages and controls the character strings in each frame that are connected by the connection means.

【実施例】【Example】

以下、添付図面に従って本発明に係る実施例を詳細に説
明する。 〈システム構成の説明〉 第1図は実施例における文書処理システムのブロック構
成図である。 図中、1は本システム全体を制御するCPUであり、2
は本装置に電源投入時点におけるブートプログラムを記
憶したROM、3は後述する外部記憶装置から読み込ん
だプログラム (後述する第7図のフローチャートに係るプログラムな
ど)や、編集中の文書情報を記憶したり、CPUIのワ
ークエリアとして使用されるRAMである。4は文字パ
ターンを生成するために座標形式のデータを記憶してい
るフォントメモリ(所謂アウトラインフォントを記憶し
ている)、5は表示画面に表示するイメージを展開する
VRAM、6はそのVRAM5に展開された画像を表示
するCRTデイスプレィである。7はフロッピーディス
ク装置やハードディスク装置で代表される磁気記憶装置
であり、本装置における文書処理に係る各種プログラム
(RAM3にロードされる)や、文書情報等を記憶して
いる。8は文書を構成する文字或いは本システムに所定
の指示を与えるためのキーボード、9はCRTデイスプ
レィ6に表示画面上に表示されたグラフィックカーソル
の移動等を制御するためのマウスである。10は実際に
印刷処理する段階になったとき、記録紙1ペ一ジ分のイ
メージを展開可能な画像メモリ、11は画像メモリ10
に展開されたイメージに基づいて記録媒体上に可視画像
を形成するプリンタである。尚、実施例におけるプリン
タ11はレーザビームプリンタとして説明する。 通常、CRTデイスプレィ装置は、編集内容が確認でき
さえすれば良いので、その解像度はレーザビームプリン
タ等の高品位プリンタと比較して低いものを採用してい
る。印刷処理を行うときには、印刷対象の文書情報に従
いプリンタの解像度に合せた文字パターン等を、フォン
トメモリ4より読み出したデータに従って発生させ、そ
れを画像メモリ10に展開し、印刷する。 く枠の説明〉 第2図は実施例における文書の展開領域となる枠のレイ
アウト−例を示している。 図中、20は記録紙を表わし、21〜23は各文字列(
文書)を展開するための枠である。枠の大きさ及び設定
はマウス9を操作することで行う。具体的には、マウス
9を操作することで、表示画面に表示された記録紙を自
由にスクロールさせ、その中で任意の2つ点位置にグラ
フィックカーソルを移動させ、マウス9に設けられたボ
タンを押下(以下、クリックという)する、その2点を
矩形(=枠)の対角線の両端点としてとらえるわけであ
る。 この後、適当な枠を1つマウス等より指定し、その中に
キーボード8より入力された文字列(以下、実施例では
1文字も含まれる)を展開していって文書を作成してい
く、尚、文書等を入力した後でも、枠のレイアウトや大
きさは自由に変更可能である。 上述した構成において、各ページ内に複数の枠を設定し
、その中にキーボード8より入力した文字列を展開して
文書を作成してい(が、この際、RAM3には第3図に
示すようなデータが構築される。 図示で、31−1.2・・・nは各ページの情報(以下
、ページ情報という)を示している。先頭ページのペー
ジ情報31−1を見るとわかるが、実施例においては、
1つの枠内に対するデータは、枠ヘツダエリア32、文
字コードエリア33そして文字属性エリア34の3つ情
報から構成されている。 以下、各エリアを説明する。 枠ヘツダエリア32は、その枠に対しての編集に必要な
データが格納されている。実施例においては、この枠ヘ
ツダエリアは、第4図に示す如く、枠番号、リンク情報
、枠の大きさ(縦横の長さ)、枠の配録紙に対する座標
位置、枠内の文字数、そして、その属性情報を格納する
エリアから構成されている。 枠番号とは注目枠を他の枠と区別するための番号であり
、同じ枠番号はない。これは、例えば、オペレータが枠
を新規に1つ設定するたびに、1つづつインクリメント
させれば良い。 リンク情報についての詳細は後述するが、これは、注目
枠に対して論理的に前後する枠を特定する情報である。 すなわち、注目している枠がどの枠に続くものであるの
か(以下、この枠を前枠という)、及び注目枠の後にど
の枠が続くのか(以下、この枠を後枠という)を示すそ
れぞれの枠番号が記憶されている。また、前枠或いは後
枠が存在しない場合には、存在し得ない番号(例えば、
“0”等)を記憶させておく。因に、両方とも“O”の
場合には、注目枠は孤立した枠ということになる。 また、大きさ、座標位置、文字数については上述した通
りである。 最後に、枠ヘツダの属性情報であるが、枠の種類(文字
、図形、イメージ等)、その枠内の文書が縦書きか横書
きか等の文書の組み方情報、文字サイズ情報(ポイント
数)、文字の縦横の倍率情報、欧文か漢字混じり文字か
の書体情報(漢字であれば明朝体やゴシック体、欧文文
字であればフーリエ、へりベテイ力、タイムズ等)、行
間の距離情報、文字間距離情報、斜体文字の角度情報、
禁則処理の有無の情報、枠内の情報が文字か画像かを示
す情報等から構成されている。この枠ヘツダの属性であ
るが、オペレータが積極的にそれら各情報を変更する旨
の指示を与えない限りは、そのデフォルト値が設定され
るようになっている。向、枠内の情報がイメージの場合
(イメージスキャナより読み込む)、図示の文字コード
エリア内に、イメージデータが格納される。 また、説明が前後するが、オペレータが枠を設定したと
きには、先ず、その枠ヘツダに対するエリア、文字コー
ドエリア、文字属性エリアそれぞれがRAMB内に確保
される。 次に、第3図における文字コードエリアであるが、この
エリアには、該当する枠内に展開された文書を構成する
個々の文字コードが格納される。 但し、注目枠内の情報がイメージである場合には、当然
のことながら文字属性エリア34は生成しない。 また、文字属性エリアには、対応する文字コードエリア
内の個々の文字に対する属性情報が格納される。個々の
文字に対しての属性情報には種々の情報があるが、その
一部を挙げると、文字サイズ情報、文字種(書体の種類
)、飾り情報(文字飾りの色、下線の有無、上線の有無
、網掛けの有無及びその網掛はパターンの種類、文字列
を囲む囲み罫線の有無等)、字形情報、文字色、文字の
縦方向の位置、文字間、表示パターンを反転させるか否
かの情報等である。このうち、字形情報は、表になる文
字と影になる文字の2つの種類がある。表文字に対して
は横倍(50〜200%の範囲)、縦倍(50〜200
%の範囲)、縁取りの有無、斜体の角度、斜体の方向、
回転方向(0〜360度の範囲)、塗り潰しパターンの
種類を設定する情報がある。影文字に対しても、表文字
とほぼ同じパラメータを設定する情報が確保されている
。 尚、枠ヘツダエリアの属性及び個々の文字の文字属性が
対立する場合は、文字属性が優先される。 く枠リンクの説明〉 先に説明したように、実施例における枠ヘツダ情報32
に中にはリンク情報(第4図参照)が確保されていて、
枠同士をリンク(結合)させることが可能である。これ
によって、文書情報等を、連結した枠内にその順序に従
って流し込んだり、文字列の挿入・削除等でそれ以降の
文字のシフト移動も各連結された枠に反映させることが
可能となる。 枠同士をリンクする操作は極めて簡単で、先ず、リンク
処理を行う旨の指示(例えばメニューから選択)し、第
5図(A)に示すように、注目ページの外枠とそのペー
ジ内に存在する各粋の輪郭(枠内の情報は非表示)を表
示させる。 図示の場合、注目ページ内には4つの枠A。 B、C,Dが存在することを示している。枠Aの後に枠
Bをリンクさせようとする場合、オペレータはマウス9
を操作することで、グラフィックカーソル80を枠A内
に移動させ、クリックする(前枠を選択する)、この後
、グラフィックカーソル80を枠B内に移動させ、終点
となる枠B(後枠)を選択する。この操作の過程で、指
定した始点(自動的に枠Aの中央が始点となる)とグラ
フィックカーソル80の差し示す点(動点)の間は矢印
を伴った直線が表示され続けるので、オペレータは自身
の操作内容を確認できる。この後、同様の操作を枠Bを
前枠、枠Cを後枠として指定することで、図示に示す如
(矢印を伴った直線で8枠がどのように連結されたかが
確認できる。 上述した例は、ページ内における8粋の連結であるが、
ページ間にまたがって設定することも可能である。この
場合、リンク処理を行う旨の指示を行うとき、その旨の
指示を入力することで行なう。この指示を受けると、表
示画面には注目ページを含む前後する複数ページ及び各
々ページ内の枠を例えば第5図(B)の如く表示する。 枠をリンクさせる操作は先に説明した通りである。図示
の場合は、枠A、C,D、F、H,Iがその順にリンク
されていることを示している。尚、既に枠リンクがなさ
れていている場合で本処理を指定したときには、どのよ
うにリンクされているかを確認可能とするため、その内
容(矢印付き線分)を表示する。また、特定の線分1例
えば第5図(B)における枠り、F間の線分をキャンセ
ルして、その間に枠Eを挿入させて枠り、E、Fの順に
リンクさせることも可能になっている。 いずれにせよ、リンク処理が指定された場合、cpui
はマウス9をクリックしたときのグラフィックカーソル
の座標位置に基づいて、前枠及び後枠を探し出し、各々
の枠のヘッダ情報中のリンク情報を書き換える。8粋の
ヘッダ情報中のリンク情報の詳細を第6図に示す。図示
において、前枠番号”の欄には論理的に前に位置する枠
の枠番号が格納され、“後枠番号”の欄には注目枠の後
にリンクされた枠の枠番号が格納される。“リンクモー
ド”については後述する。 例えば第5図(A)における枠Aを注目した場合、この
枠ヘツダ情報中のリンク情報における“前枠番号”には
”0” (”、゛先行する枠がない)、“後枠番号”に
は枠Bの枠番号が書込まれていることになる。 リンク処理は第7図に示すフローチャートに従って進め
られる。 先ず、ステップS21においてマウス9上のボタンがク
リックされたときのグラフィックカーソルの座標位置を
取り込む。次に、ステップS22において、得られたグ
ラフィックカーソルがどの枠を差し示したものであるか
を判断する。これは、グラフィックカーソルの座標位置
と、その時点での表示状態(複数ページを表示させたの
か或いは1ページのみを表示させたのか等)と8粋のヘ
ッダ情報32中の座標位置及び大きさ情報に基づいて判
断できる。この後、ステップS23に進み、先のステッ
プS24と同様に、マウス9がクリックされたときのグ
ラフィックカーソルの座標位置を取り込み、ステップS
24でそのグラフィックカーソルがどの枠を差し示した
ものであるかを判断する。こうして、始点となる枠と終
点と枠が特定されると、処理はステップS25に進み、
各々の枠のヘッダ情報中のリンク情報中の対応する部分
を相手の枠番号で書き換える。この後、ステップS26
に進み、一連のリンク操作の終了の指示がなされたと判
断するまで、上述した処理を繰り返す。 ところで、実施例における枠リンクの種類には、”文字
のリンク”と“枠透過リンク”がある。 i)文字のリンク 文字のリンクは更に2つの完全リンクと独立リンクに分
けられる。 完全リンクとは、リンクされた8粋の体裁が先頭の枠の
属性に統一されるモードであり、例えば先頭の枠内の文
字の大きさを変更した場合、その変更内容がリンクされ
た全ての枠にそのまま反映するものである。また、独立
リンクとは、完全リンクの逆で、リンクされた8枠が各
々独自の属性に従って出力形態を決定するものであり、
例えば各枠毎に別々の大きさの文字になるように設定す
ることが可能となる。つまり、例えば枠Aに文字列を挿
入することでその枠からあふれた文字は、今度はそれに
連結する枠Bの先頭位置に取り込まれるが、このとき独
立リンクが設定してあればその文字が枠B特有の属性に
よって表示される。 ii)枠透過リンク 枠透過リンクとは先頭の枠内のデータがそのまま後に続
く枠に透過されるモードである。例えば、第8図に示す
如く枠100,101,102の順にリンクされている
場合、枠100に文字列゛あい”と記入すると、それが
そのまま枠101.102にも反映されるものである。 当然ながら、この枠透過リンクは同一ページのみならず
、別ページ内の任意の枠に透過させることも可能になっ
ている。 このように、枠リンクした場合、注目枠がどのようなモ
ードでリンクされているのか区別できるようにしなけれ
ばならない。そこで、実施例では第6図に示した如く、
リンク情報中の°°リンツクード”を格納する欄を設け
た。この欄には、上述したように完全リンク、独立リン
ク、枠透過リンクの識別コードが記憶される。尚、注目
枠が枠透過リンクであり、且つ、そのリンク情報中の“
前枠番号”の内容が“O”以外の場合(つまり、注目枠
に対して前枠が存在する場合)、注目枠に対する枠情報
としてはヘッダ情報エリア32のみであって、文字コー
ドエリア331文字属性エリア34は不要になる。また
、枠透過リンクの場合には、透過する対象は文字ばかり
でなく、イメージであっても良いことは上述した説明か
ら容易に推察できよう。各モードの設定は、枠リンクが
完了した後、表示画面に表示された選択メニューの中か
ら1つを選択することで行なわれるものとし、ここでの
処理手順の説明は割愛する。また、オペレータの指示に
より成る頁を表示しようとしたとき、そのページ中に完
全リンク或いは枠透過リンクに設定された枠が存在する
と判断した場合、そのリンクされた一連の枠群の先頭枠
を探す処理が必要になってくる。そこで、各枠毎のリン
ク情報にその元になる枠番号を記憶させるエリアを新た
に設け、探し出す処理を不要にして処理の高速化を図っ
ても良い。但し、完全リンクの場合、リンクの先頭に位
置する枠の属性をオペレータが変更したとき、それに続
く各粋のヘッダ属性も自動的に変更するようにすれば、
これは不要になる。 通常の文書処理装置は注目ページに対して文字列の挿入
或いは削除を行うと、それ以降の文字列を詰めたり、繰
り下げたり行なう。本実施例では各連結された枠に対し
ても同様の処理を行なうのとし、ここではその詳述はし
ない。但し、独立リンクが指定された場合、各粋の表示
形式は各々の枠の属性に依存するように制御する。 また、実施例においては、予め磁気記憶装置7内に記憶
させておいた文章(以下、テキストデータという)を、
オペレータの指定した枠に読み込むことを可能にしてい
る。この場合のオペレータの操作は、所望の枠をマウス
9より指定し、次いでテキスト読み込みの指示を行なう
ことで達成している。複数個のテキストが磁気記憶装置
7に存在することが考えられるから、当然その一覧を表
示し、その1つを指定することで読み込み対象を特定す
る。 第9図のフローチャートはこのときのCPU 1の動作
処理内容を示している。 先ず、ステップS31で、オペレータはこれから読み込
もうとしているテキスト情報の展開対象の枠を指定する
。次いで、ステップS32に進み、オペレータの指定し
たテキスト情報をRAM3内の枠工リア(図示せず)に
読み込む。読み込まれたテキストデータは、その先頭文
字から順に、今注目している枠(初期状態ではステップ
S31で指定さした枠)の文字コードエリア33に格納
する。以下、ステップS34.S35で注目枠の大きさ
等からそこに見える範囲内でテキストが一杯になった、
或いは全てのテキストデータの格納が済んだと判断する
までループする。 読み込んだテキストデータが少量で、注目枠内に全ての
文字が見える状態で文字コードエリア33に展開された
と判断した場合、処理はステップS35からステップS
36に進み、実際の枠内情報の表示を行なう。 また、注目枠内に見える範囲でテキストデータが一杯に
なったと判断した場合、処理はステップS34からステ
ップS37に進む、ここでは、注目枠のリンク情報を調
べることで後続する枠(後枠)が存在するかを判断する
。後枠がないと判断した場合には、残ったテキストデー
タを注目枠に格納させ、ステップ336で表示処理を行
なう。 但し、この場合、注目枠にはテキストの一部が表示され
ることになる(枠の大きさを変更することで表示される
テキスト量を変えることは可能)。 また、後枠が存在する場合には、ステップS38に進み
、注目枠を後枠に移し、ステップS33以下の処理を繰
り返す。 また、実施例では、読み込み対象の文章によっては、そ
の文章中の「ここの文字列は同一枠内に表示させたい」
或いは「この文字列のみを1つの枠内に表示させたい」
という要求を満足する。 これを実現するため、特定の区切りコードをその読み込
み対象の文章中に予め挿入させておく。 CPtJは、その区切りコードを検出する度に、注目枠
を更新する処理を行うことで達成されるので、ここでの
詳述は省略する。 以上の処理によって、別途作成した文章を本装置内に取
り込むことが可能となる。 以上説明したように本実施例の枠リンク処理によれば、
連続した文章を複雑な流れ方で組むことが簡単にできる
。この場合、文章全体の表示形式を統一させたり、或い
は個々の枠毎に独立した表示形式とすることができるの
で、多種多様に渡る文章表現に対応することが可能とな
る。 更には、実施例の枠透過リンクによれば、オペレータが
順次連結するように指定した各枠内に、その先頭に位置
する枠内のデータが透過させることができるので、同じ
データを同じページ内の任意の位置、或いは異なるペー
ジの任意の位置に透過させることが可能となる。
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. <Description of System Configuration> FIG. 1 is a block configuration diagram of a document processing system in an embodiment. In the figure, 1 is a CPU that controls the entire system, and 2
3 is a ROM that stores a boot program at the time when the power is turned on, and 3 stores programs read from an external storage device (such as a program related to the flowchart in FIG. 7, which will be described later), and document information being edited. , a RAM used as a work area for the CPUI. 4 is a font memory (stores so-called outline fonts) that stores coordinate format data for generating character patterns; 5 is a VRAM that stores images to be displayed on the display screen; and 6 is a font memory that stores data in the form of coordinates to generate character patterns. This is a CRT display that displays images. Reference numeral 7 denotes a magnetic storage device, typically a floppy disk device or a hard disk device, which stores various programs (loaded into the RAM 3) related to document processing in this device, document information, and the like. 8 is a keyboard for giving predetermined instructions to the characters constituting the document or this system; 9 is a mouse for controlling the movement of a graphic cursor displayed on the display screen of the CRT display 6; Reference numeral 10 denotes an image memory that can develop an image for one page of recording paper when it comes to the actual printing process, and 11 an image memory 10.
This is a printer that forms a visible image on a recording medium based on the image developed in the image. Note that the printer 11 in the embodiment will be explained as a laser beam printer. Usually, CRT display devices only need to be able to confirm the edited content, so their resolution is lower than that of high-quality printers such as laser beam printers. When performing printing processing, a character pattern or the like matching the resolution of the printer is generated in accordance with the document information to be printed, according to the data read out from the font memory 4, developed in the image memory 10, and printed. Explanation of Frame> FIG. 2 shows an example of the layout of a frame that is a development area of a document in the embodiment. In the figure, 20 represents recording paper, and 21 to 23 represent each character string (
This is a frame for expanding documents. The size and settings of the frame are performed by operating the mouse 9. Specifically, by operating the mouse 9, you can freely scroll the recording paper displayed on the display screen, move the graphic cursor to any two points within it, and press the button provided on the mouse 9. When you press (hereinafter referred to as click), the two points are treated as the two end points of the diagonal of the rectangle (=frame). After this, a document is created by specifying an appropriate frame using the mouse, etc., and expanding the character string input from the keyboard 8 (hereinafter, in the example, a single character is included) into the frame. Note that even after inputting a document, etc., the layout and size of the frame can be changed freely. In the above-mentioned configuration, multiple frames are set within each page, and a document is created by expanding character strings input from the keyboard 8 into the frames. In the figure, 31-1.2...n indicates information on each page (hereinafter referred to as page information).As you can see from the page information 31-1 of the first page, In the example,
Data for one frame is composed of three pieces of information: a frame header area 32, a character code area 33, and a character attribute area 34. Each area will be explained below. The frame header area 32 stores data necessary for editing the frame. In the embodiment, as shown in FIG. 4, this frame header area contains the frame number, link information, frame size (length and width), coordinate position of the frame with respect to the recording paper, number of characters in the frame, and, It consists of an area that stores the attribute information. The frame number is a number for distinguishing the frame of interest from other frames, and no two frames have the same number. For example, this may be incremented by one each time the operator sets a new frame. The details of the link information will be described later, but this is information that specifies frames that logically precede and follow the frame of interest. In other words, it indicates which frame the frame of interest follows (hereinafter, this frame is referred to as the front frame), and which frame follows the frame of interest (hereinafter, this frame will refer to as the rear frame). The frame number is memorized. In addition, if the front frame or the rear frame does not exist, a number that cannot exist (for example,
“0” etc.) are stored. Incidentally, if both are "O", the frame of interest is an isolated frame. Further, the size, coordinate position, and number of characters are as described above. Finally, the attribute information of the frame header includes the type of frame (text, figure, image, etc.), document composition information such as whether the document in the frame is written vertically or horizontally, font size information (number of points), Character vertical and horizontal magnification information, font information whether it is a Western character or a mixed kanji character (for kanji characters, Mincho or Gothic, for European characters, Fourier, Heribetei, Times, etc.), distance information between lines, character spacing Distance information, angle information in italics,
It consists of information on the presence or absence of prohibition processing, information on whether the information in the frame is text or an image, etc. The attributes of this frame header are set to default values unless the operator actively instructs to change each piece of information. If the information in the frame is an image (read by an image scanner), the image data is stored in the character code area shown. Further, although the explanation will be repeated later, when the operator sets a frame, an area for the frame header, a character code area, and a character attribute area are each secured in the RAMB. Next, in the character code area in FIG. 3, individual character codes constituting the document developed within the corresponding frame are stored. However, if the information within the attention frame is an image, the character attribute area 34 is not generated, as a matter of course. Further, the character attribute area stores attribute information for each character in the corresponding character code area. There are various types of attribute information for individual characters, some of which include font size information, font type (type of font), decoration information (color of character decoration, presence or absence of underline, overline). The presence or absence of shading, the shading is the type of pattern, the presence or absence of surrounding ruled lines surrounding the character string, etc.), glyph information, font color, vertical position of characters, character spacing, and whether or not to invert the display pattern. Information, etc. Among these, there are two types of glyph information: front characters and shadow characters. For front characters, double the width (range 50-200%), double the height (range 50-200%)
% range), presence/absence of border, italic angle, italic direction,
There is information for setting the rotation direction (range of 0 to 360 degrees) and the type of fill pattern. Information for setting almost the same parameters as for front characters is also secured for shadow characters. Note that if the attributes of the frame header area and the character attributes of individual characters conflict, the character attributes take precedence. Explanation of frame link> As explained earlier, the frame header information 32 in the embodiment
Link information (see Figure 4) is secured inside the
It is possible to link (combine) frames. This makes it possible to flow document information, etc. into the connected frames in accordance with their order, and to have subsequent character shift movements such as insertion and deletion of character strings reflected in each connected frame. The operation of linking frames is extremely simple. First, you instruct the link process (for example, by selecting it from the menu), and as shown in Figure 5 (A), the outer frame of the page of interest and the items that exist within that page are linked. Display the outline of each feature (information inside the frame is hidden). In the illustrated case, there are four frames A within the page of interest. This shows that B, C, and D exist. If the operator wants to link frame B after frame A, the operator must press mouse 9
By operating , move the graphic cursor 80 into frame A and click (select the front frame). After this, move the graphic cursor 80 into frame B and select the end point, frame B (back frame). Select. During this operation, a straight line with an arrow will continue to be displayed between the specified starting point (the center of frame A will automatically become the starting point) and the point indicated by the graphic cursor 80 (moving point), so the operator can You can check your own operations. After this, by performing the same operation to specify frame B as the front frame and frame C as the rear frame, you can see how the eight frames are connected with a straight line with an arrow as shown in the figure. is a concatenation of eight patterns within a page, but
It is also possible to set it across pages. In this case, an instruction to perform link processing is performed by inputting an instruction to that effect. When this instruction is received, a plurality of pages before and after the page of interest and frames within each page are displayed on the display screen, as shown in FIG. 5(B), for example. The operation for linking frames is as described above. In the illustrated case, frames A, C, D, F, H, and I are linked in that order. Note that if a frame link has already been made and this process is specified, the contents (line segments with arrows) are displayed so that it is possible to check how the frame is linked. It is also possible to cancel a specific line segment 1, for example, the line segment between the frame and F in Figure 5 (B), insert a frame E between them, and link the frame, E, and F in that order. It has become. In any case, if link processing is specified, cpu
searches for the front frame and rear frame based on the coordinate position of the graphic cursor when the mouse 9 is clicked, and rewrites the link information in the header information of each frame. Details of the link information in the eight header information are shown in FIG. In the illustration, the frame number of the frame that is logically located before is stored in the column ``Previous frame number'', and the frame number of the frame linked after the frame of interest is stored in the column ``Later frame number''. The "link mode" will be described later. For example, when focusing on frame A in Fig. 5 (A), the "previous frame number" in the link information in the frame header information is "0"('', (There is no frame), the frame number of frame B is written in the "later frame number". The linking process proceeds according to the flowchart shown in FIG. First, in step S21, the coordinate position of the graphic cursor when a button on the mouse 9 is clicked is captured. Next, in step S22, it is determined which frame the obtained graphic cursor points to. This includes the coordinate position of the graphic cursor, the display status at that time (whether multiple pages or only one page was displayed, etc.), and the coordinate position and size information in the header information 32 of the 8-piece. Judgment can be made based on After that, the process advances to step S23, where, as in step S24, the coordinate position of the graphic cursor when the mouse 9 is clicked is fetched, and step S23 is proceeded to.
At step 24, it is determined which frame the graphic cursor is pointing to. In this way, once the starting point, the ending point, and the frame are specified, the process proceeds to step S25.
The corresponding part of the link information in the header information of each frame is rewritten with the frame number of the other party. After this, step S26
The above-described process is repeated until it is determined that an instruction to end the series of link operations has been given. By the way, the types of frame links in the embodiment include "text links" and "frame transparent links." i) Text links Text links are further divided into two complete links and independent links. Complete linking is a mode in which the format of the linked 8 styles is unified to the attributes of the first frame. For example, if you change the font size in the first frame, that change will be applied to all linked items. It is reflected directly in the frame. Furthermore, an independent link is the opposite of a complete link, in which each of the eight linked frames determines the output format according to its own attributes.
For example, it is possible to set the characters to have different sizes for each frame. In other words, for example, if a character string is inserted into frame A, the characters that overflow from that frame will be incorporated into the first position of frame B, which is connected to it, but if an independent link is set at this time, that character will be inserted into the frame. It is displayed according to attributes specific to B. ii) Frame transparent link Frame transparent link is a mode in which the data in the first frame is directly transmitted to the following frame. For example, when frames 100, 101, and 102 are linked in this order as shown in FIG. 8, if the character string "AI" is written in frame 100, it will be reflected in frames 101 and 102 as is. Naturally, this frame-transparent link can be made transparent not only to the same page, but also to any frame on another page.In this way, when linking a frame, it is possible to see in which mode the frame of interest is linked. Therefore, in this embodiment, as shown in Fig. 6,
A column is provided to store "°° link code" in the link information.As mentioned above, this column stores the identification codes of complete links, independent links, and frame-transparent links.It should be noted that if the frame of interest is a frame-transparent link, , and “ in the link information
If the content of "Previous frame number" is other than "O" (that is, if a previous frame exists for the frame of interest), the frame information for the frame of interest is only the header information area 32, and the character code area 331 characters. The attribute area 34 becomes unnecessary.Also, in the case of frame transparent links, it can be easily inferred from the above explanation that not only characters but also images can be transparent.The settings for each mode are as follows. , After the frame linking is completed, this is done by selecting one from the selection menus displayed on the display screen, and the explanation of the processing procedure is omitted here. When attempting to display a page, if it is determined that there is a frame set as a complete link or a frame transparent link on that page, it is necessary to search for the first frame in a series of linked frames. Therefore, it is possible to create a new area for storing the original frame number in the link information for each frame, thereby eliminating the need for search processing and speeding up the processing.However, in the case of a complete link, the beginning of the link If the operator changes the attributes of the frame located in , the header attributes of each subsequent frame will be automatically changed.
This becomes unnecessary. When a normal document processing device inserts or deletes a character string in a page of interest, it compresses or moves the subsequent character strings. In this embodiment, similar processing is performed for each connected frame, and detailed description thereof will not be given here. However, if an independent link is specified, the display format of each frame is controlled depending on the attributes of each frame. In addition, in the embodiment, sentences (hereinafter referred to as text data) stored in advance in the magnetic storage device 7 are
It is possible to read into the frame specified by the operator. The operator's operation in this case is accomplished by specifying a desired frame with the mouse 9 and then instructing to read the text. Since it is conceivable that a plurality of texts exist in the magnetic storage device 7, a list of them is naturally displayed, and by specifying one of them, the reading target is specified. The flowchart in FIG. 9 shows the operation processing contents of the CPU 1 at this time. First, in step S31, the operator specifies the frame in which the text information to be read is to be developed. Next, the process advances to step S32, and the text information designated by the operator is read into the frame work rear (not shown) in the RAM 3. The read text data is stored in the character code area 33 of the currently focused frame (the frame designated in step S31 in the initial state) in order from the first character. Hereinafter, step S34. In S35, the text filled up within the visible range due to the size of the attention frame, etc.
Alternatively, the process loops until it is determined that all text data has been stored. If it is determined that the read text data is small and has been expanded into the character code area 33 with all characters visible within the frame of interest, the process proceeds from step S35 to step S.
Proceeding to step 36, the actual information within the frame is displayed. In addition, if it is determined that the text data is full within the visible range within the frame of interest, the process proceeds from step S34 to step S37. Here, the following frame (following frame) is Determine whether it exists. If it is determined that there is no subsequent frame, the remaining text data is stored in the frame of interest, and display processing is performed in step 336. However, in this case, part of the text will be displayed in the attention frame (it is possible to change the amount of text displayed by changing the size of the frame). If there is a rear frame, the process advances to step S38, the frame of interest is moved to the rear frame, and the processes from step S33 onwards are repeated. In addition, in the example, depending on the text to be read, "I want to display this character string in the same frame" in that text
Or "I want to display only this string in one frame"
satisfies that requirement. To achieve this, a specific delimiter code is inserted in advance into the text to be read. CPtJ is achieved by updating the attention frame every time the delimiter code is detected, so a detailed description thereof will be omitted here. Through the above processing, it becomes possible to import a separately created text into this device. As explained above, according to the frame link processing of this embodiment,
You can easily compose consecutive sentences in complex ways. In this case, the display format of the entire text can be unified, or each frame can be displayed in an independent display format, making it possible to support a wide variety of text expressions. Furthermore, according to the frame transparent link of the embodiment, data in the first frame can be made transparent within each frame specified by the operator to be connected sequentially. It is possible to make the image transparent at any position on the page or at any position on different pages.

【発明の効果】【Effect of the invention】

以上説明したように本発明によれば、8枠を関係付けて
文書作成・編集を行なえるようになる。 また、他の発明によれば、オペレータが関連付けた個々
の枠に任意の枠内の情報を反映させることが可能になる
As explained above, according to the present invention, documents can be created and edited by associating eight frames. Further, according to another invention, it becomes possible to reflect information in any frame in each frame associated with the operator.

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

第1図は実施例における文書処理システムのブロック構
成図、 第2図は実施例における文書展開エリアとなる枠のレイ
アウトの一例を示す図、 第3図は実施例におけるRAM内のデータ格納状態を示
す図、 第4図は第3図におけるヘッダ情報内のデータフォーマ
ットを示す図、 第5図(A)、(B)は実施例における枠リンクの概念
を示す図、 第6図は実施例におけるリンク情報内のデータフォーマ
ットを示す図、 第7図は枠リンク設定処理に係るフローチャー第8図は
実施例における枠透過リンクの概念を示す図、 第9図は文章読み込みに係るフローチャートである。 図中、1−CPU、2−ROWi、3 ・RA M、4
・・・フォントメモリ、5・・・VRAM、6・・・C
RTデイスプレィ、7・・・磁気記憶装置、8・・・キ
ーボード、9・・・マウス、10・・・画像メモリ、1
1・・・レーザビームプリンタである。 −2り 第2図 第4図 第5図(Δ) 第5図(B) 第6r11J 第7図 第8図
FIG. 1 is a block diagram of a document processing system according to an embodiment. FIG. 2 is a diagram showing an example of the layout of a frame serving as a document expansion area in an embodiment. FIG. 3 is a diagram showing a data storage state in a RAM in an embodiment. FIG. 4 is a diagram showing the data format in the header information in FIG. 3. FIGS. 5 (A) and (B) are diagrams showing the concept of frame links in the embodiment. FIG. FIG. 7 is a flowchart related to frame link setting processing; FIG. 8 is a diagram showing the concept of frame transparent links in the embodiment; FIG. 9 is a flowchart related to text reading. In the figure, 1-CPU, 2-ROWi, 3・RAM, 4
...Font memory, 5...VRAM, 6...C
RT display, 7... Magnetic storage device, 8... Keyboard, 9... Mouse, 10... Image memory, 1
1... It is a laser beam printer. -2ri Figure 2 Figure 4 Figure 5 (Δ) Figure 5 (B) Figure 6r11J Figure 7 Figure 8

Claims (7)

【特許請求の範囲】[Claims] (1)ページ内に設定された少なくとも1つの枠中に文
字列を展開表示していつて文書の作成及び編集を行う文
書処理装置であつて、 所望とする枠同士を論理的に連結する連結手段と、 該連結手段で連結された各枠に展開された或いは展開す
る文字列を一続きの文字列として管理制御する制御手段
とを備えるこことを特徴とする文書処理装置。
(1) A document processing device that creates and edits a document by expanding and displaying a character string in at least one frame set within a page, and a connecting means that logically connects desired frames to each other. A document processing apparatus comprising: a control means for managing and controlling character strings expanded or expanded in each frame connected by the connecting means as a continuous character string.
(2)連結手段は、 注目ページ或いは注目ページを含む複数ページ内にある
各枠のレイアウトを表示する表示手段と、 表示された各枠中の所望とする2つの枠を指定し、その
前後の連結関係を連続的に指定する指定手段とを備える
ことを特徴とする請求項第1項に記載の文書処理装置。
(2) The connecting means includes a display means for displaying the layout of each frame within the page of interest or multiple pages including the page of interest, and a display means for specifying two desired frames among the displayed frames, and specifying the two frames before and after them. 2. The document processing apparatus according to claim 1, further comprising designating means for sequentially designating connection relationships.
(3)更に、各枠特有の出力様式データを記憶する記憶
手段を備え、 前記制御手段は各枠内の文字列に関しては各々の出力様
式データに従つて表示する表示手段であることを特徴と
する請求項第1項に記載の文書処理装置。
(3) The apparatus further includes a storage means for storing output format data specific to each frame, and the control means is a display means for displaying character strings in each frame according to the respective output format data. The document processing device according to claim 1.
(4)前記制御手段は、前記連結手段で連結された各枠
内の文字列の出力様式を、当該連結手段で連結された論
理的先頭位置の枠の出力様式に従つて表示する表示手段
であることを特徴とする請求項第1項に記載の文書処理
装置。
(4) The control means is a display means for displaying the output format of the character strings in each frame connected by the connection means in accordance with the output format of the frame at the logical head position connected by the connection means. The document processing device according to claim 1, characterized in that:
(5)ページ内に設定された少なくとも1つの枠中に文
字列或いは画像を展開表示していつて文書の作成及び編
集を行う文書処理装置であつて、所望とする枠同士を論
理的に連結する連結手段と、 該連結手段で連結された枠群中の論理的に先頭に位置す
る枠内の情報を当該先頭枠に連結された他の枠に透過す
るするよう制御手段とを備えることを特徴とする文書処
理装置。
(5) A document processing device that creates and edits documents by expanding and displaying character strings or images in at least one frame set within a page, and logically connecting desired frames with each other. The present invention is characterized by comprising: a connecting means; and a control means so as to transmit information in a logically leading frame in a group of frames connected by the connecting means to other frames connected to the leading frame. document processing device.
(6)連結手段は、 注目ページ或いは注目ページを含む複数ページ内にある
各枠のレイアウトを表示する表示手段と、 表示された各枠中の所望とする2つの枠を指定し、その
前後の連結関係を連続的に指定する指定手段とを備える
ことを特徴とする請求項第5項に記載の文書処理装置。
(6) The connecting means includes a display means for displaying the layout of each frame within the page of interest or multiple pages including the page of interest, and specifying two desired frames among the displayed frames, and specifying the two frames before and after them. 6. The document processing apparatus according to claim 5, further comprising a designating means for continuously designating the connection relationship.
(7)制御手段は、 連結された各枠の前後関係を記憶する記憶手段と、 所望とするページを表示しようとするとき、当該ページ
中に連結された枠が存在するか否かを前記記憶手段に記
憶された内容に基づいて判別する判別手段と、 該判別手段で表示しようとしているページ中の注目枠が
連結枠であると判断したとき、当該注目連結を含む連結
枠群の先頭枠内に展開された情報を前記注目枠内に出力
する出力手段とを備えることを特徴とする請求項第5項
に記載の文書処理装置。
(7) The control means includes a storage means for storing the context of each connected frame, and a storage means for storing the front and back relationship of each connected frame, and a storage means for storing whether or not connected frames exist in the page when a desired page is to be displayed. a discriminating means that discriminates based on content stored in the means; and when the discriminating means determines that a frame of interest in a page to be displayed is a linked frame, a frame within the first frame of a group of linked frames including the linked frame of interest; 6. The document processing apparatus according to claim 5, further comprising an output means for outputting the expanded information within the attention frame.
JP02247382A 1990-09-19 1990-09-19 Document processing apparatus and document processing method Expired - Lifetime JP3100614B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP02247382A JP3100614B2 (en) 1990-09-19 1990-09-19 Document processing apparatus and document processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP02247382A JP3100614B2 (en) 1990-09-19 1990-09-19 Document processing apparatus and document processing method

Publications (2)

Publication Number Publication Date
JPH04127266A true JPH04127266A (en) 1992-04-28
JP3100614B2 JP3100614B2 (en) 2000-10-16

Family

ID=17162602

Family Applications (1)

Application Number Title Priority Date Filing Date
JP02247382A Expired - Lifetime JP3100614B2 (en) 1990-09-19 1990-09-19 Document processing apparatus and document processing method

Country Status (1)

Country Link
JP (1) JP3100614B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09269944A (en) * 1996-04-01 1997-10-14 Canon Inc Picture processor and method therefor
JP2006178683A (en) * 2004-12-21 2006-07-06 Brother Ind Ltd Label edition apparatus, program and recording medium
JP2009093245A (en) * 2007-10-04 2009-04-30 Brother Ind Ltd Label data creating apparatus, program and recording medium
JP2009527053A (en) * 2006-02-16 2009-07-23 マイクロソフト コーポレーション Visual aids for text box numbering and concatenation

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09269944A (en) * 1996-04-01 1997-10-14 Canon Inc Picture processor and method therefor
JP2006178683A (en) * 2004-12-21 2006-07-06 Brother Ind Ltd Label edition apparatus, program and recording medium
JP4678183B2 (en) * 2004-12-21 2011-04-27 ブラザー工業株式会社 Label editing apparatus, program, and recording medium
JP2009527053A (en) * 2006-02-16 2009-07-23 マイクロソフト コーポレーション Visual aids for text box numbering and concatenation
JP2009093245A (en) * 2007-10-04 2009-04-30 Brother Ind Ltd Label data creating apparatus, program and recording medium
US8307280B2 (en) 2007-10-04 2012-11-06 Brother Kogyo Kabushiki Kaisha Label data creating apparatus, label data creating method, and computer program product

Also Published As

Publication number Publication date
JP3100614B2 (en) 2000-10-16

Similar Documents

Publication Publication Date Title
JPH04128970A (en) Document processing system
JPH04127266A (en) Document processor
JP3471854B2 (en) Character processing apparatus and method
JPH04127265A (en) Document processor
JPH0470958A (en) Document processor
JP3175221B2 (en) Document creation device
JPH0470956A (en) Document processor
JP3699923B2 (en) Page image display management method during layout editing
JP3997562B2 (en) Electronic sticky note sticking device
JP3136626B2 (en) Document creation device
JP2815158B2 (en) Character processor
JPH0470955A (en) Document processor
JPH04247561A (en) Document processor
JP2974638B2 (en) Document processing apparatus and method
JP2874993B2 (en) Document processing device
JPH0470957A (en) Document processor
JPH04256065A (en) Document editing device
JP2831318B2 (en) Editing device
JP2851840B2 (en) Document processing device
JPH04127267A (en) Document processor
JP2966656B2 (en) Document creation device
JP3117982B2 (en) Document processing apparatus and method
JPH06324834A (en) Medium editing device
JPH05334285A (en) Document preparing device
JPH04127356A (en) Document processor

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090818

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110818

Year of fee payment: 11

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110818

Year of fee payment: 11