JPH056372A - Document forming device - Google Patents

Document forming device

Info

Publication number
JPH056372A
JPH056372A JP3158201A JP15820191A JPH056372A JP H056372 A JPH056372 A JP H056372A JP 3158201 A JP3158201 A JP 3158201A JP 15820191 A JP15820191 A JP 15820191A JP H056372 A JPH056372 A JP H056372A
Authority
JP
Japan
Prior art keywords
document
window
display
size
storage area
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
JP3158201A
Other languages
Japanese (ja)
Inventor
Kenichi Kukino
賢一 桑木野
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP3158201A priority Critical patent/JPH056372A/en
Publication of JPH056372A publication Critical patent/JPH056372A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide a document forming device capable of displaying the whole document in a window and forming/editing the document while observing the whole document and having high operability. CONSTITUTION:The document forming device is provided with a CRT 6 to be a display means, a mouse 5 for specifying the coordinates and size of a window and a display control means having a window management information storing area 3-3 to be a specifying means, a document data storing area 3-1 to be a storing means, a conversion coefficient storing area 3-2, a display scale storing area 3-4, and a display position storing buffer 3-5. Consequently the format data of a stored document are converted based upon the size of the window and the whole document can be displayed in the window.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、CRTやLCD等の表
示画面上の所望の位置に、所望の大きさのウインドウを
開き、文書を作成することができるワードプロセッサや
デスクトップパブリッシングシステム(以下、DTPと
いう)等の文書作成装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a word processor or desktop publishing system (hereinafter referred to as DTP) capable of creating a document by opening a window of a desired size at a desired position on a display screen such as a CRT or LCD. , Etc.) and the like.

【0002】[0002]

【従来の技術】近年、オフィス・オートメーション化が
進み、種々のOA装置が開発されている。そのOA装置
の一つとして、ワードプロセッサやDTP等の文書作成
装置がある。これらの装置では、CRTやLCD等の表
示装置上にウインドウを開き、その中で文書の作成・編
集を行うことができる。従来の文書作成装置において、
表示装置上に開いたウインドウに指定した用紙サイズの
文書を作成すると、表示面の大きさを基準として、常に
一定の大きさで文書が表示される。従って、ウインドウ
の大きさによっては、一度に文書の一部分しか表示され
ず、このような場合はウインドウ内の文書をスクロール
することによって、文書の全体を見るようにしていた。
2. Description of the Related Art In recent years, office automation has advanced and various OA devices have been developed. As one of the OA devices, there is a document creation device such as a word processor or DTP. In these devices, a window can be opened on a display device such as a CRT or LCD, and a document can be created or edited in the window. In the conventional document creation device,
When a document of a specified paper size is created in a window opened on the display device, the document is always displayed in a constant size based on the size of the display surface. Therefore, depending on the size of the window, only a part of the document is displayed at one time, and in such a case, the entire document is viewed by scrolling the document in the window.

【0003】[0003]

【発明が解決しようとする課題】しかしながら従来の文
書作成装置では、文書の作成中に文書のスクロールを行
うことは、操作者にとって非常に不便なものであり、ま
た、文書全体のレイアウトを見たい時などには、文書の
レイアウト表示の機能などを用いて、文書全体の縮小画
面を別途表示させる等の作業が必要であって、操作性に
問題があった。
However, it is very inconvenient for the operator to scroll the document while the document is being created in the conventional document creating apparatus, and it is desired to see the layout of the entire document. At times, there is a problem in operability because it is necessary to separately display a reduced screen of the entire document by using a document layout display function or the like.

【0004】本発明の課題は、従来のこれらの問題点を
解消し、操作性に優れた文書作成装置を提供することに
ある。
SUMMARY OF THE INVENTION An object of the present invention is to solve these conventional problems and to provide a document creating apparatus having excellent operability.

【0005】[0005]

【課題を解決するための手段】本発明は、上記した課題
を解決するために、指定されたウインドウのサイズに基
づいて文書の書式データを変換し、文書をウインドウ内
に全体表示させる表示制御手段を設けた。
In order to solve the above-mentioned problems, the present invention converts the format data of a document based on the size of a specified window and displays the entire document in the window. Was established.

【0006】[0006]

【作用】本発明は上記した手段により、表示装置に開か
れたウインドウの大きさに応じて、文書の表示サイズを
変換し、ウインドウ内に文書全体を表示させて編集を行
うことができる。
According to the present invention, by the above means, the display size of a document can be converted according to the size of the window opened on the display device, and the entire document can be displayed in the window for editing.

【0007】[0007]

【実施例】以下、本発明に係わる実施例を図面を用いて
説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0008】図1は本発明の一実施例における文書作成
装置のブロック図であって、1は装置の制御やデータの
処理等を行う中央演算処理装置(以下、CPUとい
う)、2はプログラム命令等を記憶する読みだし専用メ
モリ(以下、ROMという)、3はデータ等を記憶する
ランダムアクセスメモリ(以下、RAMという)、4は
キーボード、5はマウス、6はCRT表示装置(以下、
CRTという)、7は表示用RAMである。
FIG. 1 is a block diagram of a document creating apparatus according to an embodiment of the present invention, in which 1 is a central processing unit (hereinafter referred to as CPU) for controlling the apparatus and processing data, and 2 is a program instruction. A read-only memory (hereinafter, referred to as ROM) for storing data such as 3 is a random access memory (hereinafter, referred to as RAM) for storing data and the like, 4 is a keyboard, 5 is a mouse, 6 is a CRT display device (hereinafter,
CRT) and 7 are display RAMs.

【0009】3−1はRAM3の中の文書データ記憶領
域であって、作成・編集を行う文書に関する文書データ
を記憶する。文書データは、図4に示すように、文字等
のコード列である文字情報と、用紙サイズ・用紙内編集
領域(領域の左上座標、横サイズ、縦サイズ)・文字サ
イズ・文字ピッチ・行ピッチをミリ単位で表した書式情
報から構成されている。
Reference numeral 3-1 is a document data storage area in the RAM 3, which stores document data relating to a document to be created / edited. As shown in FIG. 4, the document data includes character information that is a code string of characters and the like, paper size, in-paper editing area (upper left coordinate of the area, horizontal size, vertical size), character size, character pitch, line pitch. It is composed of format information in units of millimeters.

【0010】3−2は変換係数記憶領域であって、ミリ
単位で表された書式情報をCRT6への表示用のドット
単位に変換するための変換係数(以下、tで表す)を記
憶する。
A conversion coefficient storage area 3-2 stores a conversion coefficient (hereinafter referred to as t) for converting the format information expressed in millimeter units into dot units for display on the CRT 6.

【0011】3−3はウインドウ管理情報記憶領域であ
って、図5に示すように、マウス5から指定されたウイ
ンドウの位置、及びサイズをドット単位で記憶する。
A window management information storage area 3-3 stores the position and size of the window designated by the mouse 5 in dot units as shown in FIG.

【0012】3−4は表示倍率記憶領域であって、文書
をウインドウ内に全体表示するために変換係数tを変換
した表示倍率(以下、kで表わす)を記憶する。
A display magnification storage area 3-4 stores a display magnification (hereinafter referred to as k) obtained by converting the conversion coefficient t for displaying the entire document in the window.

【0013】3−5はウインドウ内に文字を表示するた
めの表示位置を記憶する表示位置記憶バッファ、3−6
は文書データ記憶領域3−1から文字を読みだす際に用
いる文字カウンタである。
3-5 is a display position storage buffer for storing a display position for displaying a character in the window, 3-6
Is a character counter used when reading characters from the document data storage area 3-1.

【0014】本実施例において、表示手段はCRT6と
表示用RAM7によって、指定手段はキーボード4とマ
ウス5とウインドウ管理情報記憶領域3−3によって、
記憶手段は文書データ記憶領域3−1によって、表示制
御手段は変換係数記憶領域3−2と表示倍率記憶領域3
−4と表示位置記憶バッファ3−5及びこれらとCPU
1とROM2によって構成している。
In this embodiment, the display means is the CRT 6 and the display RAM 7, and the designation means is the keyboard 4, the mouse 5 and the window management information storage area 3-3.
The storage means is the document data storage area 3-1, and the display control means is the conversion coefficient storage area 3-2 and the display magnification storage area 3
-4, display position storage buffer 3-5, and these and CPU
1 and ROM2.

【0015】以上のように構成された本実施例の文書作
成装置について、以下、その動作を図2及び図3のフロ
ーチャートを用いて説明する。
The operation of the document creating apparatus of the present embodiment configured as described above will be described below with reference to the flowcharts of FIGS. 2 and 3.

【0016】(1)表示面上に文書作成・編集用のウイ
ンドウを開く場合 図2において、マウス5を用いて、CRT6の表示面内
でドラッキングを行うことによって、ウインドウを開く
位置とサイズを指定すると(ステップs21)、ウイン
ドウ管理情報記憶領域3−3にウインドウの左上の座標
とウインドウのサイズ(以下、X,Yで表す)がドット
単位で記憶される(ステップs22)。CPU1はウイ
ンドウ管理情報記憶領域3−1内のウインドウ位置・サ
イズを見て、CRT6にウインドウを開いた後(ステッ
プs23)、ウインドウ管理情報記憶領域3−3に記憶
されたウインドウサイズと、変換係数記憶領域3−2に
記憶された変換係数tを積算し、表示用の用紙サイズ
(以下、x,yで表す)を得(ステップs24)、(x
/X)と(y/Y)を算出し、小さい方を表示倍率kと
して表示倍率記憶領域3−4に書き込む(ステップs2
5)。
(1) When opening a window for creating / editing a document on the display surface In FIG. 2, the mouse 5 is used to perform the racking on the display surface of the CRT 6 to specify the position and size of the window to be opened. Then, the upper left coordinate of the window and the size of the window (hereinafter represented by X and Y) are stored in dot units in the window management information storage area 3-3 (step s22). The CPU 1 looks at the window position and size in the window management information storage area 3-1, opens the window on the CRT 6 (step s23), and then the window size and conversion coefficient stored in the window management information storage area 3-3. The conversion coefficients t stored in the storage area 3-2 are integrated to obtain a display paper size (hereinafter, represented by x, y) (step s24), (x
/ X) and (y / Y) are calculated, and the smaller one is written in the display magnification storage area 3-4 as the display magnification k (step s2).
5).

【0017】(2)文書の表示 図3において、CPU1は文書データ記憶領域3−1内
の用紙内編集領域の左上座標と表示倍率記憶領域3−4
内の表示倍率kを積算して文字の表示開始位置として表
示位置記憶バッファ3−5に書き込む(ステップs3
1)。次に、文字カウンタ3−6を“1”に設定して
(ステップs32)文書データ記憶領域3−1内の文字
コード列の一番目の文字を読みだし(ステップs3
3)、CRT6の、ウインドウの左上座標を基準とした
表示位置記憶バッファ3−5に記憶された位置に、文書
データ記憶領域3−1内の文字サイズに表示倍率kを掛
けたサイズで文字を表示させる(ステップs34)。
(2) Display of Document In FIG. 3, the CPU 1 causes the upper left coordinates of the in-paper edit area in the document data storage area 3-1 and the display magnification storage area 3-4.
The display magnification k in the above is integrated and written in the display position storage buffer 3-5 as the display start position of the character (step s3
1). Next, the character counter 3-6 is set to "1" (step s32), and the first character of the character code string in the document data storage area 3-1 is read (step s3).
3), at the position stored in the display position storage buffer 3-5 of the CRT 6 with the upper left coordinates of the window as a reference, the character size in the document data storage area 3-1 is multiplied by the display magnification k. It is displayed (step s34).

【0018】文字を表示させた後、CPU1は表示位置
記憶バッファ3−5内の文字表示位置データのX方向成
分を文書データ記憶領域3−1内の文字ピッチに表示倍
率kを掛けた値分更新し(ステップs35)、文字カウ
ンタ3−6の値を+1して(ステップs39)、文書デ
ータ記憶領域3−1から次の文字を読みだす(ステップ
s33)。
After displaying the characters, the CPU 1 calculates the X direction component of the character display position data in the display position storage buffer 3-5 by the value obtained by multiplying the character pitch in the document data storage area 3-1 by the display magnification k. It is updated (step s35), the value of the character counter 3-6 is incremented by 1 (step s39), and the next character is read from the document data storage area 3-1 (step s33).

【0019】以上のように文字の読みだしと表示を繰り
返した後、一行分の文字列表が終了すると(ステップs
37)、CPU1は表示位置記憶バッファ3−5内の表
示位置のX方向成分をステップs31で設定した初期値
に戻し、Y方向成分を文書データ記憶領域3−1内の行
ピッチに表示倍率kを掛けた値分更新して改行を行ない
(ステップs38)、文字の読みだしと表示を続ける。
After repeating reading and displaying of characters as described above, when the character string table for one line is completed (step s
37), the CPU 1 returns the X-direction component of the display position in the display position storage buffer 3-5 to the initial value set in step s31, and sets the Y-direction component to the line pitch in the document data storage area 3-1 at the display magnification k. Is updated by the value multiplied by and a line feed is performed (step s38), and reading and display of characters is continued.

【0020】以上の処理を、文書データ記憶領域3−1
内の文字コード列がなくなるまで繰り返して、ウインド
ウ内に文書を全体表示させることができる。
The above processing is performed in the document data storage area 3-1.
The entire document can be displayed in the window by repeating the process until the character code string in is exhausted.

【0021】(3)ウインドウの大きさを変更する場合 図2において、マウス5を用いて既存のウインドウのサ
イズ変更を指示すると(ステップs26)、CPU1は
変更後のウインドウのサイズを取得して、ウインドウ管
理情報記憶領域3−3を変更する(ステップs27)。
以下、ステップs23以降の処理によって変更後のウイ
ンドウがCRT6上に表示され、図3に示す処理によっ
て、ウインドウ内に文書が全体表示される。
(3) When changing the size of the window In FIG. 2, when the mouse 5 is instructed to change the size of the existing window (step s26), the CPU 1 acquires the size of the changed window, The window management information storage area 3-3 is changed (step s27).
After that, the window after the change is displayed on the CRT 6 by the processing from step s23, and the entire document is displayed in the window by the processing shown in FIG.

【0022】以上のように本実施例では、ウインドウの
大きさに合わせて、文書の表示サイズを変更し、CRT
上に文書を全体表示させて文書の作成・編集が行えるた
め、操作者は文書の全体を見渡しながらその全体表示画
面に対して作業を行うことができ、文書作成の操作性が
向上する。
As described above, in the present embodiment, the display size of the document is changed according to the size of the window, and the CRT is displayed.
Since the document can be created and edited by displaying the entire document on the screen, the operator can work on the entire display screen while looking over the entire document, and the operability of creating the document is improved.

【0023】更に本実施例では、文書の横サイズと縦サ
イズの双方を考慮して、サイズの大きい方向においてウ
インドウ一杯となるように表示倍率を設定するため、文
書やウインドウが縦長であるか横長であるかは無関係
に、開いたウインドウ内で最大となる全体表示を得るこ
とができる。
Further, in the present embodiment, the display magnification is set so that the window becomes full in the direction of the larger size in consideration of both the horizontal size and the vertical size of the document. Irrespective of whether or not, you can get the maximum overall view in the open window.

【0024】尚、本実施例では、文書の表示サイズはウ
インドウのサイズに合わせて全体表示するようにサイズ
変換しているが、操作者の指定により表示倍率kを
“1”又は所望の値に設定できるようにすれば、文書を
全体表示させての編集と、一部を拡大表示させての編集
を操作者が自由に選択できる。
In the present embodiment, the display size of the document is converted so as to display the entire document according to the size of the window, but the display magnification k is set to "1" or a desired value according to the operator's designation. If it can be set, the operator can freely select the editing by displaying the entire document and the editing by displaying a part of the document in an enlarged manner.

【0025】また、本実施例では文書データを文字に限
定して説明を行ったが、これは、表データ・画像データ
等でも同様の処理が可能であって、文字に限定されるも
のではない。
Further, in the present embodiment, the description has been given by limiting the document data to characters, but this is also applicable to the table data, image data, etc., and is not limited to characters. ..

【0026】[0026]

【発明の効果】本発明は、表示手段と、前記表示手段に
表示されるウインドウの座標とサイズを指定する指定手
段と、文書の文字データ及びその書式データを記憶する
記憶手段と、前記指定手段によって指定されたウインド
ウのサイズに基づいて前記記憶手段に記憶された文書の
書式データを変換し且つ当該文書を当該ウインドウ内に
全体表示させる表示制御手段とを有し、指定したウイン
ドウサイズに応じて、文書が当該ウインドウ内に全体表
示できるため、操作者は常に文書の全体を見渡しながら
文書作成・編集作業を行うことができ、操作性の改善に
優れた効果を有するものである。
According to the present invention, display means, designation means for designating coordinates and size of a window displayed on the display means, storage means for storing character data of a document and format data thereof, and the designation means. Display control means for converting the format data of the document stored in the storage means based on the size of the window specified by and displaying the entire document in the window, according to the specified window size. Since the entire document can be displayed in the window, the operator can always perform the document creation / editing work while overlooking the entire document, which has an excellent effect of improving the operability.

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

【図1】本発明の一実施例のブロック図FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】本発明の一実施例の動作を表わすフローチャー
FIG. 2 is a flowchart showing the operation of one embodiment of the present invention.

【図3】本発明の一実施例の文字表示のフローチャートFIG. 3 is a flowchart of character display according to an embodiment of the present invention.

【図4】文書データの構成を表わす説明図FIG. 4 is an explanatory diagram showing the structure of document data.

【図5】ウインドウ管理情報の構成を表わす説明図FIG. 5 is an explanatory diagram showing the configuration of window management information.

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

1 中央演算処理装置 2 読みだし専用メモリ 3 ランダムアクセスメモリ 3−1 文書データ記憶領域 3−2 変換係数記憶領域 3−3 ウインドウ管理情報記憶領域 3−4 表示倍率記憶領域 3−5 表示位置記憶バッファ 3−6 文字カウンタ 4 キーボード 5 マウス 6 CRT表示装置 1 central processing unit 2 read-only memory 3 random access memory 3-1 document data storage area 3-2 conversion coefficient storage area 3-3 window management information storage area 3-4 display magnification storage area 3-5 display position storage buffer 3-6 Character counter 4 Keyboard 5 Mouse 6 CRT display device

Claims (1)

【特許請求の範囲】 【請求項1】表示手段と、前記表示手段に表示されるウ
インドウの座標とサイズを指定する指定手段と、文書の
文字データ及びその書式データを記憶する記憶手段と、
前記指定手段によって指定されたウインドウのサイズに
基づいて前記記憶手段に記憶された文書の書式データを
変換し且つ当該文書を当該ウインドウ内に全体表示させ
る表示制御手段とを有することを特徴とする文書作成装
置。
Claim: What is claimed is: 1. Display means, specification means for specifying coordinates and size of a window displayed on the display means, storage means for storing character data of a document and format data thereof.
A document including a display control unit for converting the format data of the document stored in the storage unit based on the size of the window designated by the designation unit and for displaying the entire document in the window. Creation device.
JP3158201A 1991-06-28 1991-06-28 Document forming device Pending JPH056372A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3158201A JPH056372A (en) 1991-06-28 1991-06-28 Document forming device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3158201A JPH056372A (en) 1991-06-28 1991-06-28 Document forming device

Publications (1)

Publication Number Publication Date
JPH056372A true JPH056372A (en) 1993-01-14

Family

ID=15666489

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3158201A Pending JPH056372A (en) 1991-06-28 1991-06-28 Document forming device

Country Status (1)

Country Link
JP (1) JPH056372A (en)

Similar Documents

Publication Publication Date Title
US7320104B2 (en) Text grid creation tools
JP3461412B2 (en) Data processing device and data processing method
EP0051857A1 (en) Method for editing document
JPH0749760A (en) Word processor
JP2564802B2 (en) Display device
JPH056372A (en) Document forming device
JPS644189B2 (en)
JP4365965B2 (en) Information processing apparatus, information processing method, and storage medium
JPH04278992A (en) Character string display method
JP3101402B2 (en) Document editing method and document editing device
JPH0546349A (en) Information processor
JP2005115702A (en) Document display device, program, and method for displaying document
JP2831318B2 (en) Editing device
JP3061904B2 (en) Document creation device with graph creation function
JPH0470958A (en) Document processor
JPH07295778A (en) Document storage system
JP2704053B2 (en) Document editing device
JPH0235346B2 (en)
JPH04205347A (en) Graph generator
JPH07121344A (en) Document display device
JPH06266706A (en) Word processor with character size changing function
JPH03189724A (en) Document processor
JPH05135050A (en) Line segment attribute display method
JPH04367065A (en) Display system
JPS62197873A (en) Image processor