JPS62177585A - Document processor - Google Patents

Document processor

Info

Publication number
JPS62177585A
JPS62177585A JP61018758A JP1875886A JPS62177585A JP S62177585 A JPS62177585 A JP S62177585A JP 61018758 A JP61018758 A JP 61018758A JP 1875886 A JP1875886 A JP 1875886A JP S62177585 A JPS62177585 A JP S62177585A
Authority
JP
Japan
Prior art keywords
character
fixed pitch
line
coordinate
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP61018758A
Other languages
Japanese (ja)
Inventor
瀧瀬 喜久雄
高裕 加藤
洋 高倉
浜田 正基
ゆかり 谷口
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP61018758A priority Critical patent/JPS62177585A/en
Publication of JPS62177585A publication Critical patent/JPS62177585A/en
Pending legal-status Critical Current

Links

Abstract

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

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、文書を人力、編集する文書処理装置に関し、
特に、組版ルールに基づいて美しい体裁を整え編集する
高度な文書処理装置に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a document processing device that manually edits a document.
In particular, it relates to an advanced document processing device that creates beautiful formats and edits them based on typesetting rules.

〔従来の技術〕[Conventional technology]

最近、ワードプロセッサが普及し、文書の入力が機械化
され、合理化されつつあるが、かな漢字変換、ローマ字
変換など文字列の入力の合理化に限られている。従って
、高品位な文書、すなわち読み易く美しい文書を印刷又
は表示するための高解像度の出力装置はなく、いわゆる
印刷の世界で組版ルールと呼ばれる文字の配列の工夫な
どの機能はない。従フて一定水準以上の文書の作成は困
難であった。
Recently, word processors have become widespread, and document input has been mechanized and streamlined, but this is limited to streamlining character string input, such as kana-kanji conversion and romaji conversion. Therefore, there is no high-resolution output device for printing or displaying high-quality documents, that is, easy-to-read and beautiful documents, and there is no function such as devising the arrangement of characters, which is called a typesetting rule in the printing world. Therefore, it was difficult to create documents that exceeded a certain level.

また一方、印刷の世界では膨大な組版のノウハウが専門
家の知識として蓄えられ文字の詰め方、段組の体裁など
のマニュアル的な作業によっており高品位め文書の作成
は複雑な工程を要し高価なものとなっていた。
On the other hand, in the world of printing, a vast amount of typesetting know-how is accumulated as the knowledge of experts, and the creation of high-quality documents requires a complicated process, as manual tasks such as how to fill in characters and the format of columns are required. It was expensive.

特に、作成した文書はいったんゲラ刷りなどの形で出力
してはじめて校正ができ、修正を繰返すことにより長い
工程が繰返されるという問題を抱えていた。
In particular, a created document can be proofread only after it has been output in the form of a galley or the like, and the problem is that repeated corrections result in a long and repetitive process.

そこで、書式パラメータの定義、見出し等組版ルールに
基づく字詰め配列の仕方及びその印刷形式等をディスプ
レイ上に表示しキーボードポインティレグデバイスを用
いて即応性のある文書編集の方法を選択する文書処理シ
ステムが提供されていた。
Therefore, a document processing system that displays the definition of format parameters, the method of arranging characters such as headings based on typesetting rules, and its printing format on a display, and selects a quick-responsive document editing method using a keyboard pointer leg device. was provided.

第4図は従来のワードプロセッサにおける例を示す図で
ある。従来のワードプロセッサにおいて文字の入力は全
て固定ピッチで行なわれていた為特定の文字を上の行の
任意の文字のX座標に揃えることは容易でありた。つま
り、図に示すとおり、第1行目の数字“1”のX座標の
位置に第2行目の数字”1”を揃える為には第1行めの
数字“1”の前に入力された文字数(ここでは7個)と
同じ文字数を第2行目に入力し、その後に数字°°1”
を入力すれば実現できた。一般的にはスペースの挿入、
削除で調整してきた。
FIG. 4 is a diagram showing an example of a conventional word processor. In conventional word processors, all characters are input at a fixed pitch, so it is easy to align a specific character with the X coordinate of any character in the upper row. In other words, as shown in the figure, in order to align the number "1" on the second line with the X coordinate position of the number "1" on the first line, input it before the number "1" on the first line. Enter the same number of characters (in this case 7) on the second line, followed by the number °°1”
I was able to accomplish this by entering the . In general, inserting spaces,
I fixed it by deleting it.

第5図は組版ルールに基づいて美しい体裁を整え編集す
る文書処理装置において入力した例を示す図である。5
01は第4図における入力と同一の入力を行った結果を
示すものである。図に示すとおり仮想固定ピッチはある
ものの、組版ルールに基づいて文字の位置が決定される
為第1行目と第2行目に同一の文字数を入力しても文字
列の長さは同じにならない。
FIG. 5 is a diagram showing an example of input to a document processing device that arranges and edits beautiful formatting based on typesetting rules. 5
01 shows the result of performing the same input as the input in FIG. As shown in the figure, although there is a virtual fixed pitch, the character positions are determined based on the formatting rules, so even if you enter the same number of characters in the first and second lines, the length of the character string will be the same. It won't happen.

そこで第1行目の数字“1”と第2行目の数字“ビのX
座標の位置を揃えたい場合、従来通りの一般的な方法で
は、スペースを第2行目の数字“1”の前に挿入して調
整するが、その結果を示した図の例が502と503で
ある。502においてスペースを6個にした場合、第2
行目の数字”l”のxi標は第1行目の数字“1”のX
座標より大ぎくなる。そこでスペースを1個削除する。
Therefore, the number “1” on the first line and the number “B” on the second line
If you want to align the coordinates, the conventional and common method is to insert a space before the number "1" on the second line. It is. If there are 6 spaces in 502, the second
The xi mark of the number “l” on the first line is the X of the number “1” on the first line.
It becomes larger than the coordinates. So delete one space.

しかしながら503に示すとおり、今度は逆に第2行目
の数字“1”のX座標は第1行目の数字“1”のX座標
より小さくなってしまい、スペースの挿入、削除では調
整ができず第1行目の数字“l”のX座標と第2行目の
数字“1”のX座標を同じにすることはできない。また
数字“1”の前の位置にタブを設定すればよいのだが、
例に示すようなものの場合、いちいち設定しているので
は面倒である。
However, as shown in 503, the X coordinate of the number "1" on the second line is now smaller than the X coordinate of the number "1" on the first line, and it cannot be adjusted by inserting or deleting spaces. First, the X coordinate of the number "l" on the first line cannot be the same as the X coordinate of the number "1" on the second line. Also, all you have to do is set a tab in front of the number “1”.
In the case of something like the example shown, it would be troublesome to set it each time.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

このように予め定義されている組版ルールに逆って、文
字位置を規定する場合には、逆にオペレータにとりて負
担となった。
In this way, when defining character positions contrary to predefined typesetting rules, it became a burden for the operator.

例えば、第1行目に邦文を入力した後スペースを入れ、
数字を入れる。次に第2行目に欧文を入れた後スペース
を入れ数字を入れる場合、第1行目と第2行目の数字の
位置を揃えるためにスペースで調整しても一般的には揃
わず、方法としてはその部分にタブを設定し直すしかな
くオペレータにとっては負担が大きかった。
For example, after entering Japanese text in the first line, insert a space,
Enter the numbers. Next, if you insert a Western character in the second line, then add a space and then add a number, even if you adjust the spaces to align the numbers in the first and second lines, they generally do not line up. The only way to do this was to reset the tab in that area, which was a heavy burden for the operator.

(問題点を解決する為の手段) 本発明は、この問題点を解決する為に、仮想固定ピッチ
を記憶する記憶手段と文字位置データをこの仮想固定ピ
ッチに一致させる為の指示手段を備える。
(Means for Solving the Problem) In order to solve this problem, the present invention includes a storage means for storing a virtual fixed pitch and an instruction means for matching character position data with the virtual fixed pitch.

(作  用) 指示手段によって指示を与えると文字位置データが仮想
固定ピッチに一致されるので、各行について任意の文字
を仮想固定ピッチに一致させることで文字位置をそろえ
ることができる。
(Function) When an instruction is given by the instruction means, character position data is matched to the virtual fixed pitch, so character positions can be aligned by matching arbitrary characters to the virtual fixed pitch for each line.

〔実施例〕〔Example〕

以下、添付図面に従って本発明の一実施例を詳細に説明
する。第1図は本発明に係る一実施例の文書処理装置の
ブロック構成図である。図において、1はラスクスキャ
ン表示方式のCRT表示部、2は一画面のパターン展開
情報を記憶するビデオRAM (VRAM)、3はVR
AM2へのパターン展開制御及びCR7表示部1へのパ
ターン読出制御をする表示制御部、4は本実施例装置の
主制御を掌るマイクロプロセッサ(MPU)、5は第3
図のフローチャートに従った制御プログラム、組版の為
のプログラム及びキャラクタジェネレータCG等を内蔵
するROMとデータ処理のためのRAMから成る主メモ
リで、RAMはカーソル位置を示す。X 、 Y Po
1nterと人力された文字が格納されるTEXT及び
X方向の仮想固定ピッチを記憶したFPなる記憶エリア
を有する。6は文書ファイル等を格納している外部磁気
ディスク装置、7は表示画面の位置指定人力を行なうボ
インテイングデバイス(PD)、8はキーボード、9は
これら各ブロックとMPU4を接続するI10バス、1
0はプリンターである。11は一文字タブキーで、後述
の機能を有する。
Hereinafter, one embodiment of the present invention will be described in detail with reference to the accompanying drawings. FIG. 1 is a block diagram of a document processing apparatus according to an embodiment of the present invention. In the figure, 1 is a CRT display unit using the rask scan display method, 2 is a video RAM (VRAM) that stores one screen of pattern development information, and 3 is a VR
A display control unit that controls pattern expansion to AM2 and pattern readout to CR7 display unit 1, 4 a microprocessor (MPU) that controls the main control of the device of this embodiment, and 5 a third
The main memory is composed of a ROM containing a control program according to the flowchart shown in the figure, a typesetting program, a character generator CG, etc., and a RAM for data processing, and the RAM indicates the cursor position. X, YPo
It has a storage area called TEXT in which 1nter and manually written characters are stored, and FP in which a virtual fixed pitch in the X direction is stored. 6 is an external magnetic disk device that stores document files, etc.; 7 is a pointing device (PD) that manually specifies the position of the display screen; 8 is a keyboard; 9 is an I10 bus that connects each of these blocks and the MPU 4;
0 is the printer. 11 is a single character tab key, which has the function described below.

仮想固定ピッチは、X方向に等間隔で与えられた座標デ
ータで例えば(0,10,20,−−−−−300)の
ような数値データによってFPに記憶されている。
The virtual fixed pitch is coordinate data given at equal intervals in the X direction, and is stored in the FP as numerical data such as (0, 10, 20, 300).

キーボード8又はポインティングデバイスから人力され
た文字データはROMに格納された組版制御プログラム
の下にカーソルの位置を示すRAM中のX 、 Ypo
interで示される座標データと共にテキストメモリ
TEXTに格納される。そして組版制御プログラムの下
にこのカーソルの位置を示すX 、 ’l point
er内のデータが更新されて次に入力される文字の位置
データとして保持される。このカーソルの位置を示すX
 、 Y Po1nterはCRT表示部l又はプリン
ター10で表示する場合の1ドツト単位で表わされる座
標データを保持するテキストメモリTEXT内のデータ
をCRT表示部又はプリンター10によフて表示する場
合は、文字データをキャラクタジェネレータCGによっ
てドツトパターン化して各文字毎に与えられた座標デー
タに従ってVRAMZ上に展開して行う。
Character data entered manually from the keyboard 8 or pointing device is stored in the RAM that indicates the cursor position under the typesetting control program stored in the ROM.
It is stored in the text memory TEXT together with the coordinate data indicated by inter. And under the typesetting control program, there is an X indicating the position of this cursor, 'l point
The data in er is updated and held as position data for the next character to be input. X indicating the position of this cursor
, Y Po1nter is a character when displaying data in the text memory TEXT, which holds coordinate data expressed in dot units when displayed on the CRT display section l or printer 10, on the CRT display section l or printer 10. The data is converted into a dot pattern by a character generator CG and developed on the VRAMZ according to the coordinate data given for each character.

第2図は本実施例におけるフローチャートである。まず
ステップS1で1文字タブキー11が入力されたか否か
の判断をする。1文字タブキー11が入力されなければ
そのまま終了する。1文字タブキー11が人力されたな
らステップS2に移りカーソルのある位置の直前の文字
の位置を仮想固定ピッチ上で判断する。つまり、直前の
文字データに与えられた座標データのX成分にその文字
幅を加えた値が仮想固定ピッチを記憶したFP中にある
かを判断する。もし仮想固定ピッチにおける1文字分の
右端とカーソルの直前の文字の右端が一致する場合には
ステップS3に移り何も手を加えない。もし仮想固定ピ
ッチにおける1文字分の右端と直前の文字の右端が一致
しない場合にはステップS4に移り仮想固定ピッチにお
ける次の1文字分の左端から文字が始まるようにXPo
1nt、erの値又は、次の文字データに与えられたX
座標のデータを更新して終了する。
FIG. 2 is a flowchart in this embodiment. First, in step S1, it is determined whether the single character tab key 11 has been input. If the single character tab key 11 is not input, the process ends. When the one-character tab key 11 is pressed manually, the process moves to step S2, and the position of the character immediately before the cursor position is determined on the virtual fixed pitch. That is, it is determined whether the value obtained by adding the character width to the X component of the coordinate data given to the immediately preceding character data is in the FP storing the virtual fixed pitch. If the right end of one character in the virtual fixed pitch matches the right end of the character immediately before the cursor, the process moves to step S3 and no changes are made. If the right edge of one character in the virtual fixed pitch does not match the right edge of the immediately preceding character, the process moves to step S4 and the XPo
1nt, the value of er or the X given to the next character data
Update the coordinate data and exit.

第5図は本実施例を示す図である。第4図の503で第
1行目の数字“1″の前に1文字タブを挿入すると、第
2図のステップS2に従い直前の文字にあたるスペース
は仮想固定ピッチのライン上に終らない為、ステップS
4に移り、数字゛°1”を仮想固定ピッチにおける次の
1文字分の左端から始まるように数字°°ビ′以降の文
字列を追い出す。同様にして第2行目の数字°゛1”の
前に1文字タブを挿入すると、第3図のステップS2に
従いステップS4に移り、数字“1°“を仮想固定ピッ
チにおける次の1文字分の左端から始まるように数字゛
°1°°以降の文字列を追い出す。
FIG. 5 is a diagram showing this embodiment. When a one-character tab is inserted before the number "1" in the first line at 503 in Figure 4, the space corresponding to the immediately preceding character does not end on the virtual fixed pitch line according to step S2 in Figure 2, so step S
Moving on to step 4, remove the character string after the number °°bi' so that the number ゛°1'' starts from the left end of the next character in the virtual fixed pitch.In the same way, the number °゛1'' in the second line When a one-character tab is inserted before , the process moves to step S4 according to step S2 in FIG. expel the string.

以上のように、1文字タブを挿入することにより、第1
行目の数字゛1°°のX座標と第2行目の数字“ビ′の
X座標が一致する。
As mentioned above, by inserting a single character tab, the first
The X coordinate of the number "1°" in the first row matches the X coordinate of the number "BI'" in the second row.

本発明実施例においては、1文字タブは1箇所しか使わ
なかったが、文字と1文字タブを交互に打っていけば字
詰めする組版処理を行う文書処理システムにおいて従来
の固定ピッチで行われる日本語ワードプロセッサの出力
と全く同じものが出来ることになる。
In the embodiment of the present invention, one-character tab was used only in one place, but Japanese characters are used in conventional fixed-pitch formatting in document processing systems that perform typesetting processing that fills up characters by alternately typing characters and one-character tabs. This will produce exactly the same output as a word processor.

以上説明してきたとおり、本発明を用いれば、容易に文
字列を揃えることができオペレータにとって負担が軽減
される。
As described above, by using the present invention, character strings can be easily aligned, reducing the burden on the operator.

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

第1図は本発明を適用した日本語ワードプロセッサの構
成の一例を示すブロック図、第2図は本発明実施例の手
順を示すフローチャート、 第3図、第4図は従来の表示例を説明する図、第5図は
本発明による表示例を示す図である。 1−−−CRT表示部、 2−m−ビデオRAM (VRAM)、3−m−表示制
御部、 4−m−マイクロプロセッサ(MPU)、5−一一主メ
モリ、 6一−−外部磁気ディスク装置、 7−−−ポインテイングデバイス(PD)、8−一一キ
ーボード、 9−−−I10バス、 10−m−プリンターである。
Fig. 1 is a block diagram showing an example of the configuration of a Japanese word processor to which the present invention is applied, Fig. 2 is a flowchart showing the procedure of an embodiment of the present invention, and Figs. 3 and 4 explain conventional display examples. 5 are diagrams showing display examples according to the present invention. 1--CRT display unit, 2-m-video RAM (VRAM), 3-m-display control unit, 4-m-microprocessor (MPU), 5-11 main memory, 61--external magnetic disk 7--pointing device (PD), 8-11 keyboard, 9--I10 bus, 10-m-printer.

Claims (1)

【特許請求の範囲】 文字データを入力する為の入力手段と、 仮想固定ピッチを記憶した固定ピッチ記憶手段と、 前記入力手段から入力された文字データの位置を示す座
標データとを記憶する為のテキストメモリと、 前記テキストメモリに記憶された座標データを前記固定
ピッチ記憶手段に記憶された仮想固定ピッチに一致させ
る為の指示手段と、 を有することを特徴とする文書処理装置。
[Claims] An input means for inputting character data, a fixed pitch storage means for storing a virtual fixed pitch, and a coordinate data indicating the position of the character data inputted from the input means. A document processing device comprising: a text memory; and instruction means for matching coordinate data stored in the text memory with a virtual fixed pitch stored in the fixed pitch storage means.
JP61018758A 1986-01-30 1986-01-30 Document processor Pending JPS62177585A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61018758A JPS62177585A (en) 1986-01-30 1986-01-30 Document processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61018758A JPS62177585A (en) 1986-01-30 1986-01-30 Document processor

Publications (1)

Publication Number Publication Date
JPS62177585A true JPS62177585A (en) 1987-08-04

Family

ID=11980544

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61018758A Pending JPS62177585A (en) 1986-01-30 1986-01-30 Document processor

Country Status (1)

Country Link
JP (1) JPS62177585A (en)

Similar Documents

Publication Publication Date Title
EP0117406B1 (en) Automatically balancing and vertically justifying text and/or graphics
US4240075A (en) Text processing and display system with means for rearranging the spatial format of a selectable section of displayed data
US4435778A (en) Method for editing spatially related data in an interactive text processing system
EP0066688B1 (en) Method of facilitating the recognition of the correctness of the instructions entered in an interactive text processing system
JPS6017487A (en) Automatic line pitch setting method for document generator
JPS5942971A (en) Control system for magnifying printing
JP2681627B2 (en) Document creation and editing device
JPS62177585A (en) Document processor
EP0190511A1 (en) Block processing apparatus
JPH0522933B2 (en)
JPS6038750B2 (en) How to enter characters in a word processor
JPS5856138A (en) Formating of a plurality of text columns
JP2815158B2 (en) Character processor
JPH0666066B2 (en) Document processor with furigana addition function
JPH0447865B2 (en)
JP2640340B2 (en) Document creation and editing device
JP2995630B2 (en) Document data processing device
JP3404770B2 (en) Document processing device
JP3375781B2 (en) Document processing device with line-by-line editing function
JP2821002B2 (en) Character processing device and character processing method
JPH0244458A (en) Character processor
JPH06203021A (en) Sentence information procesor
JPS6026234B2 (en) Text editing display method
JPS62200396A (en) Display system
JPS61286157A (en) Document former