JPH1027170A - Document preparation and display device - Google Patents

Document preparation and display device

Info

Publication number
JPH1027170A
JPH1027170A JP8180390A JP18039096A JPH1027170A JP H1027170 A JPH1027170 A JP H1027170A JP 8180390 A JP8180390 A JP 8180390A JP 18039096 A JP18039096 A JP 18039096A JP H1027170 A JPH1027170 A JP H1027170A
Authority
JP
Japan
Prior art keywords
document
screen
display
writing
character
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
JP8180390A
Other languages
Japanese (ja)
Inventor
Ritsuko Kanazawa
律子 金澤
Teiji Kuwabara
禎司 桑原
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP8180390A priority Critical patent/JPH1027170A/en
Publication of JPH1027170A publication Critical patent/JPH1027170A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To efficiently use a display by providing a means which automatically switches a screen to a longitudinally long style for handling of a longitudinally written document or a laterally long style for handling a laterally written document. SOLUTION: This device consists of a ROM 4 which stores a longitudinal/ lateral display switching program for a document, a RAM 5 which serves as a work area for executing the program, etc. Then a user selectively specifies form size, a form direction, a character string direction, multiple column, character size, character pitch, line pitch, etc., for a document to be prepared on the screen by using an electronic pen 2. The system generates a header part by writing data on the specification result of the user in an area for document data prepared on the RAM 5. Then the screen is switched to an input editing screen for the document and when lateral writing is specified as the character string direction of format setting, a normal document input editing screen which is used laterally long is obtained, but when longitudinal writing is specified, an editing screen for longitudinal writing is obtained.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は文書作成表示装置に
関する。
The present invention relates to a document creation and display device.

【0002】[0002]

【従来の技術】従来、ワープロやパーソナルコンピュー
タ等の電子文書を表示する装置は、縦長あるいは横長に
使用する方向の決まった状態で、または回転可能なディ
スプレイの場合はあらかじめユーザが縦長に使うか横長
に使うかを決めて画面に表示された文字を見ながら文書
を作成したり読んだりしていた。
2. Description of the Related Art Conventionally, a device for displaying an electronic document such as a word processor or a personal computer is used in a state in which a vertically or horizontally used direction is determined. And read or write a document while looking at the characters displayed on the screen.

【0003】[0003]

【発明が解決しようとする課題】しかし、ノートパソコ
ンや電子手帳のように持ち歩くことを前提に作られた装
置は携帯性を考えて全体の作りが小さいため画面も小さ
く表示出来る文字数も少ないことが多い。そのため縦書
き文書を横長の画面に表示したり横書き文書を縦長画面
に表示する場合は、特に上下や左右のスクロールを多く
行いながら文書を読んだり書いたりしなくてはならなか
った。
However, devices made on the premise of being carried around, such as a notebook personal computer or an electronic organizer, are small in size as a whole because of their portability. Many. Therefore, when a vertically written document is displayed on a horizontally long screen or a horizontally written document is displayed on a vertically long screen, the document must be read or written while scrolling up and down or left and right in particular.

【0004】[0004]

【課題を解決するための手段】本装置は縦横の長さの異
なる表示画面で文書を読み書きする場合に、縦書きの文
書を扱う場合は画面を縦長に、横書きの文書を扱う場合
は画面を横長に自動的に切り替える手段を設けることに
より、列方向のスクロール回数を減らしてユーザの操作
負担を軽くするようにし、また用紙全体をレイアウト表
示する場合は用紙を横長に使っている場合は画面も横長
に、逆に縦長に使っている場合は画面も縦長に表示し
て、ディスプレイを効率よく使用するようにしたもので
ある。
When reading and writing a document on a display screen having different vertical and horizontal lengths, the present apparatus uses a vertical screen when handling a vertically written document, and a screen when handling a horizontally written document. By providing a means to automatically switch to landscape mode, the number of scrolls in the column direction is reduced to reduce the user's operation burden, and when displaying the entire paper layout, the screen is also used when the paper is used horizontally. When the display is used horizontally or vertically, the screen is displayed vertically so that the display can be used efficiently.

【0005】[0005]

【発明の実施の形態】図1は本発明の一実施例を示すフ
ローチャートである。本装置はシステムを制御するプロ
セッサ1、タブレット&ペンやキーボード等の入力部
2、文書データ等を格納するメモリカードドライブやフ
ロッピーディスク等の記憶部3、文字フォントやシステ
ムの制御プログラムを格納するROM4とプログラムを
実行するワークエリアとなるRAM5、文書等の表示装
置とペン入力タブレットを兼ねる液晶等の表示画面6、
文書の表示データを構成するためのバッファとなるVR
AMやコントローラからなる表示部7、各々の装置間を
つなぐシステムバス8から構成される。
FIG. 1 is a flowchart showing one embodiment of the present invention. The apparatus includes a processor 1 for controlling the system, an input unit 2 such as a tablet and pen and a keyboard, a storage unit 3 such as a memory card drive or a floppy disk for storing document data, and a ROM 4 for storing character fonts and system control programs. A RAM 5 serving as a work area for executing programs, a display device 6 for displaying documents and the like, and a display screen 6 such as a liquid crystal device also serving as a pen input tablet.
VR serving as a buffer for configuring document display data
It comprises a display unit 7 composed of an AM and a controller, and a system bus 8 connecting each device.

【0006】図2はROM4に格納されている文書の縦
横表示切り替えプログラムのフローチャートであり、図
3は文書データの例である。文書データは、文書である
ことを示すデータ識別コードや、文書を印刷する時の用
紙サイズや用紙方向、文字のサイズ等の情報が書き込ま
れたヘッダ部分と、実際の文書を構成する文字コードの
羅列であるテキストデータ部分から成る。
FIG. 2 is a flowchart of a program for switching between vertical and horizontal display of a document stored in the ROM 4, and FIG. 3 is an example of document data. The document data includes a data identification code indicating that the document is a document, a header portion in which information such as a paper size and a paper direction at the time of printing the document, and a character size are written, and a character code of an actual document. It consists of a text data part that is a list.

【0007】図4はシステムを起動したときに最初に表
示されるメニュー画面で、本例では通常このように横長
に画面を使用しているが、通常縦長に使用するシステム
でも同様に考えることが出来る。まず、ユーザが文書を
ゼロから作成する場合はステップ100で図4のメニュ
ーの新規文書作成を選択指定する。するとステップ10
02に進んでRAM5上に新規文書を書き込むエリアが
用意される。そして、ステップ103で図3の文書デー
タのヘッダ部分を作成するために図5のような書式設定
画面で書式設定を行う。ユーザは図5の画面でこれから
作成する文書のための用紙のサイズや用紙方向、文字列
方向(縦書き/横書き)、段組み、文字のサイズや文字
ピッチ行ピッチ、などを電子ペン2を使って選択指定す
る。システムはRAM5上に用意された文書データのエ
リアにユーザが指定した結果のデータを書き込みヘッダ
部分を作成する。それから、文書の入力編集画面に切り
替り、図3のテキストコードの羅列からなる文書データ
の作成作業を行うことになる。この文書入力編集画面に
入るとき、ステップ105で書式設定の文字列方向で横
書きが指定されていれば、図6のような画面を横長に使
用する通常の文書入力編集画面となり、縦書きが指定さ
れていると図7のような縦書きの編集画面となる。
FIG. 4 shows a menu screen which is displayed first when the system is started. In this example, the screen is usually used horizontally in this manner. However, the same applies to a system which is normally used vertically. I can do it. First, when the user creates a document from scratch, in step 100, the user selects and designates creation of a new document from the menu in FIG. Then step 10
In step 02, an area for writing a new document on the RAM 5 is prepared. Then, in step 103, format setting is performed on a format setting screen as shown in FIG. 5 in order to create a header portion of the document data in FIG. The user uses the electronic pen 2 on the screen of FIG. 5 to specify the paper size and paper direction, the character string direction (vertical writing / horizontal writing), the column structure, the character size and the character pitch line pitch for the document to be created. To select. The system writes the data of the result specified by the user in the area of the document data prepared on the RAM 5 and creates a header portion. Then, the screen is switched to a document input / edit screen, and the work of creating document data composed of the text code strings shown in FIG. 3 is performed. When entering the document input / edit screen, if horizontal writing is designated in the character string direction of the format setting in step 105, the screen becomes a normal document input / edit screen using the screen as shown in FIG. Then, an editing screen for vertical writing as shown in FIG. 7 is displayed.

【0008】また、新規の文書ではなく既に作成されて
いる文書を更新したい場合は、ステップ101で文書更
新を選択する。そしてステップ104でユーザが指定し
た更新する文書を記憶部3から読み出してRAM5上に
転送し、ステップ105でヘッダ部分の文字列方向を読
んで縦書きと横書きで文書入力編集画面を切り替えて、
既製の文書を表示する。文書データのテキストコードの
示す文字フォントを順次表示バッファに転送することに
よって文字が表示装置に表示される。文字の表示は、図
6と図7に示すように横書きと縦書きで文字の方向が異
なるだけである。横書きの場合は横書き用のフォント
を、縦書きの場合は縦書き用のフォントを用いればよく
表示用バッファへの転送位置は変わらない。図6の横書
き画面では横書き用フォントをまた、図7の縦書き画面
では縦書き用フォントを表示用バッファの左上から右下
へと順に並べてゆくことで画面の文書表示方向を切り替
えていることになる。画面に表示出来るのは表示用バッ
ファの一部であり、表示用バッファにフォントを転送出
来るのも全体文書の一部なので、システムは、ユーザの
カーソル操作やスクロールバーの操作にしたがって表示
バッファ上の表示されている位置を変更したり表示用バ
ッファに新しくフォントを転送したりする。
If the user wants to update a document that has been created instead of a new document, he or she selects document update in step 101. In step 104, the document to be updated specified by the user is read from the storage unit 3 and transferred to the RAM 5. In step 105, the character string direction of the header part is read, and the document input / edit screen is switched between vertical writing and horizontal writing.
View ready-made documents. Characters are displayed on the display device by sequentially transferring the character fonts indicated by the text code of the document data to the display buffer. As shown in FIG. 6 and FIG. 7, the display of characters is only different in the direction of characters between horizontal writing and vertical writing. In the case of horizontal writing, a font for horizontal writing may be used, and in the case of vertical writing, a font for vertical writing may be used, and the transfer position to the display buffer does not change. In the horizontal writing screen of FIG. 6, fonts for horizontal writing are displayed, and in the vertical writing screen of FIG. 7, the fonts for vertical writing are arranged in order from the upper left to the lower right of the display buffer, thereby switching the document display direction of the screen. Become. Since the part of the display buffer that can be displayed on the screen and the font that can be transferred to the display buffer is part of the entire document, the system uses the display buffer in accordance with the user's cursor operation and scroll bar operation. Change the displayed position or transfer a new font to the display buffer.

【0009】文字の入力編集は、キーボードや電子ペン
の軌跡を文字認識した結果得た文字コードをRAM5の
文書データのテキストエリアに書き込んだり、既に書き
込まれたテキストコードを変更したり削除したりする作
業である。本システムでは図6と図7に示すようにペン
で入力された線の軌跡を文字として認識するための部分
を含め、縦書きと横書きで画面の文書表示エリアの大き
さは変わらないように画面の方向を切り替える。ペン入
力のための画面の座標系は、図6と図7に示すように画
面左上を原点としている。従って、図6のように通常の
横書きの場合を(x,y)とすると、縦書きの(x’,
y’)はx’=−y、y’=xとして置き換えればよい
ので、文字入力のための座標計算プログラムは両方共通
に使用出来る。キーボードから文字コードを入力する場
合にはこうした領域は必要無いため問題ない。システム
はユーザの文書入力編集操作に応じてRAM5の文書デ
ータの新たに増えたテキストコードまたは書き替えられ
たテキストコードに対応する表示用文字フォントをRO
M4から読み出し、表示位置を計算して表示部7の表示
用バッファ上に転送して画面に文字が入力されたり既に
ある文字が変更されたりする。この画面の方向の切り替
えにより、画面の長い側を文字列方向として用いること
になり、各行ごとに行わなくてはならない文字方向のス
クロール回数を減らすことが出来る。
In the input and editing of characters, a character code obtained as a result of character recognition of the trajectory of the keyboard or the electronic pen is written in the text area of the document data in the RAM 5, or the already written text code is changed or deleted. Work. In this system, as shown in FIGS. 6 and 7, including the part for recognizing the trajectory of the line input with the pen as a character, the screen size of the document display area on the screen is not changed between vertical writing and horizontal writing. Switch direction. As shown in FIGS. 6 and 7, the coordinate system of the screen for pen input has the origin at the upper left of the screen. Therefore, assuming that the case of normal horizontal writing is (x, y) as shown in FIG.
Since y ′) can be replaced by x ′ = − y and y ′ = x, both coordinate calculation programs for character input can be used in common. When inputting a character code from the keyboard, there is no problem because such an area is not necessary. The system sets the display character font corresponding to the newly added text code or the rewritten text code of the document data in the RAM 5 in accordance with the user's document input / edit operation.
M4 is read out, the display position is calculated and transferred to the display buffer of the display unit 7, and characters are input to the screen or existing characters are changed. By switching the screen direction, the long side of the screen is used as the character string direction, and the number of scrolls in the character direction that must be performed for each line can be reduced.

【0010】ステップ110の文書の入力編集作業中
に、文書を用紙に印刷したときの用紙全体のレイアウト
を見たい場合がある。この時は、図6または図7のレイ
アウト表示ボタンを指示する。レイアウト表示が指示さ
れると、システムは図8のような用紙に該当文書を印刷
したときの縮小イメージを表示する。図9はレイアウト
表示のプログラムのフローチャートである。図8は本シ
ステムで用紙を横長に使った場合(a)と縦長(b)に
使った場合のレイアウト画面の表示例である。図8に示
すようにレイアウト表示では文字の横書き縦書きとは関
係無く、用紙を縦長に使う場合は画面も縦長に、用紙を
横長に使う場合は画面も横長に用いる。レイアウト指示
ボタンが押されると、ステップ201でまずRAM5上
の文書データの印刷用紙の縦横比を計算する。その計算
結果から、ステップ202で用紙の大きさを示す枠を表
示するための縮尺を計算する。この枠は、図8に示すよ
うに用紙の縦横比を保った状態で、画面の短い側か長い
側のどちらかを長さ一杯になるような縮尺で縮小するよ
うにする。そして、ステップ203で文字入力枠と同様
に横に長い用紙の場合は通常の(x,y)座標系で、縦
に長い用紙の場合は(x’,y’)座標系で表示位置等
を計算するように内部の計算プログラムを設定し、ステ
ップ207で用紙の縮尺に応じた文字位置を算出し、文
字を示すマークか職小処理した表示フォントを算出した
文字位置に転送して表示する。ステップ208で文書の
すべての文字について計算表示処理を繰り返しレイアウ
ト画面を作成する。この切り替えにより、より自然なレ
イアウト画面を表示することが出来る。
During the input / edit operation of the document in step 110, there is a case where it is desired to view the layout of the entire sheet when the document is printed on the sheet. At this time, the user designates the layout display button shown in FIG. 6 or FIG. When the layout display is instructed, the system displays a reduced image when the document is printed on a sheet as shown in FIG. FIG. 9 is a flowchart of a layout display program. FIG. 8 is a display example of a layout screen in a case where the paper is used horizontally (a) and in a case where the paper is used vertically (b) in this system. As shown in FIG. 8, in the layout display, regardless of the horizontal writing and vertical writing of characters, the screen is used in portrait when the paper is used in portrait, and the screen is used in landscape when using the paper in landscape. When the layout instruction button is pressed, in step 201, the aspect ratio of the printing paper of the document data on the RAM 5 is calculated. From the calculation result, in step 202, a scale for displaying a frame indicating the size of the sheet is calculated. As shown in FIG. 8, this frame is reduced on a reduced scale such that either the short side or the long side of the screen is full length while maintaining the aspect ratio of the sheet. In step 203, the display position and the like are set in a normal (x, y) coordinate system for a horizontally long sheet, and in a (x ', y') coordinate system for a vertically long sheet, like the character input frame. An internal calculation program is set so as to calculate, a character position corresponding to the scale of the sheet is calculated in step 207, and a mark indicating a character or a display font which has been processed is transferred to the calculated character position and displayed. In step 208, the calculation display process is repeated for all the characters of the document to create a layout screen. By this switching, a more natural layout screen can be displayed.

【0011】[0011]

【発明の効果】本発明によれば、比較的小さなディスプ
レイを使用して文書の作成編集を行う場合に、縦書きの
文書を扱う場合は画面を縦長に、横書きの文書を扱う場
合は画面を横長に自動的に切り替える手段を設けること
により、列方向のスクロール回数を減らしてユーザの操
作負担を軽くするようにし、また用紙全体をレイアウト
表示する場合は用紙を横長に使っている場合は画面も横
長に、逆に縦長に使っている場合は画面も縦長に表示し
て、画面を効率良く使用出来る。
According to the present invention, when a document is created and edited using a relatively small display, the screen is set to be vertically long when handling a vertically written document, and the screen is set when handling a horizontally written document. By providing a means to automatically switch to landscape mode, the number of scrolls in the column direction is reduced to reduce the user's operation burden, and when displaying the entire paper layout, the screen is also used when the paper is used horizontally. When the screen is used horizontally or vertically, the screen is displayed vertically so that the screen can be used efficiently.

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

【図1】本発明の1実施例を示す装置のブロック図。FIG. 1 is a block diagram of an apparatus showing one embodiment of the present invention.

【図2】画面方向切り替えのフローチャート。FIG. 2 is a flowchart of screen direction switching.

【図3】文書データの一例を示す説明図。FIG. 3 is an explanatory diagram showing an example of document data.

【図4】メニュー画面の例を示す説明図。FIG. 4 is an explanatory diagram showing an example of a menu screen.

【図5】書式設定画面の例を示す説明図。FIG. 5 is an explanatory diagram showing an example of a format setting screen.

【図6】横書き文書の入力編集画面の例を示す説明図。FIG. 6 is an explanatory diagram showing an example of an input editing screen for a horizontally written document.

【図7】縦書き文書の入力編集画面の例を示す説明図。FIG. 7 is an explanatory diagram showing an example of an input editing screen for a vertically written document.

【図8】レイアウト画面の方向切り替えプログラムのフ
ローチャート。
FIG. 8 is a flowchart of a layout screen direction switching program.

【図9】レイアウト画面の表示例を示す説明図。FIG. 9 is an explanatory diagram showing a display example of a layout screen.

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

1…プロセッサ、 2…入力部、 3…記憶部、 4…ROM、 5…RAM、 6…表示画面、 7…表示部、 8…システムバス。 DESCRIPTION OF SYMBOLS 1 ... Processor, 2 ... Input part, 3 ... Storage part, 4 ... ROM, 5 ... RAM, 6 ... Display screen, 7 ... Display part, 8 ... System bus.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】電子的に作成された文字コードの羅列から
なる文書データをストアするメモリ手段と、表示画面に
表示する文字のパターン情報であるフォントデータを記
憶する手段と、電子的に作成された文書を表示するため
の表示画面および表示情報をビットマップの形でストア
する表示手段と、前記文書データを構成する前記文字コ
ードに該当するフォントをフォント記憶手段からを読み
出し前記表示手段のバッファに書き込んで表示画面に文
書を表示する手段を持つ電子文書作成表示装置におい
て、前記表示画面が縦横どちらかが長い場合に、前記表
示画面の長い側が行側となるように文書を表示する画面
表示方向の切り替え手段を有することを特徴とする文書
作成表示装置。
A memory means for storing document data consisting of a series of character codes created electronically, a means for storing font data as pattern information of characters to be displayed on a display screen, Means for storing a display screen and display information in the form of a bit map for displaying a document, and a font corresponding to the character code constituting the document data read out from a font storage means to a buffer of the display means. In an electronic document creation display device having means for writing and displaying a document on a display screen, a screen display direction for displaying a document such that a long side of the display screen is a line side when the display screen is long in either the vertical or horizontal direction. A document creation and display device comprising:
【請求項2】請求項1において、印刷用紙に対する文書
の配置状態を見る場合は、前記印刷用紙の長い側が表示
画面の長い側となる向きに文書の配置状態を表示する画
面表示方向の切り替え手段を有する文書作成表示装置。
2. A screen display direction switching means for displaying an arrangement state of a document in a direction in which a long side of the print sheet is a long side of a display screen when the arrangement state of a document on a print sheet is viewed. Document creation display device having
JP8180390A 1996-07-10 1996-07-10 Document preparation and display device Pending JPH1027170A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8180390A JPH1027170A (en) 1996-07-10 1996-07-10 Document preparation and display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8180390A JPH1027170A (en) 1996-07-10 1996-07-10 Document preparation and display device

Publications (1)

Publication Number Publication Date
JPH1027170A true JPH1027170A (en) 1998-01-27

Family

ID=16082406

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8180390A Pending JPH1027170A (en) 1996-07-10 1996-07-10 Document preparation and display device

Country Status (1)

Country Link
JP (1) JPH1027170A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005301754A (en) * 2004-04-13 2005-10-27 Olympus Corp Transcription device and dictation system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005301754A (en) * 2004-04-13 2005-10-27 Olympus Corp Transcription device and dictation system

Similar Documents

Publication Publication Date Title
JPH09128391A (en) Document processor
JP3268029B2 (en) Handwriting input device
JPH1027170A (en) Document preparation and display device
JP2692063B2 (en) Document processing device
JPH07141092A (en) Handwritten data input device
JPH1055431A (en) Image processor
JP2815158B2 (en) Character processor
JPS63149759A (en) Document editing device
JPH08137865A (en) Character information processor with address book managing function
JP4463487B2 (en) Display device, display method, and printing device
JPH04247561A (en) Document processor
JP3089063B2 (en) Word processor
JP2606579B2 (en) Character display device
JP2700001B2 (en) Character data output device
JP2592840B2 (en) Character processor
JP2000177293A (en) Liquid crystal display type electronic blackboard device
JP3404770B2 (en) Document processing device
JPH07114543A (en) Document processor
JP3143503B2 (en) Image processing method and apparatus
JPH0728790A (en) Method and device for document processing
JPH05189424A (en) Device and method for editing document
JPS63273158A (en) Document preparing device
JP2000215197A (en) Text processor with guide display function and storage medium storing program for its text processing
JPS63155356A (en) Document editing device
JPS63285587A (en) Character processor