JP2000200270A - Method and device for document processing - Google Patents

Method and device for document processing

Info

Publication number
JP2000200270A
JP2000200270A JP11298659A JP29865999A JP2000200270A JP 2000200270 A JP2000200270 A JP 2000200270A JP 11298659 A JP11298659 A JP 11298659A JP 29865999 A JP29865999 A JP 29865999A JP 2000200270 A JP2000200270 A JP 2000200270A
Authority
JP
Japan
Prior art keywords
size
effective area
document
change
calculating
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
Application number
JP11298659A
Other languages
Japanese (ja)
Inventor
Yuriyo Shigemori
祐理代 重森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP11298659A priority Critical patent/JP2000200270A/en
Publication of JP2000200270A publication Critical patent/JP2000200270A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Processing Or Creating Images (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PROBLEM TO BE SOLVED: To make freely and easily settable the shape of an object frame as a layout constitution element without affecting a binding margin and a physically unprintable area by calculating the sizes and positions of respective layout constitution elements after form size change according to a calculated effective area size. SOLUTION: The effective area size of a basic template is calculated by using saved data and this value is stored in a RAM. Namely, the effective area width and effective area height are calculated as the effective area size. When a user inputs a form size change instruction for a display template by using a keyboard 303 and a mouse 304, a form size changing process is started with this input signal and the new form size that the user indicated is obtained. The effective area size of a new form is calculated from saved margin data and the new form size. Then a new slot size is so calculated that the ratio of the effective size and each slot side before the size change is equal to that even after the size change.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、文書の用紙サイズ
を変更する指示に基づき、文書内の複数のレイアウト構
成要素を再配置する文書処理方法及び装置に関するもの
である。
[0001] 1. Field of the Invention [0002] The present invention relates to a document processing method and apparatus for rearranging a plurality of layout components in a document based on an instruction to change the paper size of the document.

【0002】[0002]

【従来の技術】従来、用紙サイズを変更する際に、用紙
内部のレイアウトを再配置する方法として、用紙サイズ
を変更する前後のレイアウト構成要素(オブジェクト枠
・文字サイズなど)の形状が相似になるように行う方法
と、用紙形状とレイアウト構成要素の形状との対比が一
定になるように行う方法とがある。前者の例は、ワード
プロセッサー等のDTPであって、用紙サイズの変更前
後で余白サイズを変更し印刷可能範囲の形状を相似に保
ち、その内部にあるレイアウト構成要素も相似に変形す
るものである。また、後者の例は画像データやテンプレ
ートの変形であって、変更前後の余白サイズを無視し、
用紙の形状と用紙内部のレイアウト構成要素の形状との
縦横比を均一に保って変形するものである。
2. Description of the Related Art Conventionally, as a method of rearranging a layout inside a sheet when changing the sheet size, the shapes of layout components (object frame, character size, etc.) before and after changing the sheet size are similar. And a method in which the contrast between the paper shape and the shape of the layout component is kept constant. The former example is a DTP such as a word processor in which the margin size is changed before and after the paper size is changed, the shape of the printable range is kept similar, and the layout components inside the DTP are similarly transformed. Also, the latter example is a transformation of image data or a template, ignoring the margin size before and after the change,
The paper is deformed while keeping the aspect ratio between the shape of the paper and the shape of the layout components inside the paper uniform.

【0003】[0003]

【発明が解決しようとする課題】以下、上述の再配置に
ついて図1及び図2を参照しながら更に詳述する。
Hereinafter, the above rearrangement will be described in more detail with reference to FIGS.

【0004】図1は、4つのスロットで構成されるテン
プレートの用紙サイズを、変更前後のレイアウト構成要
素の形状が相似になる方法で変更した場合の例である。
尚、スロットが相似とは、図中の左上のスロットの幅と
高さに着目した場合「W41:H41=W42:H4
2」を満足するということである。
FIG. 1 shows an example in which the paper size of a template composed of four slots is changed in such a manner that the shapes of the layout components before and after the change are similar.
Note that the similarity of the slots means “W41: H41 = W42: H4” when focusing on the width and height of the upper left slot in the figure.
2 ”.

【0005】また、図2は、4つのスロットで構成され
るテンプレートの用紙サイズを、用紙形状とレイアウト
構成要素の形状との対比が一定になる方法で変更した場
合の例である。ここで、用紙形状とスロット形状の対比
が一定とは、図中の左上のスロットの幅と高さに着目し
た場合「W51a:W51b=W52a:W52b、H
51a:H51b=H52a:H52b」を満足すると
いうことである。
FIG. 2 shows an example in which the paper size of a template composed of four slots is changed in such a manner that the contrast between the paper shape and the shape of the layout component is constant. Here, the constant comparison between the paper shape and the slot shape means that when focusing on the width and height of the upper left slot in the figure, “W51a: W51b = W52a: W52b, H
51a: H51b = H52a: H52b ”.

【0006】しかしながら、図1や図2に示す方法で
は、余白サイズが無視されるため、綴じ代や物理的な印
刷不可領域を侵害する危険がある。
However, in the methods shown in FIGS. 1 and 2, since the margin size is ignored, there is a danger that binding margins and physical unprintable areas will be violated.

【0007】本発明は、上述の課題を解決するためにな
されたもので、文書の用紙サイズを変更する場合、余白
サイズは一定のまま、有効領域の形状とレイアウト構成
要素の形状の対比を一定に保って再配置を行うことで、
綴じ代や物理的な印刷不可領域を侵害することなく、レ
イアウト構成要素であるオブジェクト枠の形状を自由か
つ容易に設定できる文書処理方法及び装置を提供するこ
とを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problem. When the paper size of a document is changed, the contrast between the shape of the effective area and the shape of the layout component is kept constant while the margin size is kept constant. By rearranging while maintaining
An object of the present invention is to provide a document processing method and apparatus capable of freely and easily setting the shape of an object frame, which is a layout component, without infringing a binding margin or a physically unprintable area.

【0008】また、本発明の他の目的は、用紙サイズを
変更する際に、レイアウト構成要素の形状を「元文書の
スロット形状を優先」、「有効領域とスロットの対比一
定を優先」の2つのモードからユーザが目的に応じて切
り替え可能な文書処理方法及び装置を提供することであ
る。
Another object of the present invention is to change the paper size by changing the shape of the layout component to "prioritize the slot shape of the original document" and "prioritize the constant comparison between the effective area and the slot". It is an object of the present invention to provide a document processing method and apparatus in which a user can switch from one of the modes according to the purpose.

【0009】[0009]

【課題を解決するための手段】上記目的を達成するため
に、本発明は、用紙サイズを変更するにあたり、文書内
の複数のレイアウト構成要素の配置を変更する文書処理
装置であって、用紙サイズ変更後の文書の有効領域サイ
ズを算出する第1の算出手段と、前記第1の算出手段で
算出された有効領域サイズに基づき、用紙サイズ変更後
の各レイアウト構成要素のサイズ及び位置を算出する第
2の算出手段とを有することを特徴とする。
In order to achieve the above object, the present invention provides a document processing apparatus for changing the layout of a plurality of layout components in a document when changing the paper size. First calculating means for calculating the effective area size of the changed document, and calculating the size and position of each layout component after changing the paper size based on the effective area size calculated by the first calculating means. A second calculating means.

【0010】[0010]

【発明の実施の形態】以下、図面を参照しながら本発明
に係る実施の形態を詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0011】[情報処理システムの構成]図3は、実施
形態による文書処理方法が適用される情報処理システム
の構成を示す図である。同図において、301は中央処
理装置であり、情報処理システム全体を制御するCP
U、そのCPUのプログラムや制御データを格納するR
OM、CPUが処理を実行時に使用する作業領域や各種
テーブル等が定義されているRAM等を含む。302は
ハードディスク等の記憶装置であり、後述するテンプレ
ートファイル等を格納する。303はキーボードであ
り、ユーザが各種指示を行うものである。304はマウ
スであり、後述する表示装置へのポインティングデバイ
スである。305は表示装置であり、後述するテンプレ
ートや選択画面を表示する。
[Configuration of Information Processing System] FIG. 3 is a diagram showing a configuration of an information processing system to which the document processing method according to the embodiment is applied. In the figure, reference numeral 301 denotes a central processing unit, which is a CP that controls the entire information processing system
U, R for storing programs and control data of the CPU
The OM includes a RAM in which a work area used by the CPU when executing processing and various tables are defined. Reference numeral 302 denotes a storage device such as a hard disk, which stores a template file and the like described later. A keyboard 303 is used by the user to issue various instructions. Reference numeral 304 denotes a mouse, which is a pointing device to a display device described later. A display device 305 displays a template and a selection screen described later.

【0012】図4は、実施形態におけるプリントサービ
ス機器の構成を示す図である。このシステムは、スキャ
ナ401と、情報処理システム402と、プリンタ40
3とから、その主要部が構成されている。
FIG. 4 is a diagram showing the configuration of a print service device according to the embodiment. This system includes a scanner 401, an information processing system 402, and a printer 40.
3 constitutes the main part.

【0013】[第1の実施形態]以上の構成において、
第1の実施形態による文書処理方法について説明する。
図5は、第1の実施形態による文書処理方法を示すフロ
ーチャートである。ここでは、文書処理システムにおい
て、ユーザがキーボード303から表示対象テンプレー
ト名を入力すると、中央処理装置301がその入力信号
を受けて該当するテンプレートファイルを記憶装置30
2から読み出して、表示装置305に表示する場合を例
に説明する。
[First Embodiment] In the above configuration,
A document processing method according to the first embodiment will be described.
FIG. 5 is a flowchart illustrating the document processing method according to the first embodiment. Here, in the document processing system, when the user inputs a display target template name from the keyboard 303, the central processing unit 301 receives the input signal and stores the corresponding template file in the storage device 30.
2 and display on the display device 305 as an example.

【0014】図6は、文書処理システムにおけるテンプ
レートの一例を示す図である。図示するように、このテ
ンプレートは綴じ代を除く有効領域に4つのレイアウト
構成要素(以降、スロット)を含む構成である。
FIG. 6 is a diagram showing an example of a template in the document processing system. As shown in the figure, this template is configured to include four layout components (hereinafter, slots) in an effective area excluding a binding margin.

【0015】まず、図5に示すステップS101におい
て、中央処理装置301のCPUは図6に示すテンプレ
ートに対応するテンプレートファイルを記憶装置302
から読み出し、表示装置305に転送して表示させる。
具体的には、テンプレートの基本データとして余白サ
イズ(用紙端からの距離:左・右・上・下)、用紙サ
イズ(幅、高さ)、4つのスロットのサイズ(幅、高
さ)、4つのスロットの位置(用紙原点(左上隅)か
らスロットの基点(左上隅)までのベクトル「lef
t,topの座標」)をテンプレートファイルから読み
出し、中央処理装置301内のRAMに保存する。
First, in step S101 shown in FIG. 5, the CPU of the central processing unit 301 stores a template file corresponding to the template shown in FIG.
, And transferred to the display device 305 for display.
More specifically, as the basic data of the template, the margin size (distance from the paper edge: left, right, top, and bottom), the paper size (width, height), the size of four slots (width, height), Vector "ref from the paper origin (upper left corner) to the slot origin (upper left corner)
The coordinates “t, top” are read from the template file and stored in the RAM in the central processing unit 301.

【0016】そして、ステップS102において、基本
テンプレートの有効領域サイズを上述のステップS10
1で保存したデータを用いて算出し、この値も同様にR
AMに保存する。具体的には、有効領域サイズとして、
以下のように有効領域幅と有効領域高を算出する。
In step S102, the effective area size of the basic template is set in step S10.
Calculated using the data saved in step 1.
Save to AM. Specifically, as the effective area size,
The effective area width and the effective area height are calculated as follows.

【0017】有効領域幅(W61a)=用紙サイズ幅−
(左余白+右余白) 有効領域高(H61a)=用紙サイズ高−(上余白+下
余白) 次に、ステップS103において、ユーザがキーボード
303、マウス304を使って表示テンプレートの用紙
サイズ変更命令を入力すると、この入力信号を受けて用
紙サイズ変更処理を開始する。このとき、ユーザが用紙
サイズの設定を行うために使用するGUIのデザインは
一般的なもので良く、如何なるデザインにも特化される
ものではない。
Effective area width (W61a) = paper size width−
(Left margin + Right margin) Effective area height (H61a) = Paper size height− (Upper margin + Lower margin) Next, in step S103, the user issues a paper size change command of the display template using the keyboard 303 and the mouse 304. Upon input, the paper size change process starts upon receiving this input signal. At this time, the design of the GUI used by the user to set the paper size may be a general design, and is not specialized in any design.

【0018】次に、ステップS104において、ユーザ
が指示した新しい用紙サイズ(幅と高さ)を取得する。
尚、余白サイズは上述のステップS101で読み出した
余白サイズとする。そして、ステップS105におい
て、上述のステップS101で保存した余白データとス
テップS104で取得した新しい用紙サイズから新しい
用紙における有効領域サイズ(幅と高さ)を算出する。
ここでは、以下のように、新しい用紙の有効領域サイズ
を算出する。
Next, in step S104, a new paper size (width and height) designated by the user is obtained.
The margin size is the margin size read in step S101. Then, in step S105, the effective area size (width and height) of the new sheet is calculated from the margin data stored in step S101 and the new sheet size acquired in step S104.
Here, the effective area size of a new sheet is calculated as follows.

【0019】新有効領域幅(W62a)=新用紙サイズ
幅−(左余白+右余白) 新有効領域高(H62a)=新用紙サイズ高−(上余白
+下余白) 次に、ステップS106において、サイズ変更前の有効
サイズと、各スロットサイズの比をサイズ変更後も一律
にするように、新スロットサイズを算出する。ここで
は、新スロットサイズとして、以下のように、新スロッ
ト幅と新スロット高を算出する。
New effective area width (W62a) = new paper size width- (left margin + right margin) New effective area height (H62a) = new paper size height- (upper margin + lower margin) Next, in step S106, The new slot size is calculated so that the ratio between the effective size before the size change and each slot size is uniform after the size change. Here, as the new slot size, a new slot width and a new slot height are calculated as follows.

【0020】新スロット幅(W62b)=前スロット幅
(W61b)×新有効領域幅(W62a)÷前有効領域
幅(W61a) 新スロット高(H62b)=前スロット高(H61b)
×新有効領域高(H62a)÷前有効領域高(H61
a) 次に、ステップS107において、サイズ変更前後のス
ロット開始位置のベクトルが、有効領域サイズの変倍率
と等しくなるように、サイズ変更後のスロット開始位置
ベクトルを算出する。ここでは、サイズ変更後のスロッ
ト開始位置ベクトルとして、以下のように、新座標を算
出する。
New slot width (W62b) = previous slot width (W61b) × new effective area width (W62a) / previous effective area width (W61a) New slot height (H62b) = previous slot height (H61b)
× new effective area height (H62a) ÷ previous effective area height (H61a)
a) Next, in step S107, a slot start position vector after the size change is calculated such that the vector of the slot start position before and after the size change is equal to the scaling factor of the effective area size. Here, new coordinates are calculated as the slot start position vector after the size change as follows.

【0021】新座標(left)={前座標(lef
t)−前左余白}×新有効幅(W62a)÷前有効幅
(W61a)+新左余白 新座標(Top) ={前座標(Top)−前上余白}
×新有効高(H62a)÷前有効高(H61a)+新上
余白 次に、ステップS108において、上述のステップS1
06,S107で算出した新スロットサイズとスロット
開始位置ベクトルを用いて新テンプレート上にスロット
を再配置し、表示装置305に転送して表示させる。ま
た、プリント指示に応じて再配置された文書をプリンタ
403にてプリント出力する。
New coordinate (left) = {previous coordinate (left)
t) -front left margin {x new effective width (W62a)} front effective width (W61a) + new left margin new coordinate (Top) = {front coordinate (Top)-front upper margin}
× new effective height (H62a) ÷ previous effective height (H61a) + new upper margin Next, in step S108, the above-described step S1
06, the slot is rearranged on the new template using the new slot size and the slot start position vector calculated in S107, transferred to the display device 305 and displayed. The relocated document is printed out by the printer 403 in response to the print instruction.

【0022】このように、第1の実施形態によれば、文
書の用紙サイズ・余白と、当該文書を構成する全要素の
サイズ・位置を記憶するための記憶手段と、文書の有効
表示領域サイズを算出して記憶する手段と、記憶手段で
保持した文書を表示する表示手段と、記憶手段で保持し
た文書を異なる用紙サイズに変更する命令を受け取る手
段と、その命令で指示された用紙サイズの有効表示領域
サイズを算出する手段と、記憶手段で保持していた当該
文書を構成する全要素のサイズ情報と算出した新有効表
示領域サイズから命令で指示された用紙サイズにおける
当該文書の全構成要素のサイズを有効領域サイズに対す
るスロットサイズの比が用紙サイズ変更の前後で不変で
あるように算出する手段と、記憶手段で保持していた当
該文書を構成する全要素の位置情報と算出した新有効表
示領域位置から命令で指示された用紙サイズにおける当
該文書の全構成要素の位置を有効領域サイズに対する各
ベクトルの方向成分(P=(Px,Py))の比が用紙
サイズ変更の前後で不変であるように算出する手段と、
算出した新用紙サイズにおける当該文書の全構成要素の
サイズと位置で文書の全構成要素の再配置を行う手段
と、再配置を行った文書を表示する手段とを有すること
で、文書処理方法を実現し、綴じ代や物理的な印刷不可
領域を侵害することなく、レイアウト構成要素であるオ
ブジェクト枠の形状を自由かつ容易に設定できるという
効果がある。
As described above, according to the first embodiment, the storage means for storing the paper size / margin of the document, the size / position of all elements constituting the document, and the effective display area size of the document Means for calculating and storing the document, display means for displaying the document held by the storage means, means for receiving an instruction to change the document held by the storage means to a different paper size, and Means for calculating the effective display area size, and all the constituent elements of the document at the paper size specified by the instruction from the size information of all elements constituting the document held in the storage means and the calculated new effective display area size Means for calculating the size of the document so that the ratio of the slot size to the effective area size does not change before and after the change of the paper size, and constitutes the document held by the storage means. From the position information of the element and the calculated new effective display area position, the position of all components of the document in the paper size specified by the instruction is the ratio of the directional component (P = (Px, Py)) of each vector to the effective area size. Means for calculating that is unchanged before and after the paper size change,
A document processing method is provided by having means for rearranging all the components of the document at the size and position of all the components of the document in the calculated new paper size, and means for displaying the rearranged document. This makes it possible to freely and easily set the shape of the object frame, which is a layout component, without infringing the binding margin or the physical unprintable area.

【0023】[第1の実施形態の変形例]次に、第1の
実施形態の変形例による文書処理方法について説明す
る。変形例では、算出した新スロットサイズとスロット
開始位置ベクトルのデータを次回の用紙サイズ変更のデ
ータに使用するために、記憶装置302の基本テンプレ
ート群に新テンプレートを追加するものである。
[Modification of First Embodiment] Next, a document processing method according to a modification of the first embodiment will be described. In the modified example, a new template is added to the basic template group of the storage device 302 in order to use the calculated data of the new slot size and the slot start position vector for the data of the next paper size change.

【0024】図7は、第1の実施形態の変形例による文
書処理方法を示すフローチャートである。図示するよう
に、ステップS111〜S118は、図5に示すステッ
プS101〜S108と同様である。即ち、この変形例
では、ステップS119で、算出した新テンプレートを
記憶装置302の基本テンプレート群に追加し、次回の
用紙サイズ変更に使用する。
FIG. 7 is a flowchart showing a document processing method according to a modification of the first embodiment. As shown, steps S111 to S118 are the same as steps S101 to S108 shown in FIG. That is, in this modification, in step S119, the calculated new template is added to the basic template group of the storage device 302, and used for the next paper size change.

【0025】第1の実施形態の変形例によれば、算出し
た新用紙サイズにおける当該文書の全構成要素のサイズ
と位置で文書の全構成要素の再配置を行う際に、新用紙
サイズにおける当該文書の用紙サイズ・余白と全構成要
素のサイズ・位置で、最初に記憶していた文書の用紙サ
イズ・余白と、当該文書を構成する全要素のサイズ・位
置の情報を更新することで、変形の基準となる文書を基
本文書(初期文書)ではなく、直前に表示していた文書
に置き換えられるという効果がある。
According to the modification of the first embodiment, when rearranging all the components of the document with the sizes and positions of all the components of the document in the calculated new paper size, Deformation is performed by updating the information of the paper size / margin of the document that was stored first and the size / position of all the elements that compose the document based on the paper size / margin of the document and the size / position of all components. There is an effect that the document serving as the reference is replaced with the document displayed immediately before, instead of the basic document (initial document).

【0026】[第2の実施形態]次に、図面を参照しな
がら第2の実施形態を詳細に説明する。尚、第2の実施
形態における情報処理システムの構成は前述した図3に
示す構成と同様であり、ここでの説明は省略する。ま
た、テンプレートは前述した図6に示すものを参照して
説明する。
[Second Embodiment] Next, a second embodiment will be described in detail with reference to the drawings. Note that the configuration of the information processing system according to the second embodiment is the same as the configuration shown in FIG. 3 described above, and a description thereof will be omitted. The template will be described with reference to the template shown in FIG.

【0027】第2の実施形態では、用紙サイズを変更す
る際に、レイアウト構成要素の形状を「スロットのアス
ペクト比を保つ」、「余白サイズを一定に保つ」の2つ
のモードからユーザが目的に応じて切り替えるものであ
る。
In the second embodiment, when the paper size is changed, the user can change the shape of the layout component from two modes of "keep the aspect ratio of the slot" and "keep the margin size constant". It switches according to.

【0028】図8は、第2の実施形態における文書処理
方法を示すフローチャートである。図示するように、ス
テップS201〜S205は、図5に示すステップS1
01〜S105と同様である。尚、ユーザは用紙サイズ
を変更する際に、図9に示すようなGUIを用いて用紙
サイズ変更時のモードの選択が可能である。
FIG. 8 is a flowchart showing a document processing method according to the second embodiment. As shown, steps S201 to S205 are performed in step S1 shown in FIG.
Same as 01 to S105. When changing the paper size, the user can select a mode for changing the paper size by using a GUI as shown in FIG.

【0029】図8に示すステップS206において、中
央処理装置301のCPUは、図9に示す画面でユーザ
が「スロットのアスペクト比を保つ」「余白サイズを一
定に保つ」のどちらのモードを選択したかを判定する。
ここで、「余白サイズを一定に保つ」、即ち、変更前後
の有効領域に対するスロットサイズの比が一定を選択し
た場合はステップS211へ進み、図5に示すステップ
S106,S107と同様にサイズと新座標を算出す
る。
In step S206 shown in FIG. 8, the CPU of the central processing unit 301 selects one of the modes of "keep the aspect ratio of the slot" and "keep the margin size constant" on the screen shown in FIG. Is determined.
Here, if “keep the margin size constant”, that is, if the ratio of the slot size to the effective area before and after the change is selected to be constant, the process proceeds to step S211 and the size and the new size are changed similarly to steps S106 and S107 shown in FIG. Calculate the coordinates.

【0030】また、ステップS206において、「スロ
ットのアスペクト比を保つ」、即ち、変更前後のスロッ
ト形状が一定(相似)を選択した場合はステップS22
1へ進み、サイズ変更前後のスロットの縦横比を一律に
するように新スロットサイズを算出する。具体的には、
以下のように、縮尺を求め、その縮尺に基づきサイズを
算出する。
In step S206, if "keep the aspect ratio of the slot" is selected, that is, if the slot shape before and after the change is fixed (similar), step S22 is performed.
The process proceeds to 1 to calculate a new slot size so that the aspect ratio of the slot before and after the size change is made uniform. In particular,
The scale is calculated as follows, and the size is calculated based on the scale.

【0031】縮尺=Min{新有効領域幅(W42a)
÷前有効領域幅(W41a),新有効領域高(H42
a)÷前有効領域高(H41a)} 新スロット幅(W42b)=前スロット幅(W41b)
×縮尺 新スロット高(H42b)=前スロット高(H41b)
×縮尺 そして、ステップS222において、上述のステップS
221で求めた縮尺に基づき以下のように、新スロット
位置を算出する。
Scale = Min {New effective area width (W42a)
÷ Previous effective area width (W41a), new effective area height (H42
a) {Previous effective area height (H41a)} new slot width (W42b) = previous slot width (W41b)
× scale New slot height (H42b) = front slot height (H41b)
X scale Then, in step S222, the above-described step S
The new slot position is calculated as follows based on the scale obtained in 221.

【0032】新座標(left)={前座標(lef
t)−前左余白}×縮尺+新左余白 新座標(Top) ={前座標(Top)−前上余白}
×縮尺+新上余白 次に、上述のステップS211,S212、或いはS2
21,S222で算出したサイズと位置情報を用いて新
テンプレート上にスロットを再配置し、表示装置305
に表示する。
New coordinate (left) = {previous coordinate (left)
t) −front left margin} × scale + new left margin new coordinate (Top) = {front coordinate (Top) −front upper margin}
× scale + new upper margin Next, the above-mentioned step S211, S212 or S2
21, the slots are rearranged on the new template using the size and position information calculated in S222, and the display device 305
To be displayed.

【0033】第2の実施形態によれば、文書を異なる用
紙サイズに変更する命令を受け取った際に、構成要素の
変形にあたって優先する項目をユーザに問うステップを
有することを特徴とした文書処理方式を実現し、用紙サ
イズ変更の際にレイアウト構成要素の形状を「スロット
のアスペクト比を保つ」、「余白サイズを一定に保つ」
の2つのモードからユーザが目的に応じて切り替えるこ
とができるという効果がある。
According to the second embodiment, when receiving an instruction to change a document to a different paper size, there is provided a step of inquiring a user of an item to be prioritized in transforming a component. When changing the paper size, the shape of the layout component is changed to "Keep the aspect ratio of the slot" and "Keep the margin size constant".
There is an effect that the user can switch from the two modes according to the purpose.

【0034】[第1の実施形態の応用例]図面を参照し
ながら第1の実施形態の応用例を詳細に説明する。尚、
この応用例におけるプリントサービス機構の構成は図4
に示す構成と同様であるが、プリンタ403は両面印刷
の機構を実装しているものとする。また、情報処理シス
テムの構成は図3に示す構成と同様であるが、表示装置
305は両面印刷機構を備えたプリンタ403に相当
し、かつ、この情報処理システムは両面印刷機構を使用
するに十分なプリンタドライバ等の準備を完了している
ものとする。
[Application Example of First Embodiment] An application example of the first embodiment will be described in detail with reference to the drawings. still,
The configuration of the print service mechanism in this application example is shown in FIG.
However, it is assumed that the printer 403 has a double-sided printing mechanism. The configuration of the information processing system is the same as the configuration shown in FIG. 3, except that the display device 305 corresponds to the printer 403 having a two-sided printing mechanism, and the information processing system is sufficient to use the two-sided printing mechanism. It is assumed that the preparation of a suitable printer driver and the like has been completed.

【0035】図10は、第1の実施形態の応用例で使用
するテンプレートの一例である。このテンプレートは、
第1の実施形態の説明で使用した図6なるテンプレート
が複数ページに渡って連続しているものに相当する。こ
のテンプレートは、左余白(綴じ代=W10s)以外の
余白はすべて0で、有効表示領域内に4つのスロットを
持っている。
FIG. 10 shows an example of a template used in an application example of the first embodiment. This template
The template shown in FIG. 6 used in the description of the first embodiment corresponds to a template that is continuous over a plurality of pages. In this template, all margins other than the left margin (binding margin = W10s) are 0, and the template has four slots in the effective display area.

【0036】図11は、図10なるテンプレートをプリ
ンタ403によって両面印刷した場合の出力例(第nペ
ージと、それに連続する第n+1ページ)である。両面
印刷の出力は、両面と裏面の有効表示領域(用紙全体か
ら上下左右の余白を除いた領域)のサイズは同じだが、
図11で示すように両面印刷では見開き時に中央となる
部分が綴じ代になるので、左右または上下の余白量が綴
じ代の位置によって異なる。
FIG. 11 shows an output example (n-th page and the (n + 1) -th page following it) when the template shown in FIG. 10 is printed on both sides by the printer 403. In the output of double-sided printing, the size of the effective display area on both sides and the back side (the area excluding the top, bottom, left and right margins from the entire paper) is the same,
As shown in FIG. 11, in double-sided printing, the central portion at the time of double-page spread is a binding margin, so the left, right, top and bottom margins differ depending on the binding margin position.

【0037】横綴じ 上下の余白量は表裏で同一だが、表面の右余白量は裏面
の左余白量になり、表面の左余白量は裏面の右余白量に
なる。…(a) 縦綴じ 左右の余白量は表裏で同一だが、表面の上余白量は裏面
の下余白量になり、表面の下余白量は裏面の上余白量に
なる。…(b) 両面印刷時の裏面の有効表示領域のサイズは等しく、余
白位置の違いによって表示位置が異なる(用紙の左上を
基点として有効表示領域の左上の座標を見た場合の開始
位置ベクトルが異なる)という特性を加味して第1の実
施形態でいうところのステップS107を行うことで、
第1の実施形態を両面印刷用に応用できる。
Horizontal binding The top and bottom margins are the same on both sides, but the right margin on the front side is the left margin on the back side, and the left margin on the front side is the right margin on the back side. (A) Vertical binding Although the left and right margin amounts are the same on the front and back, the upper margin amount on the front surface is the lower margin amount on the back surface, and the lower margin amount on the front surface is the upper margin amount on the back surface. ... (b) The size of the effective display area on the back side during double-sided printing is the same, and the display position is different depending on the margin position (the starting position vector when the upper left coordinate of the effective display area is viewed starting from the upper left of the paper is By performing step S107 in the first embodiment in consideration of the characteristic of
The first embodiment can be applied to duplex printing.

【0038】第1の実施形態の記述における、用紙サイ
ズ変更前後の各スロットの再配置位置(用紙原点からス
ロットの基点までのベクトル「left,topの座
標」)を求める算術式を、両面印刷における第n
面、第n+1面に応用する。
In the description of the first embodiment, the arithmetic expression for finding the rearrangement position of each slot before and after the paper size change (the vector “left, top coordinates” from the paper origin to the slot base point) is the same as that for double-sided printing. Nth
This is applied to the (n + 1) th plane.

【0039】 用紙原点:用紙の左上隅、 スロットの基点:スロットの左上隅 新座標(left')={前座標(left)−前左余白} ×新有効幅÷前有効幅+新左余白 … 新座標(top') ={前座標(top)−前上余白} ×新有効高÷前有効高+新上余白 … 表面と裏面の有効表示領域のサイズが等しいことから、
式における前有効幅・前有効高・新有効幅・新有効
高は第n面と第n+1面で同じ値を使用できる。図11
におけるそれらの値は次の通りである。
Paper origin: upper left corner of paper, base point of slot: upper left corner of slot New coordinate (left ') = {front coordinate (left) -front left margin} × new effective width ÷ front effective width + new left margin New coordinate (top ') = {front coordinate (top)-front top margin} x new effective height / front effective height + new top margin ... Since the size of the effective display area on the front and back sides is equal,
The same value can be used for the front effective width, front effective height, new effective width, and new effective height in the n-th surface and the (n + 1) th surface. FIG.
Are as follows:

【0040】 前有効幅=W101a,前有効高=H101a, 新有効幅=W101b,新有効高=H101b … 一方、(a)より、表面と裏面では余白量が異なる。図
11における余白量は次の通りである。
Front effective width = W101a, previous effective height = H101a, new effective width = W101b, new effective height = H101b ... On the other hand, the margin amount differs between the front surface and the back surface from (a). The margin amounts in FIG. 11 are as follows.

【0041】 テンプレート:左余白=W10s、右余白=0、上下余白=0 …-1 第n面 :左余白=0、右余白=W10s、上下余白=0 …-2 第n+1面 :左余白=W10s、右余白=0、上下余白=0 …-3 式より、テンプレート上の前座標(left,top)を第
n面と第n+1面上の新座標(left',top')に再配置
する際の座標変換を求める際の前左余白・新左余白、前
上余白・新上余白は次のようになる。
Template: left margin = W10s, right margin = 0, upper / lower margin = 0... -1 nth plane: left margin = 0, right margin = W10s, upper / lower margin = 0... -2nd n + 1th plane: left margin = W10s, right margin = 0, upper / lower margin = 0... -3, the front coordinates (left, top) on the template are rearranged to the new coordinates (left ', top') on the nth and n + 1th planes. The front left margin / new left margin and the front upper margin / new upper margin when calculating the coordinate conversion are as follows.

【0042】 第n面 :前左余白=W10s、前上余白=0、 新左余白=0、新上余白=0 … 第n+1面:前左余白=W10s、前上余白=0、 新左余白=W10s、新上余白=0 … 有効表示領域内の各スロットの開始位置(v101,v
102)は表面と裏面で同じなので、図11における用
紙サイズ変更後のスロットの開始位置ベクトルは、
式にを代入することで以下のように求められる。
Surface n: front left margin = W10s, front upper margin = 0, new left margin = 0, new upper margin = 0 ... n + 1th surface: front left margin = W10s, front upper margin = 0, new left margin = W10s, new upper margin = 0 ... start position of each slot in the effective display area (v101, v
102) is the same for the front side and the back side, the slot start position vector after the paper size change in FIG.
By substituting into the expression, it is obtained as follows.

【0043】 第n面: 新座標(left')={前座標(left)−前左余白(W10s)} ×新有効幅(W102a)÷前有効幅(W101a)+新左余白(0) =(left-W10s)×W102a÷W101a 新座標(top')={前座標(top)−上余白(0)} ×新有効高(H102a)÷前有効高(H101a)+上余白(0) =top×H102a÷H101a 第n+1面: 新座標(left')={前座標(left)−前左余白(W10s)} ×新有効幅(W102a)÷前有効幅(W101a)+新左余白(W10s) =(left-W10s)×W102a÷W101a+W10s 新座標(top')={前座標(top)−上余白(0)} ×新有効高(H102a)÷前有効高(H101a)+上余白(0) =top×H102a÷H101a 第1の実施形態の説明で記述したような方法で算出した
新スロットサイズと、ここで算出したスロット開始位置
ベクトルを用いて、用紙サイズ変更後の各スロットを再
配置して表示装置305に転送すれば、良好な両面印刷
の出力を得られる。
Surface n: New coordinate (left ') = {front coordinate (left) -front left margin (W10s)} × new effective width (W102a) ÷ front effective width (W101a) + new left margin (0) = (left-W10s) × W102a ÷ W101a New coordinate (top ') = {previous coordinate (top)-top margin (0)} × new effective height (H102a) ÷ previous effective height (H101a) + top margin (0) = top × H102a ÷ H101a n + 1st surface: New coordinate (left ') = {front coordinate (left)-front left margin (W10s)} x new effective width (W102a) ÷ front effective width (W101a) + new left margin (W10s ) = (Left-W10s) x W102a ÷ W101a + W10s New coordinate (top ') = {front coordinate (top)-top margin (0)} x new effective height (H102a) ÷ front effective height (H101a) + top margin (0 = Top × H102a ÷ H101a Using the new slot size calculated by the method described in the description of the first embodiment and the slot start position vector calculated here, rearrange each slot after changing the paper size. Then, when the image data is transferred to the display device 305, a good output of the duplex printing can be obtained.

【0044】本説明において用いた綴じ方向や余白量は
単なる一例に過ぎず、ここに示す値に特化するものでは
ない。
The binding directions and the margin amounts used in this description are merely examples, and are not limited to the values shown here.

【0045】また、本発明は、両面印刷における描画用
内部データの構成・並びに両面印刷用の各種ハード構成
に関して特化されない。
The present invention does not specialize in the configuration of internal data for drawing in double-sided printing and various hardware configurations for double-sided printing.

【0046】[その他の実施形態]上述した図9に示す
ダイアログボックスのデザインは一例であり、特にここ
に示す図面に特化するものではない。
[Other Embodiments] The design of the dialog box shown in FIG. 9 described above is an example, and is not particularly limited to the drawings shown here.

【0047】尚、本発明は複数の機器(例えば、ホスト
コンピュータ,インタフェイス機器,リーダ,プリンタ
など)から構成されるシステムに適用しても、一つの機
器からなる装置(例えば、複写機,ファクシミリ装置な
ど)に適用してもよい。
The present invention can be applied to a system including a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), but can be applied to a single device (for example, a copier, a facsimile). Device).

【0048】また、本発明の目的は前述した実施形態の
機能を実現するソフトウェアのプログラムコードを記録
した記憶媒体を、システム或いは装置に供給し、そのシ
ステム或いは装置のコンピュータ(CPU若しくはMP
U)が記憶媒体に格納されたプログラムコードを読出し
実行することによっても、達成されることは言うまでも
ない。
Further, an object of the present invention is to supply 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 (CPU or MP) of the system or apparatus.
It goes without saying that U) can also be achieved by reading and executing the program code stored in the storage medium.

【0049】この場合、記憶媒体から読出されたプログ
ラムコード自体が前述した実施形態の機能を実現するこ
とになり、そのプログラムコードを記憶した記憶媒体は
本発明を構成することになる。
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.

【0050】プログラムコードを供給するための記憶媒
体としては、例えばフロッピーディスク,ハードディス
ク,光ディスク,光磁気ディスク,CD−ROM,CD
−R,磁気テープ,不揮発性のメモリカード,ROMな
どを用いることができる。
As a storage medium for supplying the program code, for example, a floppy disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD
-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.

【0051】また、コンピュータが読出したプログラム
コードを実行することにより、前述した実施形態の機能
が実現されるだけでなく、そのプログラムコードの指示
に基づき、コンピュータ上で稼動している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.

【0052】更に、記憶媒体から読出されたプログラム
コードが、コンピュータに挿入された機能拡張ボードや
コンピュータに接続された機能拡張ユニットに備わるメ
モリに書込まれた後、そのプログラムコードの指示に基
づき、その機能拡張ボードや機能拡張ユニットに備わる
CPUなどが実際の処理の一部又は全部を行い、その処
理によって前述した実施形態の機能が実現される場合も
含まれることは言うまでもない。
Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, based on the instructions 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.

【0053】[0053]

【発明の効果】以上説明したように、本発明によれば、
文書の用紙サイズを変更する場合に、余白サイズは一定
のまま、有効領域の形状とレイアウト構成要素の形状の
対比を一定に保って再配置を行うことで、綴じ代や物理
的な印刷不可領域を侵害することなく、レイアウト構成
要素であるオブジェクト枠の形状を自由かつ容易に設定
することが可能となる。
As described above, according to the present invention,
When changing the paper size of the document, the margins are kept constant and the rearrangement is performed with the contrast of the shape of the effective area and the shape of the layout component kept constant, so that binding margins and physically unprintable areas are Can be freely and easily set without infringing the shape of the object frame.

【0054】また、用紙サイズを変更する際に、レイア
ウト構成要素の形状を「元文書のスロット形状を優
先」、「有効領域とスロットの対比一定を優先」の2つ
の方法からユーザが目的に応じて切り替え可能に構成す
ることで、ユーザの利便性を向上させることができる。
When changing the paper size, the user can change the shape of the layout component from two methods, "prioritize the slot shape of the original document" and "prioritize constant comparison between the effective area and the slot". With such a configuration, the convenience for the user can be improved.

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

【図1】4つのスロットで構成されるテンプレートの用
紙サイズを、変更前後のレイアウト構成要素の形状が相
似になる方法で変更した場合の例である。
FIG. 1 shows an example in which the paper size of a template composed of four slots is changed in a manner that the shapes of layout components before and after the change are similar.

【図2】4つのスロットで構成されるテンプレートの用
紙サイズを、用紙形状とレイアウト構成要素の形状との
対比が一定になる方法で変更した場合の例である。
FIG. 2 is an example of a case where the paper size of a template composed of four slots is changed in such a way that the contrast between the paper shape and the shape of a layout component becomes constant.

【図3】実施形態による文書処理方法が適用される情報
処理システムの構成を示す図である。
FIG. 3 is a diagram illustrating a configuration of an information processing system to which the document processing method according to the embodiment is applied.

【図4】実施形態におけるプリントサービス機構の構成
を示す図である。
FIG. 4 is a diagram illustrating a configuration of a print service mechanism according to the embodiment.

【図5】第1の実施形態による文書処理方法を示すフロ
ーチャートである。
FIG. 5 is a flowchart illustrating a document processing method according to the first embodiment.

【図6】文書処理システムにおけるテンプレートの一例
を示す図である。
FIG. 6 is a diagram illustrating an example of a template in the document processing system.

【図7】第1の実施形態の変形例による文書処理方法を
示すフローチャートである。
FIG. 7 is a flowchart illustrating a document processing method according to a modification of the first embodiment.

【図8】第2の実施形態における文書処理方法を示すフ
ローチャートである。
FIG. 8 is a flowchart illustrating a document processing method according to the second embodiment.

【図9】第2の実施形態によるダイアログボックスの表
示例を示す図である。
FIG. 9 is a diagram illustrating a display example of a dialog box according to the second embodiment.

【図10】第1の実施形態の応用例で使用するテンプレ
ートの一例を示す図である。
FIG. 10 is a diagram illustrating an example of a template used in an application example of the first embodiment.

【図11】図10のテンプレートを両面印刷した場合の
出力例を示す図である。
11 is a diagram illustrating an output example when the template of FIG. 10 is printed on both sides.

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

301 中央処理装置 302 記憶装置 303 キーボード 304 マウス 305 表示装置 401 スキャナ 402 情報処理システム 403 プリンタ 301 Central processing unit 302 Storage device 303 Keyboard 304 Mouse 305 Display device 401 Scanner 402 Information processing system 403 Printer

Claims (27)

【特許請求の範囲】[Claims] 【請求項1】 用紙サイズを変更するにあたり、文書内
の複数のレイアウト構成要素の配置を変更する文書処理
装置であって、 用紙サイズ変更後の文書の有効領域サイズを算出する第
1の算出手段と、 前記第1の算出手段で算出された有効領域サイズに基づ
き、用紙サイズ変更後の各レイアウト構成要素のサイズ
及び位置を算出する第2の算出手段とを有することを特
徴とする文書処理装置。
1. A document processing apparatus for changing an arrangement of a plurality of layout components in a document when changing a paper size, wherein the first calculating means calculates an effective area size of the document after the paper size is changed. And a second calculating means for calculating the size and position of each layout component after changing the paper size based on the effective area size calculated by the first calculating means. .
【請求項2】 前記第1の算出手段は、記憶手段に記憶
されたテンプレートデータに基づき用紙サイズ変更後の
文書の有効領域サイズを算出することを特徴とする請求
項1に記載の文書処理装置。
2. The document processing apparatus according to claim 1, wherein the first calculation unit calculates an effective area size of the document after the paper size is changed based on the template data stored in the storage unit. .
【請求項3】 前記第1の算出手段は、用紙サイズ変更
前と用紙サイズ変更後とで文書の余白が一定になるよう
に、変更後の有効領域サイズを算出することを特徴とす
る請求項1に記載の文書処理装置。
3. The method according to claim 1, wherein the first calculating unit calculates the effective area size after the change so that the margin of the document is constant before and after the paper size is changed. 2. The document processing device according to 1.
【請求項4】 前記第2の算出手段は、当該文書が表面
であるか裏面であるかに応じて、前記余白の位置を異な
らしめることを特徴とする請求項3に記載の文書処理装
置。
4. The document processing apparatus according to claim 3, wherein the second calculating unit changes the position of the margin according to whether the document is a front side or a back side.
【請求項5】 前記第2の算出手段は、変更前の有効領
域と変更後の有効領域とのサイズ比率に基づいて各レイ
アウト構成要素のサイズ及び位置を算出することを特徴
とする請求項1に記載の文書処理装置。
5. The apparatus according to claim 1, wherein the second calculating means calculates the size and position of each layout component based on a size ratio between the effective area before the change and the effective area after the change. A document processing device according to claim 1.
【請求項6】 前記第2の算出手段は、変更前の有効領
域と変更後の有効領域との縦方向のサイズ比率に基づい
て前記各レイアウト構成要素の縦方向のサイズ及び位置
を算出し、変更前の有効領域サイズと変更後の有効領域
との横方向のサイズ比率に基づいて前記各レイアウト構
成要素の横方向のサイズ及び位置を算出することを特徴
とする請求項5に記載の文書処理装置。
6. The second calculating means calculates a vertical size and a position of each of the layout components based on a vertical size ratio between the effective area before the change and the effective area after the change, 6. The document processing according to claim 5, wherein a horizontal size and a position of each of the layout components are calculated based on a horizontal size ratio between the effective area size before the change and the effective area after the change. apparatus.
【請求項7】 更に、前記第2の算出手段の算出結果を
記憶する記憶手段を有することを特徴とする請求項1に
記載の文書処理装置。
7. The document processing apparatus according to claim 1, further comprising storage means for storing a calculation result of said second calculation means.
【請求項8】 更に、前記第2の算出手段で算出された
サイズ及び位置に前記レイアウト構成要素を再配置して
出力する出力手段を有することを特徴とする請求項1に
記載の文書処理装置。
8. The document processing apparatus according to claim 1, further comprising output means for rearranging and outputting said layout components at the size and position calculated by said second calculation means. .
【請求項9】 前記出力手段は、用紙にプリントするプ
リンタであることを特徴とする請求項8に記載の文書処
理装置。
9. The document processing apparatus according to claim 8, wherein the output unit is a printer that prints on paper.
【請求項10】 用紙サイズを変更するにあたり、文書
内の複数のレイアウト構成要素の配置を変更する文書処
理方法であって、 用紙サイズ変更後の文書の有効利用サイズを算出する第
1の算出工程と、 前記第1の算出工程で算出された有効領域サイズに基づ
き、用紙サイズ変更後の各レイアウト構成要素のサイズ
及び位置を算出する第2の算出工程とを有することを特
徴とする文書処理方法。
10. A document processing method for changing an arrangement of a plurality of layout components in a document when changing a sheet size, wherein a first calculating step of calculating an effective use size of the document after changing the sheet size. And a second calculation step of calculating the size and position of each layout component after changing the paper size based on the effective area size calculated in the first calculation step. .
【請求項11】 前記第1の算出工程は、記憶手段に記
憶されたテンプレートデータに基づき用紙サイズ変更後
の文書の有効領域サイズを算出することを特徴とする請
求項10に記載の文書処理方法。
11. The document processing method according to claim 10, wherein the first calculating step calculates an effective area size of the document after the paper size is changed based on the template data stored in the storage unit. .
【請求項12】 前記第1の算出工程は、用紙サイズ変
更前と用紙サイズ後とで文書の余白が一定になるよう
に、用紙サイズ変更後の有効領域サイズを算出すること
を特徴とする請求項10に記載の文書処理方法。
12. The method according to claim 1, wherein in the first calculating step, an effective area size after the paper size is changed is calculated so that a margin of the document becomes constant before and after the paper size is changed. Item 10. The document processing method according to Item 10.
【請求項13】 前記第2の算出工程は、当該文書が表
面であるか裏面であるかに応じて、前記余白の位置を異
ならしめることを特徴とする請求項12に記載の文書処
理方法。
13. The document processing method according to claim 12, wherein in the second calculating step, the position of the margin is changed depending on whether the document is a front side or a back side.
【請求項14】 前記第2の算出工程は、変更前の有効
領域と変更後の有効領域とのサイズ比率に基づいて前記
各レイアウト構成要素のサイズ及び位置を算出すること
を特徴とする請求項10に記載の文書処理方法。
14. The method according to claim 1, wherein the second calculating step calculates a size and a position of each of the layout components based on a size ratio between the effective area before the change and the effective area after the change. 10. The document processing method according to 10.
【請求項15】 前記第2の算出工程は、変更前の有効
領域と変更後の有効領域との縦方向のサイズ比率に基づ
いて前記各レイアウト構成要素の縦方向のサイズ及び位
置を算出し、変更前の有効領域と変更後の有効領域との
横方向のサイズ比率に基づいて前記各レイアウト構成要
素の横方向のサイズ及び位置を算出することを特徴とす
る請求項14に記載の文書処理方法。
15. The second calculating step calculates a vertical size and a position of each of the layout components based on a vertical size ratio between the effective area before the change and the effective area after the change, 15. The document processing method according to claim 14, wherein a horizontal size and a position of each of the layout components are calculated based on a horizontal size ratio between the effective area before the change and the effective area after the change. .
【請求項16】 更に、前記第2の算出工程の算出結果
を記憶する記憶工程を有することを特徴とする請求項1
0に記載の文書処理方法。
16. The apparatus according to claim 1, further comprising a storage step of storing a calculation result of said second calculation step.
0. The document processing method described in item 0.
【請求項17】 更に、前記第2の算出工程で算出され
たサイズ及び位置に前記各レイアウト構成要素を再配置
して出力する出力工程を有することを特徴とする請求項
10に記載の文書処理方法。
17. The document processing according to claim 10, further comprising an output step of rearranging and outputting each of the layout components to the size and position calculated in the second calculation step. Method.
【請求項18】 前記出力工程は、用紙にプリントする
プリンタを用いることを特徴とする請求項17に記載の
文書処理方法。
18. The document processing method according to claim 17, wherein the output step uses a printer that prints on paper.
【請求項19】 コンピュータに用紙サイズを変更する
にあたり、文書内の複数のレイアウト構成要素の配置を
変更させるための文書処理方法のプログラムコードを記
憶したコンピュータ読取り可能な記憶媒体であって、 用紙サイズ変更後の文書の有効領域サイズを算出する第
1の算出工程のコードと、 算出された有効領域サイズに基づき、用紙サイズ変更後
の各レイアウト構成要素のサイズ及び位置を算出する第
2の算出工程のコードとを有することを特徴とする記憶
媒体。
19. A computer-readable storage medium storing a program code of a document processing method for causing a computer to change the arrangement of a plurality of layout components in a document when the computer changes the sheet size. A second calculating step of calculating the size and position of each layout component after changing the paper size based on the code of the first calculating step of calculating the effective area size of the document after the change and the calculated effective area size And a storage medium comprising:
【請求項20】 前記第1の算出工程のコードは、記憶
手段に記憶されたテンプレートデータに基づき用紙サイ
ズ変更後の文書の有効領域サイズを算出することを特徴
とする請求項19に記載の記憶媒体。
20. The storage according to claim 19, wherein the code of the first calculation step calculates the effective area size of the document after the paper size is changed based on the template data stored in the storage unit. Medium.
【請求項21】 前記第1の算出工程のコードは、変更
前と変更後とで文書の余白が一定になるように、用紙サ
イズ後の有効領域サイズを算出することを特徴とする請
求項19に記載の記憶媒体。
21. The method according to claim 19, wherein the code of the first calculating step calculates an effective area size after the paper size so that a margin of the document is constant before and after the change. A storage medium according to claim 1.
【請求項22】 前記第2の算出工程のコードは、当該
文書が表面であるか裏面であるかに応じて、前記余白の
位置を異ならしめることを特徴とする請求項21に記載
の記憶媒体。
22. The storage medium according to claim 21, wherein the code of the second calculation step changes the position of the margin according to whether the document is a front side or a back side. .
【請求項23】 前記第2の算出工程のコードは、変更
前の有効領域と変更後の有効領域とのサイズ比率に基づ
いて、前記各レイアウト構成要素のサイズ及び位置を算
出することを特徴とする請求項19に記載の記憶媒体。
23. The code of the second calculation step, wherein the size and the position of each of the layout components are calculated based on the size ratio between the effective area before the change and the effective area after the change. 20. The storage medium according to claim 19, wherein:
【請求項24】 前記第2の算出工程のコードは、変更
前の有効領域と変更後の有効領域との縦方向のサイズ比
率に基づいて前記各レイアウト構成要素の縦方向のサイ
ズ及び位置を算出し、変更前の有効領域と変更後の有効
領域との横方向のサイズ比率に基づいて前記各レイアウ
ト構成要素の横方向のサイズ及び位置を算出することを
特徴とする請求項23に記載の記憶媒体。
24. The code of the second calculation step calculates a vertical size and a position of each of the layout components based on a vertical size ratio between the effective area before the change and the effective area after the change. 24. The storage according to claim 23, wherein a horizontal size and a position of each of the layout components are calculated based on a horizontal size ratio between the effective area before the change and the effective area after the change. Medium.
【請求項25】 更に、前記第2の算出工程の算出結果
を記憶する記憶工程のコードを有することを特徴とする
請求項19に記載の記憶媒体。
25. The storage medium according to claim 19, further comprising a code of a storage step for storing a calculation result of said second calculation step.
【請求項26】 更に、前記第2の算出工程で算出され
たサイズ及び位置に前記各レイアウト構成要素を再配置
して出力する出力工程のコードを有することを特徴とす
る請求項19に記載の記憶媒体。
26. The apparatus according to claim 19, further comprising a code of an output step of rearranging and outputting each of said layout components at the size and position calculated in said second calculation step. Storage medium.
【請求項27】 前記出力工程のコードは、前記再配置
工程の配置結果を、用紙にプリントするプリンタへ出力
させることを特徴とする請求項26に記載の記憶媒体。
27. The storage medium according to claim 26, wherein the code of the output step causes the arrangement result of the rearrangement step to be output to a printer that prints on paper.
JP11298659A 1998-10-27 1999-10-20 Method and device for document processing Withdrawn JP2000200270A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11298659A JP2000200270A (en) 1998-10-27 1999-10-20 Method and device for document processing

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP30615598 1998-10-27
JP10-306155 1998-10-27
JP11298659A JP2000200270A (en) 1998-10-27 1999-10-20 Method and device for document processing

Publications (1)

Publication Number Publication Date
JP2000200270A true JP2000200270A (en) 2000-07-18

Family

ID=26561611

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11298659A Withdrawn JP2000200270A (en) 1998-10-27 1999-10-20 Method and device for document processing

Country Status (1)

Country Link
JP (1) JP2000200270A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006215925A (en) * 2005-02-04 2006-08-17 Canon Inc Information processor, its control method, and program
JP2008158797A (en) * 2006-12-22 2008-07-10 Canon Inc Information processor and its control method, program
JP2019537807A (en) * 2016-09-14 2019-12-26 ピーティーアイ マーケティング テクノロジーズ インコーポレイテッド System and method for automatically reformatting a publication
US12001776B2 (en) 2017-09-13 2024-06-04 Pti Marketing Technologies Inc. Systems and methods for automatically reformatting publications

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006215925A (en) * 2005-02-04 2006-08-17 Canon Inc Information processor, its control method, and program
JP4522280B2 (en) * 2005-02-04 2010-08-11 キヤノン株式会社 Information processing apparatus, control method therefor, and program
US7861160B2 (en) 2005-02-04 2010-12-28 Canon Kabushiki Kaisha Laying out images in fields, linking the fields, and calculating distance before and after image rotation
JP2008158797A (en) * 2006-12-22 2008-07-10 Canon Inc Information processor and its control method, program
JP2019537807A (en) * 2016-09-14 2019-12-26 ピーティーアイ マーケティング テクノロジーズ インコーポレイテッド System and method for automatically reformatting a publication
JP7177775B2 (en) 2016-09-14 2022-11-24 ピーティーアイ マーケティング テクノロジーズ インコーポレイテッド System and method for automatically reformatting publications
US12001776B2 (en) 2017-09-13 2024-06-04 Pti Marketing Technologies Inc. Systems and methods for automatically reformatting publications

Similar Documents

Publication Publication Date Title
JP3673643B2 (en) Print layout apparatus, print layout method, and storage medium
JP4054444B2 (en) Print control apparatus, print control method, and storage medium
US6278524B1 (en) Printing control apparatus and method
JP4236321B2 (en) Print control apparatus, print control method, and recording medium
US6879943B1 (en) Document processing apparatus and method
JP2015170115A (en) Information processing apparatus, information processing method and program
JP4244742B2 (en) Document processing device
JP2000200270A (en) Method and device for document processing
JP4267047B2 (en) Information processing apparatus, control method, and storage medium
JP3897539B2 (en) Print data generation method and apparatus
JP3711795B2 (en) Printer driver, electronic computer, print information setting method, and recording medium
JP2910921B2 (en) Printing control device
JP2000185445A (en) Method and apparatus for printing control
JPH1055431A (en) Image processor
JP2000181667A (en) Printer provided with form overlay function, form overlay controlling and managing method and recording medium with form overlay controlling and managing program recorded therein
JP2003044240A (en) Printer driver, information processor, printing system, printing device and storage medium
JPH07168818A (en) Document preparing device
JP2001251493A (en) Apparatus, method and system for image processing and recording medium
JP2002316454A (en) Output unit, information processing apparatus, output method, method and program of information processing apparatus, and storage medium
JP2839139B2 (en) Document processing method
JP2000001026A (en) Apparatus and method for processing information
JPH11185019A (en) Device and method for processing image
JP4545903B2 (en) Information processing apparatus, information processing method, and storage medium
JPH10207878A (en) Document editing and printing device
JP2005216032A (en) Data processor, print control method, computer-readable storage medium storing program, and program

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20070109