JPH0793297A - Document processor - Google Patents

Document processor

Info

Publication number
JPH0793297A
JPH0793297A JP6068208A JP6820894A JPH0793297A JP H0793297 A JPH0793297 A JP H0793297A JP 6068208 A JP6068208 A JP 6068208A JP 6820894 A JP6820894 A JP 6820894A JP H0793297 A JPH0793297 A JP H0793297A
Authority
JP
Japan
Prior art keywords
data
ruled line
line
ruled
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
JP6068208A
Other languages
Japanese (ja)
Inventor
Tsunemi Mochizuki
恒美 望月
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP6068208A priority Critical patent/JPH0793297A/en
Publication of JPH0793297A publication Critical patent/JPH0793297A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To designate the input range of inputted character strings with ruled lines and to output data while excluding any specified ruled lines when outputting the data. CONSTITUTION:When character data are inputted, inside a document memory 22-1, it is discriminated whether a ruled line code showing a virtual line at a present line is stored or not. When the ruled line code of the virtual line is stored, an inputted character code is written inside a range up to the ruled line position in the document memory 22-1 designated by the ruled line code of the virtual line. When document printing is designated, the data of a printing target are read from the document memory 22-1, and it is investigated whether those data are ruled line data or not. When they are the ruled line data, it is judged whether these ruled line data are virtual lines or not based on attribute data contained in these ruled line and when they are normal ruled line data, the ruled line data are transferred to a printer control part 20 and printed out of a printer 16 but when they are the ruled line data of the virtual lines, those ruled line data are not transferred to the printer control part 20 but the printing is inhibited.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明はワードプロセッサやパ
ーソナルコンピュータ等の文書処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document processing device such as a word processor or a personal computer.

【0002】[0002]

【従来の技術】従来、ワードプロセッサやパーソナルコ
ンピュータ等において、罫線によって文字列の入力範囲
を指定するようにしたものが知られている。即ち、罫線
を引くことによって例えば行端の開始位置や終了位置等
を規制するようにしたものがある。
2. Description of the Related Art Conventionally, word processors, personal computers, and the like in which a character string input range is designated by ruled lines are known. That is, there is one in which the start position, the end position, etc. of the line end are regulated by drawing a ruled line.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、この種
のものにおいては、入力範囲を指定する為の罫線であっ
ても通常の罫線と同様に文書メモリに格納される為、通
常の罫線と同様に、印字出力されてしまうという欠点が
あった。この原因は、罫線機能を用いて入力範囲を指定
することにあると考えられる。この発明の課題は、入力
された文字列の入力範囲を罫線によって指定すると共
に、データを出力する際に、特定の罫線を除外して出力
できるようにすることである。
However, in this type, even a ruled line for designating an input range is stored in the document memory in the same manner as a normal ruled line, and therefore, like a normal ruled line. However, there was a drawback that it was printed out. It is considered that this is because the ruled line function is used to specify the input range. An object of the present invention is to specify an input range of an input character string by a ruled line, and to exclude a specific ruled line when outputting data so that the data can be output.

【0004】[0004]

【課題を解決するための手段】この発明の手段は、出力
を禁止できる特定の罫線および通常の罫線を入力する罫
線入力手段と、文書メモリに罫線が入力された際に、そ
れ以降の文字列を罫線によって指定される文書メモリ上
の範囲内に入力する入力制御手段と、文書メモリ内のデ
ータを出力する際に、出力対象データが上記特定の罫線
データか否かを判別する判別手段と、この判別手段で上
記特定の罫線データであると判別された際に、その罫線
データの出力を禁止する出力禁止手段とを具備したこと
を特徴とする。
The means of the present invention is a ruled line input means for inputting a specific ruled line and a normal ruled line that can be prohibited from being output, and a character string after the ruled line when the ruled line is input to the document memory. Input control means for inputting within the range on the document memory designated by the ruled line, and a determination means for determining whether or not the output target data is the specific ruled line data when outputting the data in the document memory, The present invention is characterized by further comprising output prohibiting means for prohibiting the output of the ruled line data when the judging means determines that the ruled line data is the specific ruled line data.

【0005】[0005]

【作用】この発明の手段の作用は次の通りである。罫線
入力手段は出力を禁止できる特定の罫線および通常の罫
線を入力し、入力制御手段は文書メモリに罫線が入力さ
れた際に、それ以降の文字列を罫線によって指定される
文書メモリ上の範囲内に入力する。そして、判別手段は
文書メモリ内のデータを出力する際に、出力対象データ
が上記特定の罫線データか否かを判別し、出力禁止手段
はこの判別手段で上記特定の罫線データであると判別さ
れた際に、その罫線データの出力を禁止する。従って、
入力された文字列の入力範囲を罫線によって指定すると
共に、データを出力する際に、特定の罫線を除外して出
力することができる。
The operation of the means of the present invention is as follows. The ruled line input means inputs specific ruled lines and normal ruled lines that can be prohibited from being output, and when the ruled line is input to the document memory, the input control means sets the subsequent character strings to the range in the document memory specified by the ruled lines. Enter in Then, when outputting the data in the document memory, the determining means determines whether or not the output target data is the specific ruled line data, and the output prohibiting means is determined by the determining means to be the specific ruled line data. Output of the ruled line data is prohibited. Therefore,
It is possible to specify the input range of the input character string with ruled lines and exclude specific ruled lines when outputting the data.

【0006】[0006]

【実施例】以下、図1〜図5を参照して一実施例を説明
する。図1は文書処理装置(ワードプロセッサ)の構成
を示したブロック図である。CPU11はROM12内
のシステムプログラム等にしたがってこのワードプロセ
ッサの各種の動作、即ち、文書作成処理、文書印刷処理
等を制御するもので、その周辺デバイスとしてのキーボ
ード13、CRT表示装置14、ディスクメモリ15、
プリンタ16は入出力インターフェイス、即ち対応する
キーボード制御部17、CRT制御部18、外部記憶制
御部19、プリンタ制御部20を介してCPU11に接
続されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment will be described below with reference to FIGS. FIG. 1 is a block diagram showing the configuration of a document processing device (word processor). A CPU 11 controls various operations of the word processor according to a system program or the like in the ROM 12, that is, a document creating process, a document printing process, and the like, and a keyboard 13, a CRT display device 14, a disk memory 15, as peripheral devices thereof.
The printer 16 is connected to the CPU 11 via an input / output interface, that is, a corresponding keyboard control unit 17, CRT control unit 18, external storage control unit 19, and printer control unit 20.

【0007】キーボード13は文書データや各種のコマ
ンド等を入力するキー入力装置で、キーボード13から
入力された文書データは、キーボード制御部17を介し
てCPU11に取り込まれる。なお、キーボード13上
には罫線を描画する際に使用される罫線キーAK、罫線
の太さを指定する太さキーBK、文書印刷を指示する印
刷キーCKが備えられている。ここで、太さキーBKは
罫線の太さが「0」か否かを指定するもので、罫線の太
さとして「0」を指定した場合には、罫線データを文字
列の入力範囲を規制する為の仮想線として入力すべきこ
とを指定する。
The keyboard 13 is a key input device for inputting document data and various commands, and the document data input from the keyboard 13 is taken into the CPU 11 via the keyboard control unit 17. The keyboard 13 is provided with a ruled line key AK used when drawing a ruled line, a thickness key BK for designating the thickness of the ruled line, and a print key CK for instructing document printing. Here, the thickness key BK is for designating whether or not the thickness of the ruled line is “0”. When “0” is designated as the thickness of the ruled line, the ruled line data regulates the input range of the character string. Specifies what should be entered as a virtual line to do.

【0008】また、CPU11は入力された文書データ
をビデオRAM(VRAM)21に書き込むと、CRT
制御部18はビデオRAM21から文書データを読み出
してCRT表示装置14のテキスト画面から表示出力さ
せる。
When the CPU 11 writes the input document data in the video RAM (VRAM) 21, the CRT
The control unit 18 reads the document data from the video RAM 21 and causes the CRT display device 14 to display and output the text data.

【0009】更にCPU11はキーボード13から変換
指令が入力されると、入力かな文字列をかな漢字変換
し、漢字混り文をRAM22内の文書メモリ22−1に
書き込む。ここで、CPU11はキーボード13から罫
線入力が指示された場合、太さキーBKの操作に応じて
通常の罫線か仮想線を示す罫線かを識別し、通常の罫線
であれば、その太さを示す属性コードとして「1」を付
加し、仮想線を示す罫線であれば、その太さを示す属性
コードとして「0」を付加して文書メモリ22−1に書
き込む。なお、文書メモリ22−1内に仮想線を示す罫
線データ(仮想線コード)が書き込まれると、それ以降
に入力された文字列の入力範囲はこの仮想線コードによ
って規制される。
When a conversion command is input from the keyboard 13, the CPU 11 converts the input kana character string into kana-kanji characters and writes a kanji-mixed sentence in the document memory 22-1 in the RAM 22. Here, when the ruled line input is instructed from the keyboard 13, the CPU 11 identifies whether the ruled line is a normal ruled line or a ruled line indicating a virtual line according to the operation of the thickness key BK. "1" is added as the attribute code shown, and if it is a ruled line showing a virtual line, "0" is added as the attribute code showing its thickness and written in the document memory 22-1. When the ruled line data (virtual line code) indicating a virtual line is written in the document memory 22-1, the input range of the character string input thereafter is regulated by this virtual line code.

【0010】また、文書作成後、キーボード13からそ
の登録指令を与えると、文書メモリ22−1内のデータ
は外部記憶制御部19に転送され、ディスクメモリ15
に登録される。
When a registration command is given from the keyboard 13 after the document is created, the data in the document memory 22-1 is transferred to the external storage controller 19 and the disk memory 15 is sent.
Be registered with.

【0011】一方CPU11はキーボード13から印刷
指令を受け取ると、ディスクメモリ15から印刷対象の
文書データを読み出して文書メモリ22−1内に転送し
たのち、文書メモリ22−1内のデータを読み出し、出
力対象データが仮想線コードであるか否かをチェックし
ながら、文書メモリ22−1内のデータをプリンタ制御
部20に与え、プリンタ16から印字出力させる。ここ
で、CPU11は出力対象データが仮想線コードであれ
ばそのデータの出力を禁止する。
On the other hand, when the CPU 11 receives a print command from the keyboard 13, it reads the document data to be printed from the disk memory 15 and transfers it to the document memory 22-1, and then reads the data in the document memory 22-1 and outputs it. While checking whether the target data is a virtual line code, the data in the document memory 22-1 is given to the printer control unit 20 and is printed out from the printer 16. Here, if the output target data is the virtual line code, the CPU 11 prohibits the output of that data.

【0012】次に、本実施例の動作を図2〜図5を参照
して説明する。図2は文書作成処理を示したフローチャ
ートである。先ず、CPU11はキーボード13からデ
ータ入力が行われると(ステップA1)、入力されたデ
ータが罫線データかその他の文字データ等かをチェック
し(ステップA2)、罫線データであればステップA3
に進む。
Next, the operation of this embodiment will be described with reference to FIGS. FIG. 2 is a flowchart showing the document creation process. First, when data is input from the keyboard 13 (step A1), the CPU 11 checks whether the input data is ruled line data or other character data (step A2), and if ruled line data, step A3.
Proceed to.

【0013】ここで、罫線の太さ指定を行うと、CPU
11は太さキーBKの操作有無に基づいて仮想線を示す
罫線データか通常の罫線データかを調べる(ステップA
4)。いま、太さキーBKが操作された場合にはステッ
プA5に進み、図3(A)に示す様に罫線データに太さ
「0」を示す属性コードを付加して成る仮想線コードを
生成し、文書メモリ22−1に書き込む。また、太さキ
ーBKが操作されなかった場合にはステップA6に進
み、図3(B)に示す様に、罫線データに太さ「1」を
示す属性コードを付加し、通常の罫線コードとして文書
メモリ22−1に書き込む。
If the thickness of the ruled line is designated, the CPU
Reference numeral 11 checks whether ruled line data indicating a virtual line or normal ruled line data based on whether or not the thickness key BK is operated (step A).
4). If the thickness key BK is operated, the process proceeds to step A5 to generate a virtual line code formed by adding the attribute code indicating the thickness "0" to the ruled line data as shown in FIG. , Document memory 22-1. If the thickness key BK has not been operated, the process proceeds to step A6, and as shown in FIG. 3B, the attribute code indicating the thickness "1" is added to the ruled line data to obtain a normal ruled line code. Write to the document memory 22-1.

【0014】そして、ステップA7に進み、データ入力
の終了かを調べ、キーボード13から終了指示が与えら
れなければステップA1に戻る。いま、文字データが入
力された場合にはステップA2でそのことが検出されて
ステップA8に進み、文書メモリ22−1内において、
現在行に仮想線コードが記憶されているか否かを調べ
る。ここで、仮想線コードが行端の開始位置を指定する
罫線として文書メモリ22−1内に記憶されている場合
には、入力された文字コードをその仮想線コードによっ
て指定された文書メモリ22−1内の罫線位置から書き
込む(ステップA9)。また、仮想線コードが行端の終
了位置を指定する罫線として文書メモリ22−1内に記
憶されている場合には、入力された文字コードをその仮
想線コードによって指定された文書メモリ22−1内の
罫線位置までの範囲内に書き込むが、この罫線位置を越
えると改行して次行に文字コードを書き込む(ステップ
A9)。
Then, the process proceeds to step A7, and it is checked whether or not the data input is completed. If the end instruction is not given from the keyboard 13, the process returns to step A1. If character data has been input, it is detected in step A2 and the process proceeds to step A8, where the document memory 22-1
It is checked whether or not the virtual line code is stored in the current line. Here, if the virtual line code is stored in the document memory 22-1 as a ruled line designating the start position of the line end, the input character code is set to the document memory 22-designated by the virtual line code. Writing is performed from the ruled line position within 1 (step A9). If the virtual line code is stored in the document memory 22-1 as a ruled line designating the end position of the line end, the input character code is set to the document memory 22-1 designated by the virtual line code. Writing is performed within the range up to the ruled line position inside, but when this ruled line position is exceeded, a line feed is performed and the character code is written in the next line (step A9).

【0015】図4は仮想線によって行端開始位置を指定
した場合の具体例を示し、各行の文字列はこの仮想線I
L1、IL2、IL3によって指定された位置から入力
される。即ち、仮想線IL1は1行目、2行目の行端開
始位置を指定し、仮想線IL2は3行目の行端開始位置
を指定し、更に仮想線IL3は4行目、5行目の行端開
始位置を指定するもので、各仮想線IL1、IL2、I
L3の位置は夫々ずらして指定されている。なお、仮想
線は1つの表項目内においても自由に指定することがで
きる。
FIG. 4 shows a concrete example in which the line end start position is designated by a virtual line, and the character string of each line is the virtual line I.
It is input from the position designated by L1, IL2, and IL3. That is, the virtual line IL1 specifies the line end start positions of the first and second lines, the virtual line IL2 specifies the line end start position of the third line, and the virtual line IL3 further specifies the fourth line and the fifth line. Of the virtual line IL1, IL2, I
The positions of L3 are designated by shifting. The virtual line can be freely specified even within one table item.

【0016】一方、現在行に仮想線コードが記憶されて
いなければ、ステップA8でそのことが検出されてステ
ップA10に進み、通常と同様に文書メモリ22−1内
に文字コードを入力する。このような動作はステップA
7でデータ入力の終了が検出されるまで繰り返される。
On the other hand, if the virtual line code is not stored in the current line, it is detected in step A8 and the process proceeds to step A10, where the character code is input into the document memory 22-1 as usual. Such an operation is step A
This is repeated until the end of data input is detected in 7.

【0017】次に、文書メモリ22−1内のデータを印
刷する場合の動作を図5のフローチャートを参照して説
明する。先ず、CPU11はキーボード13から文書印
刷の指令を受け取ると、ディスクメモリ15から印刷対
象の文書データを文書メモリ22−1に転送したのち、
文書メモリ22−1から印刷対象のデータを読み出し
(ステップB1)、そのデータが罫線データか否かを調
べる(ステップB2)。
Next, the operation of printing the data in the document memory 22-1 will be described with reference to the flowchart of FIG. First, when the CPU 11 receives a document print command from the keyboard 13, it transfers the document data to be printed from the disk memory 15 to the document memory 22-1, and then,
Data to be printed is read from the document memory 22-1 (step B1), and it is checked whether the data is ruled line data (step B2).

【0018】ここで、罫線データでなければ、ステップ
B4に進み、文書メモリ22−1から読み出した文字デ
ータ等をプリンタ制御部20に与え、プリンタ16から
印字出力させる。
If the data is not ruled line data, the process proceeds to step B4, in which the character data and the like read from the document memory 22-1 is given to the printer control unit 20 and printed out from the printer 16.

【0019】一方罫線データであれば、ステップB3に
進み、この罫線データが仮想線か否かの判断を罫線デー
タに含まれている太さの属性コードが「0」か「1」か
に基づいて行う。いま、罫線データに太さを示す属性コ
ードとして「1」が付加されている場合には、その罫線
データは通常の罫線であるからこれをプリンタ制御部2
0に与え、プリンタ16から印字出力させる(ステップ
B4)。また、罫線データに太さを示す属性コードとし
て「0」が付加されている場合には、その罫線データは
仮想線であるから、ステップB4をスキップし、その印
字を禁止する。
On the other hand, if it is ruled line data, the process proceeds to step B3 to judge whether or not the ruled line data is a virtual line based on whether the attribute code of the thickness included in the ruled line data is "0" or "1". Do it. If "1" is added to the ruled line data as an attribute code indicating the thickness, the ruled line data is an ordinary ruled line, and this is used as the printer control unit 2.
0 to cause the printer 16 to print out (step B4). If "0" is added to the ruled line data as an attribute code indicating the thickness, the ruled line data is a virtual line, and therefore step B4 is skipped and its printing is prohibited.

【0020】そして、印刷対象である全データをプリン
タ制御部20に転送したか否かを調べ(ステップB
5)、全データの転送終了が検出されるまでステップB
1に戻り、以下同様の動作が繰り返される。このように
文書メモリ22−1内に入力範囲を指定する為の仮想線
コードが記憶されていてもその印字は禁止され、通常の
罫線や文字等が印字される。なお、上記実施例は仮想線
を示す罫線データをその太さを「0」とすることによっ
て指定したが、その他の属性コードを付加することによ
って指定してもよい。
Then, it is checked whether or not all the data to be printed has been transferred to the printer control unit 20 (step B
5) Step B until the end of transfer of all data is detected
Returning to 1, the same operation is repeated thereafter. As described above, even if the virtual line code for designating the input range is stored in the document memory 22-1, its printing is prohibited, and normal ruled lines and characters are printed. Although the ruled line data indicating a virtual line is designated by setting the thickness to “0” in the above embodiment, it may be designated by adding another attribute code.

【0021】[0021]

【発明の効果】この発明によれば、入力された文字列の
入力範囲を罫線によって指定すると共に、データを出力
する際に、特定の罫線を除外して出力することができ、
文書の作成作業を効率良く行なうことができる。
According to the present invention, the input range of an input character string can be specified by a ruled line, and at the time of outputting data, a specific ruled line can be excluded and output.
Documents can be created efficiently.

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

【図1】実施例の文書処理装置の基本的な構成を示すブ
ロック図である。
FIG. 1 is a block diagram showing a basic configuration of a document processing apparatus according to an embodiment.

【図2】文書作成処理を示すフローチャートである。FIG. 2 is a flowchart showing a document creation process.

【図3】仮想線コード、通常の罫線コードを示す図であ
る。
FIG. 3 is a diagram showing a virtual line code and a normal ruled line code.

【図4】仮想線によって行端の入力開始位置を指定した
状態を示す図である。
FIG. 4 is a diagram showing a state in which a line end input start position is designated by a virtual line.

【図5】文書印刷処理を示すフローチャートである。FIG. 5 is a flowchart showing a document printing process.

【符号の説明】 11 CPU 12 ROM 13 キーボード 16 プリンタ 17 キーボード制御部 22−1 文書メモリ[Explanation of Codes] 11 CPU 12 ROM 13 Keyboard 16 Printer 17 Keyboard Control Unit 22-1 Document Memory

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】出力を禁止できる特定の罫線および通常の
罫線を入力する罫線入力手段と、 文書メモリに罫線が入力された際に、それ以降の文字列
を罫線によって指定される文書メモリ上の範囲内に入力
する入力制御手段と、 文書メモリ内のデータを出力する際に、出力対象データ
が上記特定の罫線データか否かを判別する判別手段と、 この判別手段で上記特定の罫線データであると判別され
た際に、その罫線データの出力を禁止する出力禁止手段
とを具備したことを特徴とする文書処理装置。
1. A ruled line input means for inputting a specific ruled line and an ordinary ruled line that can be prohibited from being output, and a character string after that when a ruled line is input to a document memory, a character string on the document memory specified by the ruled line. The input control means for inputting within the range, the determination means for determining whether or not the output target data is the specific ruled line data when outputting the data in the document memory, and the determination means for determining the specific ruled line data. A document processing apparatus comprising: an output prohibiting unit that prohibits the output of the ruled line data when it is determined that there is.
JP6068208A 1994-03-14 1994-03-14 Document processor Pending JPH0793297A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6068208A JPH0793297A (en) 1994-03-14 1994-03-14 Document processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6068208A JPH0793297A (en) 1994-03-14 1994-03-14 Document processor

Publications (1)

Publication Number Publication Date
JPH0793297A true JPH0793297A (en) 1995-04-07

Family

ID=13367157

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6068208A Pending JPH0793297A (en) 1994-03-14 1994-03-14 Document processor

Country Status (1)

Country Link
JP (1) JPH0793297A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS616762A (en) * 1984-06-21 1986-01-13 Matsushita Electric Ind Co Ltd Document processor

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS616762A (en) * 1984-06-21 1986-01-13 Matsushita Electric Ind Co Ltd Document processor

Similar Documents

Publication Publication Date Title
US7080002B1 (en) Bi-lingual system and method for automatically converting one language into another language
JPH0793297A (en) Document processor
JP2616628B2 (en) Key input device
JPS6115187A (en) Display inhibition control mechanism
JPS60253572A (en) Blank filling printing system
JP3371435B2 (en) Input mode automatic setting method or input mode automatic setting device
JP2786260B2 (en) Kana-Kanji conversion device
JPH07122875B2 (en) Document editing device
JP2737160B2 (en) Sentence processing equipment
JP3036005B2 (en) Kana-Kanji conversion device
JP2723908B2 (en) Document creation device
JPH0424759A (en) Document processor
JPH0528156A (en) Document data converter
JP2889431B2 (en) Character processor
JP3236039B2 (en) Character processing apparatus and method
JP3070761B2 (en) Kanji input device
JP2688652B2 (en) String converter
JPS62111349A (en) Character processor
JPS5999538A (en) Conversion processing method of document data
JPH07168836A (en) Document processing system
JPH08194701A (en) Character processor
JPH08185399A (en) Character processor
JPH08171555A (en) Word processor
JPH04362770A (en) Method and device for document processing
JPH0589124A (en) Document preparing device