JPH076165A - Setting method for document format - Google Patents

Setting method for document format

Info

Publication number
JPH076165A
JPH076165A JP5262397A JP26239793A JPH076165A JP H076165 A JPH076165 A JP H076165A JP 5262397 A JP5262397 A JP 5262397A JP 26239793 A JP26239793 A JP 26239793A JP H076165 A JPH076165 A JP H076165A
Authority
JP
Japan
Prior art keywords
format
document
parameter
layout
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP5262397A
Other languages
Japanese (ja)
Other versions
JP2633801B2 (en
Inventor
Noboru Takai
登 高井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP5262397A priority Critical patent/JP2633801B2/en
Publication of JPH076165A publication Critical patent/JPH076165A/en
Application granted granted Critical
Publication of JP2633801B2 publication Critical patent/JP2633801B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To display a document layout image based on a set document format according to the content of the document format. CONSTITUTION:Document format information set and changed through a keyboard 1 is stored through a format setting/changing device 2 in a format parameter table 3, and displayed through a RAM 4 for display. On the other hand, the parameter stored in the formal parameter table 3 is read by a format layout image preparing device 7, the layout image of the format in conformity to the parameter is prepared, and the image is displayed through the RAM 4 for display.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、文書に関する文書書式
情報を設定する文書書式の設定方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document format setting method for setting document format information regarding a document.

【0002】[0002]

【従来の技術】日本語ワードプロセッサ等の文書処理装
置においては、文書の書式は余白、文字ピッチ等の書式
パラメータの数値によって設定されていた。たとえば左
余白、さらには右余白を設定し、さらにその間、即ち1
行の文字数を入力していた。この様な入力方法である
と、数値だけを対象として書式を設定するために、設定
時点では印字の書式イメージが分かりにくく、作成した
文書を一度印字した後で再度書式設定を行い、希望の書
式に近づけるようにしていた。
2. Description of the Related Art In a document processing apparatus such as a Japanese word processor, the format of a document is set by the numerical values of format parameters such as margins and character pitches. For example, set the left margin, and further the right margin, and during that time, that is, 1
I was typing the number of characters in a line. With such an input method, the format image for printing is difficult to understand at the time of setting because the format is set only for the numerical values. I was trying to get closer to.

【0003】[0003]

【発明が解決しようとする課題】即ち、従来では文書書
式設定の際は、単に設定書式の数値が表示されるのみで
あったために、設定書式に基づくレイアウトを予め知る
ことができなかった。
That is, in the past, when the document format was set, only the numerical value of the set format was displayed, so that the layout based on the set format could not be known in advance.

【0004】また、既に入力した文書データの縮小レイ
アウトを表示するもの自体は公知であるが、これはあく
までも記憶されている文書データを縮小イメージとして
表示しているにすぎず、書式設定時にその縮小レイアウ
ト表示するものではない。
Further, a display itself of a reduced layout of already input document data is publicly known, but this is merely displaying the stored document data as a reduced image, and the reduction is performed at the time of formatting. The layout is not displayed.

【0005】即ち、従来の縮小レイアウト表示では文書
データが既に入力されている場合にはそのレイアウトイ
メージが把握できるものの、文書データ自体が未だ入力
されていない場合には、その文書イメージが全く把握で
きない、という問題があった。
That is, in the conventional reduced layout display, the layout image can be grasped when the document data has already been inputted, but the document image cannot be grasped at all when the document data itself has not been inputted. , There was a problem.

【0006】本発明の課題は、文書書式の設定時に文書
レイアウトイメージを見ながら、所望する任意の書式を
変更設定できるようにすることである。
An object of the present invention is to make it possible to change and set any desired format while viewing a document layout image when setting a document format.

【0007】[0007]

【課題を解決するための手段】本発明の手段は次の通り
である。文書書式情報を設定する文書書式の設定方法で
あって、文書書式設定の際に、1ページ上に文書を出力
した際の仮想文書イメージを示す文書占有レイアウトイ
メージを生成し、この生成された文書占有レイアウトイ
メージを、予め記憶されていた文書書式情報と共に表示
し、この表示状態において上記文書書式情報に対する内
容を任意に変更指定し、この任意の指定の変更内容が不
正なものであるか否かを判定し、上記変更内容が不正な
ものではないと判定された際に、その変更された文書書
式情報を設定記憶するようにした、ものである。
The means of the present invention are as follows. A method of setting a document format for setting document format information, wherein a document occupation layout image showing a virtual document image when a document is output on one page is generated when the document format is set, and the generated document is generated. The exclusive layout image is displayed together with the document format information stored in advance, and the contents of the document format information are arbitrarily changed and designated in this display state. Whether or not the arbitrary designated changes are illegal When it is determined that the changed contents are not illegal, the changed document format information is set and stored.

【0008】[0008]

【作用】本発明の手段の作用は次の通りである。文書書
式の設定の際に、1ページ上に文書を出力した際の仮想
文書イメージを示す文書占有レイアウトイメージが生成
され、この生成された文書占有レイアウトイメージは、
予め記憶されていた文書書式情報と共に表示される。そ
して、この表示状態を確認した上で、予め記憶されてい
た文書書式情報の内容を変更する必要性があれば、オペ
レータはその内容の変更を任意に指定する。するとこの
変更内容が不正なものであるか否かが判定される。そし
て、この変更内容が不正なものではないと判定された際
に、その変更された文書書式情報が設定記憶される。
The operation of the means of the present invention is as follows. At the time of setting the document format, a document occupation layout image showing a virtual document image when a document is output on one page is generated, and the generated document occupation layout image is
It is displayed together with the document format information stored in advance. After confirming the display state, if there is a need to change the content of the document format information stored in advance, the operator arbitrarily specifies the change of the content. Then, it is determined whether or not the changed content is illegal. Then, when it is determined that the changed contents are not illegal, the changed document format information is set and stored.

【0009】従って、文書書式の設定の際に文書レイア
ウトイメージを見ながら、所望する任意の書式を変更設
定でき、文書書式の設定がスムーズに行える。
Therefore, when setting the document format, it is possible to change and set any desired format while looking at the document layout image, and the document format can be set smoothly.

【0010】[0010]

【実施例】以下、図面を用いて本発明を詳細に説明す
る。図1は本発明の実施例の回路構成図である。キーボ
ード(KEY)1よりキーの押下によって入力した書式
設定/変更データは書式設定/変更装置2に加わる。書
式設定/変更データは書式パラメータテーブル3に書き
込まれるとともに表示用RAM4の書式パラメータ表示
領域に格納される。表示用RAMはビデオメモリであ
り、図示しない装置によって順次読み出されてCRTに
表示すべきビデオ信号に変換され、CRTで表示され
る。
The present invention will be described in detail below with reference to the drawings. FIG. 1 is a circuit configuration diagram of an embodiment of the present invention. Formatting / changing data input by pressing a key from the keyboard (KEY) 1 is added to the formatting / changing device 2. The format setting / change data is written in the format parameter table 3 and stored in the format parameter display area of the display RAM 4. The display RAM is a video memory, which is sequentially read by a device (not shown), converted into a video signal to be displayed on the CRT, and displayed on the CRT.

【0011】前述した書式パラメータデータはCRTに
おける下部の領域に対応するアドレス位置に格納され
る。図2は図1に示した実施例における表示図である。
CRTの表示画面は点線Cによって2分割されており、
画面の下部Aがキーボード1を操作する、たとえばオペ
レータに対してパラメータの選択の表示ならびに変更や
選択した結果における設定表示部である。
The above-mentioned format parameter data is stored in the address position corresponding to the lower area of the CRT. FIG. 2 is a display diagram in the embodiment shown in FIG.
The display screen of the CRT is divided into two by a dotted line C,
The lower part A of the screen is a setting display section for operating the keyboard 1, for example, displaying the selection of parameters to the operator and changing or selecting results.

【0012】一方、書式パラメータテーブル3にはハー
ドディスク装置(HDD)6やフロッピィディスク装置
5が接続されており、これらのディスク装置5,6には
格納された書式パラメータに対応した書式レイアウト表
示における各種のデータが格納されている。そしてその
データはキーボード1より書式レイアウト表示指示がさ
れたときあるいは変更されたときに読み出され、書式パ
ラメータテーブル3に格納されるとともに書式レイアウ
トイメージ作成装置1に出力される。なお、ハードディ
スク装置6、フロッピィディスク装置5は図示しないが
ワードプロセッサとして動作するワードプロセッサ制御
部の文書ファイルの文書記憶装置としても動作する。書
式レイアウトイメージ作成装置7は書式パラメータテー
ブル3に格納された書式パラメータデータならびにハー
ドディスク装置6やフロッピィディスク装置5に格納さ
れた各種データ(紙のシンボル、文字マークさらには余
白部のイメージデータ等やあらかじめ設定された書式パ
ラメータ)より指定された書式のレイアウトを出力す
る。図2における表示部×の点線で分割された上部は書
式パラメータデータによって表示された書式レイアウト
である。
On the other hand, a hard disk drive (HDD) 6 and a floppy disk drive 5 are connected to the format parameter table 3, and these disk drives 5, 6 are used in various types of format layout display corresponding to the stored format parameters. The data of is stored. Then, the data is read out when the form layout display instruction is given from the keyboard 1 or changed, stored in the form parameter table 3 and output to the form layout image creating apparatus 1. Although not shown, the hard disk device 6 and the floppy disk device 5 also operate as a document storage device for a document file of a word processor control unit that operates as a word processor. The format layout image creating device 7 is provided with the format parameter data stored in the format parameter table 3 and various data stored in the hard disk device 6 and the floppy disk device 5 (paper symbols, character marks, image data of margins, etc. Output the layout of the specified format from the set format parameter). The upper portion of the display section divided by the dotted line in FIG. 2 is the format layout displayed by the format parameter data.

【0013】実施例においては1文字を1個の“□”で
表示している。図2においては1枚の用紙の書式レイア
ウトを表示したものであり、その文字数は1行に横5文
字の7行であることを表している。この書式が前述した
書式パラメータによって変る。たとえばたて1行の字の
数、行数、左右の余白数さらには文字の大きさ等が変
る。
In the embodiment, one character is represented by one "□". In FIG. 2, the format layout of one sheet is displayed, and the number of characters is 7 lines, one line being 5 characters horizontally. This format depends on the format parameter described above. For example, the number of characters in one line, the number of lines, the number of left and right margins, and the size of characters vary.

【0014】図3は実施例の動作フローチャートであ
る。キーボード1より書式レイアウト表示コマンドが入
力すると、図3に示す動作をスタート(START)す
る。まず、フロッピィディスク装置5やハードディスク
装置6にあらかじめ作成されている文書ファイルの書式
パラメータを読み出し、書式パラメータテーブル3にセ
ットS1する。なお、また書式がセットされていないと
きには後述するパラメータ選択処理S5以後において書
式パラメータ設定データが加わるまで、書式パラメータ
テーブル3にはイニシャルの書式パラメータデータが格
納される。次に書式パラメータテーブル3より書式レイ
アウトイメージ作成装置7は書式パラメータデータを読
み出すとともに、そのデータに対応した書式レイアウト
イメージ作成処理S2を行い、さらにそのデータすなわ
ちレイアウトを表示S3する。レイアウト表示はイニシ
ャルレイアウト表示や、オペレータによってあらかじめ
以前に設定されたレイアウト表示であるので、これを変
更する必要が多々ある。レイアウト表示S3の後に図2
に示した表示画面下部にパラメータ選択画面、設定表示
S4を行う。なお、この表示S4は書式設定/変更装置
2によってなされる。この処理によって書式のレイアウ
トとそのレイアウトに対応したすなわち設定されたパラ
メータが表示されるので、次には目的とするレイアウト
にすべきパラメータの選択処理S5がなされる。この処
理S5はキーボード1を操作するオペレータによって押
下されたキーを検出する処理である。次にこのパラメー
タ選択処理S5によって入力したデータが終了であるか
を判別S6する。Yのときには、イニシャル時の書式パ
ラメータデータあるいはあらかじめ設定した書式パラメ
ータデータさらには後述する変更、設定によって目的の
書式レイアウトとなったことによってオペレータが指示
した場合であり、このときには、フロッピィディスク装
置5やハードディスク装置6の文書ファイルにパラメー
タテーブル3の書式パラメータを格納S7して、終了
(END)する。Nのときには、また目的の書式レイア
ウトとなっていない場合であり、前述した処理S5のパ
ラメータ選択によって指定されたパラメータの変更画面
表示S8を行う。これは書式設定/変更装置2によって
なされるものである。前述したパラメータ選択処理S5
はたとえば1行中の文字数、1ページ内の行数、左右の
余白文字指定、用紙の大きさなどの設定や変更を行う項
目の指定処理であり、この指定処理されたものに対応し
た変更の入力である。たとえばパラメータ選択処理S5
で1行中の文字数の指定や変更を指示した場合には、指
定パラメータ変更画面表示S8では、1行中の文字数の
指定を要求する表示がなされる。この表示処理S8の後
にパラメータ変更処理S9がなされる。パラメータ変更
処理S9はオペレータによって入力したデータを検出す
る処理であり、たとえば1行中の文字数のデータがこの
処理S9によって入力される。次に入力したデータがエ
ラーであるか否かの判別S10を行う。たとえば、1行中
の文字数を入力した場合でもオペレータが誤って1行中
に印字できる数以上の文字数を指定した場合等を判別す
るものであり、エラーを発生した場合Yには再度S9の
パラメータ変更処理を行う。エラーが発生していない場
合にはパラメータテーブルメンテナンス処理S11を行
う。この処理によって書式パラメータテーブルの変更箇
所が目的のパラメータデータとして変更される。この処
理によって書式パラメータテーブルが新しいデータとな
ったので、前述した書式レイアウトイメージ作成処理S
2を実行し、以後順次目的のパラメータとなるまで繰り
返される。
FIG. 3 is an operation flowchart of the embodiment. When the format layout display command is input from the keyboard 1, the operation shown in FIG. 3 is started (START). First, the format parameters of the document file previously created in the floppy disk device 5 or the hard disk device 6 are read out and set S1 in the format parameter table 3. When the format is not set, the initial format parameter data is stored in the format parameter table 3 until the format parameter setting data is added after the parameter selecting process S5 described later. Next, the format layout image creating device 7 reads out the format parameter data from the format parameter table 3, performs the format layout image creating process S2 corresponding to the data, and further displays the data, that is, the layout S3. Since the layout display is the initial layout display or the layout display previously set by the operator, it is often necessary to change this. After the layout display S3, FIG.
A parameter selection screen and a setting display S4 are displayed at the bottom of the display screen shown in FIG. The display S4 is made by the formatting / changing device 2. By this processing, the layout of the format and the parameters corresponding to the layout, that is, the set parameters are displayed. Then, the processing S5 of selecting the parameters to be the desired layout is performed. This process S5 is a process of detecting a key pressed by an operator who operates the keyboard 1. Next, it is determined S6 whether or not the data input by this parameter selection processing S5 is the end. In the case of Y, the operator has instructed that the format parameter data at the time of initialization or the format parameter data set in advance or the later-described change or setting has made the intended format layout, and at this time, the floppy disk device 5 or The format parameter of the parameter table 3 is stored in the document file of the hard disk device S7, and the process ends (END). When the result is N, it means that the format layout is not the target one, and the change screen display S8 of the parameter designated by the parameter selection in the process S5 is performed. This is done by the formatting / modifying device 2. Parameter selection processing S5 described above
Is, for example, the designation process of items for setting or changing the number of characters in one line, the number of lines in one page, left and right margin characters designation, paper size, and the like. Is an input. For example, the parameter selection process S5
When the command for designating or changing the number of characters in one line is issued with, the designated parameter change screen display S8 is a display requesting the designation of the number of characters in one line. The parameter changing process S9 is performed after the display process S8. The parameter changing process S9 is a process of detecting data input by the operator, and for example, data of the number of characters in one line is input by this process S9. Next, a determination S10 is made as to whether or not the input data is an error. For example, even when the number of characters in one line is input, the operator erroneously specifies the number of characters more than the number that can be printed in one line. When an error occurs, the parameter of S9 is returned to Y when the error occurs. Perform change processing. If no error has occurred, the parameter table maintenance process S11 is performed. By this processing, the changed portion of the format parameter table is changed as the target parameter data. Since the format parameter table becomes new data by this processing, the above-described format layout image creation processing S
2 is executed, and thereafter, the sequence is repeated until the target parameter is reached.

【0015】以上の動作により、書式パラメータが選択
され最終的には文書ファイルに書式パラメータが格納さ
れる。文書ファイルにはあらかじめ図示しないワードプ
ロセッサ制御部によって作成され、記憶された文書が格
納されているので、前述した図3の動作フローによって
印字すべき書式が指定されるので印字するときには、図
1には図示されていないが印字制御部でこの書式パラメ
ータが読み出される。そしてパラメータに対応してたと
えばプリンタ等で文字ファイルの文書が印字される。前
述した動作フローにおいて、書式レイアウトイメージ作
成処理S2とレイアウト表示は書式レイアウトイメージ
作成装置7よってなされ、パラメータテーブルに文書フ
ァイル中の書式パラメータを格納する処理S1とその逆
に文書ファイルにパラメータテーブルの書式パラメータ
を格納する処理S7は書式パラメータテーブル3によっ
てなされ、その他は書式設定/変更装置によってなされ
る。なお、パラメータ選択ならびにパラメータ変更は当
然ではあるがオペレータのキーボードの操作を含んでい
る。
By the above operation, the format parameter is selected and finally the format parameter is stored in the document file. Since the document file previously stored by the word processor control unit (not shown) is stored, the format to be printed is specified by the operation flow of FIG. 3 described above. Although not shown, the print control unit reads this format parameter. Then, the document of the character file is printed by a printer or the like corresponding to the parameter. In the above-described operation flow, the format layout image creation process S2 and the layout display are performed by the format layout image creation device 7, and the process S1 of storing the format parameters in the document file in the parameter table and vice versa. The process S7 of storing the parameters is performed by the format parameter table 3, and the others are performed by the formatting / modifying device. It should be noted that the selection of parameters and the change of parameters naturally include the operation of the keyboard of the operator.

【0016】以上述べたように、動作フローからも明ら
かに書式レイアウト表示が設定や変更にともなって変
り、常に最終的に指定した書式パラメータの書式レイア
ウトが表示される。よって、オペレータは常に表示部×
の書式レイアウトを見ながら書式パラメータを設定で
き、印字等を設定において必要とせず、簡単に目的の書
式レイアウトを指示することができる。
As described above, the form layout display obviously changes from the operation flow due to the setting or change, and the form layout of the finally specified form parameter is always displayed. Therefore, the operator is
The format parameters can be set while looking at the format layout, and the desired format layout can be easily specified without the need for printing or the like in the setting.

【0017】以上の説明において、図示しないがCRT
を表示装置としているが、これに限らずたとえばLCD
(液晶表示装置)等でも同様に行うことができる。
In the above description, a CRT (not shown)
Is used as the display device, but the display device is not limited to this, and an LCD
(Liquid crystal display device) and the like can be similarly performed.

【0018】[0018]

【発明の効果】本発明によれば、文書書式の設定の際に
文書レイアウトイメージを見ながら、所望する任意の書
式を変更設定でき、文書書式の設定がスムーズに行え
る。
According to the present invention, a desired arbitrary format can be changed and set while viewing the document layout image when setting the document format, and the document format can be set smoothly.

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

【図1】実施例の回路構成図である。FIG. 1 is a circuit configuration diagram of an embodiment.

【図2】実施例における表示図である。FIG. 2 is a display diagram in an example.

【図3】実施例の動作フローチャートである。FIG. 3 is an operation flowchart of the embodiment.

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

1 キーボード 2 書式設定/変更装置 3 書式パラメータテーブル 4 表示用RAM 7 書式レイアウトイメージ作成装置 1 keyboard 2 format setting / changing device 3 format parameter table 4 display RAM 7 format layout image creating device

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 文書書式情報を設定する文書書式の設定
方法であって、 文書書式設定の際に、1ページ上に文書を出力した際の
仮想文書イメージを示す文書占有レイアウトイメージを
生成し、 この生成された文書占有レイアウトイメージを、予め記
憶されていた文書書式情報と共に表示し、 この表示状態において、上記文書書式情報に対する内容
を任意に変更指定し、この任意の指定の変更内容が不正
なものであるか否かを判定し、 上記変更内容が不正なものではないと判定された際に、
その変更された文書書式情報を設定記憶するようにした
ことを特徴とする文書書式の設定方法。
1. A method of setting a document format for setting document format information, wherein a document occupation layout image showing a virtual document image when a document is output on one page is generated at the time of document format setting, The generated document occupation layout image is displayed together with the document format information stored in advance, and in this display state, the contents of the document format information are arbitrarily changed and designated, and the changed contents of the arbitrary designation are invalid. If it is determined that the above changes are not illegal,
A document format setting method, characterized in that the changed document format information is set and stored.
JP5262397A 1993-10-20 1993-10-20 Document processing device Expired - Lifetime JP2633801B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5262397A JP2633801B2 (en) 1993-10-20 1993-10-20 Document processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5262397A JP2633801B2 (en) 1993-10-20 1993-10-20 Document processing device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP60194486A Division JPH0619774B2 (en) 1985-09-03 1985-09-03 Document processor

Publications (2)

Publication Number Publication Date
JPH076165A true JPH076165A (en) 1995-01-10
JP2633801B2 JP2633801B2 (en) 1997-07-23

Family

ID=17375206

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5262397A Expired - Lifetime JP2633801B2 (en) 1993-10-20 1993-10-20 Document processing device

Country Status (1)

Country Link
JP (1) JP2633801B2 (en)

Also Published As

Publication number Publication date
JP2633801B2 (en) 1997-07-23

Similar Documents

Publication Publication Date Title
JPH09128391A (en) Document processor
JPS6320671A (en) Sentence processor
JPH0619774B2 (en) Document processor
JP2576027B2 (en) Document format setting method and apparatus
JPH076165A (en) Setting method for document format
JP2633800B2 (en) How to set document format
JPH0437951A (en) Document processor
JP3026992B2 (en) Display control method and device
JP3608921B2 (en) Line drawing processing method and apparatus, and recording medium on which program for executing the processing is recorded
JPH1173293A (en) Information processor and method for displaying picture
JPH05334300A (en) Information processor
JP3226349B2 (en) Graphing equipment for video
JPS59220364A (en) Character input method in input apparatus
JP2610405B2 (en) Document creation device
JPH0540466A (en) Information processor
JPH07148986A (en) Document preparation device, printing control and display control
JPH0844712A (en) Device and method for document preparation
JPH0764977A (en) Document preparing device and format change method
JPH079705A (en) Method of printing designated page in one lump and apparatus thereof
JPS60136794A (en) Display for analyzer or the like
JPH05334025A (en) Printer
JPH04369023A (en) Document forming device
JPH08147277A (en) Document printing processor
JPH0581249A (en) Word processor
JPH076167A (en) Format setting method

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term