JPH1186017A - Information processing apparatus and method - Google Patents
Information processing apparatus and methodInfo
- Publication number
- JPH1186017A JPH1186017A JP9246757A JP24675797A JPH1186017A JP H1186017 A JPH1186017 A JP H1186017A JP 9246757 A JP9246757 A JP 9246757A JP 24675797 A JP24675797 A JP 24675797A JP H1186017 A JPH1186017 A JP H1186017A
- Authority
- JP
- Japan
- Prior art keywords
- document
- information processing
- handwritten stroke
- input
- font
- 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.)
- Withdrawn
Links
Landscapes
- Processing Or Creating Images (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
(57)【要約】
【課題】 手書きストロークを含むマルチメディアドキ
ュメントを、作成時と異なる環境下で表示する際に、作
成時のレイアウト通りに正確かつ効率的に再現表示する
ことができる情報処理装置及びその方法を提供する。
【解決手段】 複数種類の描画オブジェクトを用いてド
キュメントをドキュメントレイヤ部202で作成する。
その作成されたドキュメントに手書きストロークを手書
きストロークレイヤ部201より入力する。そして、手
書きストロークが入力されたドキュメントを表示する場
合の表示先の環境変数データ部208の内容に基づい
て、その手書きストロークを手書きストローク変形部2
06で変形する。
(57) [Problem] To provide an information processing apparatus capable of accurately and efficiently reproducing and displaying a multimedia document including handwritten strokes according to a layout at the time of creation when the multimedia document is displayed in an environment different from that at the time of creation. And a method thereof. A document is created by a document layer unit using a plurality of types of drawing objects.
A handwritten stroke is input from the handwritten stroke layer unit 201 to the created document. Then, based on the contents of the environment variable data unit 208 as the display destination when displaying the document in which the handwritten stroke is input, the handwritten stroke is converted to the handwritten stroke deformation unit 2.
Deform at 06.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、複数種類の描画オ
ブジェクトが混在する複合ドキュメントを処理する情報
処理装置及びその方法に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing apparatus and method for processing a compound document in which a plurality of types of drawing objects are mixed.
【0002】[0002]
【従来の技術】近年、コンピュータのCPU速度の高速
化とネットワークインフラの整備と共にマルチメディア
オブジェクト(テキスト、ビットマップ画像、動画像、
音声等)を取り扱うことが容易になってきている。これ
らのマルチメディアオブジェクトを混在させたマルチメ
ディアドキュメント(複合ドキュメントとも呼ぶ)を作
成、表示するアプリケーションが登場している。このア
プリケーションの代表的なものとして、WWWブラウザ
アプリケーションがある。このWWWブラウザアプリケ
ーションでは、マルチメディアドキュメントの作成者が
テキスト情報やビットマップ画像情報を表示するための
HTML(Hyper Text Markup Language)スクリプトを
記述してHTMLファイルとしてサーバー上に格納す
る。遠隔地の受信者は通信手段を用いてサーバーからH
TMLファイルをダウンロードし、内容を解析してアプ
リケーションウィンドウ内にそれぞれのマルチメディア
オブジェクト情報をレイアウト表示している。2. Description of the Related Art In recent years, multimedia objects (texts, bitmap images, moving images,
Voice, etc.). Applications that create and display multimedia documents (also called compound documents) in which these multimedia objects are mixed have appeared. A typical example of this application is a WWW browser application. In the WWW browser application, a creator of a multimedia document describes an HTML (Hyper Text Markup Language) script for displaying text information and bitmap image information, and stores the script on a server as an HTML file. The remote recipient can use communication means to send H
The TML file is downloaded, the contents are analyzed, and the multimedia object information is laid out and displayed in the application window.
【0003】また、最近のペンデバイスを用いた携帯型
の端末機器の中には、電子メールアプリケーションを使
ってマルチメディアドキュメントを送受信できるものも
あり、このドキュメント上に手書きストロークによる上
書き繰作で注釈・コメントや強調マークを付加できるも
のもある。[0003] Some recent portable terminal devices using a pen device can transmit and receive a multimedia document using an electronic mail application, and annotate the document with overwriting by handwriting strokes.・ In some cases, comments and emphasis marks can be added.
【0004】[0004]
【発明が解決しようとする課題】しかしながら、上記従
来例に見るマルチメディアドキュメントを処理可能なア
プリケーションを有する端末では、以下にあげる問題点
がある。まず、上書き記入された手書きストロークを含
むマルチメディアドキュメントの表示レイアウト構造
が、受信側端末の相違により、必ずしも作成時のレイア
ウト通りに表現されないという問題点があった。なぜな
ら、手書きストロークによる上書き入力は、テキストと
ビットマップ画像にまたがって入力される場合もあれ
ば、ドキュメント内の空白領域に手書きストロークだけ
を入力する場合もある。そのため、この上書きされた手
書きストロークの入力位置を特定のオブジェクトに関連
・対応させることは困難であり、上記従来例の一般的な
WWWブラウザアプリケーションが実現するマルチメデ
ィアドキュメントの表示レイアウトが端末環境によって
相違する状況では、正確かつ最適に手書きストロークの
表示レイアウトを再現することはできなかった。つま
り、ユーザが所望する手書きストロークの入力位置から
ずれて表示されたり、サイズが異なって表示されてしま
っていた。However, a terminal having an application capable of processing a multimedia document as shown in the above-mentioned conventional example has the following problems. First, there is a problem in that the display layout structure of a multimedia document including overwritten handwritten strokes is not always represented in the layout at the time of creation due to the difference in receiving terminals. This is because the overwriting input using a handwritten stroke may be performed over a text and a bitmap image, or may be performed only on a blank area in a document. Therefore, it is difficult to associate or correspond the input position of the overwritten handwritten stroke with a specific object, and the display layout of a multimedia document realized by the above-described general WWW browser application differs depending on the terminal environment. Under such circumstances, the display layout of the handwritten strokes cannot be accurately and optimally reproduced. That is, the handwritten stroke is displayed at a position shifted from the input position of the handwriting stroke desired by the user, or displayed at a different size.
【0005】一方で、このような位置ずれを解消する手
段として、マルチメディアドキュメントの作成時には個
々のマルチメディアオブジェクトを配置し、マルチメデ
ィアドキュメントの保存・送信時には、マルチメディア
ドキュメント全体をビットマップ画像形式に変換して行
う電子メールアプリケーションがある。しかしながら、
このアプリケーションは受信側端末において再現表示す
る際に正確なレイアウトを再現できるかわりに、送受信
時のデータ量が大きくなってしまい、ネットワークに大
きな負荷を与えてしまうという問題点があった。また、
受信側ではマルチメディアドキュメントはビットマップ
画像となっていので、マルチメディアドキュメント内に
存在する各マルチメディアオブジェクト毎の編集作業が
行えないという問題点もあった。[0005] On the other hand, as a means for eliminating such misalignment, individual multimedia objects are arranged at the time of creating a multimedia document, and the entire multimedia document is converted into a bitmap image format at the time of storage and transmission of the multimedia document. There is an e-mail application that converts and converts it to. However,
This application has a problem that, instead of being able to reproduce an accurate layout at the time of reproducing and displaying on the receiving terminal, the amount of data during transmission and reception becomes large, and a heavy load is imposed on the network. Also,
On the receiving side, since the multimedia document is a bitmap image, there is also a problem that the editing operation cannot be performed for each multimedia object existing in the multimedia document.
【0006】本発明は上記の問題点に鑑みてなされたも
のであり、手書きストロークを含むマルチメディアドキ
ュメントを、作成時と異なる環境下で表示する際に、作
成時のレイアウト通りに正確かつ効率的に再現表示する
ことができる情報処理装置及びその方法を提供すること
を目的とする。SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and is intended to display a multimedia document including handwritten strokes in an environment different from that at the time of creation, accurately and efficiently according to the layout at the time of creation. It is an object of the present invention to provide an information processing apparatus and a method thereof that can be reproduced and displayed on a computer.
【0007】[0007]
【課題を解決するための手段】上記の目的を達成するた
めの本発明による情報処理装置は以下の構成を備える。
即ち、複数種類の描画オブジェクトが混在する複合ドキ
ュメントを処理する情報処理装置であって、前記複数種
類の描画オブジェクトを用いてドキュメントを作成する
作成手段と、前記ドキュメントに手書きストロークを入
力する入力手段と、前記入力手段によって手書きストロ
ークが入力されたドキュメントを表示する場合の表示先
の環境設定情報に基づいて、該手書きストロークを変形
する変形手段とを備える。An information processing apparatus according to the present invention for achieving the above object has the following arrangement.
That is, an information processing apparatus that processes a compound document in which a plurality of types of drawing objects are mixed, a creating unit that creates a document using the plurality of types of drawing objects, and an input unit that inputs a handwritten stroke in the document. And a deforming means for deforming the handwritten stroke based on environment setting information of a display destination when a document in which the handwritten stroke is input by the input means is displayed.
【0008】また、好ましくは、前記変形手段は、前記
ドキュメントのテキストオブジェクトに用いられている
テキストフォントに関するフォント情報に基づいて、前
記手書きストロークを変形する。また、好ましくは、前
記フォント情報は、テキストフォントのポイント数であ
る。Preferably, the deforming means deforms the handwritten stroke based on font information on a text font used for a text object of the document. Preferably, the font information is a point number of a text font.
【0009】また、好ましくは、前記作成手段で作成さ
れたドキュメントを構成する描画オブジェクトと、前記
入力手段で入力された手書きストロークを対応づけて記
憶する。また、好ましくは、前記作成手段で作成された
ドキュメントを構成する描画オブジェクトを表示するた
めの第1表示領域と、前記入力手段で入力される手書き
ストロークを表示するための第2表示領域との表示を制
御する表示制御手段とを更に備える。[0009] Preferably, a drawing object constituting a document created by said creating means and a handwritten stroke input by said input means are stored in association with each other. Preferably, a first display area for displaying a drawing object constituting a document created by the creation means and a second display area for displaying a handwritten stroke input by the input means are displayed. And display control means for controlling
【0010】また、好ましくは、前記表示制御手段は、
前記第1表示領域に前記第2表示領域を重ね合わせて表
示する。また、好ましくは、前記第2表示領域は、その
背景色が無色透明である。また、好ましくは、前記描画
オブジェクトは、少なくともテキスト、ビットマップ、
ドロー図形、動画を含む。Preferably, the display control means includes:
The second display area is displayed so as to overlap the first display area. Preferably, the background color of the second display area is colorless and transparent. Also, preferably, the drawing object is at least a text, a bitmap,
Including draw figures and animations.
【0011】上記の目的を達成するための本発明による
情報処理方法は以下の構成を備える。即ち、複数種類の
描画オブジェクトが混在する複合ドキュメントを処理す
る情報処理方法であって、前記複数種類の描画オブジェ
クトを用いてドキュメントを作成する作成工程と、前記
ドキュメントに手書きストロークを入力する入力工程
と、前記入力工程によって手書きストロークが入力され
たドキュメントを表示する場合の表示先の環境設定情報
に基づいて、該手書きストロークを変形する変形工程と
を備える。An information processing method according to the present invention for achieving the above object has the following configuration. That is, an information processing method for processing a compound document in which a plurality of types of drawing objects are mixed, a creating step of creating a document using the plurality of types of drawing objects, and an inputting step of inputting a handwritten stroke in the document And a deforming step of deforming the handwritten stroke based on environment setting information of a display destination when a document in which the handwritten stroke is input in the input step is displayed.
【0012】上記の目的を達成するための本発明による
コンピュータ可読メモリは以下の構成を備える。即ち、
複数種類の描画オブジェクトが混在する複合ドキュメン
トを処理する情報処理のプログラムコードが格納された
コンピュータ可読メモリであって、前記複数種類の描画
オブジェクトを用いてドキュメントを作成する作成工程
のプログラムコードと、前記ドキュメントに手書きスト
ロークを入力する入力工程のプログラムコードと、前記
入力工程によって手書きストロークが入力されたドキュ
メントを表示する場合の表示先の環境設定情報に基づい
て、該手書きストロークを変形する変形工程のプログラ
ムコードとを備える。A computer readable memory according to the present invention for achieving the above object has the following configuration. That is,
A computer-readable memory storing a program code of information processing for processing a compound document in which a plurality of types of drawing objects are mixed, wherein a program code of a creation step of creating a document using the plurality of types of drawing objects, A program for a transformation step for transforming a handwritten stroke based on program code of an input step of inputting a handwritten stroke in a document and environment setting information of a display destination when displaying the document in which the handwritten stroke is input in the input step And a code.
【0013】[0013]
【発明の実施の形態】以下、図面を参照して本発明の好
適な実施形態を詳細に説明する。 (実施形態1)図1は本発明に係る実施形態1の情報処
理装置の基本構成を示すブロック図である。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described below in detail with reference to the drawings. (Embodiment 1) FIG. 1 is a block diagram showing a basic configuration of an information processing apparatus according to Embodiment 1 of the present invention.
【0014】CPU101は、システムの制御及び演算
を行う中央処理装置である。ROM102は、システム
起動時に必要な初期化プログラム等のプログラムが格納
されている。RAM103は、入出力可能な記憶装置で
あり、外部記憶装置104に記憶されている手書きスト
ローク情報処理プログラム等のプログラムを一時的に記
憶する。RAM103内のワークエリアはプログラムの
計算時に用いる。The CPU 101 is a central processing unit for controlling and calculating the system. The ROM 102 stores programs such as an initialization program required at the time of starting the system. The RAM 103 is an input / output storage device, and temporarily stores a program such as a handwritten stroke information processing program stored in the external storage device 104. The work area in the RAM 103 is used when calculating a program.
【0015】プログラムの実行状況を表示する液晶ディ
スプレイ105と手書きストロークデータを装置内部に
送り込むディジタイザ106は、入出力一体型装置とし
て構成されている。そして、入力ペン107を用いて手
書きストロークをディジタイザ106に入力すると、そ
の軌跡が液晶ディスプレイ105に表示される。外部記
憶装置104には、装置の起動状態を制御する環境変数
データや手書きストローク情報処理プログラム等のプロ
グラムが記憶されている。これらのデータやプログラム
は、RAM103に転送された後、RAM103からC
PU101によって読み出されて実行される。通信装置
108は装置に接続されているネットワークを用いてデ
ータ通信するためのモデム等の通信機器である。A liquid crystal display 105 for displaying the execution status of the program and a digitizer 106 for sending handwritten stroke data into the apparatus are configured as an input / output integrated apparatus. Then, when the handwriting stroke is input to the digitizer 106 using the input pen 107, the locus is displayed on the liquid crystal display 105. The external storage device 104 stores programs such as environment variable data for controlling the activation state of the device and a handwritten stroke information processing program. After these data and programs are transferred to the RAM 103,
It is read and executed by the PU 101. The communication device 108 is a communication device such as a modem for performing data communication using a network connected to the device.
【0016】尚、液晶ディスプレイ105以外に他の表
示装置、例えば、CRT等を用いることも可能である。
次に実施形態1の情報処理装置の機能構成について、図
2を用いて説明する。図2は本発明に係る実施形態1の
情報処理装置の機能構成を示す図である。図2におい
て、手書きストロークを含む複数種類の描画オブジェク
トから構成される複合ドキュメントの作成・表示処理を
実現する機能構成として、手書きストロークレイヤ部2
01、ドキュメントレイヤ部202、レイヤ表示調整部
203、複合ドキュメント保存部204、リサイズ部2
05、手書きストローク変形部206、レイアウト解析
部207、環境変数データ部208が構成されている。It should be noted that other display devices than the liquid crystal display 105, for example, a CRT or the like can be used.
Next, a functional configuration of the information processing apparatus according to the first embodiment will be described with reference to FIG. FIG. 2 is a diagram illustrating a functional configuration of the information processing apparatus according to the first embodiment of the present invention. In FIG. 2, a handwritten stroke layer unit 2 is provided as a functional configuration for realizing a process of creating and displaying a compound document composed of a plurality of types of drawing objects including handwritten strokes.
01, document layer unit 202, layer display adjustment unit 203, compound document storage unit 204, resize unit 2
05, a handwritten stroke transformation unit 206, a layout analysis unit 207, and an environment variable data unit 208.
【0017】手書きストロークレイヤ部201では、入
力ペン107による手書きストロークをディジタイザ1
06を通してその座標情報を獲得する。そして、その獲
得した座標情報を、手書きストロークオブジェクトの内
部データとしてRAM103上の手書きストロークオブ
ジェクト記憶領域に保存する。尚、この座標情報は、座
標を示す情報と入力順を示す時間情報とを含む点列デー
タで表される。また、この手書きストロークを表示する
ための手書きストロークレイヤウィンドウを作成する。
このウィンドウは、その背景色が無色透明なウィンドウ
として存在する。The handwriting stroke layer unit 201 converts a handwriting stroke by the input pen 107 into a digitizer 1
06, the coordinate information is obtained. Then, the acquired coordinate information is stored in the handwritten stroke object storage area on the RAM 103 as internal data of the handwritten stroke object. The coordinate information is represented by point sequence data including information indicating coordinates and time information indicating an input order. Further, a handwritten stroke layer window for displaying the handwritten stroke is created.
This window exists as a window whose background color is colorless and transparent.
【0018】ドキュメントレイヤ部202では、ドキュ
メント上にテキストを作成したり、ビットマップ画像を
貼り付ける。これらは、それぞれテキストオブジェク
ト、ビットマップオブジェクトの内部データとしてRA
M103上のドキュメントオブジェクト記憶領域に保存
する。また、これらのオブジェクトは、ドキュメントレ
イヤウィンドウ上に二次元的に配置されることによって
レイアウト表示される。In the document layer unit 202, a text is created on a document or a bitmap image is pasted. These are RAs as internal data of text objects and bitmap objects, respectively.
The document is stored in the document object storage area on M103. Further, these objects are displayed in a layout by being two-dimensionally arranged on the document layer window.
【0019】レイヤ表示調整部203では、ドキュメン
トレイヤウィンドウと手書きストロークレイヤウィンド
ウの表示管理を行う。また、ドキュメントレイヤウィン
ドウの上に手書きストロークレイヤウィンドウを重ね合
わす処理も行い、あたかも手書きストロークオブジェク
トがドキュメントオブジェクト上に上書きされているよ
うに表示する。The layer display adjusting section 203 manages the display of the document layer window and the handwritten stroke layer window. Further, a process of superimposing the handwritten stroke layer window on the document layer window is also performed, and the handwritten stroke object is displayed as if it had been overwritten on the document object.
【0020】このように二種類のレイヤウィンドウを重
ね合わすことにより、複数種類の描画オブジェクトが複
合化された一つの複合ドキュメントが作成される。そし
て、複合ドキュメント保存部204では、それぞれのレ
イヤウィンドウ内の描画オブジェクトをフォーマット化
して保存する。レイアウト解析部207では、外部記憶
装置104に記憶されている環境変数データ(環境変数
データ部208)から必要なデータを読み出す。そし
て、ドキュメントオブジェクト(テキストオブジェク
ト、ビットマップオブジェクト)の表示レイアウト方法
や、手書きストロークオブジェクトがドキュメントオブ
ジェクトと位置ずれしないように位置ずれ補正値を計算
する。As described above, by overlaying the two types of layer windows, one composite document in which a plurality of types of drawing objects are composited is created. Then, the compound document storage unit 204 formats and stores the drawing object in each layer window. The layout analysis unit 207 reads necessary data from environment variable data (environment variable data unit 208) stored in the external storage device 104. Then, a display layout method of the document object (text object, bitmap object), and a misregistration correction value are calculated so that the handwritten stroke object does not misalign with the document object.
【0021】リサイズ部205では、テキストフォント
種類、フォントサイズの変更やビットマップ画像の拡大
縮小処理を行う。手書きストローク変形部206では、
レイアウト解析部207によって計算された位置ずれ補
正値に従って手書きストロークオブジェクトを変形す
る。次に、実施形態1の上記各構成要素による複合ドキ
ュメントの作成処理について、図3のフローチャートを
用いて説明する。The resizing unit 205 changes the type of the text font and the font size and enlarges or reduces the bitmap image. In the handwritten stroke transformation unit 206,
The handwritten stroke object is deformed according to the displacement correction value calculated by the layout analysis unit 207. Next, a process of creating a compound document by the above-described components according to the first embodiment will be described with reference to the flowchart of FIG.
【0022】図3は本発明に係る実施形態1の複合ドキ
ュメントの作成処理を示すフローチャートである。ま
ず、ステップS301で、テキストやビットマップ画像
を配置することができるドキュメントレイヤウィンドウ
を作成し、アクティブウィンドウとして画面上に表示す
る。作成方法は、既存のウィンドウシステムのAPI
(ApplicationProgramming Interface)関数を用いるこ
とによって行うことができる。次に、ステップS302
で、手書きストロークを配置することができる手書きス
トロークレイヤウィンドウを作成する。尚、このウィン
ドウを作成する際にはその背景色を無色透明に設定して
おく。また、手書きストロークレイヤウィンドウの表示
領域、位置はドキュメントレイヤウィンドウと同領域、
同位置になるよう設定する。そして、ドキュメントレイ
ヤウィンドウの上部に手書きストロークレイヤウィンド
ウが垂直に重なるようにする。FIG. 3 is a flowchart showing the process of creating a compound document according to the first embodiment of the present invention. First, in step S301, a document layer window on which a text or a bitmap image can be arranged is created and displayed on the screen as an active window. The creation method is the API of the existing window system.
(Application Programming Interface) function. Next, step S302
Creates a handwritten stroke layer window in which handwritten strokes can be arranged. When this window is created, its background color is set to be colorless and transparent. The display area and position of the handwritten stroke layer window are the same as the document layer window,
Set to the same position. Then, the handwritten stroke layer window is vertically overlapped with the upper part of the document layer window.
【0023】ステップS303で、作成処理の終了が指
示されたか否かを判定する。初期段階では、ドキュメン
トレイヤウィンドウと手書きストロークレイヤウィンド
ウの作成が終了していないので、ステップ304に進
む。ステップS304で、入力する描画オブジェクトを
選択できるよう液晶ディスプレイ105上に入力選択メ
ニュー等を表示させておき、ユーザに入力対象の描画オ
ブジェクトを選択させる。ここで手書きストロークが選
択されたか否かを判定する。手書きストロークが選択さ
れていない場合(ステップS304でNO)、つまり、
テキストやビットマップ画像が選択された場合には、ス
テップS305に進む。In step S303, it is determined whether termination of the creation process has been instructed. In the initial stage, the creation of the document layer window and the handwritten stroke layer window has not been completed, so the process proceeds to step 304. In step S304, an input selection menu or the like is displayed on the liquid crystal display 105 so that a drawing object to be input can be selected, and the user is caused to select a drawing object to be input. Here, it is determined whether or not a handwritten stroke has been selected. If a handwritten stroke has not been selected (NO in step S304),
If a text or bitmap image has been selected, the process proceeds to step S305.
【0024】ステップS305で、ドキュメントレイヤ
ウィンドウの上に重ねられている手書きストロークレイ
ヤウィンドウを待避させる。待避させる作業は、手書き
ストロークレイヤウィンドウをドキュメントレイヤウィ
ンドウ上からはずす処理を行う。この処理は、手書きス
トロークレイヤウィンドウを削除することによっても可
能であるが、表示だけを隠す処理、即ち、RAM103
上のワークエリアにデータを残しておいて手書きストロ
ークレイヤウィンドウの表示だけを非表示にしておくこ
とが望ましい。この時点で、手書きストロークレイヤウ
インドウ上に書かれている手書きストロークは表示され
なくなる。In step S305, the handwritten stroke layer window overlaid on the document layer window is retracted. The work of saving is to remove the handwritten stroke layer window from the document layer window. Although this processing can be performed by deleting the handwritten stroke layer window, the processing for hiding only the display, that is, the RAM 103
It is desirable to leave the data in the upper work area and to hide only the display of the handwritten stroke layer window. At this point, the handwritten stroke written on the handwritten stroke layer window is not displayed.
【0025】次に、ステップS306で、テキストが選
択されたかビットマップ画像が選択されたかを判定す
る。テキストが選択された場合、ステップS307に進
み、キーボードや文字認識手投を用いてテキストを入力
する。入力の際には、ドキュメントレイヤウインドウの
どの位置に入力するかを指定してから行う。また、この
テキストを表示するフォントは固定ピッチフォントとす
る。一方、ビットマップ画像が選択された場合は、ステ
ップS308に進み、予め他の手投で作成されていたビ
ットマップ画像から所望のビットマップ画像を選択して
入力する。Next, in step S306, it is determined whether a text or a bitmap image has been selected. If a text is selected, the process proceeds to step S307, where the text is input using a keyboard or character recognition. At the time of input, the user specifies the position in the document layer window to input. The font for displaying this text is a fixed pitch font. On the other hand, if a bitmap image has been selected, the process proceeds to step S308, where a desired bitmap image is selected and input from bitmap images that have been created by other manual operations.
【0026】ドキュメントレイヤウインドウ上で作成さ
れたテキストオブジェクト、ビットマップオブジェクト
は、ステップS309で、その内部データがRAM10
3上のドキュメントオブジェクト記憶領域に記憶され
る。テキストオブジェクト、ビットマップオブジェクト
それぞれの内部データとして、テキストオブジェクトの
場合は、テキストの文字コード列、テキストフォント
名、テキストカラー等のテキスト属性と共に、テキスト
入力開始座標点が内部データとして記憶される。また、
ビットマップオブジェクトの場合は、ビットマップ画像
矩形領域座標、ビットマップ画像データが内部データと
して記憶される。ここで、図4の(a)に、ドキュメン
トレイヤウインドウに配置されるテキストオブジェクト
及びビットマップオブジェクトの内部データを記憶する
際の記憶構成であるメモリマップ図の一例を示す。In step S309, the text data and bitmap data created on the document layer window are stored in the RAM 10
3 in the document object storage area. As the internal data of each of the text object and the bitmap object, in the case of a text object, a text input start coordinate point is stored as internal data along with text attributes such as a character code string of a text, a text font name, and a text color. Also,
In the case of a bitmap object, bitmap image rectangular area coordinates and bitmap image data are stored as internal data. Here, FIG. 4A shows an example of a memory map diagram which is a storage configuration when the internal data of the text object and the bitmap object arranged in the document layer window are stored.
【0027】一方、ステップS304において、手書き
ストロークが選択された場合(ステップS304でYE
S)、ステップS310に進み、手書きストロークレイ
ヤウインドウを復元する作業を実行する。具体的には、
非表示となっている手書きストロークレイヤウィンドウ
をRAM103上から復元し、ドキュメントレイヤウイ
ンドウの上部に重ねる。次に、ステップS311で、入
力ペン107で入力された手書きストロークをディジタ
イザ106から座標データの集合として獲得する。そし
て、この座標データの隣接する座標点を順次直線で結
び、描画することによって手書きストロークの軌跡を手
書きストロークレイヤウィンドウ上に描画する。ステッ
プS309で、入力された手書きストロークをRAM1
03上の手書きストロークオブジェクト記憶領域に記憶
する。ここで、図4の(b)に、手書きストロークレイ
ヤウィンドウに配置される手書きストロークオブジェク
トの内部データを記憶する際の記憶構成であるメモリマ
ップ図の一例を示す。On the other hand, if a handwritten stroke is selected in step S304 (YE in step S304)
S), the process proceeds to step S310, and an operation of restoring the handwritten stroke layer window is performed. In particular,
The non-displayed handwritten stroke layer window is restored from the RAM 103 and overlaid on the document layer window. Next, in step S311, a handwritten stroke input by the input pen 107 is obtained from the digitizer 106 as a set of coordinate data. Then, adjacent coordinate points of the coordinate data are sequentially connected by a straight line, and the drawing is performed to draw the locus of the handwritten stroke on the handwritten stroke layer window. In step S309, the input handwritten stroke is stored in RAM1.
03 in the handwritten stroke object storage area. Here, FIG. 4B shows an example of a memory map diagram which is a storage configuration when the internal data of the handwritten stroke object arranged in the handwritten stroke layer window is stored.
【0028】ステップS303で、作業の終了が指示さ
れると、ステップS312で、複合ドキュメントを構成
する。この時点で、図4の(a)、(b)に示されるメ
モリマップ図の内容を、それぞれドキュメントレイヤフ
ァイルと手書きストロークレイヤファイルとして保存す
る。これらのファイルを複合ドキュメントとするため
に、ドキュメントレイヤファイルに対応する手書きスト
ロークレイヤファイルを示すインデックス領域を設け、
手書きストロークレイヤファイル名を記述しておく。図
5は保存された各ファイルの様子を示している。また、
図6はドキュメントレイヤファイルに手書きストローク
レイヤファイルを重ね合わせた複合ドキュメントの一例
を示す図である。When the end of the work is instructed in step S303, a compound document is formed in step S312. At this point, the contents of the memory map diagrams shown in FIGS. 4A and 4B are stored as a document layer file and a handwritten stroke layer file, respectively. In order to make these files a compound document, an index area indicating a handwritten stroke layer file corresponding to the document layer file is provided,
A handwritten stroke layer file name is described. FIG. 5 shows the state of each stored file. Also,
FIG. 6 is a diagram showing an example of a compound document in which a handwritten stroke layer file is superimposed on a document layer file.
【0029】次に、実施形態1の上記各構成要素による
複合ドキュメントの再現表示処理について、図7のフロ
ーチャート用いて説明する。図7は本発明に係る実施形
態1で実行される複合ドキュメントの再現表示処理を示
すフローチャートである。尚、複合ドキュメントを再現
表示する端末は作成時の端末と同一のプラットフォーム
とし、使用するテキストフォントが両端末に存在してい
ることとする。Next, the process of reproducing and displaying a composite document by the above-described components according to the first embodiment will be described with reference to the flowchart of FIG. FIG. 7 is a flowchart showing the process of reproducing and displaying a compound document executed in the first embodiment according to the present invention. The terminal that reproduces and displays the compound document has the same platform as the terminal at the time of creation, and it is assumed that the text font to be used exists in both terminals.
【0030】まず、ステップS701で、複合ドキュメ
ントを構成するファイルのうち、ドキュメントレイヤフ
ァイルを読み込む。その内容が、RAM103に展開さ
れる。尚、この複合ドキュメントを構成するファイルの
読み込みは、外部記憶装置104から読み込むでも良い
し、通信装置108によって遠隔地よりネットワーク回
線を通じて受信、あるいは、ダウンロードすることによ
って読み込まんでも良い。次に、ステップS702で、
再現表示する端末の外部記憶装置104の外部記憶装置
104に記憶されている環境変数データに設定されてい
るテキストフォント情報を取り出す。First, in step S701, a document layer file is read from files constituting a compound document. The contents are expanded in the RAM 103. The files constituting the compound document may be read from the external storage device 104, or may be received by a communication device 108 from a remote location via a network line or downloaded. Next, in step S702,
The text font information set in the environment variable data stored in the external storage device 104 of the external storage device 104 of the terminal to be reproduced and displayed is extracted.
【0031】ステップS703で、読み込まれた複合ド
キュメントを構成するファイルのうち、ドキュメントレ
イヤファイル(図5参照)の「対応手書きストロークレ
イヤファイル名」のエントリを参照し、再現表示する複
合ドキュメントに手書きストロークレイヤファイルが含
まれているか否かを判断する。手書きストロークレイヤ
ファイルが含まれていない場合(ステップS703でN
O)、ステップS709に進む。一方、手書きストロー
クレイヤファイルが含まれている場合(ステップS70
3でYES)、ステップS704以降の複合ドキュメン
トの再現表示処理へと進む。In step S703, among the files constituting the read composite document, the entry of the "corresponding handwritten stroke layer file name" in the document layer file (see FIG. 5) is referred to, and the handwritten stroke is added to the composite document to be reproduced and displayed. It is determined whether or not a layer file is included. If a handwritten stroke layer file is not included (N in step S703)
O), and proceed to step S709. On the other hand, when a handwritten stroke layer file is included (step S70)
(YES in 3), the process proceeds to the process of reproducing and displaying the composite document after step S704.
【0032】ステップS704で、ステップS702で
取り出されたテキストフォント情報の中からテキストフ
ォントのフォントポイント数(nPoint1)と、ス
テップS701でRAM103上に展開されたテキスト
オブジェクトのフォントポイント数(nPoint0)
を比較する。比較の結果、nPoint0=nPoin
t1である場合(ステップS704でNO)、ステップ
S709に進む。一方、nPoint0≠nPoint
1である場合(ステップS704でYES)、ステップ
S705に進み、手書きストロークの変形処理を行う。At step S704, the number of font points (nPoint1) of the text font from the text font information extracted at step S702 and the number of font points (nPoint0) of the text object developed on the RAM 103 at step S701.
Compare. As a result of the comparison, nPoint0 = nPoint
If it is t1 (NO in step S704), the flow advances to step S709. On the other hand, nPoint0 ≠ nPoint
If it is 1 (YES in step S704), the flow advances to step S705 to perform a handwritten stroke deformation process.
【0033】このステップS705の手書きストローク
の変形処理の詳細について、図8のフローチャートを用
いて説明する。図8は本発明に係る実施形態1で実行さ
れるステップS705の変形処理の詳細を示すフローチ
ャートである。まず、ステップS801で、フォントポ
イント数nPoint0からフォントの高さfcy0
(ピクセル単位)を計算する。ステップS802で、フ
ォントポイント数nPoint1からフォントの高さf
cy1(ピクセル単位)を計算する。ステップS803
で、ステップS801で計算したフォントの高さfcy
0と、ステップS802で計算したフォントの高さfc
y1の違いの度合いを、垂直変倍率FRV=fcy1/
fcy0として求める。The details of the handwritten stroke deformation process in step S705 will be described with reference to the flowchart of FIG. FIG. 8 is a flowchart illustrating details of the deformation processing in step S705 executed in the first embodiment according to the present invention. First, in step S801, the font height fcy0 is calculated from the font point number nPoint0.
Calculate (in pixels). In step S802, the font height f is calculated based on the font point number nPoint1.
cy1 (pixel unit) is calculated. Step S803
Then, the height fcy of the font calculated in step S801
0 and the height fc of the font calculated in step S802
The degree of difference in y1 is determined by the vertical scaling factor FRV = fcy1 /
It is obtained as fcy0.
【0034】ステップS804で、フォントポイント数
nPoint0からフォントの幅fcx0(ピクセル単
位)を計算する。ステップS805で、フォントポイン
ト数nPoint1からフォントの幅fcx1(ビクセ
ル単位)を計算する。ステップS806で、ステップS
804で計算したフォントの幅fcx0と、ステップS
805で計算したフォントの幅fcx1の違いの度合
を、水平変倍率FRH=fcx1/fcx0として求め
る。In step S804, the font width fcx0 (pixel unit) is calculated from the font point number nPoint0. In step S805, the font width fcx1 (pixel unit) is calculated from the font point number nPoint1. In step S806, step S806
Font width fcx0 calculated in step 804 and step S
The degree of the difference in the font width fcx1 calculated in 805 is obtained as the horizontal scaling factor FRH = fcx1 / fcx0.
【0035】ステップS807で、ドキュメントレイヤ
ファイル内に記述されている「対応手書きストロークフ
ァイル名」で示される手書きストロークレイヤファイル
を読み込み、手書きストロークをRAM103上に展開
する。展開された手書きストロークを構成する座標点の
全てに対し、X座標をステップS806で求めた水平変
倍率FRHを使って新たなX座標X’とする(X’=X
*FRH)。同様にして、Y座標をステップS805で
求めた垂直変倍率FRVを使って新たなY座標Y’とす
る(Y=Y*FRV)。以上の処理によって変形された
手書きストロークをRAM103のワークエリア上に保
存する。In step S807, a handwritten stroke layer file indicated by "corresponding handwritten stroke file name" described in the document layer file is read, and the handwritten strokes are developed on the RAM 103. For all of the coordinate points constituting the developed handwritten stroke, the X coordinate is set to a new X coordinate X ′ using the horizontal scaling factor FRH obtained in step S806 (X ′ = X
* FRH). Similarly, the Y coordinate is set as a new Y coordinate Y 'using the vertical scaling factor FRV obtained in step S805 (Y = Y * FRV). The handwritten stroke deformed by the above processing is stored in the work area of the RAM 103.
【0036】ステップS705の手書きストロークの変
形処理が終了すると、ステップS706で、ドキュメン
トレイヤ情報を検索してビットマップオブジェクトが存
在しているか否かを判定する。ビットマップオブジェク
トが存在していない場合(ステップS706でNO)、
ステップS708に進む。一方、ビットマップオブジェ
クトが存在している場合(ステップS706でYE
S)、ステップS707に進み、そのビットマップオブ
ジェクトのサイズを縮小、あるいは拡大する。この縮
小、あるいは拡大は、ステップS705で求めた水平、
垂直変倍率を用いて行う。例えば、ビットマップオブジ
ェクトの幅がbcx0(ピクセル単位)、高さbcy0
(ピクセル単位)であるとすると、新たなビットマップ
オブジェクトの幅、高さはそれぞれ、bcx1=bcx
0*FRH、bcy1=bcy0*FRVとなる。When the handwritten stroke deformation processing in step S705 is completed, in step S706, document layer information is searched to determine whether a bitmap object exists. If no bitmap object exists (NO in step S706),
Proceed to step S708. On the other hand, if a bitmap object exists (YE in step S706)
S), the process proceeds to step S707, and the size of the bitmap object is reduced or enlarged. This reduction or enlargement is performed by using the horizontal
This is performed using a vertical magnification. For example, the width of the bitmap object is bcx0 (pixel unit) and the height is bcy0
(Pixel unit), the width and height of the new bitmap object are respectively bcx1 = bcx
0 * FRH, bcy1 = bcy0 * FRV.
【0037】ステップS708で、再現表示する際のテ
キストフォントポイントであるnPoint1をテキス
トフォント表示の時に用いるために設定しておく。ステ
ップS709で、新たに変更作成されたオブジェクトを
用いてドキュメントレイヤウィンドウ、手書きストロー
クレイヤウィンドウが作成される。この作成方法は図3
のステップS301と同様の処理で行う。In step S708, nPoint1 which is a text font point at the time of reproduction display is set to be used at the time of text font display. In step S709, a document layer window and a handwritten stroke layer window are created using the newly changed and created object. This creation method is shown in FIG.
The processing is performed in the same manner as in step S301.
【0038】次に、ドキュメントレイヤウィンドウ、手
書きストロークレイヤウィンドウ上に各オブジェクトを
配置する処理について説明していく。図9の(a)は、
ドキュメントレイヤウィンドウの作成時のレイアウト例
であり、ステップS701でRAM103上に読み込ま
れたドキュメントレイヤファイルのレイアウト情報もこ
のようなレイアウト設定値となっている。図9の(a)
において、テキストフォントの高さfcy0、テキスト
フォントの幅fcx0、ビットマップ画像の高さbcy
0、ビットマップ画像の幅bcx0は、それぞれステッ
プS708、ステップS707において再設定されてい
る。そのため、fcy0、fcx0、bcy0、bcx
0それぞれの値は、図9の(b)のfcy1、fcx
1、bcy1、bcx1となっている。Next, processing for arranging each object on the document layer window and the handwritten stroke layer window will be described. (A) of FIG.
This is a layout example when a document layer window is created, and the layout information of the document layer file read into the RAM 103 in step S701 is also such a layout setting value. (A) of FIG.
, The text font height fcy0, the text font width fcx0, and the bitmap image height bcy
0 and the width bcx0 of the bitmap image have been reset in steps S708 and S707, respectively. Therefore, fcy0, fcx0, bcy0, bcx
0 are the values of fcy1 and fcx in FIG.
1, bcy1, and bcx1.
【0039】次に、テキスト、ビットマップ画像の配置
場所であるが、テキストの開始座標は、図9の(a)の
(tx0,ty0)で示されており、図4の(a)の記
述ではテキストオブジェクト情報欄の「開始x座標」、
「開始y座標」と同一である。同様に、ビットマップ画
像の開始座標は(bx0,by0)、ドキュメントレイ
ヤウィンドウのサイズは(wx0,wy0)であり、図
4の(a)の各情報と同一である。これらのレイアウト
情報に関しても、ステップS705で求めた垂直/水平
変倍率を用いて次のように変倍する。Next, regarding the place where the text and the bitmap image are arranged, the starting coordinates of the text are indicated by (tx0, ty0) in FIG. 9A, and the description in FIG. Then, "Start x coordinate" in the text object information column,
Same as "start y coordinate". Similarly, the start coordinates of the bitmap image are (bx0, by0) and the size of the document layer window is (wx0, wy0), which are the same as the information in FIG. The layout information is also scaled as follows using the vertical / horizontal scale obtained in step S705.
【0040】tx1=tx0*FRH,ty1=ty0*
FRV,bx1=bx0*FRH,by1=by0*FR
V,wx1=wx0*FRH,wy1=wy0*FRV 以上、これらの数値を基に、ドキュメントレイヤウィン
ドウを作成すると、図9の(b)のようになる(FRH
<1,FRV<1の場合)。次に、手書きストロークレ
イヤウィンドウの作成を行う。図10の(a)は手書き
ストロークレイヤウィンドウの作成時のレイアウト例で
あり、ステップS701でRAM103上に読み込まれ
た手書きストロークレイヤファイルのレイアウト情報も
このようなレイアウト設定値となっている。手書きスト
ロークレイヤウィンドウのサイズは、作成時のサイズを
(wx0’.wy0’)とすると、ステップS705で
求められた垂直/水平変倍率を用いて、新たなウィンド
ウサイズ(wx1’,wy1’)を wx1’=wx0’*FRH,wy1’=wy1*FRV とする。Tx1 = tx0 * FRH, ty1 = ty0 *
FRV, bx1 = bx0 * FRH, by1 = by0 * FR
V, wx1 = wx0 * FRH, wy1 = wy0 * FRV As described above, when a document layer window is created based on these numerical values, it becomes as shown in FIG. 9B (FRH).
<1, FRV <1). Next, a handwritten stroke layer window is created. FIG. 10A shows a layout example when a handwritten stroke layer window is created, and the layout information of the handwritten stroke layer file read into the RAM 103 in step S701 also has such a layout setting value. Assuming that the size at the time of creation is (wx0'.wy0 '), a new window size (wx1', wy1 ') is calculated using the vertical / horizontal scaling factor obtained in step S705. It is assumed that wx1 ′ = wx0 ′ * FRH and wy1 ′ = wy1 * FRV.
【0041】また、図10の(b)は、ウィンドウサイ
ズを変更した手書きストロークレイヤウィンドウに、ス
テップS705にて変形処理した手書きストロークを描
画した例である。以上の処理によって、新たに作成され
たドキュメントレイヤウィンドウと手書きストロークレ
イヤウィンドウを合成し、表示する。図11はその様子
を示した図である。特に、図11の(a)は作成時のレ
イアウトであり、図11の(b)は再現表示後のレイア
ウトである。FIG. 10B shows an example in which a handwritten stroke transformed in step S705 is drawn in the handwritten stroke layer window whose window size has been changed. Through the above processing, the newly created document layer window and the handwritten stroke layer window are combined and displayed. FIG. 11 is a diagram showing this state. In particular, FIG. 11A shows a layout at the time of creation, and FIG. 11B shows a layout after reproduction and display.
【0042】以上説明したように、実施形態1によれ
ば、手書きストロークを表示するための手書きストロー
クレイヤウィンドウと、テキスト、ビットマップ画像を
表示するためのドキュメントレイヤウインドウを用意
し、その各ウインドウのサイズを制御しながらドキュメ
ントレイヤウィンドウに手書きストロークレイヤウィン
ドウを重ね合わせて表示することで、ドキュメントウイ
ンドウ内に最適なサイズで手書きストロークを表示する
ことができる。As described above, according to the first embodiment, a handwritten stroke layer window for displaying handwritten strokes and a document layer window for displaying text and bitmap images are prepared. By superimposing and displaying the handwritten stroke layer window on the document layer window while controlling the size, the handwritten stroke can be displayed in the document window at an optimum size.
【0043】尚、実施形態1では、ドキュメントレイヤ
ファイルに配置するオブジェクトにテキストとビットマ
ップ画像を用いたが、この他にドロー図形画(座標点集
合として保存されない円、矩形などのベクトル図形)、
動画等の描画オブジェクトが存在していても同様の処理
で行えることは明らかである。また、手書きストローク
の表示をドキュメントレイヤウインドウ上に重ねた手書
きストロークレイヤウインドウに描画することによって
実現したが、ドキュメントレイヤウィンドウに直接上書
きする構成であってもよい。 (実施形態2)実施形態2の情報処理装置では、異なる
プラットフォーム間である場合の複合ドキュメントの再
現表示方法の一例について説明する。特に、実施形態1
の図7のステップS705の手書きストロークの変形処
理を他の手法で実現する例を示す。In the first embodiment, texts and bitmap images are used as objects to be arranged in the document layer file. In addition, draw graphic images (vector graphics such as circles and rectangles not stored as a set of coordinate points),
It is clear that similar processing can be performed even when a drawing object such as a moving image exists. Although the display of the handwritten strokes is realized by drawing in the handwritten stroke layer window superimposed on the document layer window, a configuration in which the display is directly overwritten on the document layer window may be adopted. (Embodiment 2) In the information processing apparatus of Embodiment 2, an example of a method of reproducing and displaying a composite document when the platform is between different platforms will be described. In particular, Embodiment 1
FIG. 8 shows an example in which the handwritten stroke deformation process of step S705 in FIG. 7 is realized by another method.
【0044】図12はフォント間の変倍率を記述したフ
ォント変換テーブルを示す図であり、予め端末装置の外
部記憶装置104に格納されている。図12において、
1201は複合ドキュメント作成時に使用される可能性
のあるテキストフォントのフォント種類である。120
2はそのフォントポイント数である。1203は対応フ
ォントである。1204は対応フォントポイント数であ
る。1205はフォントポイント数1201とフォント
ポイント数1203の水平方向の相違を示す水平変倍率
である。1206はフォントポイント数1201とフォ
ントポイント数1203の垂直方向の相違を示す垂直変
倍率である。1201と1203のフィールドには、各
プラットフォーム上に必ず存在するフォント種類を記述
しておくことが望ましい。また、フォントが存在するプ
ラットフォームを示すフィールドが付加されていてもよ
い。FIG. 12 is a view showing a font conversion table describing the scaling ratio between fonts, which is stored in the external storage device 104 of the terminal device in advance. In FIG.
Reference numeral 1201 denotes a font type of a text font that may be used when creating a compound document. 120
2 is the number of font points. Reference numeral 1203 denotes a corresponding font. Reference numeral 1204 denotes a corresponding font point number. Reference numeral 1205 denotes a horizontal scaling factor indicating a difference between the font point number 1201 and the font point number 1203 in the horizontal direction. Reference numeral 1206 denotes a vertical scaling factor indicating a difference between the font point number 1201 and the font point number 1203 in the vertical direction. In the fields 1201 and 1203, it is desirable to describe font types that always exist on each platform. Further, a field indicating the platform where the font exists may be added.
【0045】次に、実施形態2による複合ドキュメント
の再現表示処理について、図13のフローチャートを用
いて説明する。図13は本発明に係る実施形態2で実行
される複合ドキュメントの再現表示処理を示すフローチ
ャートである。尚、図13において、図7のフローチャ
ートと同様の処理には、同じステップ番号を付加し、そ
の詳細については省略する。また、ステップS130
4、ステップS1305の説明を簡単にするため、複合
ドキュメント作成時のテキストフォントをA1フォン
ト、ポイント数は9ポイントであるとする。Next, the process of reproducing and displaying a composite document according to the second embodiment will be described with reference to the flowchart of FIG. FIG. 13 is a flowchart showing the process of reproducing and displaying a compound document executed in the second embodiment according to the present invention. In FIG. 13, the same processes as those in the flowchart of FIG. 7 are denoted by the same step numbers, and the details are omitted. Step S130
4. In order to simplify the explanation of step S1305, it is assumed that the text font at the time of creating the compound document is A1 font and the number of points is 9 points.
【0046】ステップS1304では、図12のフォン
ト変換テーブルを読み込み、RAM103上に展開す
る。ステップS1305で、手書きストロークの変形処
理を行う。このステップS1305の手書きストローク
の変形処理の詳細について、図14のフローチャートを
用いて説明する。In step S 1304, the font conversion table shown in FIG. 12 is read and expanded on the RAM 103. In step S1305, a handwriting stroke transformation process is performed. Details of the handwritten stroke deformation process in step S1305 will be described with reference to the flowchart in FIG.
【0047】図14は本発明に係る実施形態2の手書き
ストロークの変形処理の詳細を示すフローチャートであ
る。まず、ステップS1401で、ステップS702の
環境変数データに設定されている表示用のテキストフォ
ントが、フォント変換テーブルの1203フィールドに
存在しているか否かを判定する。フォント変換テーブル
に存在していない場合(ステップS1401でNO)、
複合ドキュメントに使用されているテキストフォントと
比較して、垂直/水平変倍率が当倍に近いフォントを調
査する。図12の例では、A1フォント、9ポイントに
近いフォントとしては、B2フォントの8ポイントとい
うことになる。そして、ステップS1403で、調査に
より、表示用のテキストフォントに近いフォント種類と
ポイント数を、後の複合ドキュメントのテキスト表示に
使用するために、環境変数データ部208に再設定す
る。FIG. 14 is a flowchart showing details of the handwriting stroke deformation process according to the second embodiment of the present invention. First, in step S1401, it is determined whether the display text font set in the environment variable data in step S702 exists in the 1203 field of the font conversion table. If it does not exist in the font conversion table (NO in step S1401),
Investigate fonts whose vertical / horizontal scaling ratio is close to the same as the text font used in the compound document. In the example of FIG. 12, the A1 font and the font close to 9 points are 8 points of the B2 font. Then, in step S1403, a font type and the number of points close to the display text font are reset in the environment variable data unit 208 to be used for the subsequent text display of the compound document.
【0048】一方、ステップS1401において、表示
用のテキストフォントが、フォント変換テーブルに存在
している場合(ステップS1401でYES)、ステッ
プS1403に進む。そして、ステップS1403で、
フォント変換テーブルの水平変倍率フィールドを参照し
て水平変倍率の値を記憶する。次に、ステップS140
4で、同様に垂直変倍率フィールドを参照して垂直変倍
率の値を記憶する。ステップS1406で、これらの垂
直/水平変倍率に従って手書きストロークの変形処理を
行う。この変形処理は実施形態1のステップS807で
説明した処理と同じで構わない。On the other hand, if it is determined in step S1401 that a text font for display exists in the font conversion table (YES in step S1401), the flow advances to step S1403. Then, in step S1403,
The horizontal scaling value is stored with reference to the horizontal scaling field of the font conversion table. Next, step S140
At step 4, similarly, the value of the vertical scaling factor is stored with reference to the vertical scaling factor field. In step S1406, a handwriting stroke deformation process is performed according to these vertical / horizontal scaling factors. This deformation processing may be the same as the processing described in step S807 of the first embodiment.
【0049】以上説明したように、実施形態2によれ
ば、実施形態1で説明した効果に加えて、フォント変換
テーブルを用意しておくことで、手書きストロークの変
形処理を実施形態1に比べてより効率良く実行すること
ができる。以上説明したように、実施形態1、2によれ
ば、ある端末環境下で作成された複合ドキュメントを他
の端末環境下で再現表示する際、上書きされた手書きス
トロークの形状を表示する際の環境設定に応じて変形す
ることによって、再現表示する環境設定を無視すること
なく、作成時のレイアウト通りに正確に再現表示するこ
とができ、かつ手書きストロークの意図する内容を正確
に伝えることができる。As described above, according to the second embodiment, in addition to the effects described in the first embodiment, by preparing a font conversion table, the handwriting stroke deformation process can be performed in comparison with the first embodiment. It can be executed more efficiently. As described above, according to the first and second embodiments, when a compound document created in one terminal environment is reproduced and displayed in another terminal environment, the environment in which the shape of the overwritten handwritten stroke is displayed. By deforming according to the settings, it is possible to accurately reproduce and display according to the layout at the time of creation without ignoring the environment setting to be reproduced and displayed, and to accurately convey the intended contents of the handwritten stroke.
【0050】また、このような装置を提供することによ
って、遠隔地でのコミュニケーション効率を向上させる
ことが可能となる。更には、送信時には標準規格のプロ
トコルを利用できるので従来からのネットワークシステ
ムを利用できるので、低コストでコミュニケーション範
囲を広げることができる。また、手書きストロークは画
像としてではなく、座標点の集合として格納することが
できるので、通信時間を短縮し、受信側での編集繰作が
可能となる。Further, by providing such a device, it is possible to improve communication efficiency in a remote place. Furthermore, since a standard protocol can be used at the time of transmission, a conventional network system can be used, so that the communication range can be expanded at low cost. In addition, since the handwritten strokes can be stored not as an image but as a set of coordinate points, the communication time can be shortened and the editing operation can be performed on the receiving side.
【0051】総じて、本発明の構成を電子メールアプリ
ケーションやグループウェアアプリケーションに搭載す
ることによって、コラボレーション作業を行う環境にお
いて作業の生産性を向上させることができる。尚、本発
明は、複数の機器(例えば、ホストコンピュータ、イン
タフェース機器、リーダ、プリンタ等)から構成される
システムに適用しても、一つの機器からなる装置(例え
ば、複写機、ファクシミリ装置等)に適用してもよい。In general, by mounting the configuration of the present invention in an electronic mail application or a groupware application, the productivity of work can be improved in an environment where a collaboration work is performed. Note that the present invention is applied to a system including a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), but a device including one device (for example, a copying machine, a facsimile machine, etc.). May be applied.
【0052】また、本発明の目的は、前述した実施形態
の機能を実現するソフトウェアのプログラムコードを記
録した記憶媒体を、システムあるいは装置に供給し、そ
のシステムあるいは装置のコンピュータ(またはCPU
やMPU)が記憶媒体に格納されたプログラムコードを
読出し実行することによっても、達成されることは言う
までもない。Further, an object of the present invention is to provide a storage medium storing a program code of software for realizing the functions of the above-described embodiments to a system or an apparatus, and to provide a computer (or CPU) of the system or apparatus.
And MPU) read and execute the program code stored in the storage medium.
【0053】この場合、記憶媒体から読出されたプログ
ラムコード自体が上述した実施の形態の機能を実現する
ことになり、そのプログラムコードを記憶した記憶媒体
は本発明を構成することになる。プログラムコードを供
給するための記憶媒体としては、例えば、フロッピディ
スク、ハードディスク、光ディスク、光磁気ディスク、
CD−ROM、CD−R、磁気テープ、不揮発性のメモ
リカード、ROMなどを用いることができる。In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention. As a storage medium for supplying the program code, for example, a floppy disk, a hard disk, an optical disk, a magneto-optical disk,
A CD-ROM, CD-R, magnetic tape, nonvolatile memory card, ROM, or the like can be used.
【0054】また、コンピュータが読出したプログラム
コードを実行することにより、前述した実施形態の機能
が実現されるだけでなく、そのプログラムコードの指示
に基づき、コンピュータ上で稼働しているOS(オペレ
ーティングシステム)などが実際の処理の一部または全
部を行い、その処理によって前述した実施の形態の機能
が実現される場合も含まれることは言うまでもない。When the computer executes the readout program code, not only the functions of the above-described embodiment are realized, but also the OS (Operating System) running on the computer based on the instruction of the program code. ) May perform some or all of the actual processing, and the processing may realize the functions of the above-described embodiments.
【0055】更に、記憶媒体から読出されたプログラム
コードが、コンピュータに挿入された機能拡張ボードや
コンピュータに接続された機能拡張ユニットに備わるメ
モリに書き込まれた後、そのプログラムコードの指示に
基づき、その機能拡張ボードや機能拡張ユニットに備わ
るCPUなどが実際の処理の一部または全部を行い、そ
の処理によって前述した実施形態の機能が実現される場
合も含まれることは言うまでもない。Further, after the program code read from the storage medium is written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the program code is read based on the instruction of the program code. It goes without saying that the CPU included in the function expansion board or the function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.
【0056】[0056]
【発明の効果】以上説明したように、本発明によれば、
手書きストロークを含むマルチメディアドキュメント
を、作成時と異なる環境下で表示する際に、作成時のレ
イアウト通りに正確かつ効率的に再現表示することがで
きる情報処理装置及びその方法を提供できる。As described above, according to the present invention,
When a multimedia document including handwritten strokes is displayed in an environment different from that at the time of creation, an information processing apparatus and method capable of accurately and efficiently reproducing and displaying the layout according to the layout at the time of creation can be provided.
【図1】本発明に係る実施形態1の情報処理装置の基本
構成を示すブロック図である。FIG. 1 is a block diagram illustrating a basic configuration of an information processing apparatus according to a first embodiment of the present invention.
【図2】本発明に係る実施形態1の情報処理装置の機能
構成を示す図である。FIG. 2 is a diagram illustrating a functional configuration of the information processing apparatus according to the first embodiment of the present invention.
【図3】本発明に係る実施形態1の複合ドキュメントの
作成処理を示すフローチャートである。FIG. 3 is a flowchart illustrating a process of creating a compound document according to the first embodiment of the present invention.
【図4】本発明に係る実施形態1のドキュメントレイヤ
ファイル、手書きストロークレイヤファイル内のレイア
ウト情報を示す図である。FIG. 4 is a diagram showing layout information in a document layer file and a handwritten stroke layer file according to the first embodiment of the present invention.
【図5】本発明に係る実施形態1のドキュメントレイヤ
ファイルと手書きストロークレイヤファイルの関連を示
す図である。FIG. 5 is a diagram showing the relationship between a document layer file and a handwritten stroke layer file according to the first embodiment of the present invention.
【図6】本発明に係る実施形態1のドキュメントレイヤ
と手書きストロークレイヤと複合ドキュメントの一例を
示す図である。FIG. 6 is a diagram illustrating an example of a document layer, a handwritten stroke layer, and a compound document according to the first embodiment of the present invention.
【図7】本発明に係る実施形態1で実行される複合ドキ
ュメントの再現表示処理を示すフローチャートである。FIG. 7 is a flowchart illustrating a process of reproducing and displaying a compound document executed in the first embodiment according to the present invention.
【図8】本発明に係る実施形態1で実行されるステップ
S705の変形処理の詳細を示すフローチャートであ
る。FIG. 8 is a flowchart illustrating details of a modification process in step S705 executed in the first embodiment according to the present invention.
【図9】本発明に係る実施形態1のドキュメントレイヤ
ファイルの作成時と再現時のレイアウトを示す図であ
る。FIG. 9 is a diagram showing a layout at the time of creating and reproducing a document layer file according to the first embodiment of the present invention.
【図10】本発明に係る実施形態1の手書きストローク
レイヤウインドウの作成時と再現時のレイアウトを示す
図である。FIG. 10 is a diagram illustrating a layout when a handwritten stroke layer window is created and reproduced according to the first embodiment of the present invention.
【図11】本発明に係る実施形態1の手書きストローク
レイヤファイルの作成時と再現時のレイアウトを示す図
である。FIG. 11 is a diagram illustrating a layout when a handwritten stroke layer file is created and reproduced according to the first embodiment of the present invention.
【図12】本発明に係る実施形態2でフォント変換テー
ブルを示す図である。FIG. 12 is a diagram illustrating a font conversion table according to the second embodiment of the present invention.
【図13】本発明に係る実施形態2で実行される複合ド
キュメントの再現表示処理を示すフローチャートであ
る。FIG. 13 is a flowchart showing a process of reproducing and displaying a compound document executed in the second embodiment according to the present invention.
【図14】本発明に係る実施形態2の手書きストローク
の変形処理の詳細を示すフローチャートである。FIG. 14 is a flowchart illustrating details of a handwritten stroke deformation process according to the second embodiment of the present invention.
101 CPU 102 ROM 103 RAM 104 外部記憶装置 105 液晶ディスプレイ 106 ディジタイザ 107 入力ペン 101 CPU 102 ROM 103 RAM 104 External storage device 105 Liquid crystal display 106 Digitizer 107 Input pen
Claims (17)
複合ドキュメントを処理する情報処理装置であって、 前記複数種類の描画オブジェクトを用いてドキュメント
を作成する作成手段と、 前記ドキュメントに手書きストロークを入力する入力手
段と、 前記入力手段によって手書きストロークが入力されたド
キュメントを表示する場合の表示先の環境設定情報に基
づいて、該手書きストロークを変形する変形手段とを備
えることを特徴とする情報処理装置。1. An information processing apparatus for processing a compound document in which a plurality of types of drawing objects are mixed, a creating unit for creating a document using the plurality of types of drawing objects, and inputting a handwritten stroke to the document An information processing apparatus comprising: an input unit; and a deforming unit configured to deform the handwritten stroke based on environment setting information of a display destination when a document in which a handwritten stroke is input by the input unit is displayed.
キストオブジェクトに用いられているテキストフォント
に関するフォント情報に基づいて、前記手書きストロー
クを変形することを特徴とする請求項1に記載の情報処
理装置。2. The information processing apparatus according to claim 1, wherein the transformation unit transforms the handwritten stroke based on font information on a text font used for a text object of the document.
のポイント数であることを特徴とする請求項2に記載の
情報処理装置。3. The information processing apparatus according to claim 2, wherein the font information is a point number of a text font.
を構成する描画オブジェクトと、前記入力手段で入力さ
れた手書きストロークを対応づけて記憶することを特徴
とする請求項1に記載の情報処理装置。4. The information processing apparatus according to claim 1, wherein a drawing object constituting a document created by said creating means is associated with a handwritten stroke input by said input means and stored.
を構成する描画オブジェクトを表示するための第1表示
領域と、前記入力手段で入力される手書きストロークを
表示するための第2表示領域との表示を制御する表示制
御手段とを更に備えることを特徴とする請求項1に記載
の情報処理装置。5. A display of a first display area for displaying a drawing object constituting a document created by said creating means and a second display area for displaying a handwritten stroke inputted by said input means. The information processing apparatus according to claim 1, further comprising a display control unit configured to control the information processing.
に前記第2表示領域を重ね合わせて表示することを特徴
とする請求項5に記載の情報処理装置。6. The information processing apparatus according to claim 5, wherein the display control unit displays the second display area by superimposing the second display area on the first display area.
透明であることを特徴とする請求項5に記載の情報処理
装置。7. The information processing apparatus according to claim 5, wherein a background color of the second display area is colorless and transparent.
キスト、ビットマップ、ドロー図形、動画を含むことを
特徴とする請求項1に記載の情報処理装置。8. The information processing apparatus according to claim 1, wherein the drawing object includes at least a text, a bitmap, a draw graphic, and a moving image.
複合ドキュメントを処理する情報処理方法であって、 前記複数種類の描画オブジェクトを用いてドキュメント
を作成する作成工程と、 前記ドキュメントに手書きストロークを入力する入力工
程と、 前記入力工程によって手書きストロークが入力されたド
キュメントを表示する場合の表示先の環境設定情報に基
づいて、該手書きストロークを変形する変形工程とを備
えることを特徴とする情報処理方法。9. An information processing method for processing a compound document in which a plurality of types of drawing objects are mixed, wherein a creating step of creating a document using the plurality of types of drawing objects, and inputting a handwritten stroke to the document An information processing method comprising: an input step; and a deformation step of deforming a handwritten stroke based on environment setting information of a display destination when a document in which a handwritten stroke is input in the input step is displayed.
テキストオブジェクトに用いられているテキストフォン
トに関するフォント情報に基づいて、前記手書きストロ
ークを変形することを特徴とする請求項9に記載の情報
処理方法。10. The information processing method according to claim 9, wherein the deforming step deforms the handwritten stroke based on font information on a text font used for a text object of the document.
トのポイント数であることを特徴とする請求項10に記
載の情報処理方法。11. The information processing method according to claim 10, wherein the font information is a point number of a text font.
トを構成する描画オブジェクトと、前記入力工程で入力
された手書きストロークを対応づけて記憶することを特
徴とする請求項9に記載の情報処理方法。12. The information processing method according to claim 9, wherein a drawing object forming a document created in said creating step is associated with a handwritten stroke input in said input step and stored.
トを構成する描画オブジェクトを表示するための第1表
示領域と、前記入力工程で入力される手書きストローク
を表示するための第2表示領域との表示を制御する表示
制御工程とを更に備えることを特徴とする請求項9に記
載の情報処理方法。13. A display including a first display area for displaying a drawing object constituting a document created in the creation step and a second display area for displaying a handwritten stroke input in the input step. The information processing method according to claim 9, further comprising: a display control step of controlling the information processing.
域に前記第2表示領域を重ね合わせて表示することを特
徴とする請求項13に記載の情報処理方法。14. The information processing method according to claim 13, wherein in the display control step, the second display area is displayed so as to overlap the first display area.
色透明であることを特徴とする請求項13に記載の情報
処理方法。15. The information processing method according to claim 13, wherein a background color of the second display area is colorless and transparent.
テキスト、ビットマップ、ドロー図形、動画を含むこと
を特徴とする請求項9に記載の情報処理方法。16. The information processing method according to claim 9, wherein the drawing object includes at least a text, a bitmap, a draw graphic, and a moving image.
る複合ドキュメントを処理する情報処理のプログラムコ
ードが格納されたコンピュータ可読メモリであって、 前記複数種類の描画オブジェクトを用いてドキュメント
を作成する作成工程のプログラムコードと、 前記ドキュメントに手書きストロークを入力する入力工
程のプログラムコードと、 前記入力工程によって手書きストロークが入力されたド
キュメントを表示する場合の表示先の環境設定情報に基
づいて、該手書きストロークを変形する変形工程のプロ
グラムコードとを備えることを特徴とするコンピュータ
可読メモリ。17. A computer-readable memory storing a program code for information processing for processing a compound document in which a plurality of types of drawing objects are mixed, wherein a creation step of creating a document using the plurality of types of drawing objects is performed. A program code, a program code of an input step of inputting a handwritten stroke to the document, and a deformation of the handwritten stroke based on environment setting information of a display destination when a document in which the handwritten stroke is input in the input step is displayed. Computer-readable memory comprising program code for a transformation step.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9246757A JPH1186017A (en) | 1997-09-11 | 1997-09-11 | Information processing apparatus and method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9246757A JPH1186017A (en) | 1997-09-11 | 1997-09-11 | Information processing apparatus and method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH1186017A true JPH1186017A (en) | 1999-03-30 |
Family
ID=17153212
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP9246757A Withdrawn JPH1186017A (en) | 1997-09-11 | 1997-09-11 | Information processing apparatus and method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH1186017A (en) |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002132131A (en) * | 2000-10-24 | 2002-05-09 | Chuoh Publishing Co Ltd | Remote education method and host computer for remote education as well as computer for student and image information synthesis method |
| JP2003107986A (en) * | 2001-09-27 | 2003-04-11 | Yamaha Corp | Information processor, and control method, control program and recording medium therefor |
| JP2006172460A (en) * | 2004-12-16 | 2006-06-29 | Palo Alto Research Center Inc | Annotating 3D electronic document pages |
| WO2014103388A1 (en) | 2012-12-27 | 2014-07-03 | 株式会社 東芝 | Electronic device, display method, and program |
| JP2014203249A (en) * | 2013-04-04 | 2014-10-27 | 株式会社東芝 | Electronic apparatus and data processing method |
| US9310998B2 (en) | 2012-12-27 | 2016-04-12 | Kabushiki Kaisha Toshiba | Electronic device, display method, and display program |
-
1997
- 1997-09-11 JP JP9246757A patent/JPH1186017A/en not_active Withdrawn
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002132131A (en) * | 2000-10-24 | 2002-05-09 | Chuoh Publishing Co Ltd | Remote education method and host computer for remote education as well as computer for student and image information synthesis method |
| JP2003107986A (en) * | 2001-09-27 | 2003-04-11 | Yamaha Corp | Information processor, and control method, control program and recording medium therefor |
| JP2006172460A (en) * | 2004-12-16 | 2006-06-29 | Palo Alto Research Center Inc | Annotating 3D electronic document pages |
| WO2014103388A1 (en) | 2012-12-27 | 2014-07-03 | 株式会社 東芝 | Electronic device, display method, and program |
| US9310998B2 (en) | 2012-12-27 | 2016-04-12 | Kabushiki Kaisha Toshiba | Electronic device, display method, and display program |
| JP2014203249A (en) * | 2013-04-04 | 2014-10-27 | 株式会社東芝 | Electronic apparatus and data processing method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7791589B2 (en) | Method and apparatus for displaying electronic document including handwritten data | |
| JP5439456B2 (en) | Electronic comic editing apparatus, method and program | |
| JP5439454B2 (en) | Electronic comic editing apparatus, method and program | |
| JP5439455B2 (en) | Electronic comic editing apparatus, method and program | |
| US20090164909A1 (en) | Communication apparatus remote control system | |
| JP2013089198A (en) | Electronic comic editing device, method and program | |
| US20020026323A1 (en) | Method and system for annotating a window shared by remote hosts | |
| CN107133615B (en) | Information processing apparatus, information processing method, and computer program | |
| US20150193387A1 (en) | Cloud-based font service system | |
| US5703962A (en) | Image processing method and apparatus | |
| US7853873B2 (en) | Data processing apparatus, data processing method, and computer program for generating electronic data from a paper document | |
| KR20180082845A (en) | Method for Providing E-Book Service and Computer Program Therefore | |
| JPH1186017A (en) | Information processing apparatus and method | |
| JP2011086050A (en) | Information processing terminal and computer program | |
| US8269791B2 (en) | Information processing apparatus and method for processing a vector image composed of a plurality of objects described by structured document data | |
| US7154511B2 (en) | Fast rendering of ink | |
| JP3388451B2 (en) | Handwriting input device | |
| JP2996933B2 (en) | Drawing display device | |
| JP4064364B2 (en) | Editing apparatus, editing method, program, and recording medium | |
| US6275609B1 (en) | Image processing apparatus and method | |
| JP4297815B2 (en) | Information processing apparatus, processing method, program, and recording medium | |
| CN1326071C (en) | Electronic file display processing method and system | |
| JP3163577B2 (en) | Vector font generation method | |
| KR102853798B1 (en) | Automatic component adjustment and alignment system and method of digital document and program performing the same | |
| JP2006072877A (en) | Document editing apparatus, document editing method, document editing program and recording medium therefor |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20041207 |