JPS61296387A - Rule writing - Google Patents

Rule writing

Info

Publication number
JPS61296387A
JPS61296387A JP60138597A JP13859785A JPS61296387A JP S61296387 A JPS61296387 A JP S61296387A JP 60138597 A JP60138597 A JP 60138597A JP 13859785 A JP13859785 A JP 13859785A JP S61296387 A JPS61296387 A JP S61296387A
Authority
JP
Japan
Prior art keywords
ruled line
line
ruled
input
written
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
JP60138597A
Other languages
Japanese (ja)
Inventor
貴志 中西
高山 雄邦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric 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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP60138597A priority Critical patent/JPS61296387A/en
Publication of JPS61296387A publication Critical patent/JPS61296387A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、ワードプロセ、すを用いて表を作成する場合
に好適な1作表方法の改良に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an improvement in a tabulation method suitable for creating tables using a word processor.

(従来の技術) ワードプaセ、すは、文章を記憶装置に収容しておいて
、必要に応じて適宜これを呼び出し必要な修正・追加を
行なって印字するために用いられる。作表をする場合に
は、罫線を構成する一文字分のパターンを記憶しておき
、これをかなや漢字と同様に取扱うことにより罫線を書
込む。
(Prior Art) A word printer is used to store texts in a storage device, call them up as needed, make necessary corrections and additions, and print them out. When tabulating a table, the pattern of one character that makes up the ruled line is memorized, and the ruled line is written by handling this in the same way as kana or kanji.

第6図は罫線の書込動作を示したもので、(a)は横罫
線の書込、(b)は縦罫線の書込、(C)は枠の書込を
示している。図において、Fは罫線の書込動作の開始位
置、Tは罫線の書込動作の終了位置を示している。
FIG. 6 shows the operation of writing ruled lines, in which (a) shows writing of horizontal ruled lines, (b) shows writing of vertical ruled lines, and (C) shows writing of frames. In the figure, F indicates the start position of the ruled line writing operation, and T indicates the end position of the ruled line writing operation.

第6図(a)において、横罫線は文章の一行内における
所定の列の間で書込まれる。第6図(b)において、縦
罫線は文章の所定の列において各行を縦断するように書
込まれる。第6図(C)において、枠は指定された行及
び列の範囲内で四辺形を構成するように書込まれる。
In FIG. 6(a), horizontal ruled lines are drawn between predetermined columns within one line of text. In FIG. 6(b), vertical ruled lines are drawn vertically across each row in a predetermined column of text. In FIG. 6C, the frame is drawn to form a quadrilateral within the specified rows and columns.

(発明が解決しようとする問題点) しかしながら、このような方法によって罫線の書込動作
をすると、一本の罫線には必ず一組の開始位置Fと終了
位置Tを設定しなければならず、1回の設定動作で1本
の罫線が書込まれるだけであった。このため、多くの罫
線によって表を作成する場合には、この設定動作を何回
も繰返さねばならず、作表効率がよくなかった。
(Problems to be Solved by the Invention) However, when writing a ruled line using such a method, a set of start position F and end position T must be set for each ruled line. Only one ruled line was written in one setting operation. Therefore, when creating a table using many ruled lines, this setting operation must be repeated many times, resulting in poor tabulation efficiency.

本発明は上記の問題点を解決したもので、−回の設定動
作によって数多くの罫線を書込むことのできる罫線書込
方法を提供するものである。
The present invention solves the above-mentioned problems and provides a ruled line writing method that can write a large number of ruled lines through -times of setting operations.

(問題点を解決するための手段) 本発明に係る方法は、罫線書込みに必要な情報を入力す
る入力手段と、入力された情報を記憶する記憶手段と、
この記憶された情報に基づいて罫線の書込みを行なうコ
ンピュータと、このコンビ(a)  罫線の種類と、罫
線を書込む開始位置と、罫線の長さと、少なくとも1つ
の罫線の間隔を前記入力手段によって入力する入力過程
と。
(Means for Solving the Problems) The method according to the present invention includes an input means for inputting information necessary for writing ruled lines, a storage means for storing the input information,
a computer that writes ruled lines based on the stored information; An input process for inputting data.

(c)  検索した行の列が罫線を書込む位置であるか
判断する判断過程と、 (d)  前記判断過程で罫線を書込む位置である場合
に、当該位置に隣接したパターンに適合するような罫線
パターンを書込む接続処理過程と。
(c) A judgment process of determining whether the searched row column is a position where a ruled line is to be written, and (d) If it is a position where a ruled line is to be written in the above judgment process, a process of determining whether the column of the searched row is a position where a ruled line is to be written, and which matches the pattern adjacent to the position. connection processing process for writing a ruled line pattern.

(e)  前記入力過程で入力された範囲について罫線
が書込まれたか判断する終了判断過程 とを経て罫線を書込むことを特徴とするものである。
(e) The ruled line is written through an end determination step of determining whether a ruled line has been written in the range input in the input step.

(実施例) 以下図画を用いて本発明を説明する。(Example) The present invention will be explained below using figures.

第1図は本発明の方法を実施するための装置の構成図で
ある。図において、1は文字や記号を入力するキーボー
ド等の入力手段、2は入力された文字や記号を記憶する
記憶手段で、ディスクやROM (Read 0nly
 Memory ) Kよって構成され、必要に応じて
カナ漢字変換するための辞書や入力された文章が記憶さ
れている。3は記憶された文章を表示するCRTなどの
表示手段、4は文章を用紙に印字するプリンタ等の印字
手段、5は記憶されたプログラムに従ってワードプロセ
、すとしての動作をするとともに各部の制御をするCP
Uである。
FIG. 1 is a block diagram of an apparatus for carrying out the method of the present invention. In the figure, 1 is an input means such as a keyboard for inputting characters and symbols, and 2 is a storage means for storing input characters and symbols, such as a disk or ROM (Read Only).
Memory) K is configured to store a dictionary for converting kana-kanji and input sentences as necessary. 3 is a display means such as a CRT that displays the stored text; 4 is a printing means such as a printer that prints the text on paper; 5 is a word processor that operates according to the stored program and controls each part. C.P.
It is U.

このように構成された装置においては、記憶手段2から
文章を表示手段3上に表示させ、適宜修正が入力手段1
を介して加えられ、修正された内容が表示手段3に表示
されるとともに記憶手段2の記憶内容も書替えられる。
In the apparatus configured in this way, sentences are displayed on the display means 3 from the storage means 2, and corrections are made as appropriate by the input means 1.
The modified contents are displayed on the display means 3 and the stored contents of the storage means 2 are also rewritten.

第2図は本発明の罫線書込方法の一実施例を示す流れ図
である。
FIG. 2 is a flowchart showing an embodiment of the ruled line writing method of the present invention.

まず罫線の種類を入力する。罫線の種類とは。First, enter the type of border. What are the types of ruled lines?

横罫線と縦罫線の別をいい、枠中同時に作成したいとき
はその旨も入力する(ステップ1)。
There is a difference between horizontal ruled lines and vertical ruled lines, and if you want to create them at the same time in the frame, enter that information as well (step 1).

次に1作表をする開始位置Fを入力する。たとえば、文
章中におけるページ、行、列を数字で入力してもよく、
また表示手段3に表示された画儂上で入力してもよい(
ステ、プ2)。
Next, input the starting position F for one tabulation. For example, you can enter numbers for pages, rows, and columns in a text.
Alternatively, input may be made on the drawing displayed on the display means 3 (
Step, Pu2).

次に、書込動作をする罫線の長さtを入力する。Next, input the length t of the ruled line on which the writing operation will be performed.

縦罫線の場合には行数を用いればよく、横罫線の場合に
は列数を用いればよい(ステップ3)。
In the case of vertical ruled lines, the number of rows may be used, and in the case of horizontal ruled lines, the number of columns may be used (step 3).

次に罫線の間隔dを入力する。罫線の数が3本以上ある
ときは、罫線の間隔もそれに応じdl、d2・・・と入
力する。縦罫線の場合には列の間隔を用いればよく、横
罫線の場合には行の間隔を用いればよい(ステ、プ4)
。
Next, input the interval d between the ruled lines. If there are three or more ruled lines, input the interval between the ruled lines as dl, d2, etc. accordingly. In the case of vertical ruled lines, the column spacing can be used, and in the case of horizontal ruled lines, the row spacing can be used (Step 4)
.

ステ、プ1〜4の過程は、入力手段1を介して行なわれ
る。
The steps 1 to 4 are performed via the input means 1.

CPU 5は開始位置Fによって示された文章中の行を
捜す(ステップ5)・ 次にこの指定行の一行分の文字を検索処理する。
The CPU 5 searches for the line in the text indicated by the start position F (step 5).Next, the CPU 5 searches for one line of characters in this designated line.

検索とは、一つの文字について字体の別(例えば明朝体
かゴシック体であるかを示したもので、制御コードによ
って知ることができる。)や文字の種類(例えば漢字の
阿とか英数字の人であるとかの別を示したもので、文字
コードによって知ることができる。)を調べることをい
う。
Searching refers to the type of font (for example, whether it is a Mincho or Gothic font, which can be determined by the control code) or the type of character (for example, the Kanji ``A'' or the alphanumeric character). (It can be determined by the character code.)

検索処理とは、当該性を検索して、 (a)  文字コードが含まれているときけ、当該性を
そのまま用いて、文字コードを罫線コードに変更し。
The search process is to search for the relevant character, (a) find if the character code is included, use the relevant character as is, and change the character code to the ruled line code.

建) 当該性に文字がない場合には、新しく罫線コード
を有する行を挿入する。
) If there are no characters in the relevant category, insert a new line with a ruled line code.

ことをいう(ステ、プロ)。To say something (ste, pro).

次に当該性の各列における文字が罫線の書込又は削除を
すべきものであるかを判断する。すなわち、当該文字の
行と列が指定された領域であるか調べるのである(ステ
、プ7)。
Next, it is determined whether the characters in each column of the relevant gender should be written on a ruled line or deleted. That is, it is checked whether the row and column of the character are in the specified area (steps 7).

罫線の場合には接続処理をする(ステ、ブ8)。In the case of ruled lines, connection processing is performed (Step 8).

接続処理については、あとで詳述する。The connection process will be described in detail later.

接続処理を行なうか、又は罫線でない場合にはその文字
で一行が終了したか判断する(ステ、プ9)、終了して
いない場合KFi、次の列の文字に移る(ステ、プ10
)。
Perform connection processing, or if it is not a ruled line, determine whether one line ends with that character (Step 9); If not, move to KFi, move to the next column of characters (Step 10)
).

−行が終了した場合には、その行が指定された領域の最
終行であるか判断する(ステップ11)。
- If the line ends, determine whether the line is the last line of the designated area (step 11).

未処理の行があるときは、次の行に移り、ステ。If there is an unprocessed line, move to the next line and step.

プロからステップ11を繰返す(ステ、プ12)。Repeat step 11 from Pro (Step, Step 12).

最終行であれば、作表は終了する。If it is the last row, the tabulation ends.

第3図は前記第2図の流れ図における「接続処理(ステ
、プ8)」の詳細を示したもので、本出願人が提案した
特開昭59−71532号公報等で公知のものである。
FIG. 3 shows the details of the "connection process (step 8)" in the flowchart of FIG. .

この処理は、任意の文字についてその上下左右の4方向
に隣接する各文字・記号の状態をチェ、りして、その文
字に連なるような罫線パターンを選択して、その位置に
書込むものである。
This process checks the status of each character/symbol adjacent to a given character in four directions (top, bottom, left and right), selects a ruled line pattern that is continuous with the character, and writes it at that position.

いま書込もうとする文字の位置の上下左右の各方向(右
方向の場合はこれから書込まれる罫線パターン)に対し
て、その位置に連なるような罫線がある場合をそれぞれ
2進数の1.2.4.8に対応させ、これらの数値の和
で周囲の状態を表わすものとすると、この値は、左方に
のみ連なる罫線が存在する時には0001 、上方にの
み連なる罫線が存在する時には0010、右方にのみ連
なる罫線が存在する時には0100、下方にのみ連なる
罫線が存在する時には1000となり、例えば、上方お
よび右方に連なる罫線が存在する時には011Oとなる
。
For each direction (up, down, left, right) of the position of the character you are about to write (in the case of the right direction, the ruled line pattern that will be written from now on), if there is a ruled line that continues at that position, the binary number is 1.2. .4.8, and the surrounding state is expressed by the sum of these numbers, this value is 0001 when there are ruled lines that are continuous only on the left, 0010 when there are ruled lines that are continuous only on the upper side, It is 0100 when there are ruled lines extending only to the right, 1000 when there are ruled lines extending only downward, and 011O when there are ruled lines extending upward and to the right.

このような周囲の状態とこれに対するレジスタ値、およ
び選択される記号の対応を第4図に示す。
FIG. 4 shows the correspondence between such surrounding conditions, the corresponding register values, and the selected symbols.

すなわち、上方および右方に連なる罫線が存在する場合
には、これらの罫線を接続するような罫線パターンが選
択され、対応する文字コードがその座標に書き込まれる
。
That is, if there are ruled lines that extend upward and to the right, a ruled line pattern that connects these ruled lines is selected, and a corresponding character code is written at its coordinates.

第5図は罫線書込の具体例を示す説明図である。FIG. 5 is an explanatory diagram showing a specific example of ruled line writing.

この例では横罫線を書込む場合を示す。はじめに、種類
として横罫線の指示を行なう。(ステップ1)。
This example shows a case where horizontal ruled lines are written. First, a horizontal ruled line is specified as the type. (Step 1).

開始位置Fを2行2列として、長さtを7とし、間隔d
を2.d2を3と指定する(ステ、プ2.3.4 )。
The starting position F is 2 rows and 2 columns, the length t is 7, and the interval d
2. Specify d2 as 3 (Step 2.3.4).

するとCPU S第2行について横罫線を引き1次に第
5行、第9行について同様な処理を行なう。
Then, the CPU S draws a horizontal ruled line on the second line and performs the same process on the fifth and ninth lines.

(発明の効果) 以上説明したよう忙本発明によれば、複、数の罫線を一
回の操作で書込できるので、作表効率が向上する。
(Effects of the Invention) As explained above, according to the present invention, a plurality of ruled lines can be written in a single operation, so tabulation efficiency is improved.

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

第1図は本発明の一実施例を構成図、第2図は第1図の
装置の流れ図、第3図は接続処理の流れ図、第4図は接
続処理の説明図、第5図は第1図の装置の動作説明図、
第6図は従来の罫線書込動作の説明図である。 1・・・入力手段% 2・・・記憶手段、3・・・表示
手段、5・・・コンピュータ(CPU )。 −′\ 第3図 第5図 第6図
FIG. 1 is a configuration diagram of an embodiment of the present invention, FIG. 2 is a flowchart of the apparatus shown in FIG. 1, FIG. 3 is a flowchart of connection processing, FIG. 4 is an explanatory diagram of connection processing, and FIG. An explanatory diagram of the operation of the device in Figure 1,
FIG. 6 is an explanatory diagram of a conventional ruled line writing operation. 1... Input means % 2... Storage means, 3... Display means, 5... Computer (CPU). -'\ Figure 3 Figure 5 Figure 6

Claims (1)

【特許請求の範囲】 罫線書込みに必要な情報を入力する入力手段と、入力さ
れた情報を記憶する記憶手段と、この記憶された情報に
基づいて罫線の書込みを行なうコンピュータと、このコ
ンピュータによって作られた罫線を表示する表示手段と
を備えた装置において、前記コンピュータは、 (a)罫線の種類と、罫線を書込む開始位置と、罫線の
長さと、少なくとも1つの罫線の間隔を前記入力手段に
よって入力する入力過程と、 (b)前記入力過程で入力された範囲を一行ごとに検索
処理する検索過程と、 (c)検索した行の列が罫線を書込む位置であるか判断
する判断過程と、 (d)前記判断過程で罫線を書込む位置である場合に、
当該位置に隣接したパターンに適合するような罫線パタ
ーンを書込む接続処理過程と、(e)前記入力過程で入
力された範囲について罫線が書込まれたか判断する終了
判断過程 とを経て罫線を書込むことを特徴とする罫線書込方法。
[Scope of Claims] An input means for inputting information necessary for writing ruled lines, a storage means for storing the input information, a computer for writing ruled lines based on the stored information, and a computer created by this computer. (a) The computer inputs the type of the ruled line, the starting position for writing the ruled line, the length of the ruled line, and the interval between at least one ruled line to the input means. (b) A search process that searches the range input in the input process line by line; (c) A judgment process that judges whether the column of the searched line is a position where a ruled line is to be written. (d) If this is the position where a ruled line is written in the judgment process,
A ruled line is written through a connection processing step in which a ruled line pattern that matches the pattern adjacent to the position is written, and (e) an end determination step in which it is determined whether a ruled line has been written in the range input in the input step. A ruled line writing method characterized by
JP60138597A 1985-06-25 1985-06-25 Rule writing Pending JPS61296387A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60138597A JPS61296387A (en) 1985-06-25 1985-06-25 Rule writing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60138597A JPS61296387A (en) 1985-06-25 1985-06-25 Rule writing

Publications (1)

Publication Number Publication Date
JPS61296387A true JPS61296387A (en) 1986-12-27

Family

ID=15225808

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60138597A Pending JPS61296387A (en) 1985-06-25 1985-06-25 Rule writing

Country Status (1)

Country Link
JP (1) JPS61296387A (en)

Similar Documents

Publication Publication Date Title
JPS61296388A (en) Rule deletion
JP2974346B2 (en) Kanji processing device
JPS61296390A (en) Rule writing
JP2682873B2 (en) Recognition device for tabular documents
JP2845235B2 (en) Document data processing device
JP2845234B2 (en) Document data processing device
JP2761606B2 (en) Document data processing device
JPS6411985B2 (en)
JP2995630B2 (en) Document data processing device
JPS62239194A (en) Document generator
JPH01230115A (en) input device
JPH08293033A (en) Information processing device
JPS62115493A (en) information processing equipment
JPS63210887A (en) Word processor
JPH01189691A (en) Image processor
JPS63111564A (en) Word processor
JPH10275146A (en) Document processing apparatus and program recording medium therefor
JPH0554180A (en) Slop format defining system for optical character reader
JPS62286160A (en) Word processor
JPH0256672A (en) Method for moving sentence in editing machine
JPH11167573A (en) Document creation device and document creation method
JPH06222895A (en) Print format preparing device
JPS6269357A (en) character processing device
JPS6321170A (en) Document processor
JPS6217794A (en) word processor