JP3039661B2 - Document processing method - Google Patents
Document processing methodInfo
- Publication number
- JP3039661B2 JP3039661B2 JP1225351A JP22535189A JP3039661B2 JP 3039661 B2 JP3039661 B2 JP 3039661B2 JP 1225351 A JP1225351 A JP 1225351A JP 22535189 A JP22535189 A JP 22535189A JP 3039661 B2 JP3039661 B2 JP 3039661B2
- Authority
- JP
- Japan
- Prior art keywords
- color
- information
- document
- character
- format
- 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.)
- Expired - Fee Related
Links
Landscapes
- Document Processing Apparatus (AREA)
Description
【発明の詳細な説明】 [産業上の利用分野] 本発明は文書処理方法に関するものであり、特に、文
書情報に色情報を設定して出力することの可能な文書処
理方法に関するものである。Description: TECHNICAL FIELD The present invention relates to a document processing method, and more particularly to a document processing method capable of setting and outputting color information in document information.
[従来の技術] 従来、色情報が設定された文書情報を出力する場合、
出力装置が単色のものである場合には単色で出力され、
また、出力装置が多色のものである場合には、指定され
た色情報で出力されるというように、出力態様が出力装
置の能力に依存して変るものはあった。[Prior Art] Conventionally, when outputting document information in which color information is set,
If the output device is of a single color, it is output in a single color,
Further, when the output device is a multi-color device, the output mode changes depending on the capability of the output device, such as outputting with designated color information.
従来、一つの文字に対して複数の属性が重複して指定
される場合には、どちらの属性を優先するかを決定させ
るための情報を改めてユーザが指定することにより、出
力する属性の決定を可能にしていた。Conventionally, when multiple attributes are specified for one character, the attribute to be output is determined by the user specifying information for determining which attribute has priority. Had made it possible.
[発明が解決しようとしている課題] しかしながら、上記従来の技術では、色情報が設定さ
れている文書情報の出力態様を選択するためには、その
態様に沿うような能力の出力装置を出力先として選択し
なければならず、即ち能力の異なる出力装置を複数有し
ていないことには文書の色情報の設定を変更する操作を
するしかなかった。[Problem to be Solved by the Invention] However, in the above-described conventional technology, in order to select an output mode of document information in which color information is set, an output device having a capability according to the mode is set as an output destination. The only way to change the setting of the color information of a document is to select it, that is, to not have a plurality of output devices having different capabilities.
また、上記従来の技術では、出力する文字毎に、その
文字に設定されている属性を調べ、ユーザが所望する属
性を優先するような情報を改めて指定しなければならな
かった。Further, in the above-described conventional technology, for each character to be output, an attribute set for the character has to be checked, and information that prioritizes an attribute desired by the user has to be newly specified.
[課題を解決するための手段] 上記従来技術の課題を解決するために、本発明は、色
情報と複数の書式要素からなる書式情報に基づいて、文
書情報を所望の態様で出力し得る文書処理方法におい
て、文書情報に対して設定された書式情報に含まれる色
情報に拘わらず当該文書情報を単色で出力するか、或は
前記書式情報に含まれる色情報に基づいて当該文書情報
を出力するかを選択し、前記書式情報に含まれる色情報
に基づいて文書情報を出力する旨の選択に応じて、当該
文書情報に対して設定されている書式情報に含まれる色
情報に基づいて文書情報を出力するよう制御する文書処
理方法を提供する。[Means for Solving the Problems] In order to solve the above-mentioned problems of the related art, the present invention provides a document capable of outputting document information in a desired mode based on color information and format information including a plurality of format elements. In the processing method, the document information is output in a single color regardless of the color information included in the format information set for the document information, or the document information is output based on the color information included in the format information The document information based on the color information included in the format information set for the document information in response to the selection to output the document information based on the color information included in the format information. Provided is a document processing method for controlling output of information.
上記従来技術の課題を解決するために、本発明は、色
情報を含む文書情報の属性を定める書式情報と、前記文
書情報上で設定された領域に関する色情報を含む属性を
定める領域属性情報とに基づいて文書情報を出力する文
書処理方法において、前記文書情報を構成する任意の文
字が、前記領域属性情報により属性を定められているか
否かを判断し、前記任意の文字が領域属性情報により属
性を定められているとの判断に応じて、当該文字を前記
書式情報に拘わらず前記領域属性情報により定められる
属性で出力するよう制御する文書処理方法を提供する。In order to solve the above-described problems of the related art, the present invention provides format information that determines attributes of document information including color information, and region attribute information that determines attributes including color information regarding an area set on the document information. In the document processing method for outputting document information based on, it is determined whether or not an arbitrary character constituting the document information has an attribute determined by the area attribute information, and the arbitrary character is determined by the area attribute information. Provided is a document processing method for controlling a character to be output with an attribute determined by the area attribute information irrespective of the format information in response to a determination that an attribute is determined.
実施例1. [文書内の文字色(単色)を一括して変更] 添付図面を参照して、以下に、本発明に係る好適な実
施例を詳細に説明する。Embodiment 1. [Changing Character Color (Monochrome) in Document Collectively] Preferred embodiments according to the present invention will be described in detail below with reference to the accompanying drawings.
第1図は本実施例の文書処理装置の構成を示す第1の
ブロック図である。第1図において1は、本装置全体の
動作を後述PMEM2上のプログラムに従って制御するCPUを
示す。PMEM2は第4図のフローチヤートに示すようなプ
ログラムを格納するPMEM(プログラム・メモリ)、3は
例えばRS232C等の送受信手順を可能にする通信I/F(イ
ンタフエイス)を示す。4はキーボード、5はポインテ
イング・デバイス、6はキーボードとポインテイング・
デバイスの接続を可能とするKEY I/F(キーボード・イ
ンタフエイス)を示す。7は本装置内部のアドレス信
号,データ,制御信号を伝送するシステム・バスを示
す。8はカラーCRT、9は例えば1画素4ビツトのカラ
ー画面をカラーCRTに展開するVRAM(カラービデオRAM)
を示す。10はフロツピーデイスク・ドライブ、11はハー
ドデイスク・ドライブ、12はフロツピーデイスク・ドラ
イブ又はハードデイスク・ドライブをシステムバス7に
接続可能とするDISK I/F(デイスク・インタフエイス)
を示す。13は後述プリンタ14に出力するカラーイメージ
を展開する例えば1画素4ビツト、解像度400dpi相当の
カラーイメージデータを格納する為のIMEM(カラーイメ
ージメモリ)、14は例えば解像度400dpiのカラープリン
タを示す。FIG. 1 is a first block diagram showing the configuration of the document processing apparatus of the present embodiment. In FIG. 1, reference numeral 1 denotes a CPU that controls the operation of the entire apparatus according to a program on PMEM2 described later. PMEM2 is a PMEM (program memory) for storing a program as shown in the flowchart of FIG. 4, and 3 is a communication I / F (interface) for enabling a transmission / reception procedure such as RS232C. 4 is a keyboard, 5 is a pointing device, 6 is a keyboard and pointing device.
Indicates the KEY I / F (keyboard interface) that allows connection of devices. Reference numeral 7 denotes a system bus for transmitting address signals, data, and control signals inside the apparatus. Reference numeral 8 denotes a color CRT, and 9 denotes a VRAM (color video RAM) for developing a color screen of, for example, 4 bits per pixel into a color CRT.
Is shown. Reference numeral 10 denotes a floppy disk drive, 11 denotes a hard disk drive, and 12 denotes a disk I / F (disk interface) for connecting a floppy disk drive or a hard disk drive to the system bus 7.
Is shown. Reference numeral 13 denotes an IMEM (color image memory) for storing color image data corresponding to, for example, 4 bits per pixel and a resolution of 400 dpi for developing a color image to be output to a printer 14 to be described later. Reference numeral 14 denotes a color printer having a resolution of, for example, 400 dpi.
第2図は第1図のシステムバス7とカラーCRT8間の構
成を更に詳しく図示したものである。第2図に於いて、
9は例えば1画素4ビツトのカラーイメージデータを格
納するVRAM(ビデオRAM)、21は例えば4096色から16色
を選択するカラーパレツト、22はR(レツド),G(グリ
ーン),B(ブルー)各色4ビツトのデイジタル画像信号
をアナログ画像信号に変換するDAC(デイジタル・アナ
ログ・コンバータ)、23はCRT8用の水平・垂直同期信号
(HSYNC,VSYNC)をグリーンの画像信号に重畳するため
の同期信号重畳回路を示す。24のCRTC(CRTコントロー
ラ)はVRAM9を制御し、カラーパレツト21の書き替えを
制御し、同期信号重畳回路23を制御する。FIG. 2 shows the structure between the system bus 7 and the color CRT 8 shown in FIG. 1 in more detail. In FIG.
Reference numeral 9 denotes a VRAM (video RAM) for storing, for example, color image data of 4 bits per pixel, reference numeral 21 denotes a color pallet for selecting, for example, 16 colors from 4096 colors, and reference numeral 22 denotes each color of R (red), G (green), and B (blue). DAC (digital-to-analog converter) for converting 4-bit digital image signals to analog image signals; 23 is a synchronizing signal superimposing for superimposing horizontal and vertical synchronizing signals (HSYNC, VSYNC) for CRT8 on green image signals 1 shows a circuit. The 24 CRTC (CRT controller) controls the VRAM 9, controls rewriting of the color palette 21, and controls the synchronizing signal superimposing circuit 23.
第3図は、第1図のシステムバス7とカラープリンタ
14間の構成を更に詳しく図示したものである。第3図に
於て、13は例えば1画素4ビツト解像度400dpi相当のカ
ラーイメージデータを格納するためのIMEM(カラーイメ
ージメモリ)、31は例えば4096色から16色を選択するカ
ラーパレツトを示す。32はカラープリンタ14を接続する
プリンタI/F(インタフエイス)を示す。33の制御回路
はIMEM13を制御し、カラーパレツト31の書き替えを制御
し、プリンタI/F32にプリンタ制御信号を送る。FIG. 3 shows the system bus 7 and the color printer of FIG.
14 shows the configuration between 14 in more detail. In FIG. 3, reference numeral 13 denotes an IMEM (color image memory) for storing, for example, color image data corresponding to a resolution of 400 dpi per pixel of 4 bits, and reference numeral 31 denotes a color pallet for selecting, for example, 16 colors from 4096 colors. Reference numeral 32 denotes a printer I / F (interface) for connecting the color printer 14. The control circuit 33 controls the IMEM 13, controls rewriting of the color palette 31, and sends a printer control signal to the printer I / F32.
[プリンタ14の構成図] 次に、第1図,第3図に示したカラープリンタ14の概
要を第15図を参照し、説明する。778はパルス幅変調回
路で、第3図に示すプリンタI/F32からの多値のデジタ
ル画像信号をアナログ画像信号に変換するとともに、こ
のアナログ画像信号を所定周期の三角波と比較すること
によりパルス幅変調信号を形成している。そしてこのパ
ルス幅変調信号は後段のレーザ出力部711に印加され、
レーザをオン/オフ変調して階調画像を形成する為のも
のである。711はスキヤナであり、(PWM778)からの画
像信号を光信号に変換するレーザ出力部、多面体(例え
ば8面体)のポリゴンミラー712、このミラー712を回転
させるモータ(不図示)およびf/θレンズ(結像レン
ズ)713等を有する。714はレーザ光の光路を変更する反
射ミラー、715は感光ドラムである。レーザ出力部から
出射したレーザ光はポリゴンミラー712で反射され、レ
ンズ713およびミラー714を通って感光ドラム715の面を
線状に走査(ラスタースキヤン)し、原稿画像に対応し
た潜像を形成する。[Configuration of Printer 14] Next, an outline of the color printer 14 shown in FIGS. 1 and 3 will be described with reference to FIG. Reference numeral 778 denotes a pulse width modulation circuit which converts a multi-valued digital image signal from the printer I / F 32 shown in FIG. Forming a modulated signal. Then, this pulse width modulation signal is applied to the subsequent laser output unit 711,
This is for forming a gradation image by modulating the laser on / off. A scanner 711 converts an image signal from (PWM778) into an optical signal, a laser output unit, a polygon mirror 712 of a polyhedron (for example, octahedron), a motor (not shown) for rotating the mirror 712, and an f / θ lens. (Imaging lens) 713 and the like. 714 is a reflection mirror for changing the optical path of the laser light, and 715 is a photosensitive drum. The laser beam emitted from the laser output unit is reflected by the polygon mirror 712, passes through the lens 713 and the mirror 714, scans the surface of the photosensitive drum 715 linearly (raster scan), and forms a latent image corresponding to the original image. .
また、717は一次帯電器、718は全面露光ランプ、723
は転写されなかった残留トナーを回収するクリーナ部、
724は転写前帯電器であり、これらの部材は感光ドラム7
15の周囲に配設されている。Also, 717 is a primary charger, 718 is an overall exposure lamp, 723
Is a cleaner section for collecting the residual toner not transferred,
724 is a pre-transfer charger, and these members are the photosensitive drum 7
It is located around 15.
726はレーザ露光によって、感光ドラム715の表面に形
成された静電潜像を現像する現像器ユニツトであり、73
1Y,731M,731C,731Bkは感光ドラム715と接して直接現像
を行なう現像スリーブ、730Y,730M,730C,730Bkは予備ト
ナーを保持しておくトナーホツパー、732は現像剤の移
送を行うスクリユーであって、これらのスリーブ731Y〜
731Bk、トナーホツパー730Y〜730Bkおよびスクリユー73
2により現像器ユニツト726が構成され、これらの部材は
現像器ユニツトの回転軸Pの周囲に配設されている。例
えば、イエローのトナー像を形成する時は、本図の位置
でイエロートナー現像を行い、マゼンダのトナー像を形
成する時には、現像器ユニツト726を図の軸Pを中心に
回転して、感光体715に接する位置にマゼンダ現像器内
の現像スリーブ731Mを配設させる。シアン,ブラツクの
現像も同様に動作する。A developing unit 726 develops an electrostatic latent image formed on the surface of the photosensitive drum 715 by laser exposure.
1Y, 731M, 731C, 731Bk are a developing sleeve for directly developing in contact with the photosensitive drum 715, 730Y, 730M, 730C, 730Bk are toner hoppers for holding spare toner, and 732 is a screw for transferring developer. , These sleeves 731Y ~
731Bk, Toner Hopper 730Y-730Bk and SCREEN 73
2, a developing unit 726 is formed, and these members are arranged around the rotation axis P of the developing unit. For example, when a yellow toner image is formed, yellow toner development is performed at the position shown in the figure, and when a magenta toner image is formed, the developing unit 726 is rotated about the axis P in the figure to make the photosensitive member. The developing sleeve 731M in the magenta developing device is arranged at a position in contact with the 715. The development of cyan and black operates similarly.
また、716は感光ドラム715上に形成されたトナー像を
用紙に転写する転写ドラムであり、719は転写ドラム716
の移動位置を検出するためのアクチユエータ板、720は
このアクチユエータ板719と近接することにより転写ド
ラム716がホームポジシヨン位置に移動したのを検出す
るポジシヨンセンサ、725は転写ドラムクリーナー、727
は紙押えローラ、728は除電器および729は転写帯電器で
あり、これらの部材719,720,725,727,729は転写ローラ7
16の周囲に配設されている。Reference numeral 716 denotes a transfer drum that transfers the toner image formed on the photosensitive drum 715 to paper, and 719 denotes a transfer drum 716.
An actuator plate 720 for detecting the movement position of the actuator, a position sensor 720 for detecting that the transfer drum 716 has moved to the home position by approaching the actuator plate 719, a transfer drum cleaner 725, a transfer drum cleaner 727
Is a paper pressing roller, 728 is a static eliminator, and 729 is a transfer charger. These members 719, 720, 725, 727, 729 are transfer rollers 7
It is located around 16.
一方、735,736は用紙(紙葉体)を収納する給紙カセ
ツト、737,738はカセツト735,736から用紙を給紙する給
紙ローラ、739,740,741は給紙および搬送のタイミング
をとるタイミングローラであり、これらを経由して給紙
搬送された用紙は紙ガイド749に導かれて先端を後述の
グリツパに担持されながら転写ドラム716に巻き付き、
像形成過程に移行する。On the other hand, 735,736 is a paper feed cassette for storing paper (sheets), 737,738 is a paper feed roller for feeding paper from the cassette 735,736, and 739,740,741 are timing rollers for timing of paper feed and conveyance, and via these. The paper fed and conveyed is guided by a paper guide 749 and wrapped around the transfer drum 716 while the leading end is held by a gripper described later,
The process proceeds to the image forming process.
又550はドラム回転モータであり、感光ドラム715と転
写ドラム716を同期回転する。750は像形成過程が終了
後、用紙を転写ドラム716から取りはずす剥離爪、742は
取はずされた用紙を搬送する搬送ベルト、743は搬送ベ
ルト742で搬送されて来た用紙を定着する画像定着部で
あり、画像定着部743は一対の熱圧力ローラ744及び745
を有する。A drum rotation motor 550 rotates the photosensitive drum 715 and the transfer drum 716 synchronously. Reference numeral 750 denotes a peeling claw that removes the paper from the transfer drum 716 after the image forming process is completed, 742 denotes a transport belt that transports the removed paper, and 743 denotes an image fixing unit that fixes the paper transported by the transport belt 742. The image fixing unit 743 includes a pair of heat pressure rollers 744 and 745.
Having.
次に、本実施例の処理の全体の流れについて説明す
る。Next, the overall flow of the processing of this embodiment will be described.
第4図は、CPU1の処理動作を説明するフローチヤート
である。まず、CRT8上に既存文書,新文書用紙アイコン
を表示して文書を特定するようにした文書処理装置にお
いて、作業対象となるアイコンをポインテイング・デバ
イス5を用いてクリツクして文書を指定する(S1)。指
定された文書はフロツピーデイスク10またはハードデイ
スク11からPMEM2に一旦読みこまれ、文書の入力,変更
を行う(S2)。次に、指定文書のFD10又はHD11からPMEM
2に読み込まれた書式情報部に色以外の入力を行う(S
3)。書式情報部は第7図(a)のように表示され、本
文,大見出し,中見出し,小見出し1,小見出し2,小見出
し3,柱1,柱2,柱3,ノンブル等(これらを書式要素と称す
る。ただし、小見出し、柱の数は単数でも、複数でもい
くつでも良い。)の大きさ,行間,書体,色が指定でき
る。指定のなかった書式要素については、単色、例えば
黒で表示される。ここで、書式情報部の文字色の表示部
分をポインテイング・デバイス5を用いてクリツクする
とパレツトが第8図のように表示され(S4)、選択する
色上でポインテイング・デバイス5をクリツクすると書
式情報部の文字色の表示部に色番号が示され(S5)、書
式情報の色部分が指定される(S6)。ここで、書式情報
部全部をFD10又はHD11に登録又は更新する(S7)。この
ように登録された書式情報部の情報をもとに文書データ
をVRAM9に色情報を含めて具体的に展開し、CRT8に出力
する(S8)。この過程を第2図を用いて詳しく説明する
と、まず、前述のCPU1により例えば1画素4ビツトのカ
ラーイメージデータがVRAM9に展開される。CRTC24によ
ってVRAM9上のカラーイメージデータはCRT8の表示タイ
ミングに同期して読み出され、カラーパレツト21、DAC2
2、同期信号重畳回路23を経てCRT8に印加され表示され
る。CRT8はその表示面の蛍光体の残像時間しか像を保持
できないため、例えば1秒間に60回の割合でVRAM9の画
像データを読み出し、CRT8に印加し、常にリフレツシユ
される。VRAM9は例えばランダムアクセスポートとシリ
アルアクセスポートを有するデユアルポートメモリによ
って構成され、例えば1024ドツト×768ラインの表示が
可能で、1画素4ビツトで16色の色表示が可能である。
VRAM9より読み出された画像データはCRT8の表示順に合
わせてシリアル信号に変換されカラーパレツト21に印加
される。カラーパレツト21はルツクアツプテーブルによ
って構成されており、例えばR,G,B各色4ビツトで表現
される4096色中より16色を選択して1枚のパレツトとす
る。CRTC24を経由し、カラーパレツト21をかえることに
より、16色の選択色を切換えることが出来る。カラーパ
レツト21により変換された画像信号は、R,G,B各色4ビ
ツトのデジタル画像信号としてDAC22に印加され、アナ
ログ画像信号に変換される。DAC22はラダー抵抗型のデ
ジタルアナログコンバータが3回路で構成され、例えば
R,G,B各色4ビツトのデジタル画像信号を、R,G,B各色16
階調のアナログ画像信号に変換する。DAC22により変換
されたアナログ画像信号は同期信号重畳回路23に印加さ
れる。CRTC24はCRT8の表示タイミングを制御するための
同期信号として、例えば50kHzの水平同期信号と60Hzの
垂直同期信号を発生し、同期信号重畳回路23に印加す
る。同期信号重畳回路23はR,G,B3色のうち、G(グリー
ン)画像信号に前記水平同期信号及び垂直同期信号を重
畳してCRT8に印加する。CRT8はG(グリーン)画像信号
に重畳された同期信号を分離し、水平同期信号及び垂直
同期信号に表示タイミングを同期させ、RGB画像信号に
よるカラー画像を表示する。FIG. 4 is a flowchart for explaining the processing operation of the CPU 1. First, in a document processing apparatus in which an existing document and a new document paper icon are displayed on the CRT 8 to specify a document, an icon to be worked is clicked using the pointing device 5 to specify the document ( S1). The designated document is temporarily read from the floppy disk 10 or the hard disk 11 into the PMEM2, and the document is input and changed (S2). Next, from the specified document FD10 or HD11 to PMEM
Input other than color into the format information section read in (2
3). The format information section is displayed as shown in Fig. 7 (a), and includes the main text, major heading, middle heading, subheading 1, subheading 2, subheading 3, pillar 1, pillar 2, pillar 3, page number, etc. However, the number of subheadings and pillars may be singular, plural or any number.) The size, line spacing, font and color can be specified. Unspecified format elements are displayed in a single color, for example, black. Here, when the character color display portion of the format information section is clicked using the pointing device 5, a palette is displayed as shown in FIG. 8 (S4), and when the pointing device 5 is clicked on the color to be selected. The color number is indicated on the character color display section of the format information section (S5), and the color portion of the format information is specified (S6). Here, the entire format information section is registered or updated in the FD 10 or HD 11 (S7). Based on the information in the format information section registered in this way, the document data is specifically developed in the VRAM 9 including the color information and output to the CRT 8 (S8). This process will be described in detail with reference to FIG. 2. First, the CPU 1 expands, for example, 4-bit color image data per pixel into the VRAM 9 by the CPU 1 described above. The color image data on the VRAM9 is read out by the CRTC24 in synchronization with the display timing of the CRT8, and the color palette 21, DAC2
2. Applied to the CRT 8 via the synchronizing signal superimposing circuit 23 and displayed. Since the CRT 8 can hold an image only for the afterimage time of the phosphor on the display surface, the image data in the VRAM 9 is read out at a rate of, for example, 60 times per second, applied to the CRT 8, and constantly refreshed. The VRAM 9 is composed of, for example, a dual port memory having a random access port and a serial access port, and can display, for example, 1024 dots × 768 lines, and can display 16 colors with 4 bits per pixel.
The image data read from the VRAM 9 is converted into a serial signal according to the display order of the CRT 8 and applied to the color pallet 21. The color pallet 21 is constituted by a look-up table. For example, 16 colors are selected from 4096 colors represented by 4 bits for each of R, G, and B to make one pallet. By changing the color pallet 21 via the CRTC 24, the selection of 16 colors can be switched. The image signal converted by the color pallet 21 is applied to the DAC 22 as a digital image signal of 4 bits for each of R, G, and B, and is converted to an analog image signal. DAC22 is composed of three circuits of ladder resistance type digital-analog converter.
The digital image signal of 4 bits for each color of R, G, B is converted into 16 bits
The signal is converted to a grayscale analog image signal. The analog image signal converted by the DAC 22 is applied to the synchronizing signal superimposing circuit 23. The CRTC 24 generates, for example, a horizontal synchronization signal of 50 kHz and a vertical synchronization signal of 60 Hz as synchronization signals for controlling the display timing of the CRT 8, and applies them to the synchronization signal superimposing circuit 23. The synchronizing signal superimposing circuit 23 superimposes the horizontal synchronizing signal and the vertical synchronizing signal on the G (green) image signal among the three colors R, G and B and applies the superimposed signal to the CRT 8. The CRT 8 separates the synchronization signal superimposed on the G (green) image signal, synchronizes the display timing with the horizontal synchronization signal and the vertical synchronization signal, and displays a color image based on the RGB image signal.
以上で、第4図のフローチヤートに戻ると、CRT8に表
示された色付き文書イメージをチエツクし(S9)、色が
OKでなければ、その文書の書式情報部の内容をCRT8に第
7図(a)のように表示させ、文字色をポインテイング
・デバイス5を用いてクリツクしてパレツトを第8図の
ように表示して文字色を選択し直す。第9図において文
字色指定部分以外は、通常の白黒文書にも必要な書式情
報の一部である。Returning to the flowchart of FIG. 4, the color document image displayed on the CRT 8 is checked (S9), and the color is changed.
If it is not OK, the contents of the format information section of the document are displayed on the CRT 8 as shown in FIG. 7A, and the character color is clicked using the pointing device 5 to change the pallet as shown in FIG. Display and select the font color again. In FIG. 9, the part other than the character color designation part is a part of the format information necessary for a normal black-and-white document.
この書式情報の一部によると、版画の縦は段高、横は
(段巾×段数)+段間×(段数−1)である。又、文字
の属性は書式要素である本文,大見出し,中見出し,小
見出し1,小見出し2,小見出し3,柱1,柱2,柱3,ノンブルに
応じてその文字の大きさと行間を違えて設定でき、又、
行組版も左ヨセ,右ヨセ,中心付,調整組のうち一つを
選んで設定できる。又、版面内に表示できる行数は段高
÷(文字の大きさのmm換算+行間のmm換算)端数切捨て
となる。According to a part of the format information, the height of the print is the height of the step, and the width of the print is (step width × number of steps) + interval × (number of steps−1). In addition, the attribute of the character is set differently for the size and line spacing of the character according to the format elements: main text, main heading, middle heading, subheading 1, subheading 2, subheading 3, pillar 1, pillar 2, pillar 3, and page number. Can, and
Line composition can also be set by selecting one of the left, right, centered, and adjustment groups. Also, the number of lines that can be displayed on the printing plate is step height ÷ (mm conversion of character size + mm conversion between lines) rounded down.
さて文書の書式情報部の内容をCRT8に第7図(a)の
ようにすると同時に第8図のように文字色を表示する為
のカラーパレツトを表示する。変えたい文字色がこのパ
レツト内にあれば、その色の部分をポインテイング・デ
バイス5で示してクリツクする。なければ、あるまで前
のパレツト指示部401又は後のパレツト指示部402の部分
をクリツクしてパレツトをめくり、文字に適した求める
色を探す。見つかったら、その色の部分をポインテイン
グ・デバイス5で示してクリツクする。クリツクした文
字色情報は第7図(a)の文字色情報部にパレツト番号
251,色番号252としてセツトする。このセツトされた新
しい文字色情報でFD10又はHD11内の第7図(b)の書式
情報部内の文字色情報部及び、PMEM2上の書式情報部内
の文字色情報部を更新し(S7)、新しい文字色で今一
度、文書をカラーCRT8に表示する(S10)。文字色の調
整が終るまでこの処理をくり返す。The contents of the format information section of the document are displayed on the CRT 8 as shown in FIG. 7A, and at the same time, a color palette for displaying the character color is displayed as shown in FIG. If the character color to be changed is in this palette, the color portion is indicated by the pointing device 5 and clicked. If not, the part of the palette instructing section 401 before or after the palette instructing section 402 is clicked to turn over the palette and search for a desired color suitable for the character. If found, the color part is indicated by the pointing device 5 and clicked. The clicked character color information is displayed in the character color information section of FIG.
Set as 251 and color number 252. The character color information portion in the format information portion of FIG. 7B in the FD10 or HD11 and the character color information portion in the format information portion on PMEM2 in the FD10 or HD11 are updated with the new character color information thus set (S7). The document is displayed on the color CRT 8 once again in the text color (S10). This process is repeated until the adjustment of the character color is completed.
CRT8上に表示された文字色が適切となったならば(S
9)、カラープリンタ14に出力する(S10)。カラープリ
ンタ出力を第3図に沿って詳しく述べると、まず前述の
CPU1により例えば1画素4ビツトのカラーイメージデー
タがIMEM13に展開される。制御回路33によってIMEM13上
のカラーイメージデータはカラープリンタ14のプリント
タイミングに同期して読み出され、カラーパレツト31,
プリントI/F32を経てカラープリンタ14に印加され、プ
リントされる。IMEM13は例えば4692ドツト×6614ライン
×4ビツトで構成され、A3用紙に解像度400dpiで16色の
カラー画像を展開することができる。IMEM13より読み出
された画像データはカラープリンタ14のプリント順に合
わせてシリアル信号に変換されカラーパレツト31に印加
される。カラーパレツトはルツクアツプテーブルによっ
て構成されており、例えばRGB各色4ビツトで表現され
る4096色中より16色を選択する。制御回路33を経由し、
カラーパレツト31をかえることにより16色の選択色を切
換えることが出来る。カラーパレツト13により変換され
た画像信号は、RGB各色4ビツトのデジタル画像信号と
してプリンタI/F32に印加される。プリンタI/F32は前述
のRGB画像信号と、制御回路33からのプリンタ制御信号
を、カラープリンタ14へ送出する。カラープリンタ14
は、例えば4096色再現可能なカラープリンタであり、カ
ラーLBP(カラーレーザービームプリンタ)、熱転写方
式カラープリンタ、インクジエツト方式カラープリンタ
等の各種方式カラープリンタが使用可能である。カラー
プリンタ14は、実際のプリントはY(イエロー),M(マ
ゼンタ),C(シアン)の3原色を組み合わせてプリント
する。従ってRGBの加色系画像信号として入力されたカ
ラー画像信号をYMCの減色系画像信号へ変換した後プリ
ントする。If the text color displayed on CRT8 becomes appropriate (S
9) Output to the color printer 14 (S10). The output of the color printer will be described in detail with reference to FIG.
The CPU 1 develops, for example, 4-bit color image data per pixel into the IMEM 13. The color image data on the IMEM 13 is read out by the control circuit 33 in synchronization with the print timing of the color printer 14, and the color pallets 31,
It is applied to the color printer 14 via the print I / F 32 and printed. The IMEM 13 is composed of, for example, 4692 dots.times.6614 lines.times.4 bits, and can develop 16 color images on A3 paper at a resolution of 400 dpi. The image data read from the IMEM 13 is converted into a serial signal in accordance with the printing order of the color printer 14 and applied to the color pallet 31. The color pallet is constituted by a look-up table, and selects 16 colors from 4096 colors represented by, for example, 4 bits for each RGB color. Via the control circuit 33,
By changing the color palette 31, 16 selected colors can be switched. The image signal converted by the color pallet 13 is applied to the printer I / F 32 as a 4-bit digital image signal for each color of RGB. The printer I / F 32 sends the above-described RGB image signal and the printer control signal from the control circuit 33 to the color printer 14. Color printer 14
Is a color printer capable of reproducing 4096 colors, for example, and various types of color printers such as a color LBP (color laser beam printer), a thermal transfer type color printer, and an ink jet type color printer can be used. The color printer 14 prints an actual print by combining three primary colors of Y (yellow), M (magenta), and C (cyan). Therefore, after a color image signal input as an RGB additive color image signal is converted into a YMC subtractive color image signal, printing is performed.
以上がプリンタ出力処理である。 The above is the printer output process.
次にカラープリンタ14に出力された文字色が適切かチ
エツクし(S11)、適切でないならばS4に戻って修正を
する。プリンタ出力文字色の調整が終わったなら(S1
1)、他に入力する文書があれば(S12)、S1に戻り処理
を行う。FD10又はHD11内では文書データとその書式情報
部は第7図(b)のように格納されている。即ち文書デ
ータは文書毎のヘツダ内の文書データ先頭ポジシヨンの
指し示すアドレスから始まる。文書データは例えば第7
図(b)では最初に、以降は大見出しデータが続くこと
を示す大見出し指示コマンドがあり、その後に大見出し
データの本体が続く。次に以降は小見出しデータが続く
ことを示す小見出し指示コマンドがあり、その後に小見
出しデータの本体が続く。次に以降は本文データが続く
ことを示す本文指示コマンドがあり、その後に本文デー
タが続くといった構成になっている。Next, it is checked whether the character color output to the color printer 14 is appropriate (S11), and if it is not appropriate, the process returns to S4 for correction. After adjusting the printer output text color (S1
1) If there is another document to be input (S12), the process returns to S1 to perform processing. Document data and its format information section are stored in the FD 10 or HD 11 as shown in FIG. 7 (b). That is, the document data starts from the address indicated by the head position of the document data in the header for each document. The document data is, for example, the seventh
In FIG. 8B, first, there is a major heading instruction command indicating that the major heading data follows, followed by the main body of the major heading data. Next, there is a subheading instruction command indicating that the subheading data continues, followed by the main body of the subheading data. Next, there is a body instruction command indicating that the body data follows, followed by the body data.
又、書式情報部は文書毎のヘツダ内の書式情報先頭ポ
ジシヨンの指し示すアドレスから始まる。書式情報部は
例えば第7図(b)では、第7図(a)に示す書式情報
つまり天情報、のど情報、段数情報、段巾情報、段高情
報、段間情報及び、本文、大見出し、中見出し、小見出
し1、小見出し2、小見出し3、柱1、柱2、柱3、ノ
ンブル毎の文字の大きさ、行間行組版情報を持ち又文字
色情報としてパレツト番号251、色番号252といった情報
が収納されている。The format information section starts from the address indicated by the format information start position in the header of each document. For example, in FIG. 7 (b), the format information part is the format information shown in FIG. , Medium heading, subheading 1, subheading 2, subheading 3, pillar 1, pillar 2, pillar 3, character size for each fomb, line spacing and line type information, and information such as pallet number 251 and color number 252 as character color information Is stored.
実施例2. [文書内の文字色(多色)を一括して変更] 以下に添付図面を参照して、本発明に係る好適な実施
例2を詳細に説明する。Embodiment 2. [Changing Character Colors (Multicolors) in Document Collectively] A preferred embodiment 2 according to the present invention will be described in detail below with reference to the accompanying drawings.
第1図,第2図,第3図は本実施例の文字処理装置の
構成を示すが、説明は実施例1で前述した。FIG. 1, FIG. 2, and FIG. 3 show the configuration of the character processing apparatus according to the present embodiment.
次に本実施例の処理の流れについて説明する。第4図
は実施例1の処理全体の動作を説明するフローチヤート
であるが、実施例1と本実施例の処理動作の違いは、実
施例1では文書全体で色の選択が1色と限られていたの
に対し、本実施例では本文,見出し,柱,ノンブルとい
った書式要素各々について個別にも色を選択できるとい
う点であるので、第4図の実施例1との処理動作の違い
はS4からS6の間であり、その間の本実施例の処理動作を
第5図(a)に示したフローチヤートで詳細に説明す
る。Next, the flow of the process of this embodiment will be described. FIG. 4 is a flowchart for explaining the operation of the entire processing of the first embodiment. The difference between the processing operation of the first embodiment and the processing operation of the present embodiment is that the color selection in the first embodiment is limited to one color in the entire document. In contrast to this, in the present embodiment, the color can be individually selected for each of the format elements such as the text, heading, column, and page number. Therefore, the difference in the processing operation from the first embodiment in FIG. The processing operation of this embodiment between S4 and S6 will be described in detail with reference to the flowchart shown in FIG. 5 (a).
前述したように、PMEM2に読み込まれた書式情報部に
色以外の入力を行なった(S3)後、第9図のように表示
された書式情報部内の文字色の表示部をポインテイング
・デバイス5を用いてクリツクし、第8図のようにパレ
ツトを表示する(S20)。パレツト上の選択する色をポ
インテイング・デバイス5を用いてクリツクし、文字色
を選択する(S21)。そして、選択した色に指定するの
は本文か判断し(S22)、本文ならば、書式情報部の本
文の文字色を設定する(S23)。本文の文字色を設定し
た(S23)後、再びパレツトを表示し(S20)、パレツト
内の色を選択し(S21)、その選択した色に指定するの
は本文か判断し(S22)、本文でないならば、見出しか
判断し(S24)、見出しならば、更に大見出し,中見出
し,小見出しを選択する見出し色選択処理(S25)を行
なう。この、見出し色選択処理(S25)の詳細な処理の
流れは、第5図(b)に示す。ここで、大見出しならば
(S29)、書式情報部の大見出しの文字色を設定する(S
30)。設定した後、更にパレツトを表示し(S20)、色
を選択し(S21)、本文,見出し,柱,ノンブル各々の
色指定が終了するまでこの動作を続ける。ここで、柱色
選択処理(S27)の詳細な処理の流れは、第5図(c)
に示す。FD10又はHD11内では文書データとその書式情報
部は第10図のように概ね実施例1で説明した通り格納さ
れている。実施例1と相違する点は、第9図の文字色情
報部に対応して第10図に示す通り、文字色情報を本文文
字色情報、大見出し文字色情報,中見出し文字色情報,
小見出し1文字色情報,小見出し2文字色情報,小見出
し3文字色情報,柱1文字色情報,柱2文字色情報,柱
3文字色情報,ノンブル文字色情報と詳細にFD10又はHD
11に格納している点にある。As described above, after inputting other than color into the format information section read into PMEM2 (S3), the character color display section in the format information section displayed as shown in FIG. Is clicked to display a palette as shown in FIG. 8 (S20). A color to be selected on the palette is clicked using the pointing device 5, and a character color is selected (S21). Then, it is determined whether the selected color is the text (S22). If the text is the text, the character color of the text in the format information section is set (S23). After the text color of the text is set (S23), the palette is displayed again (S20), the color in the palette is selected (S21), and it is determined whether the selected color is the text (S22). If not, the heading is determined (S24). If it is a heading, a heading color selection process (S25) for selecting a large heading, a medium heading, and a small heading is performed. FIG. 5B shows the detailed processing flow of the heading color selection processing (S25). Here, if it is a heading (S29), the character color of the heading in the format information section is set (S29).
30). After the setting, the palette is further displayed (S20), the color is selected (S21), and this operation is continued until the color designation of the text, headline, pillar, and page number is completed. Here, the detailed processing flow of the column color selection processing (S27) is shown in FIG. 5 (c).
Shown in In the FD 10 or the HD 11, the document data and its format information section are stored almost as described in the first embodiment as shown in FIG. The difference from the first embodiment is that, as shown in FIG. 10, corresponding to the character color information section of FIG. 9, the character color information is the main body character color information, the large heading character color information, the middle heading character color information,
Subheading 1 character color information, subheading 2 character color information, subheading 3 character color information, pillar 1 character color information, pillar 2 character color information, pillar 3 character color information, folio character color information and FD10 or HD in detail
It is stored in 11.
実施例3. [書式情報をライブラリ化して保存] 以下に添付図面を参照して、本発明に係る好適な実施
例を詳細に説明する。Third Embodiment [Save Format Information as Library] A preferred embodiment according to the present invention will be described in detail below with reference to the accompanying drawings.
第1図,第2図,第3図は本実施例の文字処理装置の
構成を示すが、説明は実施例1で前述した。FIG. 1, FIG. 2, and FIG. 3 show the configuration of the character processing apparatus according to the present embodiment.
次に本実施例の処理の全体の流れについて説明する。 Next, the overall flow of the processing of this embodiment will be described.
第6図(a)は書式ライブラリを登録する際のCPU1の
処理全体の動作を説明するフローチヤートである。まず
CRT8上に表示された既存文書又は新文書用紙アイコンを
ポインテイング・デバイス5を用いてクリツク(S51)
する。第9図のような書式情報部の内容を表示する(S5
2)。書式情報部に文字色以外の入力を行なったら(S5
3)、CRT8上の文字色をポインテイング・デバイス5で
クリツクしてパレツトを表示し(S54)、適切な色を指
定し(S55)、書式情報部の文字色を設定する(S56)。
書式情報部の設定が終了したら、書式情報部の内容を書
式ライブラリに登録するための書式ライブラリ用索引名
を付加し(S57)、書式情報部の内容を書式ライブラリ
に登録する(S58)。ここで登録終了か確認し(S59)、
もし終了しないならばS52に戻って終了するまで繰り返
す。FIG. 6A is a flowchart for explaining the overall operation of the CPU 1 when registering a format library. First
Click the existing document or new document paper icon displayed on the CRT 8 using the pointing device 5 (S51).
I do. Display the contents of the format information section as shown in FIG. 9 (S5
2). If you enter anything other than text color in the format information section (S5
3) The character color on the CRT 8 is clicked on the pointing device 5 to display a palette (S54), an appropriate color is specified (S55), and the character color in the format information section is set (S56).
When the setting of the format information section is completed, a format library index name for registering the contents of the format information section in the format library is added (S57), and the contents of the format information section are registered in the format library (S58). Check if registration is completed here (S59)
If not, the process returns to S52 and repeats until the process is completed.
次に、書式ライブラリを呼び出す際のCPU1の処理全体
の動作を説明するフローチヤートを第6図(b)に示
し、詳細に説明する。Next, FIG. 6 (b) is a flowchart for explaining the overall operation of the CPU 1 when calling the format library, and will be described in detail.
まず、CRT8上に表示された既存文書又は新文書用紙ア
イコンをポインテイング・デバイス5を用いてクリツク
して文書を指定し(S60)、文書の入力,変更を行う(S
61)。ここで、すでに登録されてある書式ライブラリを
索引名に基づいて呼び出し(S62)、終了か確認して(S
63)、終了しないなら、文書を書式に従ってCRT8上に表
示する(S64)。ここで、OKでないならば、S64に戻って
書式ライブラリの呼び出しから適切になるまで繰り返
す。或は、一度ライブラリから呼び出した書式を部分修
正してもよい。そして、それを第6図(a)のフローチ
ヤートに準じて、登録しても良い。OKとなったならば、
S65からS66に進み、カラープリンタ14に出力し(S6
6)、OKならば(S67)、他に呼び出す書式ライブラリが
ないか確認し(S68)、もしあればS60に戻って繰り返
す。First, an existing document or a new document paper icon displayed on the CRT 8 is clicked using the pointing device 5 to designate a document (S60), and the document is input and changed (S60).
61). Here, the registered form library is called based on the index name (S62), and it is confirmed whether or not the processing is completed (S62).
63) If not finished, display the document on CRT8 according to the format (S64). If it is not OK, return to S64 and repeat from the call of the format library until appropriate. Alternatively, the format once called from the library may be partially modified. Then, it may be registered according to the flowchart of FIG. 6 (a). When it is OK,
Proceed from S65 to S66 and output to the color printer 14 (S6
6) If OK (S67), check if there is another format library to call (S68), and if so, return to S60 and repeat.
FD10又は、HD11内では文書データとその書式ライブラ
リは第7図(b)のように格納されている。文書データ
の格納方法は実施例1で説明した通りである。又、書式
ライブラリを構成する複数の書式情報部は文書毎のヘツ
ダ内の書式情報先頭ポジシヨンの指し示すアドレスから
始まる。書式ライブラリ中の各書式情報部は例えば第13
図では、第12図に示した書式情報つまり天情報,のど情
報,段数情報,段巾情報,段高情報,段間情報,および
本文,大見出し,中見出し,小見出し1,小見出し2,小見
出し3,柱1,柱2,柱3,ノンブル毎の文字の大きさ、行間行
組版情報を持ち又文字色情報としてパレツト番号251,色
番号252といった情報が収納されている。また、ここで
は文書の文字色は一色で一括して変更する場合だが、書
式要素の各々を別個に色指定し、ライブラリ化すること
も可能である。Document data and its format library are stored in the FD 10 or HD 11 as shown in FIG. 7B. The method of storing the document data is as described in the first embodiment. The plurality of format information sections constituting the format library start from the address indicated by the format information head position in the header for each document. Each format information section in the format library is, for example,
In the figure, the format information shown in FIG. 12, that is, top information, throat information, step number information, step width information, step height information, step information, and text, major heading, middle heading, subheading 1, subheading 2, subheading 3 , Column 1, column 2, column 3, character size for each page, line-to-line typesetting information, and information such as pallet number 251 and color number 252 as character color information. In this case, the text color of the document is changed in one color at a time. However, it is also possible to separately specify the color of each format element and create a library.
このように収納された文書データと書式ライブラリ中
の第1書式情報部をPMEM2に読みこんだあと、書式情報
部の情報をもとに文書データをVRAM9に色情報を含めて
具体的に展開し、CRT8に出力する(104)。この過程は
第2図を用いて実施例1で説明した。After the stored document data and the first format information section in the format library are read into PMEM2, the document data is specifically developed in VRAM9 including color information based on the information in the format information section. , And output to the CRT 8 (104). This process has been described in the first embodiment with reference to FIG.
実施例1,実施例2,実施例3の説明は以上であるが、こ
こで書式情報部の内容のCRT8への表示方法として、第7
図(a),第9図,第12図のように文字色をパレツト番
号と色番号で表示する方法の他に、第9図,第11図,第
14図のように色そのものを表示する方法もある。The description of the first, second, and third embodiments is as described above. Here, the method of displaying the contents of the format information section on the CRT 8 is the seventh method.
In addition to the method of displaying the character color by the palette number and the color number as shown in FIGS.
There is also a method to display the color itself as shown in Fig. 14.
実施例4 [出力時の文字色の選択] 以下に添付した図面を参照して本発明に係る好適な他
の実施例を詳細に説明する。Embodiment 4 [Selection of Character Color at Output] Another preferred embodiment according to the present invention will be described in detail with reference to the accompanying drawings.
第16図に本実施例の動作の流れを示すフローチヤート
の一部を示す。本実施例は実施例1で前述した第4図の
フローチヤートと流れが異なるのはプリント部分S10だ
けなので、本実施例におけるプリント部分だけを抜き出
して第16図に示す。S9までに文書、書式の入力とFD10と
HD11への登録が終わり、書式に従ってカラーCRT8上に表
示して、色もチエツクしてある。ここで、プリントをカ
ラー(1色或いは多色)にするか、単色、例えば黒にす
るかを選択する(S201)。プリントをカラーにするなら
ば、文書を書式に従ってプリントし(S202)、プリント
を単色、例えば黒にするならば文書を単色でプリントす
る(S203)。FIG. 16 shows a part of a flowchart showing the flow of the operation of this embodiment. This embodiment differs from the flow chart of FIG. 4 described in the first embodiment only in the print portion S10. Therefore, only the print portion in this embodiment is extracted and shown in FIG. By S9, input documents, forms, and FD10
After registering to HD11, it is displayed on the color CRT8 according to the format, and the colors are also checked. Here, the user selects whether the print is to be made in color (one color or multiple colors) or in a single color, for example, black (S201). If the print is to be printed in color, the document is printed in accordance with the format (S202), and if the print is printed in a single color, for example, black, the document is printed in single color (S203).
また第16図のフローチヤートS201のようにオペレータ
が選択するというステツプを設けずに色情報はCRT8上の
みで有効とし、プリント時はすべて単色、例えば黒で出
力することも可能。Also, the color information is valid only on the CRT 8 without providing a step of selecting by the operator as in the flowchart S201 in FIG. 16, and it is possible to output all in a single color, for example, black when printing.
実施例5 [文書内で文字色の指定が重複した時の文字色選択] 以下に添付図面を参照して本発明に係る好適な他の実
施例を詳細に説明する。Fifth Embodiment [Selection of Character Color When Character Colors Are Specifyed Overlapping in Document] Hereinafter, another preferred embodiment according to the present invention will be described in detail with reference to the accompanying drawings.
第17図(a)は本実施例の処理動作の全体の流れを示
すフローチヤートである。S1からS7の流れは実施例1に
前述した通りである。S7までの段階で文書、書式を登録
したので、次に文書の本文の一部文字色を設定する。カ
ラーCRT8上の枠アイコンをポインテイングデバイス5を
用いてクリツクすると(S101)、第18図(a)のような
枠属性画面が表示される。枠属性画面上での文字色の表
示は、第18図(a)のようにパレツト番号と色番号とい
うように数字で示す他に、第18図(b)のように直接色
そのものをCRT8上に表示することも可能である。文字色
を設定する範囲を枠で指定する(S102)。文字色を設定
しない部分は、例えば黒などの単色となる。枠はポイン
テイングデバイス5のクリツクボタンを押し、そこを始
端と定め、クリツクボタンを押したままポインテイング
デバイス5を右下へと移動させて終端となるところでク
リツクボタンを離す。すると始端が枠の左上の角、終端
が枠の右下の角となる枠が定まる。ここで始端、終端は
それぞれ左上、右下に限定はしない。これらの指定した
枠情報部はFD10またはHD11の中では第19図のように格納
されている。第19図の文書、書式情報部については実施
例1で前述したのでここでは述べない。枠情報部につい
ては文書毎のヘツダ内の枠情報先頭ポジシヨンの指し示
すアドレスから始まる。枠情報部は枠数、座標成分1、
座標成分2、座標成分3、座標成分4、枠内指定色とい
った情報が収納されている。この座標成分とは、第20図
にあるように、色指定したい範囲(ハツチングパターン
で示してある枠内)の始端の座標を座標成分1と座標成
分2、終端の座標を座標成分3と座標成分4で示すもの
である。FIG. 17A is a flowchart showing the overall flow of the processing operation of the present embodiment. The flow from S1 to S7 is as described in the first embodiment. Since the document and the format have been registered at the stage up to S7, the color of a part of the text of the document is set next. When a frame icon on the color CRT 8 is clicked using the pointing device 5 (S101), a frame attribute screen as shown in FIG. 18A is displayed. The display of the character color on the frame attribute screen is indicated by a numeral such as a palette number and a color number as shown in FIG. 18 (a), and the color itself is directly displayed on the CRT 8 as shown in FIG. 18 (b). Can also be displayed. A range in which the character color is to be set is designated by a frame (S102). The portion where the character color is not set is a single color such as black. The frame presses the click button of the pointing device 5 to define the start point, moves the pointing device 5 to the lower right while holding down the click button, and releases the click button at the end point. Then, a frame whose start end is the upper left corner of the frame and whose end is the lower right corner of the frame is determined. Here, the start and end are not limited to the upper left and lower right, respectively. These designated frame information sections are stored in the FD10 or HD11 as shown in FIG. The document and format information section shown in FIG. 19 have been described in the first embodiment and will not be described here. The frame information section starts from the address indicated by the frame information head position in the header for each document. The frame information section includes the number of frames, coordinate component 1,
Information such as a coordinate component 2, a coordinate component 3, a coordinate component 4, and a designated color in a frame is stored. The coordinate components are, as shown in FIG. 20, the coordinates of the start end of the range (in the frame shown by the hatching pattern) for which the color is to be designated are coordinate components 1 and 2, and the end coordinates are the coordinate component 3 This is indicated by a coordinate component 4.
次にパレツトを第8図のようにカラーCRT8上に表示し
(S103)、設定する色の上でポインテイングデバイス5
をクリツクして選択し(S104)、枠属性色部分を指定す
る(S105)。Next, the palette is displayed on the color CRT 8 as shown in FIG. 8 (S103), and the pointing device 5 is displayed on the color to be set.
Is clicked and selected (S104), and a frame attribute color portion is designated (S105).
枠属性を設定した後、枠属性で指定した範囲と、書式
要素で指定した範囲が重なっているかいないかを文書の
文字を順次一文字ずつ取り出して判断する(S106)。文
字が枠内でない場合(S107)は、文字色選択処理(S10
8)を行う。文字が枠の内か外か見分けるのは、文字の
始端と終端の座標がそれぞれ枠の始端と終端の座標より
内側であるか外側であるかで見分けることができる。文
字色選択処理の流れは、第17図(b)に示す。この文字
色選択処理で文字が本文ならば(S121)、書式情報に従
って本文、文字色を設定し(S122)、文字が本文でなく
(S121)、見出しならば(S123)見出し色選択処理(S1
24)を行い、文字が見出しでなく(S123)柱ならば(S1
25)、柱色選択処理(S126)を行い、文字が柱でないな
らば(S125)文字は書式情報に従ってノンブル文字色を
設定する。ここで、見出し色選択処理は第17図(c)に
示す。この見出し色選択処理で、文字が大見出しならば
(S131)、書式情報に従って大見出し文字色を設定し
(S132)、文字が大見出しでなく(S131)中見出しなら
ば(S133)書式情報に従って中見出し文字色を設定し
(S134)、というようにこの処理の流れを繰り返し、S1
39まで進める。また、柱色選択処理を第17図(d)に示
すが、この柱色選択処理でも見出し色選択処理と同じよ
うに柱1・柱2・柱3であるか確認し、色を設定する。
文字色設定処理が終ったら次の文字の判断へと移る。After setting the frame attribute, it is determined whether or not the range specified by the frame attribute overlaps the range specified by the format element by sequentially extracting characters of the document one by one (S106). If the character is not within the frame (S107), the character color selection processing (S10
Perform 8). Whether the character is inside or outside the frame can be distinguished depending on whether the coordinates of the start and end of the character are inside or outside the coordinates of the start and end of the frame, respectively. FIG. 17 (b) shows the flow of the character color selection process. In this character color selection processing, if the character is the text (S121), the text and character color are set according to the format information (S122). If the character is not the text (S121), if the character is a heading (S123), the heading color selection processing (S1)
24), and if the character is not a headline (S123) but a pillar (S1
25), a column color selection process (S126) is performed, and if the character is not a column (S125), the character character color is set according to the format information. Here, the heading color selection processing is shown in FIG. 17 (c). In this heading color selection processing, if the character is a large heading (S131), a large heading character color is set according to the format information (S132). This process flow is repeated by setting the middle heading character color (S134), and so on.
Proceed to 39. The column color selection process is shown in FIG. 17 (d). In this column color selection process, as in the case of the heading color selection process, it is confirmed whether the column is column 1, column 2, column 3 and the color is set.
When the character color setting process is completed, the process proceeds to the determination of the next character.
第17図(a)の説明に戻ると、S107で判断中の文字が
枠属性で指定された枠内であったならば、文字色が枠属
性で指定された色と、書式情報で指定された色と重複し
てしまうため、どちらの指定を優先させるかを決める
(S109)。文字色を書式に従って決めるならば、文字色
設定処理(S108)を行い、枠属性で指定した色を優先す
るならば、該当文字の色を枠指定色に設定する(S11
0)。例えば第20図で説明すると、書式情報で中見出し
「お客様各位」を赤(図中では太文字で示す)、枠属性
で指定した色を緑(図中ではハツチングパターンで示
す)とした時、文字色を書式に従った場合は第20図
(a)、枠属性に従った場合は第20図(b)のようにな
る。Returning to the description of FIG. 17 (a), if the character being determined in S107 is within the frame specified by the frame attribute, the character color is specified by the color specified by the frame attribute and the format information. Since the color is overlapped, it is determined which one has priority (S109). If the character color is determined according to the format, the character color setting process (S108) is performed, and if the color specified by the frame attribute is given priority, the color of the character is set as the frame specification color (S11).
0). For example, referring to FIG. 20, when the format information indicates the middle heading "Customers" to red (indicated by bold characters in the figure) and the color specified by the frame attribute to green (indicated by hatching patterns in the figure) 20 (a) when the character color follows the format, and FIG. 20 (b) when the character color follows the frame attribute.
ここで、文字色が枠属性で指定した色と、書式情報で
指定した色が重複している時に、S109でどちらを優先さ
せるかを選択する形をとったが、オペレータが選択する
ことなく無条件に枠属性で指定した色を優先するという
形もある。S108とS110で文字色の設定ができたら、S111
で文書全体の検索が終了したかチエツクし、終了してい
なければS106へと戻って次の文字へと移る。ここで終了
したならば、文書を設定色で書式に従ってカラーCRTに
表示し(S112)、文字色をチエツクし(S113)、適切な
らば、文書を書式に従ってプリントし(S114)、文字色
をチエツク(S115)する。S113とS115で文字色が適切で
ないならば、S4に戻り、色を選び直す。S115で文字色が
適切ならば、他に入力する文書がないかチエツクし(S1
16)、なければ終了し、あった場合はS1に戻って文書の
入力を行う。Here, when the color specified by the frame attribute and the color specified by the format information overlap with each other, the form in which the priority is given in S109 is adopted. There is also a form that gives priority to the color specified by the frame attribute in the condition. After setting the text color in S108 and S110,
Check if the search of the entire document has been completed, and if not, return to S106 and move to the next character. If it is completed here, the document is displayed on the color CRT in the set color according to the format (S112), the character color is checked (S113), and if appropriate, the document is printed according to the format (S114), and the character color is checked. (S115). If the character color is not appropriate in S113 and S115, the process returns to S4 and the color is selected again. If the character color is appropriate in S115, check if there is any other document to input (S1
16) If not, end the process. If there is, return to S1 to input a document.
また、ここでは実施例2で示したような、色情報を書
式要素の各々について個別に与えてある場合についての
例を示したが、これは実施例1のように色指定を個別に
するのではなく、一括して行う方法にも可能である。Also, here, an example is shown in which color information is individually given to each of the format elements as shown in the second embodiment. However, it is also possible to use a method of performing the operation collectively.
また、文書の本文の一部文字色を設定する範囲は枠と
限定せず、枠以外の形状でもよい。Also, the range in which the text color of a part of the text of the document is set is not limited to a frame, but may be a shape other than the frame.
実施例6 [文字色選択時の色表示方法] FD10またはHD11に格納されている色情報を指定する際
にパレツトがCRT8上に表示されるが、CRT8上で表示可能
な色数は全部で16色と限られているため、パレツト以外
に文書などでn色、色表示されている場合は、パレツト
画面に表示できる色は(16−n)色となる。よって同パ
レツトのCRT8上に表示されていない残りのn色は、パレ
ツト次画面のアイコンをポインテイングデバイス5でク
リツクすることによって同パレツトの残りの色を順次CR
T8上に表示でき、パレツトの全部の色を見ることが可能
となる。Embodiment 6 [Color Display Method When Selecting Text Color] When specifying color information stored in the FD10 or HD11, the palette is displayed on the CRT8, but the total number of colors that can be displayed on the CRT8 is 16 Since the number of colors is limited, if n colors are displayed in a document or the like other than the palette, the colors that can be displayed on the palette screen are (16-n) colors. Therefore, the remaining n colors that are not displayed on the CRT 8 of the same palette are clicked by the pointing device 5 on the icon of the next screen of the palette, and the remaining colors of the same palette are sequentially CR-printed.
It can be displayed on the T8, and you can see all the colors of the palette.
[発明の効果] 以上説明したように、本発明によれば、色情報が設定
されている文書情報の出力を、設定されている色情報に
拘わらず単色で出力するか、設定されている色情報に基
づいて出力するかを選択できるようにすることにより、
色情報が設定されている文書情報に単色の色情報を指定
し直す操作、或は予め単色の文書情報を用意し、この単
色の文書情報を出力する際に所望の色情報を設定すると
いう操作を不要とすることができ、所望の出力形態の選
択のみで予め用意された文書情報の出力態様を変更する
ことが容易となる。[Effect of the Invention] As described above, according to the present invention, the output of document information in which color information is set is output in a single color regardless of the set color information, or the set color is output. By allowing you to choose whether to output based on information,
An operation of re-specifying monochrome color information in document information for which color information is set, or an operation of preparing monochrome document information in advance and setting desired color information when outputting the monochrome document information Can be unnecessary, and it becomes easy to change the output mode of the document information prepared in advance only by selecting a desired output mode.
以上説明したように、本発明によれば、領域属性情報
という、所定の情報により定められている文字について
は、他の指定情報に拘わらず領域属性情報により定めら
れている属性で文字を出力するよう制御するので、ユー
ザは、その文字に定められている全ての属性を調べ、そ
れらの中で所望の属性を優先するように指定するとい
う、余計な操作を必要とせず、優先させたい属性を所定
の情報により定めることにより、一つの文字に対して複
数の属性が重複して設定される文書情報においても、所
望の属性での出力を容易に実現することができる。As described above, according to the present invention, for a character defined by predetermined information called area attribute information, a character is output with an attribute defined by area attribute information regardless of other specified information. Therefore, the user does not need to perform an extra operation of examining all the attributes defined for the character and designating the desired attribute as a priority among them. By using the predetermined information, it is possible to easily realize output with a desired attribute even in document information in which a plurality of attributes are set redundantly for one character.
第1図は本発明の一実施例を示す文書処理装置の構成
図、 第2図は第1図のカラーCRT部分の更に詳しい構成図、 第3図は第1図のカラープリンタ部分の更に詳しい構成
図、 第4図は第1の文字色変更処理を示すフローチヤート、 第5図(a)は第2の文字色変更処理を示すフローチヤ
ート、 第5図(b)は第2の文字色変更の見出し色選択処理、 第5図(c)は第2の文字色変更の見出し色選択処理、 第6図(a)は書式ライブラリ登録処理を示すフローチ
ヤート、 第6図(b)は書式ライブラリ呼び出し処理を示すフロ
ーチヤート、 第7図(a)は文書書式情報部のCRTへの第1の表示例
示図、 第7図(b)は文書の第1のデイスク・フアイル・フオ
ーマツト例示図、 第7図(c)は文書書式情報部のCRTへの第2の表示方
法を例示した図、 第8図はカラーパレツトのCRT上での表示例示図、 第9図は文書書式情報部のCRTへの第3の表示方法を例
示した図、 第10図は文書の第2のデイスク・フアイル・フオーマツ
ト例示図、 第11図は文書書式情報部のCRTへの第4の表示方法を例
示した図、 第12図は文書書式情報部のCRTへの第5の表示方法を例
示した図、 第13図は文書の第3のデイスク・フアイル・フオーマツ
ト例示図、 第14図は文書書式情報部のCRTへの第6の表示方法を例
示した図、 第15図はカラープリンタ部の構成図、 第16図はプリント時の色指定処理を示すフローチヤー
ト、 第17図(a)は第3の文字色変更処理を示すフローチヤ
ート、 第17図(b)は第3の文字色変更の文字色選択処理を示
すフローチヤート、 第17図(c)は第3の文字色変更の見出し色選択処理を
示すフローチヤート、 第17図(d)は第3の文字色変更の柱色選択処理を示す
フローチヤート、 第18図(a)は枠属性書式情報部のCRTへの第1の表示
方法を例示した図、 第18図(b)は枠属性書式情報部のCRTへの第2の表示
方法を例示した図、 第19図は文書の第4のデイスク・フアイル・フオーマツ
ト例示図、 第20図(a)は文書のCRTへの第1の表示例示図、 第20図(b)は文書のCRTへの第2の表示例示図であ
る。 1はCPU、2はプログラム・メモリ(PMEM)、3は通信I
/F、4はキーボード、5はポインテイング・デバイス、
6はキーボード・インタフエイス、7はシステムバス、
8はカラーCRT、9はビデオRAM(VRAM)、10はフロツピ
・デイスク・ドライブ、11はハード・デイスク・ドライ
ブ、12はデイスク・インタフエイス、13はカラーイメー
ジ・メモリ、14はカラープリンタ、21はカラーパレツ
ト、22はデイジタル・アナログ・コンバータ(DAC)、2
3は同期信号重畳回路、24はCRTコントローラ(CRTC)、
31はカラーパレツト、32はプリンタI/F、33は制御回
路。FIG. 1 is a block diagram of a document processing apparatus showing an embodiment of the present invention, FIG. 2 is a more detailed block diagram of a color CRT portion of FIG. 1, and FIG. 3 is a more detailed block diagram of a color printer portion of FIG. FIG. 4 is a flowchart showing a first character color changing process, FIG. 5 (a) is a flowchart showing a second character color changing process, and FIG. 5 (b) is a second character color. FIG. 5 (c) is a heading color selecting process for changing the second character color, FIG. 6 (a) is a flowchart showing a format library registration process, and FIG. 6 (b) is a format. FIG. 7 (a) is a diagram showing a first display of a document format information section on a CRT, FIG. 7 (b) is a diagram showing a first disk file format of a document, FIG. 7C illustrates a second display method of the document format information section on the CRT. FIG. 8, FIG. 8 is a view showing an example of display of a color palette on a CRT, FIG. 9 is a view showing an example of a third display method of a document format information section on a CRT, and FIG. 10 is a second disk file of a document. FIG. 11 is a diagram showing an example of a format, FIG. 11 is a diagram illustrating a fourth display method of the document format information section on the CRT, FIG. 12 is a diagram illustrating a fifth display method of the document format information section on the CRT, FIG. FIG. 13 is a diagram illustrating a third disk file format of a document, FIG. 14 is a diagram illustrating a sixth display method of a document format information section on a CRT, FIG. 15 is a configuration diagram of a color printer section, 16 is a flowchart showing a color designation process at the time of printing, FIG. 17 (a) is a flowchart showing a third character color change process, and FIG. 17 (b) is a character color selection of a third character color change FIG. 17 (c) shows a heading color selection process of the third character color change. FIG. 17 (d) is a flowchart showing a column color selection process for changing the third character color, and FIG. 18 (a) is a diagram illustrating a first display method of a frame attribute format information section on a CRT. 18 (b) is a diagram illustrating a second method of displaying the frame attribute format information section on the CRT, FIG. 19 is a diagram illustrating a fourth disk file format of a document, FIG. 20 (a) FIG. 20 is a first example display of a document on a CRT, and FIG. 20 (b) is a second example display of a document on a CRT. 1 is a CPU, 2 is a program memory (PMEM), 3 is a communication I
/ F, 4 is a keyboard, 5 is a pointing device,
6 is a keyboard interface, 7 is a system bus,
8 is a color CRT, 9 is a video RAM (VRAM), 10 is a floppy disk drive, 11 is a hard disk drive, 12 is a disk interface, 13 is a color image memory, 14 is a color printer, 21 is a color printer. Color palette, 22 is a digital-to-analog converter (DAC), 2
3 is a synchronization signal superimposition circuit, 24 is a CRT controller (CRTC),
31 is a color pallet, 32 is a printer I / F, and 33 is a control circuit.
フロントページの続き (56)参考文献 特開 昭61−121165(JP,A) 特開 昭62−175873(JP,A) 特開 昭61−90261(JP,A) 特開 昭63−185638(JP,A) 特開 平1−205265(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 17/21 - 17/27 Continuation of the front page (56) References JP-A-61-121165 (JP, A) JP-A-62-175873 (JP, A) JP-A-61-90261 (JP, A) JP-A-63-185638 (JP) , A) JP-A-1-205265 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) G06F 17/21-17/27
Claims (2)
に基づいて、文書情報を所望の態様で出力し得る文書処
理方法において、 文書情報に対して設定された書式情報に含まれる色情報
に拘わらず当該文書情報を単色で出力するか、或は前記
書式情報に含まれる色情報に基づいて当該文書情報を出
力するかを選択し、 前記書式情報に含まれる色情報に基づいて文書情報を出
力する旨の選択に応じて、当該文書情報に対して設定さ
れている書式情報に含まれる色情報に基づいて文書情報
を出力するよう制御することを特徴とする文書処理方
法。1. A document processing method capable of outputting document information in a desired manner based on color information and format information comprising a plurality of format elements, wherein the color information included in the format information set for the document information is provided. Regardless of whether the document information is output in a single color or the document information is output based on the color information included in the format information, the document information is selected based on the color information included in the format information. A document processing method for outputting document information based on color information included in format information set for the document information in response to selection to output the document information.
情報と、前記文書情報上で設定された領域に関する色情
報を含む属性を定める領域属性情報とに基づいて文書情
報を出力する文書処理方法において、 前記文書情報を構成する任意の文字が、前記領域属性情
報により属性を定められているか否かを判断し、 前記任意の文字が領域属性情報により属性を定められて
いるとの判断に応じて、当該文字を前記書式情報に拘わ
らず前記領域属性情報により定められる属性で出力する
よう制御することを特徴とする文書処理方法。2. A document processing for outputting document information based on format information for defining attributes of document information including color information and area attribute information for defining attributes including color information relating to an area set on the document information. In the method, it is determined whether or not an arbitrary character constituting the document information has an attribute defined by the area attribute information, and it is determined that the arbitrary character has an attribute defined by area attribute information. Accordingly, the document processing method is controlled to output the character with an attribute determined by the area attribute information regardless of the format information.
Priority Applications (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1225351A JP3039661B2 (en) | 1989-08-31 | 1989-08-31 | Document processing method |
| EP90309518A EP0416818B1 (en) | 1989-08-31 | 1990-08-30 | Method and apparatus for processing document |
| DE69016892T DE69016892T2 (en) | 1989-08-31 | 1990-08-30 | Process and apparatus for document processing. |
| US08/450,134 US5621873A (en) | 1989-08-31 | 1995-05-25 | Document processing with simplified input and editing of format information |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1225351A JP3039661B2 (en) | 1989-08-31 | 1989-08-31 | Document processing method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0388063A JPH0388063A (en) | 1991-04-12 |
| JP3039661B2 true JP3039661B2 (en) | 2000-05-08 |
Family
ID=16827980
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1225351A Expired - Fee Related JP3039661B2 (en) | 1989-08-31 | 1989-08-31 | Document processing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3039661B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2015219558A (en) * | 2014-05-14 | 2015-12-07 | ブラザー工業株式会社 | Printing device |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH087748B2 (en) * | 1984-10-11 | 1996-01-29 | 株式会社日立製作所 | Document coloring device |
| JPS61121165A (en) * | 1984-11-19 | 1986-06-09 | Canon Inc | Picture processing system |
| JPH0750511B2 (en) * | 1986-01-29 | 1995-05-31 | キヤノン株式会社 | Image processing system |
| JPS63185638A (en) * | 1987-01-28 | 1988-08-01 | Canon Inc | document output device |
| JPH01205265A (en) * | 1988-02-12 | 1989-08-17 | Toshiba Corp | Document shaping device |
-
1989
- 1989-08-31 JP JP1225351A patent/JP3039661B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0388063A (en) | 1991-04-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100322786B1 (en) | Page-makeup system | |
| US5621873A (en) | Document processing with simplified input and editing of format information | |
| US5295000A (en) | Image processing apparatus with flexible use of memory and variable number of bits per pixel | |
| EP0782098B1 (en) | Method and system for digital color printing | |
| JPH04208997A (en) | Method and device for processing document | |
| JP2014145685A (en) | Inspection device and control method thereof, printing system, and program | |
| EP1542449A2 (en) | Print control apparatus and print control method | |
| US20110157614A1 (en) | Image processing method and image processing apparatus | |
| JP3039661B2 (en) | Document processing method | |
| JP2974391B2 (en) | Document processing method and apparatus | |
| JP3101285B2 (en) | Document processing method and apparatus | |
| JP3230535B2 (en) | Image processing device | |
| JP4235339B2 (en) | Image processing apparatus and method | |
| JP3015092B2 (en) | Document processing method and apparatus | |
| JPH04107686A (en) | Document processing device and method | |
| JP3355886B2 (en) | Image processing device | |
| JPH09267518A (en) | Color printer | |
| US20060238785A1 (en) | Color image forming apparatus, color image forming system, color image processing method and program | |
| US20200304664A1 (en) | Information processing and forming with user selection of color material filling containers and display of color image | |
| JPH02295766A (en) | Imaging system | |
| JPH04209072A (en) | Method and device for document processing | |
| JPH06350838A (en) | Color picture output device | |
| JPH04208951A (en) | Method and device for processing document | |
| JPH08294012A (en) | Image processing apparatus and method thereof | |
| JPH01184137A (en) | color image forming device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080303 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090303 Year of fee payment: 9 |
|
| LAPS | Cancellation because of no payment of annual fees |