JPH038073A - Half-tone dot meshing processing system for reduced caption - Google Patents

Half-tone dot meshing processing system for reduced caption

Info

Publication number
JPH038073A
JPH038073A JP1097768A JP9776889A JPH038073A JP H038073 A JPH038073 A JP H038073A JP 1097768 A JP1097768 A JP 1097768A JP 9776889 A JP9776889 A JP 9776889A JP H038073 A JPH038073 A JP H038073A
Authority
JP
Japan
Prior art keywords
data
shading
tone dot
line
subscript
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.)
Granted
Application number
JP1097768A
Other languages
Japanese (ja)
Other versions
JPH0719252B2 (en
Inventor
Tokiyoshi Miyai
宮井 祝善
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.)
KANSAI PANAFUAKOMU KK
PFU Ltd
Original Assignee
KANSAI PANAFUAKOMU KK
PFU 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 KANSAI PANAFUAKOMU KK, PFU Ltd filed Critical KANSAI PANAFUAKOMU KK
Priority to JP1097768A priority Critical patent/JPH0719252B2/en
Publication of JPH038073A publication Critical patent/JPH038073A/en
Publication of JPH0719252B2 publication Critical patent/JPH0719252B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To print upper and lower captions and to print a half-tone dot meshing pattern respectively to the upper and lower captions by separating data for half-tone dot meshing to the upper and lower captions into data for the upper and lower captions and respectively independently executing half-tone dot meshing printing. CONSTITUTION:A data separating means 1, which inputted line data 14, identifies respective characters and a control code. Then, the data are separated into data 151 concerning full-size and half-size characters, which include the control code of half-tone dot meshing, and the upper caption and data 152 of the lower caption including the control code of half-tone dot meshing and held as separated data 15. Next, in a half- tone dot meshing data preparing means 12, the two data of the data 15 are identified and data for control concerning a part, to which half-tone dot meshing is executed, are independently prepared and stored in a memory as half-tone dot meshing data 16 of data 161 for the full-size and half-size characters and upper caption and data 162 for the lower caption. In an output data editing means 13, based on the prepared data 15 and 16, output data 17 are prepared to be used when two lines are printed.

Description

【発明の詳細な説明】 ゛[概要] 文書処理装置の縮小添字への網かけ処理方式に関し、 同一行の文中の同じ桁位置にある上添字と上添字に対し
て異なるバターシの網かけを指定して印刷することがで
きる縮小添字への網かけ処理方式を提供することを目的
とし、 上、下の縮小添字への網かけ制御コードを含む行データ
を、網かけ制御コードを含む全・半角と上添字データと
網かけ制御コードを含む上添字データとの2つの分離デ
ータを発生するデータ分離手段と、2つの分離データか
らそれぞれの網かけ印刷の制御に必要な網かけデータを
作成する網かけデータ作成手段と、網かけデータおよび
2つの分離データに基づいて印刷用データを形成するた
めの出力データ編集手段とを備え、1行の縮小添字への
網かけを上、下の添字に対して独立して指定して印刷す
るよう構成する。
[Detailed Description of the Invention] [Summary] Regarding the shading processing method for reduced subscripts in a document processing device, different Batashi shading is specified for superscripts and superscripts located at the same column position in sentences on the same line. The purpose is to provide a shading processing method for reduced subscripts that can be printed as data separation means for generating two separated data, ie, superscript data and superscript data including a shading control code; It is equipped with a hatching data creation means and an output data editing means for forming print data based on the hatching data and two separated data, and is capable of shading a reduced subscript of one line with respect to the upper and lower subscripts. Configure it so that it can be specified and printed independently.

[産業上の利用分野] 本発明は文書処理装置の縮小添字への網がけ処理方式に
関する。
[Industrial Application Field] The present invention relates to a method for processing reduced suffixes in a document processing device.

近年、文書処理袋M、(ワードプロセッサ)は文書作成
・管理の容易さや、取り扱いの簡便さ等とともに事務の
合理化に伴って広く普及されている。
In recent years, document processing bags M, (word processors) have become widely popular due to their ease of document creation and management, ease of handling, and streamlining of office work.

このようなワードプロセッサでは、入力する文章中に、
数字や記号を用いて上添字や上添字を縮小(1/4)添
字として画面表示および印刷することが行われている。
In such word processors, in the text you input,
Screen display and printing are performed using numbers and symbols as superscripts and superscripts as reduced (1/4) subscripts.

また、従来のワードプロセッサでは、網かけ印字により
特定の文字や図形などを強調する手法が通常に実行され
、網かけのパターンとしても複数の種類の中から選択可
能になっている。
In addition, in conventional word processors, a method of emphasizing specific characters, figures, etc. by halftone printing is commonly performed, and the halftone pattern can be selected from among a plurality of types.

従来、上添字と上添字の両方の縮小添字(以下、単に添
字という)が含まれた1行の文章を印刷する場合に、上
添字と上添字に対し網かけ印刷をすることは可能であっ
たが、同じ桁位置の上添字と上添字のそれぞれに異なる
網かけパターンの印刷を行うことはできなかったのでそ
の改善が望まれている。
Conventionally, when printing a single line of text that includes both superscripts and reduced subscripts (hereinafter simply referred to as subscripts), it has not been possible to shade the superscripts and superscripts. However, it has not been possible to print different hatching patterns for the superscripts and the superscripts at the same digit position, so an improvement is desired.

[従来の技術] 第5図は従来例の説明図である。[Conventional technology] FIG. 5 is an explanatory diagram of a conventional example.

第5図A、の画面表示の例に示すような1行の文章が入
力されて画面表示されているものとする。
It is assumed that one line of text as shown in the screen display example of FIG. 5A is input and displayed on the screen.

この文章には文字の他にC1に示す各種の制御符号が含
まれている。
This text includes various control codes shown in C1 in addition to characters.

すなわち、■の全角文字文字rOJの後に■の制御コー
ド(符号)で上添字開始を表し、■の制御コードで成る
パターンによる網かけ開始を指示し、■で上添字の内容
「2」を表し、続く■で上添字終了、■で網かけ終了を
指示する。
In other words, after the full-width character rOJ of ■, the control code (symbol) of ■ indicates the start of a superscript, the pattern consisting of the control code of ■ indicates the start of shading, and the symbol ■ indicates the content of the superscript "2". , followed by ■ indicates the end of the superscript, and ■ indicates the end of the shading.

そして、■、■で全角文字「・X」の文字、■で上添字
開始、[相]で別のパターン(■のパターンと異なる)
による網かけ開始が指定され、■で上添字の内容「3」
が指示され、■で上添字の終了、■で文字「・」、[相
]で別のパターンの網がけ開始、■で全角文字文字rl
Jを指示し、0.0で上添字「45」を表し、0で上添
字、0で[相]と異なるパターン(■と同じパターン)
の網かけ開始で[相]で上添字の文字「CD」を表し、
■と0でそれぞれ上添字と網かけの終了を表す。
Then, ■, ■ is the double-byte character "・X", ■ is the start of a superscript, and [phase] is a different pattern (different from the pattern of ■)
The start of shading is specified by , and the superscript content "3" is specified by ■.
is specified, ■ ends the superscript, ■ marks the character "・", [phase] starts shading of another pattern, and ■ marks the full-width character rl.
Indicate J, 0.0 represents superscript "45", 0 is superscript, 0 is a different pattern from [phase] (same pattern as ■)
At the start of shading, [phase] represents the superscript character "CD",
■ and 0 represent the superscript and the end of shading, respectively.

このような文章を印刷する場合、従来のワードプロセッ
サでは、機種により異なるが次の2つの方式で印刷が行
われている。
When printing such text, conventional word processors use the following two methods, depending on the model.

(11上下添字に指定された網かけは無効となり、全角
文字に対して指定された網かけのみが有効となる。
(11 The shading specified for the upper and lower subscripts is invalid, and only the shading specified for full-width characters is valid.

(2)上下いずれかの添字のみが印刷可能で、同じ桁位
置には上・下いずれかの添字及びそれへの綱かけしか行
われない。
(2) Only the upper or lower subscript can be printed, and only the upper or lower subscript and a tie to it can be printed at the same digit position.

第5図B、には上記+11の印刷結果の例が示され、最
初の上添字「2」及び次ぎの上添字「3」については網
かけが実行されず、文章の最後の上・下の添字はその前
の文字rlJに対するパターンの網かけが印刷されてい
る。
Figure 5B shows an example of the printing result of +11 above, where the first superscript "2" and the next superscript "3" are not shaded, and the upper and lower parts of the last part of the sentence are not shaded. The subscript is printed with a pattern shading for the previous character rlJ.

[発明が解決しようとする諜H] 上記した従来例の方式の+11によれば、第5図B。[The espionage problem that the invention attempts to solve] According to +11 of the conventional method described above, FIG. 5B.

に示すように添字だけの網かけを印刷することができな
い、また、従来方式の(2)によれば、上添字または上
添字のいずれか一方しか印刷せず、同じ桁位置には上添
字または上添字の何れかの印字とそれへの網かけしか行
うことができない。
As shown in , it is not possible to print subscript-only shading, and according to the conventional method (2), only either the superscript or the superscript is printed, and the same digit position is printed with the superscript or the superscript. Only one of the superscripts can be printed and shaded.

このように文書を作成する時、同じ桁位置にある上添字
と上添字のそれぞれを網かけパターンにより個別に強調
したい場合に上記の従来方式では実現することができな
いという問題があった。
When creating a document in this manner, there is a problem in that if it is desired to individually emphasize each of the superscripts and superscripts located at the same digit position using a shading pattern, this cannot be achieved using the conventional method described above.

本発明は同一行の文中の同じ桁位置にある上添字と上添
字に対して異なるパターンの網かけを指定して印刷する
ことができる縮小添字への網かけ処理方式を提供するこ
とを目的とする。
An object of the present invention is to provide a shading processing method for reduced subscripts that can specify and print different patterns of shading for superscripts and superscripts located at the same column position in a sentence on the same line. do.

C課題を解決するための手段] 本発明の原理的構成図を第1図に示す。Means to solve problem C] FIG. 1 shows a basic configuration diagram of the present invention.

第1図において、10は文書処理装置、11はデータ分
離手段、12は網かけデータ作成手段、13は出力デー
タ編集手段、14〜17はメモリ中に保持されるデータ
を表し、14は元の文章の行データ、15は全・半角(
文字)と下添字データ151と下添字データ152とか
らなる分離データ、16は網かけデータ、17は印刷用
の出力データである。
In FIG. 1, 10 is a document processing device, 11 is a data separation means, 12 is a shaded data creation means, 13 is an output data editing means, 14 to 17 represent data held in the memory, and 14 represents the original data. Text line data, 15 is full-width/half-width (
16 is hatching data, and 17 is output data for printing.

本発明は文書処理袋W(ワードプロセッサ)において、
網かけ処理を行う前に上下添字を別の行に分離して、各
行の網かけ指定範囲に制御文字を設定し、分離した各行
データに対して網かけ処理用のために必要なデータを網
かけテーブルとして作成して、その網かけテーブルを用
いて印刷形式のテーブルを作成するものである。
The present invention provides a document processing bag W (word processor) that includes:
Before performing the shading process, separate the upper and lower subscripts into separate lines, set control characters in the shading specified range of each line, and shade the data necessary for the shading process for each separated line data. It is created as a cross-hatched table, and the table in print format is created using the cross-hatched table.

[作用] 全角文字、半角文字および上・下の縮小(1/4角)添
字や網かけ開始・終了などの制御コードからなる1行の
文章がメモリ中に行データ14として保持されている。
[Operation] One line of text consisting of full-width characters, half-width characters, upper and lower reduction (1/4-width) subscripts, and control codes such as start and end of shading is held in memory as line data 14.

この行データ14を入力したデータ分離手段11は、各
文字および制御コードを識別して、網かけの制御コード
を含む全・半角文字と上添字に関するデータ151と網
かけの制御コードを含む下添字のデータ152とに分離
して分離データ15として保持される。
The data separation means 11 that has input this line data 14 identifies each character and control code, and data 151 regarding full-width and half-width characters and superscripts including the shaded control code and subscripts including the shaded control code. data 152 and are held as separate data 15.

次に網かけデータ作成手段12において、分離データ1
5の2つのデータを識別して網かけが施される部分に関
する制御用データを個別に作成して全・半角と下添字デ
ータ用161と下添字用データ162の網かけデータ1
6としてメモリに格納する。
Next, in the shaded data creation means 12, the separated data 1
Identify the two data in 5 and create control data for the shaded portion individually to create the shaded data 1 for full-width/half-width and subscript data 161 and subscript data 162.
6 and stored in memory.

次に出力データ編集手段13は、作成された網かけデー
タ16と分離データ15を元にして2つの行における印
刷時に用いる出力データ17を形成する。
Next, the output data editing means 13 forms output data 17 to be used when printing two lines based on the created halftone data 16 and separation data 15.

出力データ17は、印刷を実行する時の制御データとし
て同一行の文章を複数回印刷動作する時に使用される。
The output data 17 is used as control data when printing the same line of text multiple times.

このように上・下の添字に対する網かけのデータは下添
字用のデータと下添字用のデータとに分離してそれぞれ
個別の網かけ印刷が可能となるようにデータを処理する
ことにより上・下の添字の印字とそれぞれに対する網か
けパターンの印刷が可能となる。
In this way, the shading data for the upper and lower subscripts is separated into data for the subscript and data for the subscript, and the data is processed so that separate shading printing is possible for each. It is possible to print the subscripts below and the shading pattern for each.

[実施例] 第2図は実施例の網かけデータ作成の処理フロー図、第
3図は実施例のデータ編集の処理フロー図、第4図は実
施例の処理内容を具体例により示す図である。
[Example] Fig. 2 is a processing flow diagram for creating shaded data according to the embodiment, Fig. 3 is a processing flow diagram for data editing according to the embodiment, and Fig. 4 is a diagram showing the processing contents of the embodiment using a concrete example. be.

先ず、文章がキー毘作により作成されて例えば第4図の
A、に示す例のような各種の制御コードを含んだ行デー
タが作成されているものとする。
First, it is assumed that a text has been created by keystrokes, and line data including various control codes, such as the example shown in A in FIG. 4, has been created.

このデータ中の各制御コードの表記とその意味は、上記
従来例の第5図について説明された内容と同様である。
The notation of each control code in this data and its meaning are the same as those explained with respect to FIG. 5 of the conventional example.

この行データA、を元に、全・半角文字とその網かけお
よび上添字とその網かけの制御コードを選択して第4図
B、のイ、に示すような第1行データと、下添字に関係
する文字および制御コードからなる第4図B、の口、に
示すような第2行データとに分離する。この分離動作は
、全・半角文字や、上・下の添字の制御コードおよび網
かけの開始、終了の制御コードなどを識別し、2つの行
に分離することにより実現する。なお、第1行データ中
には、上添字開始/終了コードが除かれており、第2行
データは下添字のみのデータであるから、下添字開始・
終了コードは含まれていない。
Based on this line data A, select full-width and half-width characters and their shading, and superscripts and their shading control codes to create the first line data as shown in Figure 4B, part A, and the bottom The data is separated into second line data as shown at the beginning of FIG. 4B, which consists of characters related to the subscript and control codes. This separation operation is realized by identifying full-width and half-width characters, control codes for upper and lower subscripts, and control codes for starting and ending shading, and separating them into two lines. Note that the first line data excludes the superscript start/end code, and the second line data contains only the subscript, so the subscript start/end code is excluded.
Exit code is not included.

第4図B、のイ、および口、の例で分かるように、各行
データには、網かけ指定(パターンの種別を含む)の開
始、終了の制御コードが含まれている。なお、網かけ開
始の後に別の網かけ開始がある時は前の網かけが終了し
たことも表す。
As can be seen from the example of A and B in FIG. 4B, each row of data includes control codes for starting and ending shading designation (including pattern type). Note that when there is another start of shading after the start of shading, it also indicates that the previous shading has ended.

この第1行データと第2行データに対して第2図の網か
けデータ作成の処理フローにより網かけデータが作成さ
れる。この処理は、網かけコードの開始、終了を検索す
ると共に関連する文字コードを識別して網かけデータを
第4図C1に示すような網かけテーブルとして作成する
処理である。
Shading data is created for the first row data and the second row data according to the processing flow for creating hatching data shown in FIG. This process searches for the start and end of a shading code, identifies the related character code, and creates shading data as a shading table as shown in FIG. 4C1.

網かけデータは、網かけを行うまでの空白データ(文章
の先頭または前の網かけが終了した後の網かけを行わな
いが文字の印字等が行われる部分の長さ)、有効データ
(網かけが実行される部分の長さ)、パターン(網かけ
パターン)、フラグ(下添字だけの網かけの部分を表示
、下添字の場合は使用しない)からなる。
Shading data includes blank data (the length of the beginning of the text or the part where characters are printed after the previous shading is finished), valid data (the length of the part where characters are printed, etc.). It consists of (the length of the part to be shaded), a pattern (shading pattern), and a flag (displays the shaded part only for subscripts; it is not used for subscripts).

まず第1行データついて実行され、次に第2行データに
ついて実行される。
First, the first row data is executed, and then the second row data is executed.

最初に、この処理が開始されると、全データの検索が終
了したか判別しくステップ20)、この場合終了してい
ないので、続いてステップ21において1行網かけ個数
を保持する変数(これをKとする)の内容を“0”に設
定する。この1行網かけ個数の変数領域は、第1行デー
タと第2行データに対応して個別に求められ、各行の中
に網かけデータ(空白データ、有効データ、パターン。
First, when this process starts, it is necessary to determine whether the search for all data has been completed (step 20); in this case, it has not been completed, so in step 21, a variable that holds the number of shading items in one line (this is K) is set to "0". This variable area of the number of shaded items in one line is obtained individually corresponding to the first line data and the second line data, and each line contains shaded data (blank data, valid data, pattern).

フラグからなる一組のデータ)が何個あるかを表す。A set of data consisting of flags).

次に、1行データの検索が終了したか判別しくステップ
22)、この場合は終了していないので、次のステップ
23に移り、ここでI★索キーとして網かけ開始コード
を設定する。
Next, it is determined in step 22) whether the search for one line of data has been completed. In this case, since it has not been completed, the process moves to the next step 23, where a shading start code is set as the I★ search key.

この後、網かけ(開始コードのみ)または1/−4添字
(111小添字)の開始・終了コードを検索する(ステ
ップ24.25)、この結果、これらの何れかのコード
を検出すると、その開始コードまでの空白(スペース)
が計数されているので、その計数値を空白データ長とし
て、テーブルに設定する(ステップ26)。
After this, the start/end code of the shaded (start code only) or 1/-4 subscript (111 small subscript) is searched (step 24.25). As a result, if any of these codes is detected, its White space before start code
has been counted, the counted value is set in the table as the blank data length (step 26).

ステップ25において検出したコードが1/4添字コー
ドである時は、有効データ長を“Ooに設定し、データ
フラグを設定する(下添字の場合だけ、下添字用の第2
行データはI/4添字コードが既に除かれているものと
する。)。
If the code detected in step 25 is a 1/4 subscript code, set the effective data length to "Oo" and set the data flag (only in the case of a subscript, the second
It is assumed that the I/4 subscript code has already been removed from the row data. ).

また、検出したコードが綱かけ開始である時は、検索キ
ーを網かけ終了コードに設定(ステップ28)0次に、
この網かけ終了コードと共に、網かけ開始コードおよび
、1/4添字コードの開始・終了コードの検索を行う(
ステップ29)。
Also, when the detected code is the start of rope play, set the search key to the shaded end code (step 28).
Along with this shaded end code, the shaded start code and the start/end code of the 1/4 subscript code are searched (
Step 29).

それらのいずれかを検出すると(ステップ30)、網か
け開始から終了までのスペース数を有効データ長とし、
網かけパターンと合わせて1つの網かけデータとし、上
記の変数(K)の1行網かけ個数を+1する(ステップ
31)、また、1/4添字の開始終了で、復帰した場合
(ステップ32で1=ゝの判別結果の場合)はデータフ
ラグを設定する(ステップ36)。
When any of them is detected (step 30), the number of spaces from the start to the end of the shading is set as the effective data length,
Combined with the shading pattern, it becomes one shading data, and the number of shading items in one line of the above variable (K) is increased by 1 (step 31). Also, when returning at the start and end of 1/4 subscript (step 32) If the determination result is 1=ゝ), a data flag is set (step 36).

このフラグは添字部分の網かけとそれ以外の網かけとを
区別するのに使用され、第2行データ(下添字に関する
行データ)の網かけデータの作成処理の場合にはフラグ
の設定処理は行わない(第2行データの処理であること
を判別することによりバイパスする)。
This flag is used to distinguish between the shading in the subscript part and the other shading, and in the case of creating the shading data for the second row data (row data related to the subscript), the flag setting process is Not performed (bypassed by determining that it is processing of the second row data).

また、網かけ開始コードが連続した場合、網かけ終了コ
ードを検出する過程で網かけ開始コードを積出しくステ
ップ30)、その後のステップ32.33で1/4添字
と網かけ終了コードの何れのコードにも一致しないので
網かけ開始コードであるとして扱い、ステップ35に移
る。この場合、前の網かけは終了し新たな網かけが開始
されたことになるので次の空白データ長として“0°を
設定(カウント値をリセットする)し、ステップ29か
ら新たに開始された網かけの終了コードを検出する動作
に移る。
In addition, if the shaded start codes are consecutive, in step 30) which outputs the shaded start codes in the process of detecting the shaded end code, in the subsequent steps 32 and 33, either the 1/4 subscript or the shaded end code is determined. Since it does not match the code, it is treated as a shading start code, and the process moves to step 35. In this case, the previous shading has ended and a new shading has started, so the next blank data length is set to 0° (the count value is reset), and a new one is started from step 29. The process moves on to detecting the shaded end code.

ステップ22で1行データ検索終了を判別した時、ステ
ップ25においてコード(網かけ開始または1/4添字
の開始・終了)を検出しなかった時、およびステップ3
0においてコード(網かけまたは1/4添字)を検出し
なかった時は、ステップ34において1行網かけ個数を
設定(上記変数にとして保持された1行中の網かけの有
効データ数を次の出力編集処理で利用する領域に設定)
する、最後に全データの検索が終了すると、網かけ出力
形式データ編集の処理(第3図)が実行される。
When it is determined in step 22 that the search for one line of data has ended, when a code (start of shading or start/end of 1/4 subscript) is not detected in step 25, and in step 3
If no code (shading or 1/4 subscript) is detected in step 34, set the number of shaded items in one line (the number of valid data of shaded items in one line held in the above variable as next). (Set in the area used for output editing processing)
Finally, when all the data have been searched, the process of editing the shaded output format data (FIG. 3) is executed.

上記第2図の処理を具体例により示すと、第4図B、の
イ、の第1行データと口、の第2行データに対して網か
けデータ作成の処理を行った結果として第4図C3に示
す網かけデータが得られる。
To illustrate the process of FIG. 2 above using a specific example, as a result of performing the process of creating shaded data on the first row data of No.A and A of FIG. The shaded data shown in FIG. C3 is obtained.

この屓かけデータの上部(5行分)のデータは第1行デ
ータ(Bのイ、)から作成されたもので、下部(2行分
)のデータは第2行データ(Bの口。
The data at the top (5 lines) of this bottom line data was created from the first line data (A, of B), and the data at the bottom (2 lines) was created from the second line data (B's mouth).

)から作成されたものである。この場合、第1行データ
の網かけの個数は「5」、第2行データでは網かけデー
タの個数は「2」である。
) was created from. In this case, the number of hatched data in the first row data is "5", and the number of hatched data in the second row data is "2".

次に第3図に示す実施例のデータ編集の処理フローにつ
いて説明する。
Next, the processing flow of data editing in the embodiment shown in FIG. 3 will be explained.

この第3図の処理では、上記第2図の処理により得られ
た網かけデータと、元の行データから得られた第1行デ
ータ(全・半角文字と下添字のデータ)および第2行デ
ータ(下添字のデータ)とが編集バッファに格納されて
おり、それらのデータを編集処理して編集バンファ内の
処理結実用の領域に印刷形式の編集結果を得る。
In the process shown in Figure 3, the shaded data obtained by the process shown in Figure 2 above, the first line data (full-width/half-width characters and subscript data) obtained from the original line data, and the second line data are used. The data (subscript data) is stored in the editing buffer, and by editing the data, an editing result in print format is obtained in the processing area in the editing buffer.

最初にステップ40において第1行データから、全・半
角文字と下添字を出カバソファ(図示しない印刷用の出
力データが格納されるバッファ)に転送する(但し、網
かけ開始・終了と下添字の開始・終了の検出コードは除
り)、続いて復改コードを転送する。
First, in step 40, full-width/half-width characters and subscripts are transferred from the first line data to an output buffer (a buffer (not shown) in which output data for printing is stored). (excluding the start/end detection code), followed by the return code.

具体例でいえば、第4図B、のイ、のデータから第4図
りの■に示すデータが取り出され、末尾に復改コード(
同じ行の先頭に戻すコード)を転送する。
To give a concrete example, the data shown in ■ in Figure 4 is extracted from the data in Figure 4 B, No. A, and a reinstatement code (
Transfer the code that returns to the beginning of the same line).

なお、第4図り、の■乃至■には、具体例について第3
図の各出力編集処理により得られた編集結果のデータが
示されている。
In addition, in the 4th diagram,
Data of editing results obtained by each output editing process shown in the figure is shown.

次にステップ42におG1て、全・半角文字と下添字に
対する網かけデータ(行の上半分にかかる網かけデータ
)が設定済か否か判別して(ステップ42)、未設定で
あれば前記第2図の処理において得られた網かけデータ
(第1行データに対応する)を編集バッファ(編集結果
を保持する領域)に転送しくステップ43)、続いて半
改行コード(半行骨の改行を行うコード)を転送する(
ステップ44)。
Next, in step 42, G1 determines whether the shading data (shading data for the upper half of the line) for full-width/half-width characters and subscripts has been set (step 42), and if it has not been set, The shaded data (corresponding to the first row data) obtained in the process shown in FIG. Transfer the line break code) (
Step 44).

この具体例では、第4図C0の網かけデータの場合、第
1行データに対して網かけ個数が5個(第2図のステッ
プ34で設定した値)であるから、不テフプ42,43
.42のループを5回繰り返してステップ44が実行さ
れて第4図り、の■のデータが得られる。
In this specific example, in the case of the shaded data of C0 in FIG.
.. The loop in step 42 is repeated five times to execute step 44, and the data in the fourth diagram, (2) is obtained.

次にステップ45〜48において、上記ステップ43で
使用した網かけデータ(第1行データ用)を元に全・半
角文字の下半分の網かけデータを出カバソファに転送す
る。すなわち、ステップ46で下添字網かけデータかど
うか判別する。この判別は、第2図のステップ36によ
り設定されるフラグがあるかどうかにより行う、下添字
の場合、下添字の網かけデータはダミー(スペースコー
ド)にして編集バッファに転送しくステップ47)、そ
うでない場合は、全・半角文字の下半分の網かけデータ
を転送し、復改コードを転送する(ステップ49)。
Next, in steps 45 to 48, the shading data for the lower half of full-width and half-width characters is transferred to the output sofa based on the shading data (for the first line data) used in step 43 above. That is, in step 46, it is determined whether the data is subscript shaded data. This determination is made based on whether there is a flag set in step 36 of FIG. 2. In the case of a subscript, the shaded data of the subscript is made into a dummy (space code) and transferred to the editing buffer (step 47). If not, the half-shading data of the lower half of full-width and half-width characters is transferred, and the return code is transferred (step 49).

これに対応する具体例では、第4図C9の第1行の網か
けデータ(個数5)を用いて全角文字の下半分の綱デー
タの転送が行われ、この例ではステップ45〜47.4
8のループを5回(y4かけデータの個数分)繰り返し
て、ステップ49に移る。その結果第4図り、の■に示
されるように下半分の網かけデータが編集バッファに得
られる。
In a specific example corresponding to this, the lower half of the line data of the full-width character is transferred using the shaded data (number of pieces 5) in the first line of C9 in FIG. 4, and in this example, steps 45 to 47.
The loop of 8 is repeated five times (y4 times the number of data), and the process moves to step 49. As a result, the lower half of the shaded data is obtained in the editing buffer, as shown in the fourth diagram, (2).

次にステップ50において、下添字データの転送が行わ
れ(但し検出コードは除り)、その後に復改コードが転
送される(ステップ51)。
Next, in step 50, the subscript data is transferred (excluding the detection code), and then the reinstatement code is transferred (step 51).

具体例で示すと、第2行データ(第4図B。To give a concrete example, the second row data (FIG. 4B).

口)と第2行用の網かけデータ(第4図C1の下側2行
)を用いて第4図り、の■のように下添字の文字「2」
とrcDJのみ転送され、復改コードが設定される。
Using the shading data for the second line (lower two lines of C1 in Figure 4), the subscript character ``2'' is drawn as shown in ■ in the 4th diagram.
and rcDJ are transferred, and a restoration code is set.

次のステップ52では、下添字網かけデータが設定済か
否かを判別し、未設定なら下添字用の網かけデータを転
送しくステップ53)、半改行コードを転送する(ステ
ップ54)。
In the next step 52, it is determined whether the subscript shading data has been set, and if it has not been set, the subscript shading data is transferred (step 53), and the half line feed code is transferred (step 54).

具体例で示すと、第4図り、■のような下添字「2」と
rCDJに対する綱データが編集結実用のバッファへ転
送される。このステップ53,54は網かけデータの個
数(第2行用は2個)だけループ動作し、最後にステッ
プ54で半改行コードの転送が行われる。
To give a concrete example, in the fourth figure, the subscript "2" such as ■ and the data for rCDJ are transferred to the editing buffer. Steps 53 and 54 operate in a loop for the number of halftone data (two for the second line), and finally, in step 54, a half line feed code is transferred.

このような編集処理により、第4図り、の■〜■に示す
5つのデータ列からなる編集結果のデータが編集バッフ
ァに形成され、そのデータは印刷時にプリンタに供給さ
れると、上・下添字に異なる網かけパターンの印字を行
う。
Through such editing processing, the editing result data consisting of the five data strings shown in Figure 4, ■ to ■, is formed in the editing buffer, and when the data is supplied to the printer at the time of printing, the upper and lower subscripts are Print different shading patterns on the

第4図E、には上記の第4図の処理により得られた第4
図り、の■乃至■のデータにより印刷を行った時の、印
刷順序が示されている。図の各行の内容は、■〜■に対
応して前の行の印刷結果に新たな内容が追加される形式
で示されている。
Figure 4E shows the fourth image obtained by the process in Figure 4 above.
The printing order when printing is performed based on the data in Figures 1 to 2 is shown. The contents of each line in the diagram are shown in a format in which new contents are added to the print result of the previous line corresponding to ■ to ■.

第4図に示す具体例では、A、に示すjテデータに対応
する印刷結果は、F、のようになる。
In the specific example shown in FIG. 4, the print result corresponding to the j-te data shown in A is as shown in F.

〔発明の効果1 本発明によれば、従来の方式では実現することができな
かった上・下添字に対し独立した網かけをすることがで
き、しかも同じ桁で上・下の添字に異なるパターンの網
かけを施すことができる。
[Effect of the invention 1] According to the present invention, it is possible to independently shade the upper and lower subscripts, which could not be achieved with the conventional method, and moreover, it is possible to shade the upper and lower subscripts of the same digit with different patterns. can be shaded.

第1図は本発明の原理的構成図、第2図は実施例の網か
けデータ作成処理フロー図、第3図は実施例のデータ編
集の処理フロー図、第4図は実施例の処理内容を具体例
により示す図、第5図は従来例の説明図である。
Figure 1 is a diagram of the basic configuration of the present invention, Figure 2 is a flowchart of the shaded data creation process in the embodiment, Figure 3 is a flowchart of the data editing process in the embodiment, and Figure 4 is the processing content of the embodiment. FIG. 5 is an explanatory diagram of a conventional example.

第1図中、 10:文書処理装置 11:データ分離手段 12:!itかけデータ作成手段 13:出力データ蝙東手段 ]4:行データ 15:分離データ 16:網かけデータ 17:出力データIn Figure 1, 10: Document processing device 11: Data separation means 12:! IT-based data creation means 13: Output data control means ]4: Row data 15: Separated data 16: Shading data 17: Output data

Claims (1)

【特許請求の範囲】 文書処理装置の縮小添字への網かけ処理方式において、 上、下の縮小添字への網かけ制御コードを含む行データ
(14)を、網かけ制御コードを含む全・半角と上添字
データ(151)と網かけ制御コードを含む下添字デー
タ(152)との2つの分離データ(15)を発生する
データ分離手段(11)と、 前記2つの分離データからそれぞれの網かけ印刷の制御
に必要な網かけデータ(16)を作成する網かけデータ
作成手段(12)と、 前記網かけデータ(16)および2つの分離データ(1
5)に基づいて印刷用データを形成するための出力デー
タ編集手段(13)とを備え、 1行の縮小添字への網かけを上、下の添字に対して独立
して指定して印刷することを特徴とする縮小添字への網
かけ処理方式。
[Claims] In a method for shading reduced subscripts in a document processing device, line data (14) including shading control codes for upper and lower reduced subscripts are converted into full-width and half-width data including shading control codes. data separation means (11) for generating two separated data (15), superscript data (151) and subscript data (152) including a shading control code; A shading data creation means (12) for creating shading data (16) necessary for printing control;
and output data editing means (13) for forming print data based on 5), and prints by specifying shading for the reduced subscript of one line independently for the upper and lower subscripts. A method for shading reduced subscripts.
JP1097768A 1989-04-18 1989-04-18 Document processing device for halftone printing on reduced subscripts Expired - Lifetime JPH0719252B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1097768A JPH0719252B2 (en) 1989-04-18 1989-04-18 Document processing device for halftone printing on reduced subscripts

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1097768A JPH0719252B2 (en) 1989-04-18 1989-04-18 Document processing device for halftone printing on reduced subscripts

Publications (2)

Publication Number Publication Date
JPH038073A true JPH038073A (en) 1991-01-16
JPH0719252B2 JPH0719252B2 (en) 1995-03-06

Family

ID=14201042

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1097768A Expired - Lifetime JPH0719252B2 (en) 1989-04-18 1989-04-18 Document processing device for halftone printing on reduced subscripts

Country Status (1)

Country Link
JP (1) JPH0719252B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106816151A (en) * 2016-12-19 2017-06-09 广东小天才科技有限公司 A kind of captions alignment methods and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106816151A (en) * 2016-12-19 2017-06-09 广东小天才科技有限公司 A kind of captions alignment methods and device
CN106816151B (en) * 2016-12-19 2020-07-28 广东小天才科技有限公司 Subtitle alignment method and device

Also Published As

Publication number Publication date
JPH0719252B2 (en) 1995-03-06

Similar Documents

Publication Publication Date Title
JPH03260768A (en) Key word emphasis display device
JPH038073A (en) Half-tone dot meshing processing system for reduced caption
JPS59148944A (en) Document forming device provided with function forming table of contents
JP2624484B2 (en) Chinese input processing method
JPH03266066A (en) Character-string substitution system with attribute
JPH09330107A (en) Comment adding method of ladder chart generation cad system for programmable controller
JPS6015181A (en) Electronic equipment
JPH03227285A (en) Forms output editor
JPH0447449A (en) Document preparing device
JPH01108670A (en) Mathematical formula input and edit system
JPH0537315Y2 (en)
JP2594043B2 (en) Ruled line creation device
JPH0444185A (en) Document reader
JP3022113B2 (en) Text data editing processing method
JP2004258731A (en) Newspaper and magazine producing system
JPH02136956A (en) Extracting method for layout information
JPH02253340A (en) Knowledge processing method applying picture processing
JP2004013863A (en) Method and system for processing character for document retrieval
JPH07249034A (en) Character string extraction processor
JPH02211518A (en) Printing output editing system
JPH04252363A (en) Word processor
JPH06101002B2 (en) Writing device
JPH0520420A (en) Graphic processor
JPH0816574A (en) Document processor
JPS60124775A (en) Character processing unit