JPH06309320A - Method and device for character processing - Google Patents

Method and device for character processing

Info

Publication number
JPH06309320A
JPH06309320A JP5092813A JP9281393A JPH06309320A JP H06309320 A JPH06309320 A JP H06309320A JP 5092813 A JP5092813 A JP 5092813A JP 9281393 A JP9281393 A JP 9281393A JP H06309320 A JPH06309320 A JP H06309320A
Authority
JP
Japan
Prior art keywords
format
document
cursor
setting
ruler
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
JP5092813A
Other languages
Japanese (ja)
Inventor
Kenichi Kazumi
健一 数見
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 JP5092813A priority Critical patent/JPH06309320A/en
Publication of JPH06309320A publication Critical patent/JPH06309320A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

(57)【要約】 【目的】 文書の書式設定を簡単な操作で、しかもそ
の設定内容を感覚的に確認しなが行える文字処理方法及
び装置を提供する。 【構成】 表示された注目頁に対する文書展開範囲枠
に対して縦方向のマージンを設定する場合には、その設
定位置をカーソルの移動によって設定し、ソフトメニュ
ーの中から設定する項目、例えばUマージン、Dマージ
ンを選択する。そして、設定された内容に応じて文書展
開範囲枠の上辺の位置を変更する。
(57) [Abstract] [Purpose] To provide a character processing method and device capable of performing document format setting by a simple operation and sensuously confirming the setting content. [Structure] When setting a vertical margin for the document expansion range frame for the displayed page of interest, the setting position is set by moving the cursor, and an item to be set from the soft menu, for example, U margin. , D margin. Then, the position of the upper side of the document expansion range frame is changed according to the set contents.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は文字処理方法及び装置、
例えば文書の作成或いは編集を行う文書処理方法及び装
置に関するものである。
BACKGROUND OF THE INVENTION The present invention relates to a character processing method and apparatus,
For example, the present invention relates to a document processing method and apparatus for creating or editing a document.

【0002】[0002]

【従来の技術】通常、この種の装置において頁の書式を
変更する際には、用紙の種類を選択した後に、その用紙
の頁書式(ヘッダ位置、フッタ位置、左マージン位置、
右マージン位置等)を数値で入力する。また、それらの
位置関係を実際に確認するには、前述した書式設定後に
レイアウト表示機能を実行させるか、或いは書式簡易レ
イアウト表示機能があるものは、数値入力決定手段によ
り書式レイアウトを確認することになる。
2. Description of the Related Art Generally, when changing the page format in this type of apparatus, after selecting the paper type, the page format (header position, footer position, left margin position,
Enter the right margin position, etc.) with a numerical value. To actually check the positional relationship between them, the layout display function is executed after the above-mentioned format setting, or for those with a simple format layout display function, the format layout is confirmed by the numerical input determination means. Become.

【0003】[0003]

【発明が解決しようとする課題】しかし、書式簡易レイ
アウト表示方式では、数値入力決定手段により書式レイ
アウトを再表示することになり、操作が煩雑になる。ま
た、書式レイアウトとその設定値入力用ウィンドウが必
要であり、表示スペースの点からも効率が良くない方法
である。
However, in the simple format layout display method, the format layout is re-displayed by the numerical input determining means, which makes the operation complicated. In addition, it requires a format layout and a window for inputting its setting value, which is not efficient in terms of display space.

【0004】[0004]

【問題を解決するための手段】本発明は上記問題点に鑑
み成されたものであり、文書の書式設定を簡単な操作
で、しかもその設定内容を感覚的に確認しながら行える
文字処理方法及び装置を提供しようとするものである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and a character processing method and a character processing method capable of formatting a document by a simple operation and sensibly confirming the setting contents. It is intended to provide a device.

【0005】この課題を解決するため本発明の文書処理
方法は以下に示すような工程で処理を行う。すなわち、
文書の書式設定を行う文字処理方法であって、頁単位の
文書を表示し、当該文書における書式をカーソルの移動
で設定し、設定された内容に従って前記文書における書
式を更新し、更新された書式内容に従って文書における
表示形式を更新する。
In order to solve this problem, the document processing method of the present invention performs processing in the following steps. That is,
A character processing method for formatting a document, displaying a document in page units, setting the format in the document by moving the cursor, updating the format in the document according to the set contents, and updating the format Update the display format in the document according to the content.

【0006】また、本発明の文書処理装置は以下に示す
構成を備える。
The document processing apparatus of the present invention has the following configuration.

【0007】文書の書式設定を行う文字処理装置であっ
て、頁単位の文書を表示する第1の表示手段と、当該文
書における書式をカーソルの移動で設定する設定手段
と、設定された内容に従って前記文書における書式を更
新する更新手段と、更新された書式内容に従って文書に
おける表示形式を更新する第2の表示手段とを備える。
A character processing device for formatting a document, comprising: first display means for displaying a document in page units; setting means for setting the format of the document by moving a cursor; and Update means for updating the format of the document and second display means for updating the display format of the document according to the updated format content.

【0008】[0008]

【作用】かかる本発明の工程或いは構成において、頁単
位の文書を表示し、その文書における書式をカーソルの
移動により設定する。そして、その設定された内容に従
って文書における書式を更新し、その更新された内容に
従って文書における表示形式も更新する。
In the process or structure of the present invention, a page-based document is displayed and the format of the document is set by moving the cursor. Then, the format in the document is updated according to the set content, and the display format in the document is also updated according to the updated content.

【0009】[0009]

【実施例】以下、本発明に係る実施例を添付図面に従っ
て詳細に説明する。
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

【0010】図1は本実施例における文書処理装置のブ
ロック構成図である。
FIG. 1 is a block diagram of the document processing apparatus in this embodiment.

【0011】図示において、1はCPU(マイクロプロ
セッサ)であり、文字処理のための演算、論理判断等を
行ない、アドレスバスAB,コントローラバスCB,デ
ータバスDBを介して、それらのバスに接続された各構
成要素を制御する。
In the figure, reference numeral 1 is a CPU (microprocessor), which performs calculations for character processing, logical judgments, etc., and is connected to these buses via an address bus AB, a controller bus CB, and a data bus DB. It controls each component.

【0012】アドレスバスABはCPU1の制御の対象
とする構成要素を指示するアドレス信号を転送する。コ
ントローラバスCBはCPU1の制御の対象とする各構
成要素のコントローラ信号を転送して印加する。データ
バスDBは各構成機器相互間のデータの転送を行なう。
The address bus AB transfers an address signal designating a component to be controlled by the CPU 1. The controller bus CB transfers and applies the controller signal of each component to be controlled by the CPU 1. The data bus DB transfers data between the constituent devices.

【0013】2は読み出し専用の固定メモリ(ROM)
であり、領域PAは後述する図4のフローチャートにか
かる制御手順(プログラム)等を記憶させたプログラム
エリアである。
Reference numeral 2 is a read-only fixed memory (ROM)
The area PA is a program area in which control procedures (programs) according to the flowchart of FIG. 4 described later are stored.

【0014】3は1ワード16ビットの構成の書き込み
可能のランダムアクセスメモリ(RAM)であって、各
構成要素からの各種データの一時記憶に用いられる。
Reference numeral 3 is a writable random access memory (RAM) having a structure of 1 word 16 bits, and is used for temporary storage of various data from each constituent element.

【0015】4はキーボード(KB)であって、アルフ
ァベットキー、ひらがなキー、カタカナキーなどの文字
記号入力キー、及び変換キー、無変換キー、取消キーな
どの本文字処理装置に対する各種機能を指示するための
各種のファンクションキーを備えている。図において、
CONは変換キー、KANAは読みを入力するための文
字記号入力キーである。また、BUSHUは、部首入力
を起動するためのキー、ウインドウ表示された単語候補
の中から該当単語を選択するためのキーである。
Reference numeral 4 denotes a keyboard (KB) for instructing various functions for the character processing unit such as a letter / symbol input key such as an alphabet key, a hiragana key, and a katakana key, and a conversion key, a non-conversion key, a cancel key. Equipped with various function keys for. In the figure,
CON is a conversion key, and KANA is a character / symbol input key for inputting a reading. Further, BUSHU is a key for activating radical input and a key for selecting a corresponding word from word candidates displayed in a window.

【0016】5は部首入力、画数入力、単漢字入力など
によって、漢字を検索するための単漢字入力用辞書(D
IC1)である。6はかな漢字変換を行なうためのかな
漢字辞書(DIC2)である。また、7は辞書部であ
り、数字の前につく接頭語(前置助数詞)辞書(PRE
DIC)、数字辞書(NUMDIC)、助数詞(後置助
数詞)辞書(PSTDIC)構成される。
Reference numeral 5 is a single kanji input dictionary (D for searching kanji by radical input, stroke number input, single kanji input, etc.
IC1). Reference numeral 6 is a kana-kanji dictionary (DIC2) for performing kana-kanji conversion. Reference numeral 7 is a dictionary part, which is a prefix (prepositional auxiliary numeral) dictionary (PRE) that precedes a number.
DIC), a numerical dictionary (NUMDIC), and a classifier (postfix classifier) dictionary (PSTDIC).

【0017】8はハードディスクや光磁気ディスク等の
外部記憶装置(DISK)であって、定型文書を記憶保
管することもできる。そして、保管された文書はキーボ
ードの指示により、必要な時呼び出される。また、補助
データを格納するためにも使用される。
Reference numeral 8 denotes an external storage device (DISK) such as a hard disk or a magneto-optical disk, which can also store a fixed form document. Then, the stored document is called when necessary by the instruction of the keyboard. It is also used to store auxiliary data.

【0018】9はカーソルレジスタ(CR)であり、C
PUにより、カーソルレジスタの内容を読み書きでき
る。後述するCRTコントローラCRTCは、ここに蓄
えられたアドレスに対する表示装置CRT上の位置に指
示された形状のカーソルを表示する。
Reference numeral 9 is a cursor register (CR), which is C
The PU can read and write the contents of the cursor register. A CRT controller CRTC, which will be described later, displays a cursor having a designated shape at a position on the display device CRT corresponding to the address stored here.

【0019】10はバッファメモリ部であり、キーボー
ド4より入力された文書情報を蓄えるため文書バッファ
(TBUF)、TBUFに蓄えられた文書情報等のパタ
ーンを蓄え表示用に用いられる表示用バッファ(DBU
F)、そして、キーボード4にあるカナ入力キーKAN
Aより入力されたカナ読みコードを蓄えるためのバッフ
ァ(YBUF)から構成される。
A buffer memory unit 10 stores a document buffer (TBUF) for storing the document information input from the keyboard 4, and a display buffer (DBU) used for storing and displaying patterns such as the document information stored in the TBUF.
F), and Kana input key KAN on the keyboard 4
It is composed of a buffer (YBUF) for storing the Kana reading code input from A.

【0020】11はメッセージ表示用バッファメモリ
(MDBUF)で、各種メッセージデータMSDATの
パターンを蓄えている。
A message display buffer memory (MDBUF) 11 stores patterns of various message data MSDAT.

【0021】12はCRTコントローラ(CRTC)で
あって、カーソルレジスタCR及びバッファDBUF,
MDBUFに蓄えられた内容を表示器CRT13に表示
する役割を担う。CRT表示器13は陰極線管等を用い
た表示装置であり、CRTコントローラの制御の下で、
各種ドット情報を表示する。
Reference numeral 12 is a CRT controller (CRTC), which includes a cursor register CR and a buffer DBUF,
It plays the role of displaying the contents stored in MDBUF on the display CRT 13. The CRT display 13 is a display device using a cathode ray tube or the like, and under the control of the CRT controller,
Display various dot information.

【0022】さらに、14はキャラクタジェネレータ
(CG)であって、表示装置CRT13に表示する文
字、記号のパターンを記憶しており、適宜対応する文字
パターンを発生する。
Further, 14 is a character generator (CG), which stores patterns of characters and symbols to be displayed on the display device CRT 13 and appropriately generates a corresponding character pattern.

【0023】かかる各構成要素からなる本発明文字処理
装置においては、キーボードKB4からの各種の入力に
応じて作動する。キーボードKB4からの入力が供給さ
れると、まず、インタラプト信号がCPU1に送られ、
そのCPU1がROM2内に記憶してある各種の制御信
号を読み出し、それらの制御信号にしたがって、各種の
制御が行なわれる。
The character processing device of the present invention comprising the above-described components operates in response to various inputs from the keyboard KB4. When the input from the keyboard KB4 is supplied, first, an interrupt signal is sent to the CPU1,
The CPU 1 reads out various control signals stored in the ROM 2, and various controls are performed in accordance with these control signals.

【0024】次に、実施例の動作概要について説明す
る。
Next, an outline of the operation of the embodiment will be described.

【0025】実施例においては、書式設定において、先
ず用紙サイズを選択する。その後、図2に示す如く、用
紙枠100とその縦横サイズの長さのルーラウインドウ
101、103を表示する。尚、図示では、横方向のル
ーラウインドウ101(二重線)がアクティブになって
いることを示してる。このとき、横方向に対してどのよ
うな設定処理を行うのかを選択するためのソフトメニュ
ー102が画面最上段に表示される。また、ソフトメニ
ュー102から縦ルーラを選択し、或はマウスによって
縦方向のルーラウインドウ103をクリックすることに
より、縦方向のルーラウインドウ103をアクティブに
した場合には、そのウインドウで設定できる各項目が画
面最上段にソフトメニューとして表示される。
In the embodiment, the paper size is first selected in the format setting. After that, as shown in FIG. 2, the paper frame 100 and ruler windows 101 and 103 having lengths and widths are displayed. In the drawing, the horizontal ruler window 101 (double line) is shown to be active. At this time, a soft menu 102 for selecting what kind of setting processing to perform in the horizontal direction is displayed at the top of the screen. When the vertical ruler window 103 is activated by selecting the vertical ruler from the software menu 102 or by clicking the vertical ruler window 103 with the mouse, each item that can be set in that window is displayed. It is displayed as a soft menu at the top of the screen.

【0026】図2は横方向のルーラウインドウ101が
アクティブな状態を示している。このとき、ルーラウイ
ンドウ101は図示の如く「手」の形をしたカーソルが
表示される。このカーソルを操作者はキーボード上の適
当なキーを操作して左右に移動させる。そして、所望と
する位置にカーソルを移動させた後、ソフトメニュー1
02の中から“L(左)マージン”を選択することで、
その位置が確定する。この操作に連動して、文字展開範
囲枠104の左辺も同時に移動する。
FIG. 2 shows a state in which the horizontal ruler window 101 is active. At this time, a cursor in the shape of a "hand" is displayed in the ruler window 101 as shown in the figure. The operator operates an appropriate key on the keyboard to move the cursor to the left or right. Then, after moving the cursor to the desired position, soft menu 1
By selecting "L (left) margin" from 02,
The position is fixed. In conjunction with this operation, the left side of the character expansion range frame 104 also moves at the same time.

【0027】この後、同様の操作を行い、ソフトメニュ
ー102におけ、例えば“R(右)マージン”を選択す
ると、文字展開範囲枠104の右辺位置が確定される。
After that, if the same operation is performed to select "R (right) margin" in the software menu 102, the right side position of the character expansion range frame 104 is fixed.

【0028】因に、ソフトメニュー102における“R
(レギュラー)タブ”とは、キーボードの「タブ」キー
を押下した場合のテキスト編集カーソル位置の制御に用
いられるもので、ルーラウインドウがアクティブな状態
で所望とする位置にカーソルを移動させ、Rタブキーを
押すことにより設定することができる。また、その設定
位置及び数は任意である。“Bタブ”については後述す
る。
Incidentally, "R" in the soft menu 102
The "regular" tab is used to control the position of the text edit cursor when the "tab" key on the keyboard is pressed. When the ruler window is active, move the cursor to the desired position and press the R tab key. It can be set by pressing. Moreover, the setting position and the number are arbitrary. The “B tab” will be described later.

【0029】一方、所定キーの操作を行い、縦方向のル
ーラウインドウ103をアクティブにした場合には、そ
の縦方向に依存したソフトメニューが画面最上段に表示
される。縦方向のルーラウインドウ103では、文字展
開範囲枠の“U(上)マージン”、“D(下)マージ
ン”、及びBタブの設定が行われる。
On the other hand, when a predetermined key is operated to activate the vertical ruler window 103, a soft menu depending on the vertical direction is displayed at the top of the screen. In the vertical ruler window 103, "U (upper) margin", "D (lower) margin", and B tab of the character expansion range frame are set.

【0030】図3は“Uマージン”を設定している様を
示している。図示の如く、縦方向のマージンの設定にお
いても、“手”の形のカーソルが表示され、操作者はキ
ーボード上の所定キーを操作することで、その位置を移
動させる。そして、所望とする位置へカーソルを移動さ
せた場合には、所定キー(Uマージン)を押下すること
でその位置を確定し、文字展開範囲枠104の上辺の位
置が確定される。この後、必要に応じて、“Dマージ
ン”や“Bタブ”等の設定を行うことになる。
FIG. 3 shows that the "U margin" is set. As shown in the figure, also in setting the vertical margin, a cursor in the shape of a "hand" is displayed, and the operator moves the position by operating a predetermined key on the keyboard. Then, when the cursor is moved to the desired position, the predetermined key (U margin) is pressed to fix the position, and the position of the upper side of the character expansion range frame 104 is fixed. After that, "D margin", "B tab", etc. are set as required.

【0031】さて、“Bタブ”であるが、これは2次元
タブを意味する。通常、タブキーを押下すると、カーソ
ル位置は注目行中(水平方向)の最寄りの設定位置に移
動するが、“Bタブ”は任意の桁、行位置にカーソルを
移動させるためのものである。従って、その位置を決定
するためには、2次元座標を設定しなければならない。
Now, "B tab" means a two-dimensional tab. Normally, when the tab key is pressed, the cursor position moves to the nearest setting position in the target line (horizontal direction), but "B tab" is for moving the cursor to an arbitrary digit and line position. Therefore, two-dimensional coordinates must be set to determine its position.

【0032】そこで、ルーラウインドウ101(10
3)をアクティブにする。このとき、ルーラウインドウ
101(103)には「手」の形をしたカーソルが表示
され、このカーソル位置を操作者はキーボード上の適当
なキーを操作して左右(上下)に移動させる。そして、
所望とする位置にカーソルを移動させ、Bタブキーを選
択する。すると、今度は縦方向(横方向)の位置を設定
するべく、ルーラウインドウ103(101)が自動的
にアクティブになり、今度は縦方向(横方向)の位置の
設定を行う。尚、この設定過程においても、各位置を設
定している最中に、その位置を明確にするための縦及び
横方向の線(例えば波線)が表示及び移動することにな
る。この線の交点位置が“Bタブ”の位置となる。
Therefore, the ruler window 101 (10
3) is activated. At this time, a cursor in the shape of a "hand" is displayed on the ruler window 101 (103), and the operator moves the cursor position left and right (up and down) by operating an appropriate key on the keyboard. And
Move the cursor to the desired position and select the B tab key. Then, the ruler window 103 (101) is automatically activated to set the position in the vertical direction (horizontal direction) this time, and the position in the vertical direction (horizontal direction) is set this time. Even in this setting process, vertical and horizontal lines (for example, wavy lines) for clarifying the position are displayed and moved while setting each position. The intersection position of this line is the position of "B tab".

【0033】尚、上記説明において、文字展開範囲枠1
04内には何も表示していなかったが、編集中の文書
(文字)を縮小表示するようにしても良い。
In the above description, the character expansion range frame 1
Although nothing is displayed in 04, the document (character) being edited may be reduced and displayed.

【0034】また、上記処理によって、各マージン等を
決定した後、或いは設定している最中に、その設定され
た内容に従って編集中の文書(文字)の再配置されるこ
とになる。
Further, according to the above-mentioned processing, after determining each margin or the like, or during the setting, the document (character) being edited is rearranged according to the set contents.

【0035】本実施例による制御手順を図4、5に示し
ているので、図に従って説明する。尚、この処理手順に
係るプログラムはROM2内のプログラムエリアPAに
記憶されている。
The control procedure according to this embodiment is shown in FIGS. 4 and 5, and will be described with reference to the drawings. The program related to this processing procedure is stored in the program area PA in the ROM 2.

【0036】先ず、ステップS101及びS201によ
って現在アクティブに表示しているルーラを決定する。
どのルーラもアクティブでなければS301でその他の
処理(例えば編集処理等)を行なう。
First, in steps S101 and S201, the ruler currently being actively displayed is determined.
If none of the rulers is active, other processing (such as editing processing) is performed in S301.

【0037】また、現在、縦ルーラウインドウ103が
アクティブな状態で、横ルーラウインドウ101をアク
ティブにするキーを受信すれば、処理はステップS10
3からステップS121、S123にて横ルーラのソフ
トメニュに切り替え、横ルーラのアクティブ処理をす
る。つまり、縦ルーラを非アクティブにして、縦ルーラ
からカーソルを消去し、横ルーラをアクティブにした
後、横ルーラにカーソルを表示する。逆に、ステップS
203にて縦ルーラをアクティブにするキーを受信した
場合は、縦ルーラのソフトメニュに切り替え、縦ルーラ
のアクティブ処理をする。
If the vertical ruler window 103 is currently active and a key for activating the horizontal ruler window 101 is received, the process proceeds to step S10.
In steps S121 and S123 from 3, the horizontal ruler is switched to the soft menu and the horizontal ruler active process is performed. That is, the vertical ruler is deactivated, the cursor is erased from the vertical ruler, the horizontal ruler is activated, and then the cursor is displayed on the horizontal ruler. Conversely, step S
When the key for activating the vertical ruler is received at 203, the soft ruler is switched to the soft menu for the vertical ruler and the vertical ruler active process is performed.

【0038】ステップS105にて、縦ルーラの制御キ
ーの入力であると判断した場合には、ルーラ内の制御を
する。カーソル移動に相当するキーであればカーソル移
動処理(ステップS125)を、ソフトメニューを選択
すれば、ルーラ内のカーソル位置に選択したソフトメニ
ュに相当するマークを表示し、ステップS113にて書
式レイアウトを再表示する。また、上記キー以外である
場合にはステップS127にて対応する処理を行う。一
連の処理終了後にステップS105にて、次のキーの判
別処理をする。
When it is determined in step S105 that the control key for the vertical ruler has been input, the inside of the ruler is controlled. If the key corresponds to cursor movement, cursor movement processing (step S125) is performed. If the soft menu is selected, a mark corresponding to the selected soft menu is displayed at the cursor position in the ruler, and the format layout is performed in step S113. Display again. If the key is other than the above keys, the corresponding process is performed in step S127. After the completion of the series of processes, in step S105, the process of determining the next key is performed.

【0039】同様に、ステップS205にて横ルーラ制
御キーを受信した時は、ステップS225、ステップS
211、ステップS213でカーソル移動処理、ルーラ
内のマーク表示処理、書式レイアウト再表示処理をす
る。
Similarly, when the lateral ruler control key is received in step S205, steps S225 and S225 are performed.
In step 211, the cursor movement process, the mark display process in the ruler, and the form layout redisplay process are performed.

【0040】尚、上記処理で設定された書式情報は、編
集中の文書と共にRAM3内の所定エリアに記憶保存さ
れる。従って、編集中の文書を保存し、それを読み出し
た場合には、その読出された情報中にある書式情報に従
った形式で文書が画面に表示される。また、一旦、設定
したマージン等を変更する場合、上記処理を行うが、そ
の時点における例えば左マージンのカーソル位置は、直
前の書式情報に従った位置に表示される。
The format information set in the above processing is stored and saved in a predetermined area in the RAM 3 together with the document being edited. Therefore, when the document being edited is saved and read out, the document is displayed on the screen in a format according to the format information contained in the read information. Further, when the set margin or the like is once changed, the above process is performed, but the cursor position of, for example, the left margin at that time is displayed at a position according to the immediately preceding format information.

【0041】<第2の実施例の説明>上記実施例(第1
の実施例)では、用紙サイズに対するマージン位置の設
定に関して効率が良いことを中心として記述したが、ル
ーラでの書式設定方式は、縦横の設定座標が必要な2次
元的な書式の設定を可能にするものである。
<Description of Second Embodiment> The above-described embodiment (first embodiment)
In the example), the description was centered on the efficiency of setting the margin position with respect to the paper size. However, the ruler format setting method enables two-dimensional format setting that requires vertical and horizontal setting coordinates. To do.

【0042】1.頁のフレーム(図形やイメージ等のは
め込む領域)も書式設定機能で割り振ることを可能とす
る。(図6) 横のルーラでフレームの左右座標を決めて、縦のルーラ
で上下座標を決定することにより、フレームの頁内の位
置と大きさを設定することができる。
1. It is also possible to allocate the frame of a page (the area in which graphics, images, etc. are embedded) with the formatting function. (FIG. 6) By determining the horizontal coordinates of the frame with the horizontal ruler and the vertical coordinates with the vertical ruler, the position and size of the frame within the page can be set.

【0043】2.用紙の中心位置などを容易に設定する
ことができる。(図7) 縦横のルーラ内のカーソル移動に、センターリングの機
能を付加することにより、用紙の中心に座標を設定でき
る。その座標にタブなどを設定しておけば、文書入力中
にタブキーを選択することにより、頁の中心にカーソル
を移動することができる。文字入力の頁の先頭座標も、
同様の方式で設定できる。
2. The center position of the paper can be easily set. (FIG. 7) Coordinates can be set at the center of the paper by adding the centering function to the cursor movement in the vertical and horizontal rulers. If a tab or the like is set at the coordinates, the cursor can be moved to the center of the page by selecting the tab key during document input. The top coordinates of the page for character input are also
It can be set in the same way.

【0044】<第3の実施例>図8、図9に本第3の実
施例の制御手順を示す。
<Third Embodiment> FIGS. 8 and 9 show the control procedure of the third embodiment.

【0045】先ず、編集中の画面(図10)より書式設
定を選択すると書式設定画面(図11)になる。図11
で行書式を選択すれば、図12の行書式設定画面を表示
する。実行または取消しキーの選択で、再び書式設定画
面に戻る(ステップS101、S103、S141、S
143)。最初は、行書式設定ダイアログの制御モード
になっているから、カーソル移動キーによりダイアログ
内の選択カーソルが、項目間、項目内の選択肢を移動す
る。項目間の移動時に、カーソル位置の選択肢が項目の
選択肢として決定する(ステップS135)。また、ス
テップS127、S129で行ピッチ項目にカーソルが
あって、カーソル上移動キーが選択されるか、ジャステ
ィフィケーション項目にあって、カーソル下移動キーが
選択されたタイミングで、ステップS131のルーラ制
御が始まると同時にダイアログの制御が終了する。ダイ
アログ内のカーソルは消えて、ルーラ部にカーソルが表
示され、行書式のソフトメニューが選択できるようにな
る(図13)。
First, when format setting is selected from the screen being edited (FIG. 10), the format setting screen (FIG. 11) is displayed. Figure 11
When the line format is selected with, the line format setting screen of FIG. 12 is displayed. Select the execute or cancel key to return to the format setting screen (steps S101, S103, S141, S).
143). Initially, the control mode of the line formatting dialog is set, so that the cursor movement key moves the selection cursor in the dialog between the items and the options in the item. When moving between items, the option at the cursor position is determined as the option for the item (step S135). Further, at the timing when the cursor is on the line pitch item and the cursor up movement key is selected in steps S127 and S129, or when the cursor down movement key is selected in the justification item, the ruler control of step S131 is performed. As soon as is started, the control of the dialog ends. The cursor in the dialog disappears, the cursor is displayed in the ruler, and the line format soft menu can be selected (Fig. 13).

【0046】次に、カーソル左右移動キーが選択されれ
ば、ステップS115でルーラ内カーソル移動処理を行
う。カーソル位置の移動、表示ルーラ枠からカーソルが
はみ出すときは、ルーラ表示の左右スクロール処理など
を行う。ステップS111で、ソフトメニューを選択す
ると、ステップS117にて、ルーラ内に選択ソフトメ
ニューに相当するマークをカーソル位置に表示する。例
えば、左右マージンのソフトメニューであれば、L,R
の位置をカーソル位置に表示し、現在のマークを消去す
る。また、全タブクリアであれば、表示中のタブマーク
をすべて消去する。更に、具体的に説明すると、図13
の右方向を指している「手」の形のカーソル位置から図
14の右方向を指している「手」の形のカーソル位置へ
移動させ、ソフトメニューの中から左マージンを選択す
るとL(左マージン)の位置が図15のL(左マージ
ン)の位置に変わる。
Next, if the cursor left / right movement key is selected, in-step ruler cursor movement processing is carried out. When the cursor position is moved or the cursor goes out of the display ruler frame, the ruler display is scrolled horizontally. When the soft menu is selected in step S111, a mark corresponding to the selected soft menu is displayed at the cursor position in the ruler in step S117. For example, for a left / right margin soft menu, L, R
The position of is displayed at the cursor position and the current mark is erased. If all tabs are cleared, all the displayed tab marks are deleted. More specifically, referring to FIG.
When the left margin is selected from the soft menu by moving it from the cursor position in the shape of a "hand" pointing to the right of to the cursor position in the shape of a "hand" in FIG. The position of (margin) is changed to the position of L (left margin) in FIG.

【0047】ここで、実行を選択すると、書式設定の画
面にもどり(図16)、書式設定の画面で更に実行を選
択すると図17の画面になり、書式情報をもとに表示情
報を計算し、その表示情報をもとに画面を書き換える。
これにり、図18に示す様になり、書式を変更すること
ができる。
When execution is selected, the screen returns to the format setting screen (FIG. 16), and when execution is further selected on the format setting screen, the screen shown in FIG. 17 is displayed. Display information is calculated based on the format information. , The screen is rewritten based on the displayed information.
As a result, as shown in FIG. 18, the format can be changed.

【0048】また、上下移動のカーソルが選択されれ
ば、ステップS113でルーラ制御を終了して、ダイア
ログの制御を開始する。ルーラ内のカーソルが消えて、
ダイアログの項目のTOPまたは、BOTTOMの項目
の、選択された選択肢にカーソルが表示される。そし
て、次のキーを待つ。
When the up / down moving cursor is selected, the ruler control is ended and the dialog control is started in step S113. The cursor in the ruler disappears,
The cursor is displayed at the selected option of the dialog item TOP or BOTTOM item. Then wait for the next key.

【0049】なお、本第3の実施例において、文書の編
集中に書式設定を行ったが、文書編集を行う前に行って
も同様である。
In the third embodiment, the format setting is performed during the editing of the document, but the same applies when the formatting is performed before the editing of the document.

【0050】以上説明したように、本実施例によれば、
書式の設定で縦横ルーラを使用して、そのルーラ内カー
ソルと用紙の座標位置の対応付けることにより、マージ
ン等の書式に関する情報を書式レイアウトを確認しなが
ら設定することができる。このような操作環境を提供す
ることにより、数値入力方式に比べて用紙に対する書式
を著嵌的に決定することができ、きめ細かに設定できる
ようになる。操作性が向上するとともに、他の実施例で
記述したように今まで書式設定機能外だった情報も頁書
式の情報として設定可能にするものである。
As described above, according to this embodiment,
By using the vertical and horizontal rulers in the format setting and associating the cursor in the ruler with the coordinate position of the paper, it is possible to set the information regarding the format such as the margin while confirming the format layout. By providing such an operating environment, the format for the paper can be determined more tightly than in the numerical input method, and the setting can be made finely. The operability is improved, and as described in the other embodiments, information that has been out of the format setting function until now can be set as page format information.

【0051】尚、本発明は、複数の機器から構成される
システムに適用しても1つの機器から成る装置に適用し
ても良い。また、本発明は、システム或は装置にプログ
ラムを供給することによって達成される場合にも適用で
きることはいうまでもない。
The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of a single device. Further, it goes without saying that the present invention can be applied to the case where it is achieved by supplying a program to a system or an apparatus.

【0052】また、実施例ではキーボードを用いて各種
書式を設定したが、マウス等のポインティングデバイス
を用いて設定しても良いのは勿論である。
Further, although various formats are set using the keyboard in the embodiment, it goes without saying that they may be set using a pointing device such as a mouse.

【0053】[0053]

【発明の効果】以上説明したように本発明によれば、簡
単な操作でもって視覚的に理解しながら文書のマージン
等の書式設定を行うことが可能になる。
As described above, according to the present invention, it becomes possible to perform formatting such as a margin of a document while visually understanding it with a simple operation.

【0054】[0054]

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

【図1】実施例における文字処理装置の位置実施例を示
すブロック図である。
FIG. 1 is a block diagram showing a position embodiment of a character processing device in an embodiment.

【図2】実施例における書式設定例を示す図である。FIG. 2 is a diagram showing a format setting example in the embodiment.

【図3】実施例における書式設定例を示す図である。FIG. 3 is a diagram showing an example of format setting in the embodiment.

【図4】実施例におけるルーラウインドウを使用した書
式設定処理手順を示すフローチャートである。
FIG. 4 is a flowchart showing a procedure for formatting processing using a ruler window in the embodiment.

【図5】実施例におけるルーラウインドウを使用した書
式設定処理手順を示すフローチャートである。
FIG. 5 is a flowchart showing a format setting processing procedure using a ruler window in the embodiment.

【図6】第2の実施例における書式設定例を示す図であ
る。
FIG. 6 is a diagram showing an example of format setting in the second embodiment.

【図7】第2の実施例における書式設定例を示す図であ
る。
FIG. 7 is a diagram showing an example of format setting in the second embodiment.

【図8】第3の実施例における書式設定処理手順を示す
フローチャートである。
FIG. 8 is a flowchart showing a format setting processing procedure in the third embodiment.

【図9】第3の実施例における書式設定処理手順を示す
フローチャートである。
FIG. 9 is a flowchart showing a format setting processing procedure in the third embodiment.

【図10】第3の実施例における編集中の画面の状態を
示す図である。
FIG. 10 is a diagram showing a state of a screen which is being edited in the third embodiment.

【図11】第3の実施例における書式設定画面の一状態
を示す図である。
FIG. 11 is a diagram showing a state of a format setting screen in the third embodiment.

【図12】第3の実施例における書式設定画面の一状態
を示す図である。
FIG. 12 is a diagram showing a state of a format setting screen in the third embodiment.

【図13】第3の実施例における書式設定画面の一状態
を示す図である。
FIG. 13 is a diagram showing a state of a format setting screen in the third embodiment.

【図14】第3の実施例における書式設定画面の一状態
を示す図である。
FIG. 14 is a diagram showing a state of a format setting screen in the third embodiment.

【図15】第3の実施例における書式設定画面の一状態
を示す図である。
FIG. 15 is a diagram showing a state of a format setting screen in the third embodiment.

【図16】第3の実施例における書式設定画面の一状態
を示す図である。
FIG. 16 is a diagram showing a state of a format setting screen in the third embodiment.

【図17】第3の実施例における書式設定直後の画面の
一状態を示す図である。
FIG. 17 is a diagram showing a state of a screen immediately after format setting in the third embodiment.

【図18】第3の実施例における書式設定直後の変更後
の状態を示す図である。
FIG. 18 is a diagram showing a state immediately after a format setting and after a change according to the third embodiment.

【符号の説明】[Explanation of symbols]

1 CPU 2 ROM 3 RAM 4 キーボード 5、6、7 辞書 8 外部記憶装置 9 カーソルレジスタ 10 バッファ部 11 メッセージバッファ 12 CRTコントローラ 13 表示器 14 文字発生部 1 CPU 2 ROM 3 RAM 4 keyboard 5, 6, 7 dictionary 8 external storage device 9 cursor register 10 buffer unit 11 message buffer 12 CRT controller 13 display unit 14 character generation unit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 文書の書式設定を行う文字処理方法であ
って、 頁単位の文書枠を表示し、 当該文書における書式をカーソルの移動で設定し、 設定された内容に従って前記文書における書式を更新
し、 更新された書式内容に従って文書における表示形式を更
新することを特徴とする文字処理方法。
1. A character processing method for formatting a document, comprising displaying a page-based document frame, setting a format in the document by moving a cursor, and updating the format in the document according to the set content. Then, the character processing method is characterized in that the display format in the document is updated according to the updated format content.
【請求項2】 文書の書式設定を行う文字処理装置であ
って、 頁単位の文書を表示する第1の表示手段と、 当該文書における書式をカーソルの移動で設定する設定
手段と、 設定された内容に従って前記文書における書式を更新す
る更新手段と、 更新された書式内容に従って文書における表示形式を更
新する第2の表示手段と、 を備えることを特徴とする文字処理装置。
2. A character processing device for formatting a document, comprising: first display means for displaying a document in page units; and setting means for setting the format in the document by moving a cursor. A character processing device comprising: an updating unit that updates the format of the document according to the content; and a second display unit that updates the display format of the document according to the updated format content.
JP5092813A 1993-04-20 1993-04-20 Method and device for character processing Pending JPH06309320A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5092813A JPH06309320A (en) 1993-04-20 1993-04-20 Method and device for character processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5092813A JPH06309320A (en) 1993-04-20 1993-04-20 Method and device for character processing

Publications (1)

Publication Number Publication Date
JPH06309320A true JPH06309320A (en) 1994-11-04

Family

ID=14064862

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5092813A Pending JPH06309320A (en) 1993-04-20 1993-04-20 Method and device for character processing

Country Status (1)

Country Link
JP (1) JPH06309320A (en)

Similar Documents

Publication Publication Date Title
JPS60189568A (en) Information processor
JPH06309320A (en) Method and device for character processing
JP2692063B2 (en) Document processing device
JPH0640296B2 (en) Character processor
JP2751212B2 (en) Document creation device
JP2699974B2 (en) Pattern registration method
JP3046429B2 (en) Document processing apparatus and document processing method
JP2606579B2 (en) Character display device
JPH11212968A (en) Document processing apparatus and method
JP2944666B2 (en) Character processor
JPS5965339A (en) document editing device
JPH0696080A (en) Document preparing device having multi-window function and multi-window size changing method
JPH02301862A (en) Document preparing device
JPH06274483A (en) Character processor
JPH05342199A (en) Document preparing device and display control method
JPH05342202A (en) Document processor
JPH0392959A (en) Character processor
JPH0384660A (en) Document producing device
JPH0512272A (en) Document preparation device
JPS644223B2 (en)
JPH05158924A (en) Device for editing document and method therefor
JPH04282754A (en) Word processor
JPH04282755A (en) Word processor
JPH01129354A (en) Document processor
JPH05314103A (en) Document processing apparatus and area connecting order determination method thereof

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20020405