JPH081547B2 - Character processor - Google Patents
Character processorInfo
- Publication number
- JPH081547B2 JPH081547B2 JP60245473A JP24547385A JPH081547B2 JP H081547 B2 JPH081547 B2 JP H081547B2 JP 60245473 A JP60245473 A JP 60245473A JP 24547385 A JP24547385 A JP 24547385A JP H081547 B2 JPH081547 B2 JP H081547B2
- Authority
- JP
- Japan
- Prior art keywords
- layout
- graphic
- pattern
- character
- document
- 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
Links
Landscapes
- Controls And Circuits For Display Device (AREA)
Description
【発明の詳細な説明】 産業上の利用分野 本発明は図形を含む文書の作成が行える文字図形処理
装置に関し、特に図形を含む文書のレイアウト表示を行
うことのできる文字処理装置に関する。Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character / graphics processing apparatus capable of creating a document including a graphic, and more particularly to a character processing apparatus capable of displaying a layout of a document including a graphic.
従来技術 文書やグラフなどの図形を作成・編集する文字処理装
置においては、現在編集中の文書の内容を表示する表示
装置が必要である。しかし、この表示装置は、一般に大
型になるほど高価なものとなるので、1頁全体の内容を
完全に表示する表示装置が具えられることはまれであ
り、通常は1頁の一部分例えば40文字×20行の範囲だけ
を表示する表示装置が具えられている。2. Description of the Related Art A character processing device for creating / editing a graphic such as a document or a graph requires a display device for displaying the content of the document currently being edited. However, since this display device generally becomes more expensive as it becomes larger, it is rare that a display device that completely displays the entire contents of one page is provided, and usually a part of one page, for example, 40 characters × 20. A display device is provided which displays only the range of lines.
しかし、上記のような小型の表示装置が具えられたと
きは1頁全体を1度に見ることができないため、個々の
文字をより小さなサイズで表現したり、文字を小さな四
角形で表現したりして、1頁が1画面に入るように表示
する、いわゆるレイアウト表示が行われている。However, when a small display device such as the one described above is provided, the entire page cannot be viewed at one time, so individual characters may be represented in a smaller size, or characters may be represented in a smaller square. Thus, so-called layout display is performed in which one page is displayed so as to fit in one screen.
第1図は通常表示とレイアウト表示の概念の違いを示
した図である。第1図(A)は通常表示の例であり、文
書の作成・編集などはこの表示に基づいて行う。これに
対し、第1図(B),(C)はレイアウト表示の例であ
り、(A)の通常画面に比べて、文字の面積を小さくし
て表現したものが(B)、文字を四角形のパターンにし
て表現したものが(C)である。各文字の大きさが小さ
くなった分、より多くのの文字数を表示できるため、主
として全体の配置を見るときに使用される。FIG. 1 is a diagram showing the difference in concept between normal display and layout display. FIG. 1 (A) is an example of normal display, and the creation / editing of a document is performed based on this display. On the other hand, FIGS. 1 (B) and 1 (C) are examples of layout display, and the area of the character is smaller than that of the normal screen in FIG. (C) is expressed as a pattern. Since the size of each character is smaller, a larger number of characters can be displayed, so that it is mainly used for viewing the entire layout.
このようなレイアウト表示において、表示する文書の
一部がグラフや図形のような図形領域になっている場
合、従来な次のような方式で図形領域を表現していた。In such a layout display, when a part of the document to be displayed is a graphic area such as a graph or a graphic, the graphic area is represented by the following conventional method.
まずひとつめの方式は、図形領域が存在するというこ
とに対しての何の考慮もせず、通常の文書として表現す
るものである。これは図形領域があっても、それは文書
の一部であり、まわりの文書データのレイアウト表示か
ら、文書全体(通常は1頁)における図形領域の位置と
領域の大きさを読み取ることができるという方式であ
る。しかし、文書における図形領域の取り方や文書デー
タと図形データの結合の方式によっては、単に文書だけ
をレイアウト表示しただけでは、図形領域が表現できな
いものがあった。また、図形領域であるかないかは利用
者が判別しなくてはならないという欠点があった。First of all, the first method is to express it as a normal document without considering the existence of the graphic area. This means that even if there is a graphic area, it is part of the document, and the position and size of the graphic area in the entire document (usually one page) can be read from the layout display of the surrounding document data. It is a method. However, depending on the method of drawing the graphic area in the document and the method of combining the document data and the graphic data, the graphic area cannot be represented by simply displaying the layout of only the document. Further, there is a drawback that the user has to determine whether the area is a graphic area.
他の方式は、実際にその文書を印刷する場合と同様
に、図形領域を1つ1つ展開するものである。即ち、グ
ラフであればデータの読み込みからパターンの生成ま
で、画像であれば圧縮して保存しているデータの展開ま
でといった、複雑で時間のかかる処理を行ってレイアウ
トの表示を行うものである。この方式では、図形領域に
記入される図形の種類や大まかな形状がわかる反面、文
書データの部分の表示に比べて図形の部分の表示には、
膨大な時間がかかってしまうという大きな欠点があっ
た。実際のレイアウト表示では、文書における図形領域
の位置や大きさ、種類が判別できれば良いのであるの
に、必要以上の処理に対して時間がかかってしまい、利
用者にとってレイアウト表示が使いずらいものとなって
いた。The other method develops the graphic areas one by one, as in the case of actually printing the document. That is, the layout is displayed by performing a complicated and time-consuming process such as reading data from a graph to generating a pattern and expanding an image that is compressed and stored for an image. According to this method, the type and shape of the figure to be entered in the figure area can be understood, but the figure part is displayed more than the document data part.
There was a big drawback that it took a huge amount of time. In the actual layout display, it suffices to be able to determine the position, size, and type of the graphic area in the document, but it takes time for more processing than necessary, and it is difficult for the user to use the layout display. Was becoming.
第2図は図形を含んだ文書を従来技術によってレイア
ウト表示を行った場合の例を示したものである。第2図
(A)は通常表示における文書の例であり、同図(B)
は同図(A)の図形領域の部分を特に考慮せずに表現し
たものであり、同図(C)は図形領域の部分を実際のパ
ターンを展開して表現したものである。FIG. 2 shows an example of a layout display of a document including a graphic by a conventional technique. FIG. 2 (A) is an example of a document in normal display, and FIG. 2 (B).
In the figure, the figure area portion of FIG. 9A is expressed without any particular consideration, and in the figure area C, the actual pattern is developed and expressed.
本発明が解決しようとする課題 本発明の目的は、上記の欠点を除去することにある。
即ち、グラフのような図形を含む文書のレイアウト表示
において、その表示の処理速度を低下させることなく、
図形の部分の位置と大きさを容易に認識できる文字処理
装置を提供することにある。The object of the present invention is to eliminate the above-mentioned drawbacks.
That is, in the layout display of a document including a graphic such as a graph, without reducing the display processing speed,
It is an object of the present invention to provide a character processing device capable of easily recognizing the position and size of a figure portion.
課題を解決する為の手段 本発明は、表示すべき文字及び図形を含む文書を記憶
する記憶手段と、前記文書の文字を表示するためのレイ
アウト用文字パターンを格納するレイアウト用文字パタ
ーンメモリと、前記文書の図形を表示するためのレイア
ウト用図形パターンを格納するレイアウト用図形パター
ンメモリと、前記文書の文字又は図形領域を認識する認
識手段と、前記認手段の文字の認識の結果に基づいて、
前記レイアウト用文字パターンメモリからレイアウト用
文字パターンを読み出して表示し、前記認識手段の図形
領域の認識の結果に基づいて、前記レイアウト用図形パ
ターンメモリから読み出したレイアウト用図形パターン
により前記認識された図形領域を表示する表示制御手段
とを有し、表示領域にレイアウト用文字パターンとレイ
アウト用図形パターンとを混在して表示するようにし
た。Means for Solving the Problems The present invention includes a storage unit for storing a document including characters and graphics to be displayed, a layout character pattern memory for storing a layout character pattern for displaying the characters of the document, On the basis of the result of the recognition of the character by the layout graphic pattern memory for storing the layout graphic pattern for displaying the graphic of the document, the recognition means for recognizing the character or graphic area of the document,
The layout character pattern is read out from the layout character pattern memory and displayed, and the figure recognized by the layout figure pattern read out from the layout figure pattern memory based on the recognition result of the figure area by the recognition means. A display control unit for displaying the area is provided, and the layout character pattern and the layout graphic pattern are mixedly displayed in the display area.
実施例 以下図を参照して本発明を詳細に説明する。Examples The present invention will be described in detail below with reference to the drawings.
第3図は本発明の概念図である。 FIG. 3 is a conceptual diagram of the present invention.
3−1の図形領域認識手段によって、レイアウト表示
を行いつつある文書における図形領域を認識する。図形
認識手段によって、図形領域の存在が確認された場合
は、3−2のレイアウト用図形パターン生成手段におい
て、レイアウト画面上の図形領域に表示するパターンを
生成する。尚、文書中の通常の文字の部分は、3−3の
レイアウト用文字パターン生成手段において、通常文字
よりも小さいサイズのパターンまたは四角形のパターン
を生成する。3−2で生成した図形のパターンおよび3
−3で生成した文字のパターンは3−4のレイアウト表
示手段によって表示画面上に出力される。The graphic area recognizing means 3-1 recognizes the graphic area in the document which is being layout-displayed. When the figure recognition means confirms the existence of the figure area, the layout figure pattern generation means 3-2 generates a pattern to be displayed in the figure area on the layout screen. In the normal character portion of the document, the layout character pattern generating means 3-3 generates a pattern having a size smaller than the normal character or a rectangular pattern. 3-2 The pattern of the figure generated in 3 and 3
The character pattern generated in -3 is output on the display screen by the layout display unit in 3-4.
第4図は本発明文字処理装置の一実施例の詳細構成を
示す。FIG. 4 shows the detailed construction of an embodiment of the character processing apparatus of the present invention.
第4図の構成において、CPUはマイクロプロセッサ形
態の中央処理装置であり、文字処理のための演算、論理
判断等を行い、アドレスバスAB、コントロールバスCB、
データバスDBを介して、それらのバスに持続された各構
成要素を制御する。In the configuration of FIG. 4, the CPU is a central processing unit in the form of a microprocessor, which performs arithmetic operations for character processing, logical judgments, etc.
Via the data bus DB, it controls each component persisted on those buses.
また、文書中の図形領域の認識、図形領域の大きさの
決定、図形の生成も後述するRAMの内容を元にして、こ
のCPUで行う。The CPU also recognizes the graphic area in the document, determines the size of the graphic area, and generates the graphic based on the contents of the RAM described later.
アドレスバスABは、マイクロプロセツサCPUの制御の
対象とする構成要素を指示するアドレス信号を転送す
る。コントロールバスCBはマイクロプロセツサCPUの制
御の対象となる各構成要素のコントロール信号を転送し
て供給する。データバスDBは各構成機器相互間のデータ
の転送を行う。The address bus AB transfers an address signal indicating a component to be controlled by the microprocessor CPU. The control bus CB transfers and supplies the control signal of each constituent element controlled by the microprocessor CPU. The data bus DB transfers data between the constituent devices.
次に、ROMは読み出し専用の固定メモリであり、後述
するマイクロプロセツサCPUによる制御の手順、第7図
に示す如き手順を記憶させておく。Next, the ROM is a read-only fixed memory, and stores the procedure of control by the microprocessor CPU, which will be described later, and the procedure shown in FIG.
また、RAMは1ワード16ビツトの構成の書き込み可能
なランダムアクセスメモリであって、各構成要素からの
各種データの一時記憶に用いる。記憶するデータエリア
には、文字間隔・行間隔など文書の大きさ決めるデータ
エリアR1、図形を生成するときの中間的データエリアR
2、生成した図形のパターンエリアR3などがある。The RAM is a writable random access memory having a structure of 16 bits per word and is used for temporary storage of various data from each constituent element. The data area to be stored is a data area R1 that determines the size of the document such as character spacing and line spacing, and an intermediate data area R when creating a figure.
2. There is a pattern area R3 for the generated graphic.
KBはキーボードであり、英数字キー、平仮名キー、片
仮名キー、図形領域を指示する文字キー等の文字記号入
力キー、および、漢字変換の始めと終りを指定するキー
をはじめ、本文字処理装置に対する各種機能を指示する
ための各種のフアンクシヨンキーを備えている。KB is a keyboard for the character processor, including alphanumeric keys, hiragana keys, katakana keys, character and symbol input keys such as character keys for designating graphic areas, and keys for specifying the start and end of kanji conversion. It is equipped with various function keys for instructing various functions.
DBUFはバツフアメモリであり、キーボードKBから入力
された文書情報等を格納する。The DBUF is a buffer memory that stores document information and the like input from the keyboard KB.
DISKは作成された文書の外部記憶としての磁気デイス
ク装置である。DISK is a magnetic disk device as an external storage for created documents.
CRはカーソルレジスタであり、CPUによりその内容を
読み書きできる。後述するCRTコントローラCRTCは、こ
こに格納されたアドレスに対応する表示装置CRT上の位
置にカーソルを表示する。CR is a cursor register whose contents can be read and written by the CPU. The CRT controller CRTC described later displays a cursor at a position on the display device CRT corresponding to the address stored here.
CRTは陰極線管等を用いた表示装置であり、その表示
装置CRTにおけるドツト構成の表示パターンや図形パタ
ーンおよびカーソルの表示をCRTコントローラCRTCで制
御する。The CRT is a display device using a cathode ray tube or the like, and the display pattern and figure pattern of the dot configuration and the display of the cursor on the display device CRT are controlled by the CRT controller CRTC.
CRTコントローラCRTCは、カーソルレジスタCRおよび
バツフアDBUFに蓄えられた内容を表示装置CRTに表示す
る。The CRT controller CRTC displays the contents stored in the cursor register CR and the buffer DBUF on the display device CRT.
CGはキヤラクタジエネレータであり、表示装置CRTに
表示する文字、記号、カーソル等のキヤラクタ信号を発
生する。CG is a charactor generator, which generates charactor signals such as characters, symbols, and cursors to be displayed on the display device CRT.
かかる各構成要素からなる本発明文字処理装置におい
ては、キーボードKBからの各種の入力に応じて作動する
ものであって、キーボードKBからの入力が供給される
と、まず、インタラプト信号が中央処理装置CPUに送ら
れ、その中央処理装置CPUがROM内に記憶してある各種の
制御信号を読み出し、それらの制御信号に従って各種の
制御が行われる。In the character processing device of the present invention including the above-mentioned components, it operates in response to various inputs from the keyboard KB, and when an input from the keyboard KB is supplied, first, an interrupt signal is sent to the central processing unit. The central processing unit CPU, which is sent to the CPU, reads out various control signals stored in the ROM, and various controls are performed in accordance with these control signals.
尚、バツフアDBUFの内容を表示装置CRT上の位置に対
応させて表示を行う表示手段は公知であるのでその説明
を省略し、単に文書データや図形パターン等をバツフア
DBUFに格納することで表示が行われることにする。Since a display means for displaying the contents of the buffer DBUF in correspondence with the position on the display device CRT is known, the description thereof is omitted and the document data, the graphic pattern, etc. are simply displayed.
It will be displayed by storing it in DBUF.
第5図はレイアウト表示中に文書中の図形領域を認識
し、図形領域の表示を行うまでの動作を表わしたもので
ある。FIG. 5 shows an operation of recognizing a graphic area in a document during layout display and displaying the graphic area.
第5図において、aはレイアウト表示しようとしてい
る文書データ、bは文書データ中の図形領域である。BP
はレイアウト表示を行おうとしている文書データ中の行
をさすポインタ、DPはレイアウト表示画面上でBPに対応
する、レイアウト用文字もしくはレイアウト用図形パタ
ーンを表示しようとしている位置を表わすポインタであ
る。In FIG. 5, a is document data to be layout-displayed, and b is a graphic area in the document data. BP
Is a pointer for pointing a line in the document data for which layout display is to be performed, and DP is a pointer for indicating a position for displaying a layout character or layout graphic pattern corresponding to BP on the layout display screen.
第5図(A)はレイアウト表示をしようとしている頁
の上端から図形領域を含む行の手前までの文書データを
読み込み、レイアウト画面上に表示した状態を表わす。FIG. 5A shows a state in which the document data from the upper end of the page for which layout display is to be performed to the front of the line including the graphic area is read and displayed on the layout screen.
第5図(B)は読み込んだ1行の一部が図形領域で、
その部分が通常の文字の表示とは異なった、連続したパ
ターンで表わされていることを示す。In FIG. 5 (B), a part of one line read is a graphic area,
Indicates that the part is represented by a continuous pattern, which is different from the normal display of characters.
第5図(C)は同図(B)の処理(動作)を繰り返
し、レイアウト表示における図形領域の部分が文書の部
分とは異なった網目のパターンで埋められたことを示し
ている。FIG. 5 (C) shows that the process (operation) of FIG. 5 (B) is repeated and the portion of the graphic area in the layout display is filled with a mesh pattern different from that of the document portion.
次に第6図を用いて、本発明文字処理装置における図
形を含む文書のレイアウト表示の処理を説明する。文書
中の図形領域は機能文字(▲[拡張]▼)で表わされて
いる。Next, with reference to FIG. 6, a layout display process of a document including a figure in the character processing device of the present invention will be described. The graphic area in the document is represented by function characters (▲ [extension] ▼).
第6図は文書データから、次に表示しようとしている
1行分のデータを読み込み、それをレイアウト表示用の
パターンに置き換える処理を表わした図である。FIG. 6 is a diagram showing a process of reading one line of data to be displayed next from the document data and replacing it with a pattern for layout display.
第6図において、LINEBUFは文書データから読み込ん
だ1行分のデータを格納する文書バツフア、DISPBUFは
レイアウト表示として表示するパターンを格納する表示
バツフアである。In FIG. 6, LINEBUF is a document buffer for storing the data for one line read from the document data, and DISPBUF is a display buffer for storing the pattern to be displayed as the layout display.
第6図(A)はLINEBUF中の文字の部分(a)がレイ
アウト表示用パターン(c)に置き換えられて表示用バ
ツフアDISPBUFに格納されていることを示す。この処理
は図形領域認識手段を用いて、LINEBUFを左から順に一
文字ずつ調べていき、そこが文書データであれば、レイ
アウト表示用文字パターン生成手段によって生成された
表示用の文字パターンをDISPBUFに格納していくことで
実現される。FIG. 6A shows that the character portion (a) in the LINEBUF is replaced with the layout display pattern (c) and stored in the display buffer DISPBUF. In this process, the graphic area recognition means is used to examine the LINEBUF character by character from the left, and if it is document data, the display character pattern generated by the layout display character pattern generation means is stored in DISPBUF. It will be realized by doing.
第6図(B)はLINEBUFの通常の文字のある部分
(a)はレイアウト用文字パターン(c)に、図形領域
である部分(b)が連続したパターン(d)に置き換え
られたことを表わしている。この処理は第6図(A)の
場合と同様に、表示の文字に対応する部分はレイアウト
表示用文字パターンをDISPBUFに格納していき、図形領
域が認識されるとその部分はレイアウト表示用図形パタ
ーン生成手段によって生成された連続したパターンを格
納していくことで実現される。FIG. 6 (B) shows that the normal character portion (a) of LINEBUF is replaced by the layout character pattern (c) and the graphic area portion (b) is replaced by the continuous pattern (d). ing. Similar to the case of FIG. 6A, this processing stores the layout display character pattern in DISPBUF for the portion corresponding to the displayed character, and when the graphic region is recognized, the portion is displayed for the layout display graphic. It is realized by storing the continuous patterns generated by the pattern generation means.
第7図は第4図に示す実施例による図形入り文書のレ
イアウト表示を行う処理を示すフローチヤートである。
このフローチヤートでは、文書データから1行ずつ読み
込んではレイアウト画面上に表示するという動作を繰り
返している。FIG. 7 is a flow chart showing a process for displaying the layout of a document with graphics according to the embodiment shown in FIG.
In this flow chart, the operation of reading line by line from the document data and displaying it on the layout screen is repeated.
第7図において、LSTARTはレイアウト表示開始行、LE
NDはレイアウト表示終了行、CHMAXは1行の文字数、LCN
Tは行数カウンタ、CHCNTは文字数カウンタ、LINEBUFは
レイアウト表示処理用の1行分の文書バツフア、DISPBU
Fはレイアウト表示用パターンバツフアで、RAMのR1に格
納されるものである。In FIG. 7, LSTART is the layout display start line, LE
ND is the layout display end line, CHMAX is the number of characters per line, LCN
T is the line counter, CHCNT is the character counter, LINEBUF is the document buffer for one line for layout display processing, DISPBU
F is a layout display pattern buffer, which is stored in R1 of the RAM.
ステツプS7−1において、レイアウト表示用の画面を
初期化する。これはレイアウト表示における用紙の大き
さを表わすわくの表示も含んでいる。In step S7-1, the layout display screen is initialized. This also includes a frame display indicating the size of the paper in the layout display.
ステツプS7−2において、レイアウト表示の行数カウ
ンタLCNTに表示開始行数LSTARTをセツトする。In step S7-2, the display start line number LSTART is set in the line number counter LCNT for layout display.
ステツプS7−3において、LCNTで示されている行をDB
UFの文書データから読み出し、文書バツフアLINEBUFに
格納する。In step S7-3, change the line indicated by LCNT to DB.
It is read from the UF document data and stored in the document buffer LINEBUF.
ステツプS7−4において、LINEBUFを1文字ずつチエ
ツクするための文字数カウンタCHCNTに初期値1をセツ
トする。At step S7-4, the initial value 1 is set to the character number counter CHCNT for checking the LINEBUF character by character.
ステツプS7−5において、LINEBUFの中のCHCNT文字目
が文書データの一部なのか図形データの一部なのかを調
べる。この判別の方式は文書データと図形データの結合
方式によって異なる。実施例では実施例においては、文
書中の図形領域の部分を、図形領域を示す機能文字では
さんで指示している。そのため、読み込んだ部分の一部
がこの機能文字ではさまれているかをCPUで調べ、はさ
まれている部分は図形領域であるとみなすことで認識が
行われる。調べた位置が文書データの一部であった場合
はステツプS7−6へ、図形データの一部であった場合は
ステツプS7−7へ進む。In step S7-5, it is checked whether the CHCNT character in LINEBUF is part of the document data or the graphic data. The method of this determination differs depending on the method of combining the document data and the graphic data. In the embodiment, in the embodiment, the portion of the graphic area in the document is indicated by the function character indicating the graphic area. Therefore, the CPU checks whether a part of the read part is sandwiched by this function character and recognizes that the pinched part is a graphic area. If the checked position is a part of the document data, the process proceeds to step S7-6, and if it is a part of the graphic data, the process proceeds to step S7-7.
ステツプS7−6では、レイアウト表示用の文字パター
ンをキヤラクタジエネレータにより生成する。実施例に
おいては、文字を3×3ドツトのわくで表わしている。
文字パターン生成後、ステツプS7−8へ進む。In step S7-6, a character pattern for layout display is generated by the character generator. In the embodiment, the character is represented by a 3 × 3 dot frame.
After the character pattern is generated, the process proceeds to step S7-8.
ステツプS7−7では、レイアウト表示用の図形パター
ンを生成する。この図形パターンはステツプS7−6で生
成する文字パターンとは異なり、下および右にある同様
の図形パターンと連続になるようなパターンである。実
施例においては、下および右に延長して表示される十字
形となっている。図形パターン生成後はステツプS7−8
へ進む。At step S7-7, a graphic pattern for layout display is generated. This graphic pattern is different from the character pattern generated in step S7-6 and is a pattern which is continuous with the similar graphic patterns on the lower and right sides. In the embodiment, a cross shape is displayed extending downward and to the right. After the figure pattern is generated, step S7-8
Go to.
ステツプS7−8では、ステツプS7−6もしくはステツ
プS7−7で生成されたレイアウト表示用のパターンを、
レイアウト表示用パターンバツフアDISPBUFのCHCNTに対
応する位置に格納する。In step S7-8, the layout display pattern generated in step S7-6 or step S7-7 is
Store in the position corresponding to CHCNT of layout display pattern buffer DISPBUF.
ステツプS7−9において、次の文字を調べるために、
CHCNTに1を加える。In step S7-9, to check the next character,
Add 1 to CHCNT.
ステツプS7−10において、CHCNTと1行の文字数CHMAX
とを比較し、1行分のDISPBUFの作成が終ったかどうか
を調べる。1行分の作成が終了した場合(CHCNT>CHMA
X)はステツプS7−11へ、終了していない場合(CHCNT<
=CHMAX)はステツプS7−5へ進む。In step S7-10, CHCNT and the number of characters in one line CHMAX
And compare with to see if one line of DISPBUF has been created. When one line has been created (CHCNT> CHMA
X) goes to step S7-11, if not completed (CHCNT <
= CHMAX) proceeds to step S7-5.
ステツプS7−11において、DISPBUFの内容を実際のレ
イアウト画面に表示する。In step S7-11, the contents of DISPBUF are displayed on the actual layout screen.
ステツプS7−12において、次の行のレイアウト表示を
行うために、LCONTに1を加える。In step S7-12, 1 is added to LCONT to display the layout of the next line.
ステツプS7−13において、LCONTとレイアウト表示終
了行LENDを比較し、必要なだけのレイアウト画面の作成
が終了したかどうかを調べる。レイアウト画面の作成が
終了した場合はレイアウト表示の処理を終了する。終了
していない場合はさらに次の行を読み込むためにステツ
プS7−3へ進む。In step S7-13, LCONT is compared with the layout display end line LEND to check whether or not the required number of layout screens have been created. When the layout screen has been created, the layout display process ends. If not completed, the process proceeds to step S7-3 to read the next line.
前記実施例においては、レイアウト画面に表示する文
書パターンと図形パターンを一旦表示用バツフアに格納
しているが、直接レイアウト画面に表示させても良い。In the above embodiment, the document pattern and the graphic pattern to be displayed on the layout screen are temporarily stored in the display buffer, but they may be directly displayed on the layout screen.
また、図形の種類によらず、図形領域は同一の図形パ
ターンで表示しているが、図形領域の認識と同時に図形
の種類の判別を行い、図形の種類によって表示する図形
パターンを変えても良い。Further, although the graphic region is displayed with the same graphic pattern regardless of the type of the graphic, the type of the graphic may be discriminated simultaneously with the recognition of the graphic region, and the displayed graphic pattern may be changed depending on the type of the graphic. .
尚、レイアウトの表示は、CRTによる表示を想定して
いるが、液晶による表示やレイアウトパターンの簡易印
刷というような方式であっても良い。It should be noted that the layout is supposed to be displayed by a CRT, but a method such as liquid crystal display or simple layout pattern printing may be used.
効果 以上説明したように、本発明によれば、表示すべき文
字及び図形を含む文書を記憶する記憶手段と、前記文書
の文字を表示するためのレイアウト用文字パターンを格
納するレイアウト用文字パターンメモリと、前記文書の
図形を表示するためのレイアウト用図形パターンを格納
するレイアウト用図形パターンメモリと、前記文書の文
字又は図形領域を認識する認識手段と、前記認手段の文
字の認識の結果に基づいて、前記レイアウト用文字パタ
ーンメモリからレイアウト用文字パターンを読み出して
表示し、前記認識手段の図形領域の認識の結果に基づい
て、前記レイアウト用図形パターンメモリから読み出し
たレイアウト用図形パターンにより前記認識された図形
領域を表示する表示制御手段とを有し、表示領域にレイ
アウト用文字パターンとレイアウト用図形パターンとを
混在して表示するようにしたことにより、レイアウト表
示の処理時間を短縮できる。As described above, according to the present invention, a storage means for storing a document including characters and figures to be displayed, and a layout character pattern memory for storing a layout character pattern for displaying the characters of the document. A layout graphic pattern memory for storing a layout graphic pattern for displaying the graphic of the document, a recognition means for recognizing a character or a graphic area of the document, and a recognition result of the character by the recognition means. Then, the layout character pattern is read from the layout character pattern memory and displayed, and based on the result of recognition of the graphic area by the recognition means, the layout graphic pattern read from the layout graphic pattern memory is recognized by the layout graphic pattern. And a display control means for displaying a graphic area, and a layout character pattern is displayed in the display area. By displaying the turns and the layout graphic patterns in a mixed manner, the layout display processing time can be shortened.
以上説明したように、本発明によれば、表示すべき文
字及び図形を含む文書を記憶する記憶手段と、前記文書
の文字を表示するためのレイアウト用文字パターンを格
納するレイアウト用文字パターンメモリと、前記文書の
図形を表示するためのレイアウト用図形パターンを格納
するレイアウト用図形パターンメモリと、前記文書の文
字又は図形領域を認識する認識手段と、前記認手段の文
字の認識の結果に基づいて、前記レイアウト用文字パタ
ーンメモリからレイアウト用文字パターンを読み出して
表示し、前記認識手段の図形領域の認識の結果に基づい
て、前記レイアウト用図形パターンメモリから読み出し
たレイアウト用図形パターンにより前記認識された図形
領域を表示する表示制御手段とを有し、表示領域にレイ
アウト用文字パターンとレイアウト用図形パターンとを
混在して表示するようにしたことにより、レイアウト表
示に必要な記憶領域を節約することができる。As described above, according to the present invention, a storage unit for storing a document including characters and graphics to be displayed, and a layout character pattern memory for storing a layout character pattern for displaying the characters of the document. A layout graphic pattern memory for storing a layout graphic pattern for displaying a graphic of the document, a recognition means for recognizing a character or a graphic area of the document, and a recognition result of the character by the recognition means. A layout character pattern is read from the layout character pattern memory and displayed, and based on a result of recognition of the graphic area by the recognition means, the layout graphic pattern read from the layout graphic pattern memory is recognized by the layout graphic pattern. Display control means for displaying a graphic area, and a character pattern for layout in the display area. And by the layout graphic pattern so as to display a mix, it is possible to save storage space required for the layout display.
第1図はレイアウト表示の概念を表わした説明図、 第2図は従来技術による、図形を含む文書のレイアウト
表示の例を説明する図、 第3図は本発明の概念図、 第4図は実施例の全体構成図、 第5図は実施例による図形入り文書のレイアウト表示の
動作を示した図、 第6図は実施例における図形を含む文書のレイアウト表
示の処理を表わした説明図、 第7図は図形を含む文書のレイアウト表示処理を説明す
るフローチヤートである。 ROM……メモリ RAM……メモリ CPU……処理部FIG. 1 is an explanatory view showing the concept of layout display, FIG. 2 is a view for explaining an example of layout display of a document including a graphic according to the prior art, FIG. 3 is a conceptual view of the present invention, and FIG. FIG. 5 is an overall configuration diagram of an embodiment, FIG. 5 is a diagram showing an operation of layout display of a document with graphics according to the embodiment, and FIG. FIG. 7 is a flow chart for explaining the layout display process of the document including the graphic. ROM …… Memory RAM …… Memory CPU …… Processor
Claims (1)
する記憶手段と、 前記文書の文字を表示するためのレイアウト用文字パタ
ーンを格納するレイアウト用文字パターンメモリと、 前記文書の図形を表示するためのレイアウト用図形パタ
ーンを格納するレイアウト用図形パターンメモリと、 前記文書の文字又は図形領域を認識する認識手段と、 前記認識手段の文字の認識の結果に基づいて、前記レイ
アウト用文字パターンメモリからレイアウト用文字パタ
ーンを読み出して表示し、前記認識手段の図形領域の認
識の結果に基づいて、前記レイアウト用図形パターンメ
モリから読み出したレイアウト用図形パターンにより前
記認識された図形領域を表示する表示制御手段とを有
し、 表示領域にレイアウト用文字パターンとレイアウト用図
形パターンとを混在して表示するようにした文字処理装
置。1. A storage unit for storing a document including characters and figures to be displayed, a layout character pattern memory for storing a layout character pattern for displaying the characters of the document, and a figure for the document. A layout graphic pattern memory for storing a layout graphic pattern for recognizing, a recognition means for recognizing a character or a graphic area of the document, and the layout character pattern memory based on a result of recognition of the character by the recognition means. Display control for reading out and displaying the layout character pattern from the layout character pattern based on the result of recognition of the graphic area by the recognition means, and displaying the recognized graphic area by the layout graphic pattern read from the layout graphic pattern memory. And a layout character pattern and layout diagram in the display area. Character processing apparatus to display a mix of the pattern.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60245473A JPH081547B2 (en) | 1985-10-31 | 1985-10-31 | Character processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60245473A JPH081547B2 (en) | 1985-10-31 | 1985-10-31 | Character processor |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS62105191A JPS62105191A (en) | 1987-05-15 |
| JPH081547B2 true JPH081547B2 (en) | 1996-01-10 |
Family
ID=17134181
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60245473A Expired - Lifetime JPH081547B2 (en) | 1985-10-31 | 1985-10-31 | Character processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH081547B2 (en) |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS60123961A (en) * | 1983-12-07 | 1985-07-02 | Ricoh Co Ltd | Data storage method |
| JPS60205776A (en) * | 1984-03-30 | 1985-10-17 | Oki Electric Ind Co Ltd | Layout display system of word processor |
-
1985
- 1985-10-31 JP JP60245473A patent/JPH081547B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS62105191A (en) | 1987-05-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3376254B2 (en) | Display device, display control method, and recording medium | |
| JPH081547B2 (en) | Character processor | |
| JPS62105266A (en) | Character processor | |
| JP3101402B2 (en) | Document editing method and document editing device | |
| JP2816003B2 (en) | Document creation device | |
| JP2698348B2 (en) | Character processor | |
| JPS61175765A (en) | Format setting system for document processor | |
| JP2764944B2 (en) | Character output device | |
| JP3236039B2 (en) | Character processing apparatus and method | |
| JP2978178B2 (en) | Document creation apparatus and control method thereof | |
| JP3009609U (en) | CAD device capable of managing character arrangement and character information | |
| JPS62160586A (en) | Data display device | |
| JPS6356551B2 (en) | ||
| JPS6151264A (en) | Document processing device | |
| JPS62286160A (en) | Word processor | |
| JPH04127265A (en) | Document processor | |
| JPH0421468A (en) | Document processor | |
| JPH032792A (en) | Character display controller | |
| JPS61202271A (en) | character processing device | |
| JPH01290067A (en) | Document image processing device | |
| JPS62229316A (en) | Character processor | |
| JPS63167976A (en) | character processing device | |
| JPS60205776A (en) | Layout display system of word processor | |
| JPS5918728B2 (en) | Japanese word processor | |
| JPH04215121A (en) | Display data creation device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EXPY | Cancellation because of completion of term |