JPH0392958A - Character processor - Google Patents

Character processor

Info

Publication number
JPH0392958A
JPH0392958A JP1231846A JP23184689A JPH0392958A JP H0392958 A JPH0392958 A JP H0392958A JP 1231846 A JP1231846 A JP 1231846A JP 23184689 A JP23184689 A JP 23184689A JP H0392958 A JPH0392958 A JP H0392958A
Authority
JP
Japan
Prior art keywords
layout
dot
line
page
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.)
Pending
Application number
JP1231846A
Other languages
Japanese (ja)
Inventor
Kenichi Kazumi
健一 数見
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 JP1231846A priority Critical patent/JPH0392958A/en
Publication of JPH0392958A publication Critical patent/JPH0392958A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To easily execute the comparison of layout between respective pages by providing a display means for a sentence to be inputted from an input means, document storing means to store the sentence and layout developing means to transform the page, line and digit of the sentence to coordinate values for the unit of a dot according to format information. CONSTITUTION:An activating means 100 is operated for layout display, one file stored in the document storing means is wholly layout-developed by a layout developing means 110 and the layout of a document is outputted to a display means 120. The line and digit positions of the page, where characters are existent, are shown by dot coordinates and the dot is turned OFF not to be displayed by a picture. Reversely, in the case of a part excepting for the sentence, 24X24 dots are defined as the constitution unit and the dot coordinate values for the line and digit positions of the page, where the part is existent, are turned ON to be displayed by the picture. The respective dot coordinates are relatively made coincident with the page, line and digit of the real text. Thus, the whole constitution of one document file can be observed in one picture.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、文字処理装置に関し、特に文章・図・表・画
像の混在した文書のレイアウト編集処理を行う場合に、
レイアウト表示をすることによってその処理を容易にす
る文字処理装置に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a character processing device, and particularly when performing layout editing processing of a document containing a mixture of text, figures, tables, and images.
The present invention relates to a character processing device that facilitates processing by displaying a layout.

[従来の技術〕 例えば、従来の文字処理装置において、文書のレイアウ
ト表示を行う場合の表示範囲は、第2図に示すように用
紙サイズ1頁分に限られているのが一般的たった。なぜ
ならば、表示画面サイズとレイアウト表示する文字・イ
メージ・図形等の大きさの関係上、1度に表示可能なレ
イアウトサイズは、1頁が限度であったからである。従
って、数頁分のレイアウトを見るためには、改頁等のキ
ーアクションにより画面を切り替える必要があった。
[Prior Art] For example, in conventional character processing devices, the display range when displaying the layout of a document is generally limited to one page of paper size, as shown in FIG. This is because, due to the relationship between the display screen size and the size of characters, images, figures, etc. displayed in the layout, the layout size that can be displayed at one time is limited to one page. Therefore, in order to view the layout of several pages, it was necessary to switch screens using key actions such as page break.

[発明が解決しようとしている課題〕 しかしながら、前記の方法では、他の頁とのレイアウト
関連を知るためには、改頁等のキーアクションにより画
面を切り替える必要があるので、何かしらの頁レイアウ
′トの記憶手段を必要としていた。上記のような記憶手
段がない文字処理装置において、多くの場合は、ユーザ
のイメージの記憶能力に頼っていた。
[Problem to be solved by the invention] However, in the above method, in order to know the layout relationship with other pages, it is necessary to change the screen by key action such as page break. needed a memory device. In character processing devices without a storage means as described above, in many cases the user's ability to memorize images is relied upon.

本発明は上記課題に鑑みてなされたもので、1画面で1
文書ファイルのすべてをレイアウト表示することによっ
て、各頁間のレイアウトの比較が容易にできるようにし
たものである。
The present invention was made in view of the above-mentioned problems.
By displaying the layout of all document files, it is possible to easily compare the layouts of each page.

[問題点を解決するための手段(及び作用)]本発明に
よれば、レイアウト表示するに当たって、第1図の起動
手段100を操作したとき、文書格納手段に格納されて
いる1文書ファイルすべてが、レイアウト展開手段11
0によりレイアウト展開されて、文書のレイアウトが表
示千段120に出力される(第3図参照)。このとき、
レイアウトイメージを極限まで小さくするために、文章
部分は表示しない。例えば、テキスト画面で1文字が2
4X24ドット構成であれば、その文字を1ドットで示
す。つまり、その文字の存在する頁の行桁位置をドット
座標で示して、そのドットをOFFとし画面表示しない
ようにする。逆に文章以外の部分(例えば、イメージ・
表・図形等)であれば、24X24ドットを構成単位と
して、それが存在する頁の行桁位置のトット座標値をO
Nとして画面表示する。そして、各々のドット座標は、
実際のテキストの頁・行・桁に相対的に一致させておく
。上記の処理をレイアウト展開手段110で行う。
[Means for Solving the Problems (and Effects)] According to the present invention, when the activation means 100 of FIG. 1 is operated to display a layout, all one document file stored in the document storage means is , layout development means 11
0, and the layout of the document is output to the 1,000-column display 120 (see FIG. 3). At this time,
In order to make the layout image as small as possible, the text portion is not displayed. For example, on the text screen, 1 character is 2
If the configuration is 4×24 dots, each character is represented by one dot. That is, the line column position of the page where the character exists is indicated by dot coordinates, and the dot is turned off so that it is not displayed on the screen. Conversely, parts other than text (for example, images,
(tables, figures, etc.), use 24x24 dots as a constituent unit, and calculate the tot coordinate value of the line column position of the page where it exists.
Display on the screen as N. And the coordinates of each dot are
Match the pages, lines, and columns of the actual text relative to each other. The above processing is performed by the layout development means 110.

[実施例] 以下、図面を参照して本発明を詳細に説明する。[Example] Hereinafter, the present invention will be explained in detail with reference to the drawings.

第5図は本発明の全体構成の一例である。FIG. 5 shows an example of the overall configuration of the present invention.

図示の構成において、CPUは、マイクロプロセッサで
あり、文字処理のための演算、論理判断等を行ない、ア
トレスバスAB,コントロールバスCB,データパスD
Bを介して、それらのバスに接続された各構成要素を制
御する。
In the illustrated configuration, the CPU is a microprocessor that performs calculations for character processing, logical judgments, etc.
B to control each component connected to those buses.

アドレスバスABはマイクロプロセッサCPUの制御の
対象とする構成要素を指示するアトレス信号を転送する
。コントロールバスCBはマイクロプロセッサCPUの
制御の対象とする各構成要素のコントロール信号を転送
して印加する。データパスDBは各構成要素相互間のデ
ータの転送を行なう。
Address bus AB transfers address signals indicating the components to be controlled by the microprocessor CPU. The control bus CB transfers and applies control signals for each component to be controlled by the microprocessor CPU. The data path DB transfers data between each component.

ROMは、読出し専用の固定メモリである。そのうちの
PAは、第7図につき後述するマイクロプロセッサCP
Uによる制御手順等を記憶させたプログラムエリアであ
る。
ROM is a read-only fixed memory. Of these, PA is a microprocessor CP, which will be described later with reference to FIG.
This is a program area in which control procedures etc. by U are stored.

また、RAMは、1ワート16ビットの構成の書込み可
能のランダムアクセスメモリであって、各構戊要素から
の各種データの一時記憶に用いる。
Further, the RAM is a writable random access memory having a configuration of 1 word and 16 bits, and is used for temporary storage of various data from each component.

TBUFは文書バッファであり、キーボードKBより入
力された文書情報を蓄えるためのメモリである。
TBUF is a document buffer, which is a memory for storing document information input from the keyboard KB.

DICIは、部首入力、画数入力、単漢字入力などによ
って、漢字を検索するための辞書である。
DICI is a dictionary for searching kanji by inputting radicals, number of strokes, single kanji, etc.

DIC2は、カナ漢字変換を行なうための辞書である。DIC2 is a dictionary for performing kana-kanji conversion.

YBUFはキーボードKBにあるカナ人カキーKANA
より入力されたカナ読みコードを蓄えるためのメモリで
ある。
YBUF is the Kana person kaki KANA on the keyboard KB.
This is a memory for storing the kana reading code input by the user.

PRED I Cは数字の前につく接頭語(前置助数詞
)辞書である。
PREDIC is a dictionary of prefixes that appear before numbers.

NUMD I Cは、数字辞書である。NUMD IC is a numeric dictionary.

PSTD I Cは助数詞(後置助数詞)辞書である。PSTD IC is a particle word (postfix particle) dictionary.

KBはキーボートであって、アルファベットキひらがな
キー,カタカナキー等の文字記号入力キー.及び、変換
キー,無変換キー,取消キー等の本文字処理装置に対す
る各種機能を指示するための各種のファンクションキー
を備えている。
KB is a keyboard with character and symbol input keys such as alphabet letters, hiragana keys, and katakana keys. It is also provided with various function keys for instructing various functions to the character processing device, such as a conversion key, no conversion key, and cancel key.

第5図において、CONは変換キー、KANAは読みを
入力するための文字記号入力キーである。また、BUS
HUは、部首入力を起動するためのキー、ウインドウ表
示された単語候補の中から該当単語を選択するためのキ
ーである。
In FIG. 5, CON is a conversion key, and KANA is a character symbol input key for inputting readings. Also, BUS
HU is a key for activating radical input and a key for selecting a corresponding word from word candidates displayed in a window.

DISKは定型文書を記憶するためのメモリで作成され
た文書の保管を行ない、保管された文書はキーボードの
指示により、必要な時呼び出される。
The DISK stores documents created in a memory for storing standard documents, and the stored documents can be called up when necessary by instructions from the keyboard.

CRはカーソルレジスタである。CPUにより、カーソ
ルレジスタの内容を読み書きできる。
CR is a cursor register. The CPU can read and write the contents of the cursor register.

後述するCRTコントローラCRTCは、ここに蓄えら
れたアドレスに対する表示装置CRT上の位置にカーソ
ルを表示する。
A CRT controller CRTC, which will be described later, displays a cursor at a position on the display device CRT corresponding to the address stored here.

DBUFは表示用バッファメモリで、TBUFに蓄えら
れた文書情報等のパターンを蓄える。
DBUF is a display buffer memory that stores patterns such as document information stored in TBUF.

MDBUFはメッセージ表示用バッファメモリで、RO
M内のメッセージデータMS DATのパターンを蓄え
る。
MDBUF is a message display buffer memory, and RO
Store the pattern of message data MS DAT in M.

CR丁CはカーソノレレジスタCR及びバツファDBU
F,MDBUFに蓄えられた内容を表示器CRTに表示
する役割を担う。また、CRTは陰8i線管等を用いた
表示装置であり、その表示装置CRTにおけるドット構
成のパターンおよびカーソルの表示をCRTコントロー
ラで制御する。
CR C is the cursor register CR and buffer DBU.
F, plays the role of displaying the contents stored in MDBUF on the display CRT. Further, a CRT is a display device using a negative 8i-ray tube or the like, and a CRT controller controls the display of a dot configuration pattern and a cursor on the display device CRT.

さらに、CGはキャラクタジエネレータであって、表示
装置CRTに表示する文字、記号のパターンを記憶する
ものである。
Furthermore, CG is a character generator that stores patterns of characters and symbols to be displayed on the display device CRT.

かかる各構成要素からなる本発明文字処理装置において
は、キーボードKBからの各種の入力に応じて作動する
ものであって、キーボードKBからの入力が供給される
と、まず、インタラブト信号がマイクロプロセッサCP
Uに送られ、そのマイクロプロセッサCPUがROM内
に記憶してある各種の制御信号を読出し、それらの制御
信号に従って、各種の制御が行なわれる。
The character processing device of the present invention, which is composed of each of these components, operates in response to various inputs from the keyboard KB, and when the input from the keyboard KB is supplied, an interrupt signal is first sent to the microprocessor CP.
The microprocessor CPU reads various control signals stored in the ROM, and various controls are performed in accordance with these control signals.

第6図は、テキストバッファに蓄えられる文書の形式を
示している。構成概略のインデックス部は、行管理情報
部の先頭アドレス・テキスト部の先頭アドレス、レイア
ウトデータ部の先頭アドレスを格納している。行管理情
報部は、テキスト1行ごとにテキストを管理するための
情報、つまり1行ごとのテキスト部へのポインタと1行
ごとのバイト数を格納する。テキスト部には、文字コー
ドあるいは図形・表・イメージ等を識別するための制御
コードが連続したエリアに格納している。
FIG. 6 shows the format of documents stored in the text buffer. The index section of the general structure stores the starting address of the line management information section, the starting address of the text section, and the starting address of the layout data section. The line management information section stores information for managing text for each line of text, that is, a pointer to the text section for each line and the number of bytes for each line. In the text portion, character codes or control codes for identifying figures, tables, images, etc. are stored in continuous areas.

図中、※〜※までの部分が上記の制御コードにあたる。In the figure, the parts from * to * correspond to the above control code.

レイアウトデータ部には、レイアウトデータの管理情報
と、レイアウトデータが格納されている。テキストデー
タの制御コードにより、レイアウトデータ部の実データ
が格納されている場所を知る。レイアウトデータ座標部
で、実データが文書中に張り付けられる位置を知り、レ
イアウトデータ部のデータをその位置に張り付ける。
The layout data section stores layout data management information and layout data. The location where the actual data of the layout data section is stored is known from the control code of the text data. The layout data coordinate section determines the position where the actual data is to be pasted in the document, and the data in the layout data section is pasted at that position.

このような文書構造のとき、本発明の制御フロ一を第7
図で示している。
When the document structure is like this, the control flow of the present invention is
It is shown in the figure.

第4図において、プルダウンメニューのレイアウト編集
がセレクトされたとき、第7図の33のキー判別で本発
明による制御プログラムが起動する。S5にて、第3図
に示すところの大ブロックの大きさを計算する。これは
、文字処理装置の表示ドットサイズに影響される部分で
ある。例えば、レイアウト表示に使用できる最大ドット
数が500X900ドットで、書式を1頁60行70桁
に設定していれば、縦(図中y座標)サイズ500÷6
0→8頁(480ドット)、シたがって、1ブロックの
大きさは、約480X70に設定できる。さらにブロッ
ク間サイズを30ドットとれば、横(図中X座標〉のサ
イズ70+30,従って、900÷100で、最大9個
の大ブロックが1度に表示できることになる。
In FIG. 4, when layout editing is selected from the pull-down menu, the control program according to the present invention is activated by key determination at 33 in FIG. At S5, the size of the large block shown in FIG. 3 is calculated. This is a part that is affected by the display dot size of the character processing device. For example, if the maximum number of dots that can be used for layout display is 500 x 900 dots, and the format is set to 60 lines and 70 columns per page, the vertical (y coordinate in the figure) size is 500 ÷ 6.
0→8 pages (480 dots), therefore, the size of one block can be set to approximately 480×70. Further, if the inter-block size is 30 dots, the horizontal (X coordinate in the figure) size is 70+30, so 900÷100, and a maximum of 9 large blocks can be displayed at one time.

S7にて、各パラメータを初期化する。つまり、各ブロ
ックのスタート座標とエンド座標を求め、カレント座標
を第1ブロックの左上として(0,0)に設定する。更
に第1行目の行管理情報をリードすることによって、テ
キスト部の先頭行のアドレスを知る。S9で、テキスト
カウンタcntがカレント行の総バイト数より小さけれ
ば、S17で現在のx.y座標がカレント大ブロックに
納まるかどうかをチェックする。納まれば、現在のポイ
ンタで示されるテキスト部のデータを1バイトリードし
、そのデータが文字であるか、制御コードであるかをS
23チェックする。この時のテキストポインタは、行管
理情報部のカレント行のテキスト部へのポインタとカウ
ンタcntより得る事ができる。さらにテキストデータ
を1バイトリードした後カウンタをインクリメントして
おく。S23にて、文字コードであれば、S27でカレ
ント座標の1ドットをOFFにする。もし、制御コード
であれば、S25でレイアウトデータ部の座標管理部よ
り得られる桁までの座標をONにする。そして、X座標
とカウンタcntを更新して、S9に戻る。
In S7, each parameter is initialized. That is, the start coordinate and end coordinate of each block are determined, and the current coordinate is set to (0, 0) as the upper left corner of the first block. Furthermore, by reading the line management information of the first line, the address of the first line of the text portion is known. If the text counter cnt is smaller than the total number of bytes of the current line in S9, the current x. Check whether the y coordinate fits within the current large block. If it is settled, read 1 byte of data in the text section indicated by the current pointer, and write S to determine whether the data is a character or a control code.
23 Check. The text pointer at this time can be obtained from the pointer to the text section of the current line in the line management information section and the counter cnt. Furthermore, after reading 1 byte of text data, the counter is incremented. If it is a character code in S23, one dot at the current coordinates is turned off in S27. If it is a control code, the coordinates up to the digit obtained from the coordinate management section of the layout data section are turned on in S25. Then, the X coordinate and the counter cnt are updated, and the process returns to S9.

S9で、テキストカウンタcntがカレント行の総バイ
ト数より大きくなれば、Sllで次の行管理情報をリー
ドし、テキスト部へのポインタとカレント行の総バイト
数を更新する。更に515にて、y座標をインクリメン
トし、X座標をスタート座標に戻す。また、カウンタc
ntは、クリアしておく。
In S9, if the text counter cnt becomes larger than the total number of bytes of the current line, the next line management information is read in Sll, and the pointer to the text part and the total number of bytes of the current line are updated. Furthermore, at 515, the y coordinate is incremented and the x coordinate is returned to the starting coordinate. Also, counter c
nt is cleared.

さて、S17で現在の大ブロックの座標範囲に納まらな
いときは、S19にて、S5で得た次の大ブロック座標
形に移す。
Now, if it is determined in S17 that the coordinates do not fall within the current large block coordinate range, then in S19 the coordinates are moved to the next large block coordinate form obtained in S5.

上記のフローは、S13で行管理情報がなくなるまで続
く。
The above flow continues until there is no row management information left in S13.

[他の実施例] 上記実施例では、文書ファイル全体のレイアウト表示全
体の説明に終わっているが、図形・表・イメージの抽出
表示、あるいは、逆に特定文章の抽出表示にも利用する
ことが可能である。
[Other Examples] Although the above example ends in explaining the entire layout display of the entire document file, it can also be used to extract and display figures, tables, and images, or conversely, to extract and display specific sentences. It is possible.

例えば、第7図のS23の分岐で、『カレントデータが
イメージであるか?1という判断にして、イメージであ
ればx,y座標のドットをONにし、それ以外であれば
ドットをOFFにする。
For example, in the branch of S23 in FIG. 7, "Is the current data an image?" 1, and if it is an image, the dot at the x and y coordinates is turned on, and if it is not, the dot is turned off.

すると文書ファイル全体のレイアウト表示したときには
、イメージ部分だけが表示される(第8図参照)。
Then, when the layout of the entire document file is displayed, only the image portion is displayed (see FIG. 8).

同様に、S23の分岐で、『カレントデータが図形であ
るか?』という判断にして、図形部分の座標値だけをO
Nにすれば、図形だけの表示が可能となる。
Similarly, in the branch of S23, the question ``Is the current data a figure? ', and only the coordinate values of the figure part are O.
If set to N, only graphics can be displayed.

[発明の効果] 元来文書のレイアウト表示は、1頁のみというのが常識
であったが、文書をできるだけ小さな情報に変換するこ
と(よって、1文書ファイル全体構成を1画面で見るこ
とが可能となる。
[Effect of the invention] Originally, it was common knowledge that the layout of a document was displayed on only one page, but it is now possible to convert the document into as small information as possible (thereby, the entire structure of one document file can be viewed on one screen). becomes.

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

第1図は本発明の全体構成図、 第2図は従来までの表示例を示す図、 第3図は本発明による表示例を示す図、第4図は第5図
の実施例における本発明の起動前の画面表示例を示す図
、 第5図は本発明文字処理装置の一実施例を示すロー7 ブ亭会ク図、 第6図は本発明の文書構成例を示す模式図、第7図は本
実施例によるレイアウト形式変換手順の一例を示すフロ
ーチャート、 第8図は他の実施例における表示例を示す図。
Figure 1 is an overall configuration diagram of the present invention, Figure 2 is a diagram showing a conventional display example, Figure 3 is a diagram showing a display example according to the present invention, and Figure 4 is a diagram showing the present invention in the embodiment of Figure 5. 5 is a diagram showing an example of the screen display before starting the character processing device of the present invention. FIG. 6 is a schematic diagram showing an example of the document structure of the present invention. FIG. 7 is a flowchart showing an example of a layout format conversion procedure according to this embodiment, and FIG. 8 is a diagram showing a display example in another embodiment.

Claims (1)

【特許請求の範囲】 1、文字を入力するための入力手段と、 前記入力手段から入力される文章を表示する表示手段と
、 その文章を記憶する文書格納手段と、 文章の頁・行・桁を書式情報に従ってドット単位の座標
値に変換するレイアウト展開手段とを有することを特徴
とする文字処理装置。
[Claims] 1. An input means for inputting characters; a display means for displaying the text input from the input means; a document storage means for storing the text; and pages, lines, and columns of the text. 1. A character processing device, comprising: layout development means for converting the image into coordinate values in units of dots according to format information.
JP1231846A 1989-09-06 1989-09-06 Character processor Pending JPH0392958A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1231846A JPH0392958A (en) 1989-09-06 1989-09-06 Character processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1231846A JPH0392958A (en) 1989-09-06 1989-09-06 Character processor

Publications (1)

Publication Number Publication Date
JPH0392958A true JPH0392958A (en) 1991-04-18

Family

ID=16929930

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1231846A Pending JPH0392958A (en) 1989-09-06 1989-09-06 Character processor

Country Status (1)

Country Link
JP (1) JPH0392958A (en)

Similar Documents

Publication Publication Date Title
JPH07248755A (en) Character display method
JPH0392958A (en) Character processor
JPS61250768A (en) Device for updating conversion dictionary
JP2786260B2 (en) Kana-Kanji conversion device
JP2944666B2 (en) Character processor
JP3236039B2 (en) Character processing apparatus and method
JPH0392959A (en) Character processor
JPS60245075A (en) Automatic agate display system
JPS59140541A (en) Character processing device
JP2635602B2 (en) Document creation device
JP3027834B2 (en) Document file name display
JP2606579B2 (en) Character display device
JP3058181B2 (en) Character processing apparatus and method
JPH0778133A (en) Document preparing device and method for outputting character pattern
JPS60245074A (en) Automatic agate display system
JPH0432957A (en) Character processor
JPH0816908B2 (en) Character processing device and character processing method
JPH05233601A (en) Document processor for setting automatically kana to kanji conversion mode
JPH02161557A (en) Character processor
JPH05135007A (en) Character input processing method
JPH03286249A (en) Character processor
JPS61110263A (en) Character processor
JPS63257862A (en) Character processor
JPS60205776A (en) Layout display system of word processor
JPH0793366A (en) Character processor