JPS61158381A - Rule block processor - Google Patents
Rule block processorInfo
- Publication number
- JPS61158381A JPS61158381A JP59275178A JP27517884A JPS61158381A JP S61158381 A JPS61158381 A JP S61158381A JP 59275178 A JP59275178 A JP 59275178A JP 27517884 A JP27517884 A JP 27517884A JP S61158381 A JPS61158381 A JP S61158381A
- Authority
- JP
- Japan
- Prior art keywords
- block
- memory
- ruled line
- line
- 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
Links
- 230000015654 memory Effects 0.000 claims description 73
- 238000012545 processing Methods 0.000 claims description 14
- 238000005192 partition Methods 0.000 claims 1
- 238000000034 method Methods 0.000 description 36
- 238000010586 diagram Methods 0.000 description 8
- 238000012546 transfer Methods 0.000 description 8
- 239000011159 matrix material Substances 0.000 description 4
- 238000012217 deletion Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 238000003780 insertion Methods 0.000 description 2
- 230000037431 insertion Effects 0.000 description 2
- 101100133666 Arabidopsis thaliana NUP214 gene Proteins 0.000 description 1
- 101100443291 Mus musculus Dnajc27 gene Proteins 0.000 description 1
- 235000019892 Stellar Nutrition 0.000 description 1
- 239000003795 chemical substances by application Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000001771 impaired effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Record Information Processing For Printing (AREA)
- Document Processing Apparatus (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
c分 野1
本発明は罫線付きの文書を扱う罫線ブロック処理装置に
関する。DETAILED DESCRIPTION OF THE INVENTION Field 1 The present invention relates to a ruled line block processing device that handles documents with ruled lines.
[従来技術]
従来lライン表示器を用いて文書を作成する装置に於い
ては1文書をブロック形式に段s!llみしたり又は、
!14線付きの文書にする際1次の様な方式があった。[Prior Art] Conventionally, in a device that creates a document using a line display, one document is written in a block format. Or,
! When creating a document with 14 lines, there was the following method.
imち、
(A)1行の文字数を予め決めておき、行内で左右のブ
ロック奄形成し、さらに行単位で上下のブロックを考慮
しつつ文字列を入力する。ブロック間を罫線で仕切る時
は1文字間に直接罫線マークそのものを入力したり、ア
ングラインを利用する。(A) Decide the number of characters in one line in advance, form blocks on the left and right within the line, and input the character string in each line while taking into account the upper and lower blocks. When dividing blocks with ruled lines, input the ruled line mark itself directly between each character or use an angline.
(B)1列に並んだシリアルな文字列文書に対して、ブ
ロックの枠組を別に作成し各々別個に管理する。(B) For a serial character string document arranged in a row, a block framework is created separately and each block is managed separately.
上述した(A)の方式の場合1文書に編集処理(挿入、
削除等)を施すとブロックの形態が崩れる為、改めてブ
ロック形態を考慮した編集をし直さなければならないと
いう欠点があった。他方、(B)の方式の場合も文書に
編集処理(挿入、削除等)を施すと文書とブロックとの
大きさに不一致が生じ、場合によってはブロックをはみ
出したりする等の不都合が生じる為、改めてブロックを
設定し直さなければならないという欠点があった。In the case of method (A) mentioned above, editing processing (insertion,
If the block format is changed (deletion, etc.), the format of the block collapses, and the editing must be done again taking the block format into consideration. On the other hand, in the case of method (B), if editing processing (insertion, deletion, etc.) is performed on the document, there will be a mismatch in the size of the document and the block, and in some cases, problems such as blocks protruding may occur. The drawback was that the blocks had to be set up again.
[目 的]
本発明は上述した欠点を補い、1列のシリアルな文字列
からなる文書に対し文字列の分割を行なう区切マークと
ブロックの桁位置情報を同時に持たせる事に拠りブロッ
ク形態に変換するようにし、その結果文書に編集処理を
施してもブロックの形態が崩れたり特にブロック間に罫
線を引く様な場合でも罫線がずれる事のない様、常に文
書とブロックの形sな統一的に扱う事を可能とした罫線
ブロック処理装置を提供する事にある。[Purpose] The present invention compensates for the above-mentioned drawbacks, and converts a document consisting of one serial character string into a block format by simultaneously providing delimiter marks for dividing the character string and block digit position information. As a result, even if you edit the document, the shape of the blocks will not be distorted, and even if you draw borders between blocks, the borders will not shift, so the shapes of the document and blocks should always be consistent. An object of the present invention is to provide a ruled line block processing device that can handle ruled line blocks.
[本発明の概念]
本発明の概念を第1図に示す0例えば1ラインメモリに
は文字がシリアルな状態で格納されており、この中に区
切マーク入力手段によって区切マークを入力し且つ桁位
置指定手段によって桁位置情報が文字と同時に格納され
る。このlラインメモリに罫線ブロック作成手段を用い
て罫線ブロック文書に組み立て変換するものである。[Concept of the present invention] The concept of the present invention is shown in FIG. Column position information is stored simultaneously with characters by the specifying means. This l-line memory is assembled and converted into a ruled line block document using a ruled line block creation means.
[実施例]
以下に本発明の実施例による動作の一例を示す、第5図
(a)に示した通りまず文字列を1列にシリアルに入力
し、さらに第5図(b)に示した通りブロックの縦区切
の桁を[1,4,9]とキーボードより文字列の先頭に
設定し、文字の区切を示すマーク・を文字列中に挿入設
定する。[Example] An example of the operation according to the embodiment of the present invention is shown below. As shown in FIG. 5(a), first a character string is serially input in one column, and then as shown in FIG. 5(b). Set the vertical separator digits of the street block as [1, 4, 9] at the beginning of the character string using the keyboard, and insert a mark indicating the character separator into the character string.
かような文字列を作成した段階で罫線ブロックキーを押
下すると第5図(c)に示した通りM線ブロックを作成
する訳である。最初の・マークまでの「あいうえお」は
平文であり1次の文字から・マークが2つ連続する所ま
で即ち「争ABC・abc拳アイウφ12・・」がブロ
ック形式文書となる。以下「たちつてと」は再び平文と
なる訳である。・マークはブロック間を罫線で仕切る意
味も持つ、この場合縦罫線が引かれる桁は文頭の数字[
1,4,9]で規定され、横罫線位置は各ブロックの行
の長さに応じて自動的に決定される。When the ruled line block key is pressed after creating such a character string, an M line block is created as shown in FIG. 5(c). "Aiueo" up to the first "mark" is plain text, and from the first character to the place where two "marks" are consecutive, that is, "War ABC/abc Kenaiu φ12..." becomes a block format document. Hereafter, ``tachitsuteto'' will be translated as plain text again.・Marks also have the meaning of dividing blocks with ruled lines. In this case, the digit where the vertical ruled line is drawn is the number at the beginning of the sentence [
1, 4, 9], and the horizontal ruled line position is automatically determined according to the length of the row of each block.
罫線ブロックキーを押下する前に罫線省略キーを押下し
ておくと第5図(d)に示した通りブロックの形態は出
来るが罫線は全てスペースに置換えられたブロック形式
文書になる。又、罫−ブロック□キーを押下する前に罫
線詰めキーを押下しておくと第5図(el)に示した通
り外枠の罫線と縦罫線を残してブロックの内側の横罫線
が省略され1行詰まったブロック形式文書になる。If the omit ruled line key is pressed before pressing the ruled line block key, a block format is created as shown in FIG. 5(d), but the document becomes a block format document in which all ruled lines are replaced with spaces. Also, if you press the fill-rules key before pressing the ruled-block □ key, the horizontal ruled lines inside the block will be omitted while leaving the outer ruled lines and vertical ruled lines, as shown in Figure 5 (el). It becomes a block format document with one line stuck.
以下図面を参照して本発明の詳細な説明する。 ゛第
2図は本発明文字処理装置の構成例を示す図である。C
PU(中央処理装置)はROM (リードオンリメモリ
)に含まれたプログラム例えば第6図〜第10図に示す
手順のプログラムの内容を実行処理する事によりパスラ
インを介して接続される各装置を制御する。このパスラ
インBLにはキーボードKBが接続され、このキーボー
ドKBから入力された文字情報はパスラインBLを介し
てメモリRAM (ランダムアクセスメモリ)の一部に
ある文書メモリBSMに供給記憶される。記憶された文
字情報を表示器LCD (リキッドクリスタルディスプ
レイ)に表示するにはLCDコントローラDCONTで
制御されているキャラクタジェネレータCGの中から文
字コードに相当するフォントをパスラインを介してCP
Uの指示により行なわれる。The present invention will be described in detail below with reference to the drawings. 2 is a diagram showing an example of the configuration of the character processing device of the present invention. C
The PU (Central Processing Unit) controls each device connected via the path line by executing the program contained in the ROM (Read Only Memory), for example, the procedure shown in Figures 6 to 10. Control. A keyboard KB is connected to this pass line BL, and character information input from this keyboard KB is supplied and stored via the pass line BL to a document memory BSM in a part of a memory RAM (random access memory). To display the stored character information on the display device LCD (liquid crystal display), a font corresponding to the character code is selected from the character generator CG controlled by the LCD controller DCONT via the pass line.
This is done under the direction of U.
メモVRAMには前述の文書メモリBSMの他にブロッ
クを形成する為のブロックメモリBRM、ブロックを分
割した際に各分割ブロックの縦罫線位置を示す縦罫線テ
ーブルTXT、後述する小ブロックの先頭桁と終了桁を
示す小ブロツク範囲テーブルSHT、横罫線の行Noを
格納する横罫銀行NoLNO1小ブロック数を格納する
小ブロツク数SS、その他プログラムを実行処理する際
に必要な罫線フラグKF、罫線詰めフラグKTF、罫線
スタートフラグKSFやメモリカーソル位置を示すCR
LM等の一時記憶用の領域がある。プリンタDは前述の
ブロックメモリBRMの内容をCPUの指示により印刷
する為の装置である。In addition to the above-mentioned document memory BSM, the memo VRAM includes a block memory BRM for forming blocks, a vertical ruled line table TXT that indicates the vertical ruled line position of each divided block when a block is divided, and the starting digit of a small block to be described later. Small block range table SHT that indicates the end digit, horizontal ruled bank No. LNO1 that stores the row number of horizontal ruled lines, small block number SS that stores the number of small blocks, ruled line flag KF, and ruled line filling flag that are necessary when executing other programs. KTF, CR indicating the ruled line start flag KSF and memory cursor position
There is an area for temporary storage such as LM. Printer D is a device for printing the contents of the aforementioned block memory BRM according to instructions from the CPU.
第3図は第2図のキーボードKBの拡大詳細図である。FIG. 3 is an enlarged detailed view of the keyboard KB of FIG. 2.
この白文字キーCRKは通常の文字を入力する為のキー
であり、ここで入力されたキーに対応した文字コードが
前述の文書メモリBSMに格納されかつ表示器LCDに
表示される。このキーの中には後述するブロック分割用
のマークφを入力するDKも含まれている。カーソル左
移動キー、右移動キーの各キーは表示上の文字位置を示
すカーソルを左右に移動させる為のキーである。罫線ブ
ロックキーKBKはシリアル文字列から罫線ブロックを
作成させる為のキーである。This white character key CRK is a key for inputting ordinary characters, and the character code corresponding to the key input here is stored in the document memory BSM and displayed on the display device LCD. This key also includes a DK for inputting a mark φ for block division, which will be described later. The cursor left movement key and right movement key are keys for moving the cursor, which indicates the character position on the display, left and right. The ruled line block key KBK is a key for creating a ruled line block from a serial character string.
罫線詰めキーKCKはブロックの内側の横罫線を省略し
て詰めるキーであり、罫線省略キーKAKはブロック形
式にした際会ての罫線を省略してスペースに置換する為
のキーである。印刷キーPKはブロックメモリBRMの
内容を印刷させる為のキーである。The rule filling key KCK is a key for omitting horizontal ruled lines inside a block, and the ruled line omission key KAK is a key for omitting adjacent ruled lines and replacing them with spaces when the block is formatted. The print key PK is a key for printing the contents of the block memory BRM.
第4図は第2図におけるRAM内の文書メモリBSM、
ブロックメモリBRM、縦罫線′テーブルTKT、小ブ
ロツク範囲テーブルSHTの詳細説明図である。FIG. 4 shows the document memory BSM in the RAM in FIG.
FIG. 4 is a detailed explanatory diagram of a block memory BRM, a vertical ruled line table TKT, and a small block range table SHT.
文書メモリBSMは文字情報が格納されるシリアルなメ
モリで先頭からアドレス順に構成さレテオリ、順にBS
M (1)、BSM (2)−−−一般にBSM (i
)と表現する。ブロックメモリBRMは9×9のマトリ
ックス構造になっており、先頭行の1桁目から順にアド
レスが付され、BRM (1,1)、BRM (1,2
)−−−一般にBRM (x 、y)と表現する。縦罫
線テーブルTXTは文書内で設定された縦罫線桁位置を
記憶する為のテーブルであり先頭行から順にアドレスが
付され、TKT (1)、TKT (1)−−−一般に
TKT (p)と表現する。小ブロツク範囲テーブルS
ITは各小ブロックの文字情報をブロックメモリのどの
範囲に転送するかを示した各々開始桁と終了桁をペアで
持たせたメモリであり先頭からSHT (1,1)、S
HT (1,2)、5HT(2、1)−−−一般にSH
T (m、1)、SIT(m、2)と表現する。The document memory BSM is a serial memory in which character information is stored, and is configured in address order from the beginning.
M (1), BSM (2)---Generally BSM (i
). The block memory BRM has a 9x9 matrix structure, and addresses are assigned in order from the first digit of the first row, BRM (1, 1), BRM (1, 2
)---Generally expressed as BRM (x, y). The vertical ruled line table TXT is a table for storing the vertical ruled line digit positions set in a document, and addresses are assigned in order from the first row, TKT (1), TKT (1)---generally TKT (p). express. Small block range table S
IT is a memory that has pairs of start and end digits indicating to which range of the block memory the character information of each small block is to be transferred, starting from the beginning with SHT (1, 1), S
HT (1, 2), 5HT (2, 1) --- generally SH
Expressed as T (m, 1) and SIT (m, 2).
以上の構成の下で、本発明実施例の動作を第6図〜第1
O図のフローチャート及び第11図、第12図のメモリ
内容例を参照して説明する。Under the above configuration, the operation of the embodiment of the present invention is illustrated in FIGS. 6 to 1.
This will be explained with reference to the flowchart in FIG. O and examples of memory contents in FIGS. 11 and 12.
本装置は、電源を投入するとまず第6図ステップslに
進む、ステップs1ではRAM内の文書メモリBSM、
ブロックメモリBRMをスペースクリヤし、縦罫線テー
ブルTKT、罫線フラグKF、罫線詰めフラグKTF、
罫線スタートフラグKSFをOクリヤし、カーソルを文
書メモリBSMの先頭にセットしてカーソル位置メモリ
CRLMを初期状思にセットする。When this device is powered on, it first proceeds to step sl in FIG. 6. In step s1, the document memory BSM in the RAM,
Clear the space in block memory BRM, vertical ruled line table TKT, ruled line flag KF, ruled line filling flag KTF,
The ruled line start flag KSF is cleared to O, the cursor is set to the beginning of the document memory BSM, and the cursor position memory CRLM is set to the initial state.
その後、ステップS2に進み第3図に示したキーボード
からのキー人力待ちの状態を保つ。Thereafter, the process advances to step S2, and the state of waiting for manual input of keys from the keyboard as shown in FIG. 3 is maintained.
そこで何らかのキーが入力されたならステップS3に進
み入力されたキーの判別を行ないステップ54〜ステツ
プS9のいずれかに進む。If any key is input, the process proceeds to step S3, where the input key is determined, and the process proceeds to any one of steps 54 to S9.
ステップS4は文字キーが操作された時の処理を行なう
0文字キーが操作されるとカーソル位置メモリCRLM
に対応した文書メモリBSMに文字コードを格納する。Step S4 performs processing when a character key is operated.When the 0 character key is operated, the cursor position memory CRLM
The character code is stored in the document memory BSM corresponding to the character code.
しかる後、カーソルは1つ歩進し同時にカーソル位置メ
モリCRLMの内容も17112分進む。Thereafter, the cursor advances by one, and at the same time, the contents of the cursor position memory CRLM also advance by 17112 minutes.
ステップS5ではカーソル右移動、又はカーソル左移動
キーが操作された時の処理を行なう、即ち、カーソル左
移動キーが操作されたならカーソル位置メモリCRLM
の内容を1アドレス分減じる処理を行ない、逆にカーソ
ル右移動キーが操作された時はカーソル位置メモリCR
LMの内容を1アドレス分加える処理を行なう。In step S5, processing is performed when the cursor right movement key or the cursor left movement key is operated, that is, if the cursor left movement key is operated, the cursor position memory CRLM is
When the cursor right movement key is operated, the contents of the cursor position memory CR are decremented by one address.
Processing is performed to add the contents of LM for one address.
ステップS6では罫線詰めキーが操作された時の処理を
行なう、罫線詰めキーが操作されるとRAMにおける罫
線詰めフラグKTFが0だった時にはlに、lだった時
はOにセットする処理先行なう。In step S6, a process is performed when the line filling key is operated. When the line filling key is operated, the process of setting the line filling flag KTF in the RAM to l if it is 0 and to O if it is l is performed. .
ステップS7では罫線省略キーが操作された時の処理を
行なう、ff’F線省略キーが操作されるとRAMにお
ける11線フラグKFがOだった時にはlに、1だった
時は0にセットする処理を行なう。In step S7, processing is performed when the ruled line omission key is operated. When the ff'F line omission key is operated, the 11th line flag KF in the RAM is set to l when it is O, and to 0 when it is 1. Process.
ステツープs8では第4図に示した文書メモリBSMの
内容から罫線ブロックを組み立てその結果をブロックメ
モリBRMに格納させる処理を行なう、ステップS9で
はブロックメモリBRMの内容をプリントキーPKによ
りプリンタPでプリントする。In step s8, a ruled line block is assembled from the contents of the document memory BSM shown in FIG. 4, and the result is stored in the block memory BRM.In step S9, the contents of the block memory BRM are printed by the printer P using the print key PK. .
ステップs8の内容を詳細に説明したのが第7図である
。以下第7図を参照して説明する。まずステップs8.
1で文書メモリBSMにおけるポインターlを1にセッ
トする。FIG. 7 shows a detailed explanation of the contents of step s8. This will be explained below with reference to FIG. First step s8.
1 sets the pointer l in the document memory BSM to 1.
次にステップ38.2に進み文書メモリBSMの先頭に
あるブロックを区切る桁位置情報から各ブロックにおけ
る縦罫線の桁位置を求め縦罫線テーブルTXTを作成す
る0桁位置情報は[のマークから]のマークに挟まれた
数字で表現される。第11図(1)の例に従えば1,4
.9が桁位置情報である。その結果第11図(2)に示
した通り縦罫線テーブルTXTが作成される。Next, proceed to step 38.2, find the digit position of the vertical ruled line in each block from the digit position information that separates the blocks at the beginning of the document memory BSM, and create the vertical ruled line table TXT. Represented by numbers between marks. According to the example in Figure 11 (1), 1,4
.. 9 is digit position information. As a result, a vertical ruled line table TXT is created as shown in FIG. 11(2).
次にステップ88.3に進み横方向に並ぶ小ブロックの
数を求めRAMの小ブロツク数SSにセットする。第1
1図の例でいくと縦罫線桁位置は1,4.9の3箇所で
あるからその間に入る小ブロックの数は2つになる訳で
ある。Next, the process proceeds to step 88.3, and the number of small blocks arranged in the horizontal direction is determined and set to the small block number SS in the RAM. 1st
In the example shown in Figure 1, there are three vertical ruled line digit positions, 1, 4.9, so the number of small blocks that can fit between them is two.
さらにステップ88.4に進み縦罫線テーブルTKTか
ら各小ブロックの収まる桁範囲を求める。第11図(2
)の例に従うと、縦罫線桁位置は1,4.9の3箇所で
あるから、従って2つの小ブロックは各々2〜3.5〜
8桁の範囲に収まる事になる。これをテーブル化したの
が第1図(3)で示した例である。さらにこの小ブロツ
ク範囲テーブルSHTのポインターmを1にセットし、
他方文書メモリBSMのポインターiを桁位置情報の終
りを示す1の次にセットする。Further, the process proceeds to step 88.4, and the digit range within which each small block fits is determined from the vertical ruled line table TKT. Figure 11 (2
), there are three vertical ruled line digit positions, 1 and 4.9, so the two small blocks are 2 to 3.5, respectively.
This will fit within 8 digits. The example shown in FIG. 1 (3) is a table of this. Furthermore, pointer m of this small block range table SHT is set to 1,
On the other hand, the pointer i of the document memory BSM is set after 1 indicating the end of the digit position information.
ステップ88.5では文書メモリBSMのうちポインタ
ーiで示される文字から最初の区切マーク・までの文字
をブロックメモリBRMにセットする。In step 88.5, characters from the character indicated by pointer i to the first delimiter mark in the document memory BSM are set in the block memory BRM.
その詳細を第8図のフローチャートを用いて説明する。The details will be explained using the flowchart of FIG.
まずステップs8.5.1ではブロックメモリBRMの
ポインターX t Yを各々lにセットする0次s8.
=5.2では文書メモリBSMの内容を判別して分岐す
る0分岐する前にポインターIを1加算する0文字判別
の結果区切マーク・の時はこのルーチンを抜ける。他方
通常の文字の時はステップs8.5.3に分岐し文書メ
モリBSMの内容をブロックメモリBRMに転送する。First, in step s8.5.1, the pointers X t Y of the block memory BRM are set to l respectively.
= 5.2, the content of the document memory BSM is determined and branched. Pointer I is incremented by 1 before branching to 0. If the result of 0 character determination is a delimiter mark, this routine exits. On the other hand, if it is a normal character, the process branches to step s8.5.3 and the contents of the document memory BSM are transferred to the block memory BRM.
さらに横方向のポインターyを1加算する。Furthermore, 1 is added to the horizontal pointer y.
次にステップs8.5.4に進みyの値を判別して分岐
する。yが9より小又は等しい時再びステップs8.5
.2に戻る。yが9より大きい時ステップs8.5.5
に進み改行の処理をすべくyを1セツトし1行方向のポ
インターXに1加算する0本処理を終了した時文書メモ
リBSMのポインターlは区切マーク・の次に位置する
事になる。又第12図(1)に示した通り[あいうえお
」だけがブロックメモリBRMに転送される。Next, the process advances to step s8.5.4 to determine the value of y and branches. When y is less than or equal to 9, step s8.5 again
.. Return to 2. When y is greater than 9 step s8.5.5
Proceed to step 1, set y to 1 and add 1 to the pointer X in the direction of one line. When the 0 line processing is completed, the pointer l in the document memory BSM will be located next to the delimiter mark. Also, as shown in FIG. 12(1), only "AIUEO" is transferred to the block memory BRM.
第7図に戻ってステラたs8.6では横罫線情報をブロ
ックメモリに1行分セットし、且つブロック行NoLN
Oに次の行の値をセットする処理を行なう、この処理の
詳細を第9図を参照して説明する。Returning to FIG. 7, in Stellar s8.6, horizontal ruled line information for one line is set in the block memory, and block row NoLN is set.
The details of this process of setting O to the value of the next row will be explained with reference to FIG.
第9図ステップs8.6.1においては、ブロックメモ
リBRMの内容を調べ空白の行を探し出しその行Noを
ブロック行NoLNOにセットする。In step s8.6.1 of FIG. 9, the contents of the block memory BRM are checked to find a blank line and its line number is set in the block line NoLNO.
次にステップs8.6.2に進みRAM内の罫線スター
トフラグKSFと罫線詰めフラグKTFの内容を判別し
て、罫線スタートフラグKSFが1即ち中間の罫線であ
り、且つ罫線詰めフラグKTFが1の時に限り罫線を詰
める為以上で本ルーチンを終了する。他方それ以外の条
件の時はステップs8.6.3に進み横罫線マーク「−
」を縦罫線テーブルTXTを参照して縦罫線の先頭桁か
ら最終桁まで全てにセットする。しかる後。Next, the process advances to step s8.6.2, and the contents of the ruled line start flag KSF and ruled line filling flag KTF in the RAM are determined, and it is determined that the ruled line start flag KSF is 1, that is, an intermediate ruled line, and that the ruled line filling flag KTF is 1. This is the end of this routine in order to close the ruled lines from time to time. On the other hand, if the other conditions are met, proceed to step s8.6.3 and mark the horizontal ruled line mark "-".
" is set in all vertical ruled lines from the first digit to the last digit by referring to the vertical ruled line table TXT. After that.
縦罫線テーブルTKTのポインターpに1セツトする。1 is set in the pointer p of the vertical ruled line table TKT.
さらにステップs8.6.4に進み縦罫線テーブルTX
Tの内容をポインターpに従って読込み、その値が先頭
か最後か中間の桁かで分岐する。先頭桁の場合はステッ
プs8.6.5に進む。Further, the process advances to step s8.6.4 and the vertical ruled line table TX is
The contents of T are read according to the pointer p, and the process branches depending on whether the value is the first, last, or middle digit. If it is the first digit, proceed to step s8.6.5.
ステップs8.6.5では「1」又は「ト」又はスペー
スをブロック行N o LNOとTKT(p)で規定さ
れるブロックメモリBRMのマトリックス位置にCGよ
り読み出しセットする訳であるが、RAMにおける罫線
フラグKFが1の時は全ての罫線を省略するのでスペー
スを入れる。In step s8.6.5, ``1'' or ``g'' or a space is read from CG and set in the matrix position of block memory BRM defined by block row No LNO and TKT(p). When the ruled line flag KF is 1, all ruled lines are omitted, so a space is inserted.
によって判別する。即ち、罫線スタートフラグKSFが
Oの時はそれより上に罫線は無いのでポインターpを1
つ進める。さらにステップs8...6.4に戻り再び
次の縦罫線桁位置を読込む。Determine by. In other words, when the ruled line start flag KSF is O, there is no ruled line above it, so the pointer p is set to 1.
Advance one step. Furthermore, step s8. .. .. 6. Return to step 4 and read the next vertical ruled line digit position again.
BRMにセットする。いずれのパタンをセットするかは
ステップs8.6.5における判別と同じ条件である。Set it to BRM. Which pattern to set is determined under the same conditions as in step s8.6.5.
しかる後にステップs8.6.6に進む。Thereafter, proceed to step s8.6.6.
BRMにステップs8.6.5と同様にセットする。こ
の処理を終えるとステップS8.6.9に進みブロック
メモリの行を変える為にブロック行NoLNOを1つ進
め、罫線スタートフラグKSFを1にセットし先頭の横
罫線は転送し終えた事を記憶させる0以上で第12図(
2)の2行目及び第12図(5)の5行目の例に示した
通り横罫線がブロックメモリBRKにセットされる事に
なる。かかる処理が終えたなら第7図のステップ38.
7に進む。Set BRM as in step s8.6.5. When this process is completed, the process advances to step S8.6.9, advances the block row NoLNO by one to change the line in the block memory, sets the ruled line start flag KSF to 1, and remembers that the first horizontal ruled line has been transferred. Figure 12 (
As shown in the example of the second line of 2) and the fifth line of FIG. 12(5), horizontal ruled lines are set in the block memory BRK. Once this process is completed, step 38 in FIG.
Proceed to step 7.
ステップ88.7では文書メモリ内の小ブロックに含ま
れる文字列を縦罫線情報と同時にブロックメモリBRK
に転送する処理を行なう、第1θ図を参照しつつ詳細に
説明する。In step 88.7, the character string included in the small block in the document memory is stored in the block memory BRK at the same time as the vertical ruled line information.
This will be explained in detail with reference to FIG. 1θ.
まずステップs8.7.1において、ブロックメモリB
RMの横方向のポインターXにブロック行NoLNOの
値をセットし、同じく縦方向ポインターyに小ブロツク
範囲テーブル内の開始桁をセットする0次にステップ!
18.7.2に進み文書メモリを読込んでその内容によ
って分岐する。First, in step s8.7.1, block memory B
Set the value of block row NoLNO in the horizontal pointer X of RM, and also set the starting digit in the small block range table in the vertical pointer y.
Step 18.7.2 reads the document memory and branches depending on its contents.
通常の文字の場合はステップs8.7.3に進み、文書
メモリBSMの内容をブロックメモリBRMに転送する
。さらに文書メモリBSMのポインターiを1つ進める
。In the case of normal characters, the process proceeds to step s8.7.3, where the contents of the document memory BSM are transferred to the block memory BRM. Furthermore, the pointer i of the document memory BSM is advanced by one.
次にステップs8.7.4に進みブロックメモリBRM
の横方向ポインターyと小ブロツク範囲テーブルSHT
の内終了桁とを比較する。これは小ブロックの1行分の
転送が完了したか否か調べる事を意味する。一致した場
合は1行分の転送が完了した訳で第12図(3)の例で
説明すると3行目のrABJ迄が転送された時である。Next, proceed to step s8.7.4 and block memory BRM.
horizontal pointer y and small block range table SHT
Compare with the ending digit. This means checking whether the transfer of one row of the small block has been completed. If they match, the transfer of one line has been completed, and to explain this using the example of FIG. 12 (3), this means that up to the third line rABJ has been transferred.
その場合ステップs8.7.5に進み転送した行に縦罫
線を必要なだけ全てセットする。しかる後にブロックメ
モリBRMの縦方向ポインターXを1つ進め横方向のポ
インターyは元の桁位置SHT(m、l)に設定し直す
、かかる処理が社了すると再びステップs8.7.2に
戻る。In that case, the process proceeds to step s8.7.5 and sets all the necessary vertical ruled lines on the transferred lines. After that, the vertical pointer .
他方、ステップs8.7.4で1行未完成と判別された
時はステップ58−7.6に進みブロックメモリBRM
の横方向ポインターyを1つだけ進めてステップs8.
7.2に戻る。この繰り返しで第12図(3)に示した
通り「AB」 「C」迄が転送される訳である。On the other hand, when it is determined in step s8.7.4 that one row is incomplete, the process advances to step 58-7.6 and the block memory BRM
Advance the horizontal pointer y by one step and proceed to step s8.
Return to 7.2. By repeating this process, data up to "AB" and "C" are transferred as shown in FIG. 12 (3).
一方ステップs8.7.2で文書メモリBSMの内容が
・マークの場合は1つの小ブロックの転送が完了した訳
で本ルーチンを抜ける。On the other hand, if the content of the document memory BSM is a mark in step s8.7.2, the transfer of one small block is completed and the routine exits.
第′7図に戻って次にステップ88.8では小ブロツク
範囲テーブルSHTのポインターmを1つ進める。さら
にステップ88.9では33−1を実行しその結果横方
向に並んだ小ブロックの全てがブロックメモリBRMに
転送終了したか否か判別しまだ完了していない時はステ
ップ88.7に戻る。完了した時は第12図(4)に示
した通り横並びの小ブロックrABcJ rabcJ
が転送された訳でステップs8.10に進む。Returning to FIG. 7, in step 88.8, the pointer m of the small block range table SHT is advanced by one. Furthermore, in step 88.9, step 33-1 is executed, and as a result, it is determined whether all the small blocks arranged in the horizontal direction have been transferred to the block memory BRM. If the transfer has not been completed yet, the process returns to step 88.7. When completed, the small blocks rABcJ rabcJ are arranged horizontally as shown in Figure 12 (4).
has been transferred, the process proceeds to step s8.10.
ステップs8.10では文書メモリBSMのポインター
i11つ進めて次の文書メモリBSMの内容を読込み、
その内容が・マークか否かで分岐する。即ち、・マーク
の時はステップ58.8で最後に読み取られた・マーク
と2つ連続している訳でその場合ステップs8.llに
進む、・マークでない時は再びステップ88.6に進む
。In step s8.10, the pointer i1 of the document memory BSM is advanced by one and the contents of the next document memory BSM are read.
The process branches depending on whether the content is a mark or not. That is, if it is a * mark, it is two consecutive * marks that were read last in step 58.8, so in that case step s8. Proceed to step 11. If it is not a mark, proceed to step 88.6 again.
ステップs8.llでは全ブロックの文字情報の転送が
終了した訳でブロックの最後行の罫線をブロックメモリ
に転送する処理を行なう、この処理はステップ88.6
で行なったのと同様に最初に罫線バタン「−」を1行に
渡ってCGより読み出しセットし次に縦罫線テーブルT
KTの内容に応じて罫線バタン「し」、トL」、「」」
をCGより読み出しセットする処理を行なう訳である。Step s8. In ll, the transfer of character information for all blocks is completed, so a process is performed to transfer the ruled line of the last line of the block to the block memory. This process is performed in step 88.6.
In the same way as in , first read and set the ruled line button "-" across one line from the CG, then set the vertical ruled line table T.
Depending on the contents of the KT, the ruled line will be pressed ``S'', ``L'', ``''''
This means that the process of reading and setting the CG from the CG is performed.
かかる処理が終了するとブロックメモリBRMは全て完
成した事になり第12[iii!(6)の例に示した1
〜8行までの転送が完了した事になる。When this process is completed, the block memory BRM is completely completed, and the 12th [iii! 1 shown in example (6)
This means that the transfer of lines up to 8 has been completed.
さらにステップs8.12に進み区切マーク・が2つ連
続した次の文字を平文としてブロックメモリBRMに転
送する。その結果第12図(6)に示したとおりブロッ
クメモリへの転送が完成した事になる。Further, the process proceeds to step s8.12, and the next character with two consecutive delimiter marks is transferred to the block memory BRM as plain text. As a result, the transfer to the block memory is completed as shown in FIG. 12 (6).
なお上述した実施例ではブロックメモリを9×9のマト
リックスにしたが他の構成のマトリックスにしても良い
し、表示器のLCDを他の表示装置例えばCRTにして
も本発明の主旨を損なうものではない。In the above-described embodiment, the block memory is a 9×9 matrix, but it may be a matrix of other configuration, and the gist of the present invention will not be impaired even if the LCD of the display device is replaced by another display device, such as a CRT. do not have.
[効 果]
上述した様に本発明によると、1列のシリアルな文字列
からなる文書をブロック形態に変換するに当り、文書の
上下、左右両方向の分割を行なうのに、1114類のマ
ークだけで済ませる事が可能になった。[Effects] As described above, according to the present invention, when converting a document consisting of one serial character string into a block format, only marks of type 1114 can be used to divide the document both vertically and horizontally. It became possible to do it.
第1図は、本発明の概念を示す図。
第2図は1本発明の一実施例の構成を示すブロック図。
第3図は、キーボードのキートップ概略図。
第4図は、メモリ構造の説明図。
第5図は、シリアル文字列と罫線ブロック例を示す図。
第6図〜第1O図は処理の過程を示すフローチャート。
第11図〜第12図は実際の処理過程を示した各種メモ
リの説明図。
BSM−m−文章メモリ
BRM−−−ブロックメモリ
CG−−−キャラクタジエネレータ
tlll
第凰凰図(4)
14)小ブo、り@ss 口
算12邑
手続補正書(方式)
%式%
2、発明の名称
罫線ブロック処理装置
3、補正をする者
事件との関係 特許出願人
住所 東京都大田区下丸子3−30−2名称 (100
)キャノン株式会社
代表者 賀 来 龍 三 部
4、代理人
居所 〒1413東京都大田区下丸子3−30−25、
補正命令の日付(発送日)
昭和60年 4月30日
6、補正の対象
明 細 書
7、補正の内容
願書に最初に添付した明細書の浄書・別紙のとおり(内
容に変更なし)FIG. 1 is a diagram showing the concept of the present invention. FIG. 2 is a block diagram showing the configuration of an embodiment of the present invention. FIG. 3 is a schematic diagram of the key tops of the keyboard. FIG. 4 is an explanatory diagram of the memory structure. FIG. 5 is a diagram showing an example of serial character strings and ruled line blocks. FIG. 6 to FIG. 1O are flowcharts showing the process. FIGS. 11 and 12 are explanatory diagrams of various memories showing actual processing steps. BSM-m-Text memory BRM---Block memory CG---Character generator tllll No. 7 (4) 14) Small bu o, ri@ss Kakuban 12-yu procedure amendment form (method) % formula % 2, Name of the invention Ruled line block processing device 3, relationship with the person making the amendment Patent applicant address 3-30-2 Shimomaruko, Ota-ku, Tokyo Name (100
) Canon Co., Ltd. Representative Ryu Kaku 3-4, Agent Address: 3-30-25 Shimomaruko, Ota-ku, Tokyo 1413
Date of amendment order (shipment date) April 30, 1985 6. Specifications subject to amendment 7. Contents of amendment As per the engraving and attachment of the specification originally attached to the application (no change in content)
Claims (1)
手段とを有するメモリ手段と、 前記第1のメモリにブロックの仕切り桁を指定する桁位
置指定手段と、 前記区切りマークを入力する区切りマーク入力手段と、 前記第1のメモリ手段に格納された前記文字情報を前記
桁位置指定手段によって指定された桁位置に応じて前記
区切りマークによって区切られた文字情報を前記第2の
メモリ手段に罫線ブロック文書として格納する罫線ブロ
ック作成手段とを有する罫線ブロック処理装置。[Scope of Claims] Memory means having a first memory means for storing character information and a second memory means; digit position specifying means for specifying a block partition digit in the first memory; a delimiter input means for inputting a delimiter mark; and a delimiter mark input means for inputting a delimiter mark; A ruled line block processing device comprising ruled line block creation means for storing ruled line block documents in a second memory means.
Priority Applications (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59275178A JPS61158381A (en) | 1984-12-29 | 1984-12-29 | Rule block processor |
GB8531766A GB2170335B (en) | 1984-12-29 | 1985-12-24 | Information processing apparatus |
FR858519294A FR2575565B1 (en) | 1984-12-29 | 1985-12-27 | DEVICE FOR PROCESSING TABLES |
DE3546140A DE3546140C2 (en) | 1984-12-29 | 1985-12-27 | Information processing device |
US07/332,366 US4980841A (en) | 1984-12-29 | 1989-03-31 | Block processing apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59275178A JPS61158381A (en) | 1984-12-29 | 1984-12-29 | Rule block processor |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS61158381A true JPS61158381A (en) | 1986-07-18 |
Family
ID=17551755
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP59275178A Pending JPS61158381A (en) | 1984-12-29 | 1984-12-29 | Rule block processor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS61158381A (en) |
-
1984
- 1984-12-29 JP JP59275178A patent/JPS61158381A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Strizver | Type Rules: The designer's guide to professional typography | |
US4187031A (en) | Korean (hangul) electronic typewriter and communication equipment system | |
JPH0137783B2 (en) | ||
JPS61158381A (en) | Rule block processor | |
GB2170335A (en) | Block processing | |
JPS61158377A (en) | Rule block processor | |
EP0190511A1 (en) | Block processing apparatus | |
JPS60110030A (en) | Character processor | |
JPS61158392A (en) | Block processor | |
Ghosh et al. | An approach to type design and text composition in Indian scripts | |
JPS61158393A (en) | Character processor | |
JPS61158390A (en) | Rule processor | |
JPS61158380A (en) | Rule block processor | |
JPS61158379A (en) | Rule block processor | |
JPS61158382A (en) | Rule block processor | |
JPS61158378A (en) | Rule block processor | |
JPS61158385A (en) | Block generator | |
JPS61105666A (en) | Document processing device | |
JPS61160171A (en) | Block formation device | |
JPS59123046A (en) | Display system of document processor | |
JPS5852717A (en) | Terminal equipment | |
JP2983566B2 (en) | Data processing device | |
JP2002341854A (en) | Handwritten character font creation device, handwritten character font creation program, handwritten character font creation method, and document creation device using handwritten character font | |
JPS61158386A (en) | Rule block generator | |
JPH08329070A (en) | Device for revising document |