JPH09134355A - Document preparing device and document arrangement changing method - Google Patents

Document preparing device and document arrangement changing method

Info

Publication number
JPH09134355A
JPH09134355A JP7291069A JP29106995A JPH09134355A JP H09134355 A JPH09134355 A JP H09134355A JP 7291069 A JP7291069 A JP 7291069A JP 29106995 A JP29106995 A JP 29106995A JP H09134355 A JPH09134355 A JP H09134355A
Authority
JP
Japan
Prior art keywords
document
format
conversion rule
change
line
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP7291069A
Other languages
Japanese (ja)
Inventor
Seiichiro Yamaoka
誠一郎 山岡
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP7291069A priority Critical patent/JPH09134355A/en
Publication of JPH09134355A publication Critical patent/JPH09134355A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PROBLEM TO BE SOLVED: To prepare a document with favorable layout without requiring large work burden at the time of changing a format by changing a document form based on a conversion rule table which is generated by means of designating a conversion rule for the document from. SOLUTION: The conversion rule designating part 42 of a document arrangement changing function 40 for changing the position of a character, a graphic and a ruled line designates the conversion rule in accordance with an input from a keyboard. A conversion rule storage part 44 generates the conversion rule table for registering change contents in the layout after format change and stores it in the table storage part 46a of a document arrangement changing part 46. The document arrangement changing part 46 changes the document format and also changes document information stored in a document information storage part 54 by following data stored in the conversion rule table in accordance with the conversion rule which is stored in the conversion rule storage part 44 so as to change document arrangement.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、文書形式を書式変
更により変更可能な文書作成装置及び文書配置変更方法
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document creating apparatus and a document layout changing method capable of changing a document format by changing the format.

【0002】[0002]

【従来の技術】一般に、文書作成装置においては、文書
形式を書式設定の変更により変更可能となっている。書
式設定では、用紙サイズ、1行字数、1頁行数、文字間
行ピッチ、文字サイズ等を任意に設定することができ
る。書式設定は、ある文書形式により作成途中の文書に
対しても行なうことができる。
2. Description of the Related Art Generally, in a document creating apparatus, the document format can be changed by changing the format setting. In the format setting, the paper size, the number of characters in one line, the number of lines in one page, the line pitch between characters, the character size, etc. can be set arbitrarily. Formatting can be performed on a document that is being created according to a certain document format.

【0003】ところが、作成途中の文書に対して書式変
更を行なうと、文書作成時に意図していた文書形式、す
なわち文書中の文字の位置や図形/罫線等の位置などの
レイアウトが変更されて、レイアウト上バランスが悪く
なってしまう。こうして場合、例えば以下のような作業
が必要となってくる。
However, when the format of a document being created is changed, the document format intended at the time of creating the document, that is, the layout of the positions of characters and the positions of figures / ruled lines in the document is changed. The layout becomes unbalanced. In this case, for example, the following work is required.

【0004】(1)書式変更後、1行内の文字数が少な
くレイアウト上バランスが悪い場合、次の行の1文を該
当行に移動させる操作が必要である。 (2)書式変更後、1行内の文字が小さく、または大き
くレイアウト上バランスが悪い場合、該当行内の文字を
拡大または縮小する操作が必要である。
(1) After the format is changed, if the number of characters in one line is small and the layout is unbalanced, it is necessary to move one sentence of the next line to the corresponding line. (2) After the format is changed, if the characters in one line are small or large and the layout is unbalanced, it is necessary to enlarge or reduce the characters in the line.

【0005】(3)書式変更後、1行内の罫線/図形が
小さく、または大きくレイアウト上バランスが悪い場
合、該当行内の罫線/図形を拡大または縮小する操作が
必要である。
(3) If the ruled lines / graphics in one line are small or large and the layout is unbalanced after the format is changed, it is necessary to enlarge or reduce the ruled lines / graphics in the corresponding line.

【0006】(4)書式変更後、罫線/図形が拡大また
は縮小される際、罫線/図形内(線により囲まれた領域
内)にあった文字が、罫線/図形に対してレイアウト上
バランスが悪い場合、文字についても拡大または縮小す
る操作が必要である。
(4) When the ruled line / graphic is enlarged or reduced after the format is changed, the characters in the ruled line / graphic (in the area surrounded by the line) are balanced in layout with respect to the ruled line / graphic. In the worst case, it is necessary to enlarge or reduce the characters.

【0007】[0007]

【発明が解決しようとする課題】このように従来の文書
作成装置においては、ある書式形式によって作成された
文書に対して書式変更を行なうと、書式変更後に前述し
た(1)〜(4)のような操作が必要となることがあっ
た。すなわち、書式変更後、レイアウト上バランスが悪
い文字/罫線/図形が多い場合には、拡大/縮小や該当
行に次行の1文を移動させるなどの文書編集の操作を多
くの回数行なう必要となり、大きな作業負担となってい
た。
As described above, in the conventional document creating apparatus, when the format is changed for the document created by a certain format, the above-mentioned (1) to (4) are performed after the format is changed. Such an operation was sometimes required. That is, if there are many characters / ruled lines / graphics that are out of balance on the layout after changing the format, it is necessary to perform a large number of document editing operations such as enlarging / reducing or moving one sentence on the next line to the corresponding line. It was a heavy work load.

【0008】本発明は前記のような事情を考慮してなさ
れたもので、書式変更の際に大きな作業負担を要するこ
となく良好なレイアウトの文書を作成することが可能な
文書作成装置及び文書配置変更方法を提供することを目
的とする。
The present invention has been made in consideration of the above circumstances, and a document creating apparatus and a document arranging apparatus capable of creating a document having a good layout without requiring a large work load when changing the format. The purpose is to provide a method of modification.

【0009】[0009]

【課題を解決するための手段】本発明は、文書形式を書
式変更により変更可能な文書作成装置において、書式変
更する際に、書式変更後の文書形式に対する変換規則を
指定する変換規則指定手段と、書式変更に応じて文書形
式を変更する時に、前記変換規則指定手段によって指定
された変換規則に応じて、書式変更後の文書に対する変
更内容を登録するための変換規則テーブルを生成し、同
変換規則テーブルに登録された変更内容に基づいて文書
の文書形式を変更する変更手段とを具備したことを特徴
とする。
SUMMARY OF THE INVENTION The present invention provides a conversion rule designating means for designating a conversion rule for a document format after the format modification when the format is modified in a document creating apparatus capable of modifying the document format by the format modification. When a document format is changed in response to a format change, a conversion rule table for registering the changed contents of the document after the format change is generated in accordance with the conversion rule designated by the conversion rule designating means, and the conversion is performed. And a changing unit for changing the document format of the document based on the change contents registered in the rule table.

【0010】また、前記変換規則指定手段は、書式変更
する際に、書式変更後の文字の配置に関する左寄せ、セ
ンタリング、右寄せ、拡大縮小最適化、行最適化を含む
変換規則を指定する変換規則文字指定手段と、書式変更
する際に、書式変更後の図形または罫線の配置に関する
左寄せ、センタリング、右寄せ、拡大縮小最適化を含む
変換規則を指定する変換規則図形/罫線指定手段とを有
し、前記変換規則テーブルは、前記変換規則文字指定手
段及び前記変換規則図形/罫線指定手段によって指定さ
れた変換規則に対応する、書式変更後の文字、図形、罫
線の位置を示すデータを登録するための左寄せテーブ
ル、センタリングテーブル、右寄せテーブルと、文字、
図形、罫線に対する拡大縮小率を示すデータを登録する
ための倍率テーブルと、書式変更後の各行の1行内の空
き字数を登録するための字数空きテーブルとを含み、前
記変更手段は、前記各テーブルに登録された変更内容に
基づいて文書の文書形式を変更することを特徴とする。
Further, the conversion rule designating means, when the format is modified, specifies a conversion rule including a left-alignment, a centering, a right-alignment, an enlargement / reduction optimization, and a line optimization regarding a character arrangement after the format modification. And a conversion rule graphic / ruled line designating unit for designating a conversion rule including left-alignment, centering, right-alignment, and enlargement / reduction optimization relating to the layout of the graphic or ruled line after the format change when the format is changed. The conversion rule table is left-justified for registering data indicating positions of characters, figures, and ruled lines after format change corresponding to the conversion rules specified by the conversion rule character designating means and the conversion rule graphic / ruled line designating means. Table, centering table, right-justified table, characters,
The changing unit includes a magnification table for registering data showing the enlargement / reduction ratio for figures and ruled lines, and a character number empty table for registering the number of empty characters in each line after the format change, and the changing means includes each table. The document format of the document is changed based on the change contents registered in.

【0011】また、前記変換規則テーブルは、書式変更
前の罫線または図形の位置を示すデータを登録するため
の罫線/図形用行桁テーブルと、書式変更前の文書中の
文字列の位置を示すデータを登録するための文字列用行
桁テーブルとをさらに有し、前記変更手段は、前記罫線
/図形用行桁テーブルと前記文字列用行桁テーブルに登
録されたデータに基づいて、罫線または図形を構成する
線により囲まれた領域内にあった文字の存在を判別し、
該当する文字を拡大縮小最適化の対象とすることを特徴
とする。
Further, the conversion rule table indicates a ruled line / graphic line column table for registering data indicating the position of a ruled line or graphic before the format change, and the position of a character string in the document before the format change. A character string line digit table for registering data is further provided, and the changing means is based on the data registered in the ruled line / graphic line digit table and the character string line digit table. Determine the existence of the character that was in the area surrounded by the lines that make up the figure,
It is characterized in that the corresponding characters are targeted for scaling optimization.

【0012】また、書式変更する際に、前回の書式変更
の際に前記変換規則指定手段によって指定された変換規
則に基づいて文書の文書形式を変更することを示す「自
動」を指示する文書配置変更指示手段をさらに具備し、
前記変更手段は、前記文書配置変更指示手段によって
「自動」が指示された場合に、前回の書式変更の際に前
記変換規則指定手段によって指定された変換規則に基づ
く、変換規則テーブルに登録された変更内容に基づいて
文書の文書形式を変更することを特徴とする。
Further, when the format is changed, the document layout instructing "automatic" indicating that the document format of the document is changed based on the conversion rule specified by the conversion rule specifying means at the time of the previous format change. Further comprising change instruction means,
The change means is registered in the conversion rule table based on the conversion rule designated by the conversion rule designation means at the time of the previous format change, when “automatic” is instructed by the document layout change instruction means. It is characterized in that the document format of the document is changed based on the changed contents.

【0013】このような構成によれば、書式変更する
際、すなわち変更後の文書書式を設定する際に、書式変
更後の文書上の文字/図形/罫線等のレイアウトに対す
る変換規則を設定することで、変換規則に基づいた文字
/図形/罫線等の配置変更が書式変更とともに行なわれ
る。従って、書式変更後の文書に対して、レイアウト上
のバランスを良くするための文書編集の操作が不要とな
る。
According to this structure, when the format is changed, that is, when the changed document format is set, the conversion rule for the layout of the characters / graphics / ruled lines on the document after the format change is set. Then, the layout of characters / graphics / ruled lines, etc. is changed along with the format change based on the conversion rule. Therefore, the document editing operation for improving the layout balance of the document after the format change is unnecessary.

【0014】また、変換規則には、文字に対して左寄
せ、センタリング、右寄せ、拡大縮小最適化、行最適化
を指定することができ、図形/罫線に対して左寄せ、セ
ンタリング、右寄せ、拡大縮小最適化を指定することが
できるので、所望する文書配置変更を書式変更とともに
実行させることができる。
In the conversion rule, left alignment, centering, right alignment, enlargement / reduction optimization, and line optimization can be specified for characters, and left alignment, centering, right alignment, enlargement / reduction optimization for figures / ruled lines can be specified. Since it is possible to specify the conversion, the desired document layout change can be executed together with the format change.

【0015】また、罫線または図形を構成する線により
囲まれた領域内にあった文字に対しては、罫線/図形に
ついてのみ拡大縮小したのでは、罫線/図形とその領域
内との文字のバランスが損なわれるので、文字に対する
拡大縮小最適化の指定とは関係なく該当する文字が判別
され、罫線/図形に対する拡大縮小最適化と同じ拡大縮
小最適化が施される。
Further, with respect to the character existing in the area surrounded by the ruled line or the line forming the figure, if only the ruled line / graphic is enlarged / reduced, the balance between the ruled line / graphic and the character in the area Therefore, the corresponding character is determined regardless of the designation of the scaling optimization for the character, and the same scaling optimization as the scaling optimization for the ruled line / graphic is performed.

【0016】さらに、前回に指定した変換規則をそのま
ま利用できるようにすることで、例えば同じ文書形式の
文書の書式設定を繰り返し行なうような場合には、変換
規則の設定の作業の手間を省くことができる。
Further, by making it possible to use the conversion rule specified last time as it is, for example, when the format setting of the document of the same document format is repeatedly performed, the work of setting the conversion rule is omitted. You can

【0017】[0017]

【発明の実施の形態】以下、図面を参照して本発明の実
施の形態について説明する。図1は本実施形態に係わる
文書作成装置の構成を示すブロック図である。図1に示
すように、本実施形態における文書作成装置は、CPU
10、ROM(Read Only Memory)12、RAM(Rand
am Access Memory)14、キーボード(KB)16、キ
ーボードインタフェース(KB−IF)18、表示器2
0、表示コントローラ(表示CNT)22、VRAM2
4、プリンタ装置(PRT)26、プリンタインタフェ
ース(PRT−IF)28、フロッピーディスク装置
(FDD)30、及びフロッピーディスクインタフェー
ス(FDD−IF)32によって構成されている。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram illustrating a configuration of a document creation device according to the present embodiment. As shown in FIG. 1, the document creation apparatus according to the present embodiment is a CPU.
10, ROM (Read Only Memory) 12, RAM (Rand
am Access Memory) 14, keyboard (KB) 16, keyboard interface (KB-IF) 18, display 2
0, display controller (display CNT) 22, VRAM2
4, a printer device (PRT) 26, a printer interface (PRT-IF) 28, a floppy disk device (FDD) 30, and a floppy disk interface (FDD-IF) 32.

【0018】CPU10は、装置全体の制御を行なうも
ので、ROM12、RAM14をアクセスして入力指示
に従うプログラムの起動で各種機能等を制御する。本実
施形態では、文書書式を変更する際に文書配置を変更す
る文書配置変更機能を含んでいる。
The CPU 10 controls the entire apparatus, and controls various functions by accessing the ROM 12 and the RAM 14 and starting a program according to an input instruction. The present embodiment includes a document layout changing function that changes the document layout when changing the document format.

【0019】ROM12は、CPU10によって扱われ
るプログラムやデータを格納するためのもので、CPU
10の動作を決定する各種処理プログラムが格納された
プログラム領域12a、フォントデータが格納された文
字パターン領域12b、仮名あるいはローマ字で入力さ
れた読み情報を漢字情報に変換するための標準辞書12
cが格納された辞書領域等が設けられている。
The ROM 12 is for storing programs and data handled by the CPU 10.
10, a program area 12a in which various processing programs for determining the operation of 10 are stored, a character pattern area 12b in which font data is stored, and a standard dictionary 12 for converting kana or romaji input reading information into kanji information.
A dictionary area or the like in which c is stored is provided.

【0020】ROM12のプログラム領域12aには、
文書の書式設定を行なう機能を実現するための書式設定
プログラムの他、書式設定時に必要に応じて起動される
文書配置変更機能を実現するための文書配置変更プログ
ラムが含まれている。
In the program area 12a of the ROM 12,
In addition to the formatting program for realizing the function of formatting the document, a document layout changing program for realizing the document layout changing function which is activated as necessary at the time of formatting is included.

【0021】また、ROM12には、各種データを格納
するためのデータ領域等が設けられている。RAM14
は、CPU10によって扱われるプログラムやデータを
格納するためのもので、作成された文書情報を格納する
ための文書バッファ14a(文書情報記憶部54)、書
式設定の際に指定された書式情報を格納するための書式
情報バッファ14b(書式情報記憶部52)、書式変更
の際に指定される変換規則情報(詳細については後述す
る)を格納するための変換規則バッファ14c(変換規
則記憶部24、テーブル記憶部26a)等が設けられて
いる。
Further, the ROM 12 is provided with a data area for storing various data. RAM14
Is for storing programs and data handled by the CPU 10, a document buffer 14a (document information storage unit 54) for storing created document information, and format information specified at the time of format setting. Format information buffer 14b (format information storage unit 52) for conversion, conversion rule buffer 14c (conversion rule storage unit 24, table) for storing conversion rule information (details will be described later) specified when the format is changed. A storage unit 26a) and the like are provided.

【0022】キーボード16は、データの入力や特定の
指示を行なうための入力装置である。キーボード16に
は、「文字」キー、「数値」キーをはじめ、「カーソ
ル」キー、「選択/実行」キー、「取消」キーの他、書
式設定(変更)を含む各種機能に対する指示を入力する
ための各種キーが設定されている。キーボードインタフ
ェース(KB−IF)18は、キーボード16の入力制
御を行なう。
The keyboard 16 is an input device for inputting data and giving a specific instruction. The keyboard 16 is used to input instructions for various functions including "character" key and "numerical value" key, "cursor" key, "select / execute" key, "cancel" key, and format setting (change). Various keys for are set. The keyboard interface (KB-IF) 18 controls input of the keyboard 16.

【0023】表示器20は、例えばバックライト付きカ
ラー液晶ディスプレイ(カラーLCD)やCRT等によ
って構成され、文書作成用の画面の他、各機能を実行す
る際に所定の画面を表示させる。また、表示画面中の最
下行を文書作成機能用のガイド表示専用の領域(ガイド
行)に設定している。表示コントローラ22は、CPU
10の制御の下でVRAM24に展開された表示データ
をもとに、表示器20において表示させる。
The display unit 20 is composed of, for example, a color liquid crystal display (color LCD) with a backlight, a CRT or the like, and displays a predetermined screen when executing each function in addition to the screen for creating a document. In addition, the bottom line on the display screen is set as a guide display dedicated area (guide line) for the document creation function. The display controller 22 is a CPU
Based on the display data expanded in the VRAM 24 under the control of 10, the display 20 is caused to display.

【0024】プリンタ装置26は、例えば感熱・熱転写
方式のドットプリンタからなり、作成文書等の印刷を行
なう。プリンタインタフェース28は、CPU10の制
御の下でプリンタ装置26における印刷を制御する。
The printer device 26 is composed of, for example, a thermal / thermal transfer type dot printer, and prints a created document or the like. The printer interface 28 controls printing in the printer device 26 under the control of the CPU 10.

【0025】フロッピーディスク装置30は、例えば
3.5インチ型高密度記録用であり、作成文書等の保存
/呼出しを行なう。FDDインタフェース32は、CP
U10とフロッピーディスク装置30との間のデータの
入出力制御を行なう。
The floppy disk device 30 is, for example, for 3.5 inch type high density recording, and stores / recalls created documents and the like. FDD interface 32 is CP
Input / output control of data between U10 and the floppy disk device 30 is performed.

【0026】図2は本実施形態における書式設定に関す
る機能の構成を示すブロック図である。本実施形態で
は、一般の書式設定の機能に、書式変更の際に文字、図
形、罫線の位置(文書配置)を変更する文書配置変更機
能40が設けられている。
FIG. 2 is a block diagram showing the arrangement of functions relating to the format setting in this embodiment. In the present embodiment, a general format setting function is provided with a document layout changing function 40 for changing the positions (document layout) of characters, figures, and ruled lines when the format is changed.

【0027】図2に示すように、文書配置変更機能40
は、変換規則指定部42、変換規則記憶部44、及び文
書配置変更部46が設けられている。また、図2には文
書配置変更機能40に関係する書式設定部50、書式情
報記憶部52、文書情報記憶部54、及び表示部56が
図示されている。
As shown in FIG. 2, the document layout changing function 40
Is provided with a conversion rule designation unit 42, a conversion rule storage unit 44, and a document layout change unit 46. Further, FIG. 2 shows a format setting unit 50, a format information storage unit 52, a document information storage unit 54, and a display unit 56 related to the document layout changing function 40.

【0028】変換規則指定部42は、書式設定(書式変
更)の際に、キーボード16からの入力に従い変換規則
を指定する。変換規則指定部42は、後述する変換規則
設定用画面に表示された各項目に対する設定に応じて変
換規則情報を入力する。変換規則指定部42は、文書中
の文字に関する変換規則を入力するための文字指定部4
2a、文書中の図形または罫線に関する変換規則を入力
するための図形/罫線指定部42bが設けられている。
The conversion rule designating section 42 specifies a conversion rule in accordance with an input from the keyboard 16 at the time of format setting (format change). The conversion rule designation unit 42 inputs conversion rule information according to the setting for each item displayed on the conversion rule setting screen described later. The conversion rule designation unit 42 is a character designation unit 4 for inputting a conversion rule regarding a character in a document.
2a, a figure / ruled line designating section 42b for inputting a conversion rule for a figure or ruled line in a document is provided.

【0029】変換規則記憶部44は、変換規則指定部4
2によって指定された変換規則に関する情報を一時記憶
するためのものである。変換規則記憶部44には、文書
配置変更を「しない」「任意」「自動」の何れにするか
を示す配置変更属性情報24a、文字に関する変換規則
(文字変換規則)24b、図形または罫線に関する変換
規則(図形/罫線変換規則)24cが含まれている。
The conversion rule storage unit 44 includes a conversion rule designation unit 4
This is for temporarily storing information regarding the conversion rule designated by 2. The conversion rule storage unit 44 stores, in the conversion rule storage section 44, layout change attribute information 24a indicating whether the document layout change is set to "not", "arbitrary", or "automatic", a character conversion rule (character conversion rule) 24b, and a graphic or ruled line conversion A rule (graphic / ruled line conversion rule) 24c is included.

【0030】文書配置変更部46は、書式情報記憶部5
2に記憶された書式情報に基づいて文書の書式を変更す
ると共に、変換規則記憶部44に格納された変換規則に
応じて、書式変更の際に文書配置変更するために参照さ
れるものであって、レイアウト上の変更内容が登録され
る変換規則テーブルを作成し、テーブルに格納されたデ
ータに従い文書情報記憶部54に格納された文書情報を
変更して文書配置の変更を行なう。文書配置変更部46
には、変換規則テーブルを記憶するためのテーブル記憶
部46aが設けられている(詳細については後述す
る)。
The document layout changing unit 46 is a format information storage unit 5.
It is referred to in order to change the document format based on the format information stored in No. 2 and to change the document layout when changing the format according to the conversion rule stored in the conversion rule storage unit 44. Then, a conversion rule table in which the changed contents on the layout are registered is created, and the document information stored in the document information storage unit 54 is changed according to the data stored in the table to change the document layout. Document arrangement changing unit 46
Is provided with a table storage unit 46a for storing a conversion rule table (details will be described later).

【0031】書式設定部50は、書式設定用画面に表示
された各項目について、キーボード16からの入力に従
い書式情報を書式情報記憶部52に記憶させる。書式情
報記憶部52は、書式設定部50によって設定された一
般的な書式に関する情報を記憶するためのものである。
The format setting section 50 stores format information in the format information storage section 52 for each item displayed on the format setting screen according to the input from the keyboard 16. The format information storage unit 52 is for storing information regarding a general format set by the format setting unit 50.

【0032】文書情報記憶部54は、文書情報を記憶す
るものである。文書情報記憶部54に記憶される文書情
報には、テキストデータの他に、図形/罫線に関するデ
ータ、文字倍率などの文字に対する修飾データが含まれ
ている。
The document information storage section 54 stores document information. The document information stored in the document information storage unit 54 includes, in addition to text data, data relating to figures / ruled lines and character modification data such as character magnification.

【0033】表示部56は、書式情報記憶部52に記憶
された書式情報に応じて、文書情報記憶部54に記憶さ
れた文書情報の内容を表示させる。次に、本実施形態の
動作について、図3に示すフローチャートを参照しなが
ら説明する。
The display unit 56 displays the contents of the document information stored in the document information storage unit 54 according to the format information stored in the format information storage unit 52. Next, the operation of this embodiment will be described with reference to the flowchart shown in FIG.

【0034】ここでは、ある文書形式において作成され
ている文書に対して書式変更を行なうものとして説明す
る。まず、キーボード16から書式設定(書式変更)の
実行が指示されるとCPU10は、書式設定プログラム
を起動して書式設定部50を機能させる。
Here, description will be made assuming that the format is changed for a document created in a certain document format. First, when execution of format setting (format change) is instructed from the keyboard 16, the CPU 10 activates the format setting program and causes the format setting unit 50 to function.

【0035】書式設定を行なう場合には、図4に示すよ
うな書式設定用の画面を表示させる(ステップA1)。
書式設定用の画面には、用紙サイズ、1行字数、1頁行
数、文字間行ピッチ、文字サイズ等の一般の文書書式を
任意に設定するための項目の他に、変換規則に関する項
目「文書配置変更」が設けられている。初期状態では、
「文書配置変更」は「しない」に設定されているものと
する。なお、「文書配置変更」の「任意」は、書式変更
に伴って文書配置変更の条件を設定する場合に指定さ
れ、「自動」は以前に設定した変換規則を用いて文書配
置変更を行なう際に指定される。
When the format is set, a format screen as shown in FIG. 4 is displayed (step A1).
On the screen for formatting, in addition to items for setting general document formats such as paper size, number of characters per line, number of lines per page, line pitch between characters, character size, etc. "Change document layout" is provided. In the initial state,
It is assumed that "Change Document Layout" is set to "No". Note that "Arbitrary" in "Change Document Layout" is specified when setting conditions for changing the document layout due to a format change, and "Automatic" is used when changing the document layout using the conversion rules set previously. Specified in.

【0036】ここで、書式設定用の画面上において書式
変更後の書式が設定されたものとする(ステップA
2)。一方、変換規則に関する項目「文書配置変更」
が、「しない」から「任意」に設定された場合、図5に
示すような変更規則設定用の画面を、例えば書式設定用
の画面上にウィンドウを設けて表示させる(ステップA
5)。
Here, it is assumed that the format after the format change is set on the format setting screen (step A).
2). On the other hand, the conversion rule item "Change Document Layout"
However, if "not" is set to "arbitrary", a change rule setting screen as shown in FIG. 5 is displayed, for example, by providing a window on the format setting screen (step A).
5).

【0037】図5に示すように、変更規則設定画面で
は、文書中の文字、図形、罫線のそれぞれに対する変換
規則を設定することができる。文字に対しては、配置に
ついて「左寄せ」「センタリング」「右寄せ」の何れか
を指定でき、その他に「拡大縮小最適化」「行最適化」
を指定することができる。「拡大縮小最適化」は、文字
のサイズを書式変更の内容に応じて拡大または縮小する
もので、「行最適化」は、書式変更に伴って1行中に空
き部分ができた場合に、次の行の文字を移動させて1行
の文字数を変更するものである。
As shown in FIG. 5, on the change rule setting screen, conversion rules can be set for each of the characters, figures and ruled lines in the document. For characters, you can specify either "Left justification", "Centering", or "Right justification" for the layout, and "Scaling optimization" or "Line optimization" in addition.
Can be specified. "Enlargement / reduction optimization" enlarges or reduces the size of the character according to the contents of the format change, and "Line optimization" creates a blank part in one line due to the format change. The character on the next line is moved to change the number of characters on one line.

【0038】図形と罫線に対しては、配置について「左
寄せ」「センタリング」「右寄せ」の何れかを指定で
き、その他に「拡大縮小最適化」を指定することができ
る。また、図形/罫線について「拡大縮小最適化」が設
定された場合、罫線/図形内(線により囲まれた領域
内)にあった文字も拡大/縮小の対象となるものとす
る。
For the figure and the ruled line, any one of "left alignment", "centering", and "right alignment" can be designated for the arrangement, and "enlargement / reduction optimization" can be designated. Further, when the "optimization of enlargement / reduction" is set for the figure / ruled line, the characters in the ruled line / figure (in the area surrounded by the line) are also objects of enlargement / reduction.

【0039】ここで、各項目についてキーボード16の
「カーソル」キー等が操作されることにより、変換規則
指定部42は、文字または図形/罫線に関する変換規則
を設定するための指示を、それぞれ文字指定部42a、
図形/罫線指定部42bにより入力する(ステップA
6)。
When the "cursor" key of the keyboard 16 or the like is operated for each item, the conversion rule designating section 42 designates a character or an instruction for setting a conversion rule concerning a figure / ruled line. Part 42a,
Input by the figure / ruled line designation unit 42b (step A
6).

【0040】変換規則指定部42は、各項目について入
力された指示に応じて、変換規則記憶部44に変換規則
として記憶させる(ステップA7)。ここでは、図5に
示すように、文字について「センタリング」、「拡大縮
小最適化」しない、「行最適化」するに設定され、図形
/罫線について「左寄せ」、「拡大縮小最適化」するに
設定されたものとする。
The conversion rule designating section 42 stores the conversion rule in the conversion rule storing section 44 as a conversion rule in accordance with the instruction inputted for each item (step A7). Here, as shown in FIG. 5, it is set to "centering" or not to "optimize scaling" or "optimize to line" for characters, and to "left align" or "optimize for scaling" for figures / ruled lines. It is assumed to have been set.

【0041】この結果、変換規則記憶部44には、配置
変更属性情報24aとして「任意」を示すデータが記憶
され、文字変換規則44b及び図形/罫線変換規則44
cには、前述した内容がそれぞれ記憶される。
As a result, the conversion rule storage unit 44 stores data indicating "arbitrary" as the layout change attribute information 24a, and the character conversion rule 44b and the figure / ruled line conversion rule 44 are stored.
The above-mentioned contents are stored in c.

【0042】変換規則の設定が終了すると、変換規則設
定用画面を消去して、図4に示す書式設定用画面に戻
す。文書配置変更を含む書式設定が終了し、キーボード
16の「選択/実行」キーが押下されると、書式設定部
50は、書式設定が確定されたものとして文書配置変更
部46に通知する。
When the conversion rule setting is completed, the conversion rule setting screen is erased and the screen returns to the format setting screen shown in FIG. When the format setting including the document layout change is completed and the “select / execute” key of the keyboard 16 is pressed, the format setting unit 50 notifies the document layout change unit 46 that the format setting is confirmed.

【0043】文書配置変更部46は、書式情報記憶部5
2に記憶された変更後の書式情報に応じて、文書情報記
憶部54に記憶されている現在対象としている文書情報
の文書形式を変更する(ステップA9)。
The document layout changing unit 46 is a format information storage unit 5.
The document format of the currently targeted document information stored in the document information storage unit 54 is changed according to the changed format information stored in No. 2 (step A9).

【0044】ここで、文書配置変更部46は、変換規則
記憶部44の配置変更属性情報24aを参照して、文書
配置変更が「しない」に指定されているかを判別する
(ステップA10)。文書配置変更が「しない」に指定
されている場合には、文書配置変更の必要がないので書
式変更を終了する。
Here, the document layout change section 46 refers to the layout change attribute information 24a of the conversion rule storage section 44 and determines whether the document layout change is designated as "not" (step A10). When the document layout change is designated as "No", there is no need to change the document layout, so the format change ends.

【0045】また、文書配置変更部46は、変換規則記
憶部44の配置変更属性情報24aを参照して、文書配
置変更が「任意」に指定されているかを判別する(ステ
ップA11)。文書配置変更が「任意」に指定されてい
る場合、文書配置変更部46は、変換規則記憶部44に
記憶された変換規則に応じて、現在、対象としている文
書情報記憶部54に記憶された文書情報を変更して、文
字、図形/罫線の文書配置を変更する。
Further, the document layout changing unit 46 refers to the layout changing attribute information 24a of the conversion rule storing unit 44 and determines whether the document layout changing is designated as "arbitrary" (step A11). When the document layout change is designated as “arbitrary”, the document layout change unit 46 is stored in the currently targeted document information storage unit 54 according to the conversion rule stored in the conversion rule storage unit 44. Change the document information and change the document layout of characters and figures / ruled lines.

【0046】ここで、配置変更属性情報24aとして文
書配置変更「任意」を示すデータが記憶されている場
合、変換規則記憶部44には新たに設定された文字変換
規則44b及び図形/罫線変換規則44cが記憶されて
いるので、文書配置変更部46は、これらの変換規則に
従って、以下に説明するように変換規則テーブルを作成
し、テーブル記憶部46aに記憶させる(ステップA1
2)。
Here, when the data indicating the document layout change "arbitrary" is stored as the layout change attribute information 24a, the newly set character conversion rule 44b and the figure / ruled line conversion rule are stored in the conversion rule storage unit 44. Since 44c is stored, the document layout changing unit 46 creates a conversion rule table as described below according to these conversion rules and stores it in the table storage unit 46a (step A1).
2).

【0047】図6にはテーブル記憶部46aに記憶され
る変換規則テーブルの一例を示している。図6に示すよ
うに、左寄せテーブル60、センタリングテーブル6
1、右寄せテーブル62、倍率テーブル63、字数空き
テーブル64、罫線/図形用行桁テーブル65、文字列
用行桁テーブル66が生成される。
FIG. 6 shows an example of the conversion rule table stored in the table storage section 46a. As shown in FIG. 6, the left alignment table 60 and the centering table 6
1, a right justification table 62, a magnification table 63, a character number empty table 64, a ruled line / graphic row digit table 65, and a character string row digit table 66 are generated.

【0048】左寄せテーブル60、センタリングテーブ
ル61、及び右寄せテーブル62には、それぞれに対応
する文書配置変更を実行するか否かを示すデータ、及び
各行における開始位置が設定される。
In the left justification table 60, the centering table 61, and the right justification table 62, data indicating whether or not to execute the document layout change corresponding to each, and the start position in each line are set.

【0049】各行の開始位置は、左寄せの場合には左寄
せ位置データ「1桁目」、センタリングの場合にはセン
タリング位置データ「(1行字数−該当行中の文字数)
/2」の四捨五入値、右寄せの場合には右寄せ位置デー
タ「該当行の文字末位置−該当行中の文字数+1」が設
定される。
The start position of each line is left-aligned position data "first digit" in the case of left-alignment, and centering position data "(number of characters in one line-number of characters in the line) in the case of centering".
The rounded-off value of "/ 2", and in the case of right justification, right justification position data "character end position of corresponding line-number of characters in corresponding line + 1" is set.

【0050】例えば、図5に示す設定がなされた場合、
左寄せテーブル60、右寄せテーブル62には変更を行
なわないことを示す「オフ」が設定され、センタリング
テーブル61には変更を行なうことを示す「オン」と共
に各行についてのセンタリング位置データが設定され
る。
For example, when the settings shown in FIG. 5 are made,
“Off” indicating that no change is made is set in the left-justified table 60 and right-justified table 62, and centering position data for each row is set in the centering table 61 together with “on” indicating that no change is made.

【0051】倍率テーブル63には、書式情報の変更前
後の用紙サイズ、文字ピッチ、行ピッチ等に応じて、変
更前の書式情報に基づく文字/図形/罫線のサイズが、
変更後の書式情報に基づく文字/図形/罫線のサイズ
と、レイアウト上同じとなるような拡大縮小倍率が、文
字/図形/罫線についてそれぞれ算出されて設定され
る。すなわち、拡大縮小倍率「(書式変更後1行字数設
定値)/(書式変更前の1行字数設定値)」が算出され
設定される。
In the magnification table 63, the size of characters / graphics / ruled lines based on the format information before change is stored in accordance with the paper size, character pitch, line pitch, etc. before and after the change of format information.
The size of the character / graphic / ruled line based on the changed format information and the enlargement / reduction ratio that is the same in layout are calculated and set for each character / graphic / ruled line. That is, the enlargement / reduction ratio "(set value of character number per line after format change) / (set value of character number per line before format change)" is calculated and set.

【0052】字数空きテーブル64には、書式情報の1
行字数が変更されることにより変化する1行内の空き字
数が計数されて、各行(改行コードで区切られる各文字
列)毎に設定される。そして、「空き字数≧次行の1文
の字数」の条件を満たす行については、次行の文(例え
ば句点で区分される1文を単位として)を移動するもの
とする。なお、該当する行は、文書の頭から実行される
行最適化によって文字列の行数または行中の文字数が変
更される場合に、変更された行数または文字数に応じ
て、逐次、変更されるようにしても良い。
In the character number empty table 64, 1 of the format information is written.
The number of empty characters in one line, which changes as the number of line characters is changed, is counted and set for each line (each character string delimited by a line feed code). Then, for a line satisfying the condition of "the number of empty characters ≥ the number of characters of one sentence on the next line", the sentence on the next line (for example, one sentence divided by a punctuation mark) is moved. If the number of lines in a character string or the number of characters in a line is changed by line optimization executed from the beginning of the document, the corresponding line is changed sequentially according to the changed number of lines or the number of characters. You may do it.

【0053】罫線/図形用行桁テーブル65には、罫線
/図形のそれぞれについて、書式変更前の始点位置と終
点位置が設定される。文字列用行桁テーブル66には、
文字列のそれぞれについて、書式変更前の始点位置と終
点位置が設定される。
In the ruled line / graphic row digit table 65, the start point position and the end point position before the format change are set for each ruled line / graphic. In the character string row digit table 66,
For each of the character strings, the start point position and the end point position before the format change are set.

【0054】一方、配置変更属性情報24aが文書配置
変更「自動」に設定されていた場合には(ステップA
9)、以前の書式変更の際に設定された変換規則に基づ
く、テーブル記憶部46aに格納されたデータを用いる
ものとして、変換規則テーブルの作成は行なわない。な
お、文書配置変更「自動」は、例えば同じ文書形式を持
つ複数の文書について書式変更を行なう際に、同様の文
書配置変更を行なう際に指定される。
On the other hand, when the layout change attribute information 24a is set to "automatic" for changing the document layout (step A)
9) Assuming that the data stored in the table storage section 46a based on the conversion rule set at the time of the previous format change is used, the conversion rule table is not created. Note that the document layout change “automatic” is designated, for example, when a similar document layout change is made when a plurality of documents having the same document format are changed.

【0055】文書配置変更部46は、変換規則テーブル
を生成してテーブル記憶部46aに記憶させると、各テ
ーブル中に設定された内容に基づいて、文書情報記憶部
54に記憶された書式設定後の文書情報について文書配
置変更を行なう(ステップA13)。
When the document arrangement changing unit 46 generates the conversion rule table and stores it in the table storage unit 46a, the document arrangement changing unit 46 performs the post-formatting stored in the document information storage unit 54 based on the contents set in each table. The document layout is changed for the document information (step A13).

【0056】この際、文書配置変更部46は、図形また
は罫線について「拡大縮小最適化」するに指定されてい
る場合、罫線/図形用行桁テーブル65に設定された罫
線/図形の始点終点位置と、文字列用行桁テーブル66
に設定された文字列の始点終点位置とを比較して、罫線
/図形の始点終点位置よりも始点終点位置が小さい文字
列、すなわち罫線/図形内(線により囲まれた領域内)
にあった文字の存在を判別する。
At this time, the document layout changing unit 46, if it is designated to "optimize the enlargement / reduction" of the figure or the ruled line, the start point / end point position of the ruled line / figure set in the ruled line / figure line digit table 65. And the line digit table 66 for character strings
The character string whose start point and end point position are smaller than the start point and end point position of the ruled line / graphic by comparing the start point and end point position of the character string set in, that is, inside the ruled line / figure (in the area surrounded by the line)
The existence of the character that matches is determined.

【0057】文書配置変更部46は、該当する文字が存
在する場合、図形/罫線に対する拡大縮小倍率に基づい
て、罫線/図形内(線により囲まれた領域内)にあった
文字の拡大または縮小を行なう。
If there is a corresponding character, the document layout changing unit 46 enlarges or reduces the character within the ruled line / figure (in the area surrounded by the line) based on the enlargement / reduction ratio for the figure / ruled line. Do.

【0058】表示部56は、文書配置変更された後の文
書情報、及び書式情報記憶部52に格納された書式変更
後の文書書式に基づいて書式変更後の文書を表示させ
る。図7には、書式変更の際に文書配置変更「任意」を
指定し、図5に示すような設定を行なった場合の文書配
置変更の一例を示している。すなわち、文字について
「センタリング」、「拡大縮小最適化」しない、「行最
適化」するに設定され、図形/罫線について「左寄
せ」、「拡大縮小最適化」するに設定されている。
The display unit 56 displays the document after the format change based on the document information after the document layout change and the document format after the format change stored in the format information storage unit 52. FIG. 7 shows an example of the document layout change when the document layout change “arbitrary” is specified at the time of format change and the setting as shown in FIG. 5 is made. That is, the characters are set to "centering", "enlargement / reduction optimization" is not performed, and "line optimization" is set, and figures / ruled lines are set to "left alignment" and "enlargement / reduction optimization".

【0059】図7(a)の文書に対して書式変更を行な
った結果、1行字数が増えて空き字数が次行の1文の字
数以上となったために、図7(b)に示すように、次行
の1文が前の行に移動され、さらに1行中の文字列がセ
ンタリングされている。
As a result of changing the format of the document shown in FIG. 7A, the number of characters in one line is increased and the number of free characters is equal to or larger than the number of characters in one sentence in the next line. Therefore, as shown in FIG. 7B. Then, one sentence in the next line is moved to the previous line, and the character string in one line is centered.

【0060】また、図形(図中星印)は、書式変更によ
って文書サイズが変更されたことに伴って拡大され、さ
らに左寄せされている。また、罫線は、書式変更によっ
て文書サイズが変更されたことに伴って拡大され、さら
に罫線枠中にあった文字列についても、同様にして拡大
されている。
Further, the figure (star in the figure) is enlarged and left-aligned as the document size is changed by the format change. In addition, the ruled lines are enlarged as the document size is changed due to the format change, and the character strings in the ruled line frame are also enlarged in the same manner.

【0061】このようにして、書式変更を行なう際に、
変換規則指定部42により文書配置変更を行なうように
指定し、文字/図形/罫線に対する変換情報を変換規則
記憶部44に記憶させることで、書式変更後に得られる
文書中の文字/図形/罫線の配置が自動的に変更される
ので、別途、レイアウトを整えるために、拡大/縮小や
該当行に次行の1文を移動させるなどの操作を行なう必
要がない。従って、大幅に作業負担が軽減される。
In this way, when changing the format,
The conversion rule specifying unit 42 specifies that the document layout should be changed, and the conversion information for characters / graphics / ruled lines is stored in the conversion rule storage unit 44, so that the characters / graphics / ruled lines in the document obtained after the format change are stored. Since the arrangement is automatically changed, it is not necessary to separately perform operations such as enlarging / reducing and moving one sentence on the next line to the corresponding line in order to arrange the layout. Therefore, the work load is significantly reduced.

【0062】なお、文字について行最適化を行なう場
合、全ての行について条件が一致した場合に行位置を変
更するのではなく、特定の行については行最適化の対象
としないようにすることもできる。例えば、行頭に数字
(アラビア数字、ローマ数字、漢数字等)がある場合に
は、仕様書等の階層的な構造を持った文章の章タイト
ル、あるいは項目タイトルなど、行頭にあるべき部分で
あると判別し、前行に十分な空きがあったとしても変更
させない(行最適化しない)ものとする。
When performing line optimization on a character, the line position may not be changed when the conditions are matched for all lines, and a specific line may not be subjected to line optimization. it can. For example, if there is a number (Arabic number, Roman number, Chinese number, etc.) at the beginning of a line, it is the part that should be at the beginning of the line, such as the chapter title or the item title of a sentence with a hierarchical structure such as specifications. Even if there is sufficient space in the preceding line, it is not changed (line optimization is not performed).

【0063】また、前述した実施形態の説明では、変換
規則を文書全体に対して設定するものとしているが、よ
り詳細に指定することができる。すなわち、頁毎、ある
いは行毎に指定できるようにしても良い。例えば、変換
規則を指定する場合に、変換規則設定用画面において、
対象としている文書から選択された頁のイメージを表示
させ、さらに任意に選択された行について、前述した変
換規則を設定する。この場合、テーブル記憶部46aに
は、各行についてのデータがテーブルに格納されること
になる。
In the above description of the embodiment, the conversion rule is set for the entire document, but it can be specified in more detail. That is, it may be possible to specify each page or each line. For example, when specifying a conversion rule, on the conversion rule setting screen,
The image of the page selected from the target document is displayed, and the conversion rule described above is set for the arbitrarily selected line. In this case, the table storage unit 46a stores the data for each row in the table.

【0064】[0064]

【発明の効果】以上詳述したように本発明によれば、書
式変更する際に書式変更後のレイアウトに対する変換規
則を指定することで、文書形式を変更する時に変換規則
に応じて文書のレイアウトが変更されるので、書式変更
の際に大きな作業負担を要することなく良好なレイアウ
トの文書を作成することが可能となるものである。
As described above in detail, according to the present invention, when the format is changed, the conversion rule for the layout after the format change is designated, and when the document format is changed, the layout of the document is changed according to the conversion rule. Is changed, it is possible to create a document with a good layout without requiring a large work load when changing the format.

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

【図1】本発明の実施形態に係わる文書作成装置の構成
を示すブロック図。
FIG. 1 is a block diagram showing the configuration of a document creation device according to an embodiment of the present invention.

【図2】本実施形態における書式設定に関する機能の構
成を示すブロック図。
FIG. 2 is a block diagram showing the configuration of functions related to format setting according to the present embodiment.

【図3】本実施形態の動作を説明するためのフローチャ
ート。
FIG. 3 is a flowchart for explaining the operation of the embodiment.

【図4】本実施形態における書式設定用の画面の一例を
示す図。
FIG. 4 is a diagram showing an example of a screen for format setting according to the present embodiment.

【図5】本実施形態における変更規則設定用の画面の一
例を示す図。
FIG. 5 is a diagram showing an example of a screen for setting change rules according to the present embodiment.

【図6】本実施形態のテーブル記憶部に記憶される変換
規則テーブルの一例を示す図。
FIG. 6 is a diagram showing an example of a conversion rule table stored in a table storage unit of this embodiment.

【図7】本実施形態における文書配置変更の一例を示す
図。
FIG. 7 is a diagram showing an example of a document layout change according to the present embodiment.

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

40…文書配置変更機能 42…変換規則指定部 42a…文字指定部 42b…図形/罫線指定部 44…変換規則記憶部 44a…配置変更属性情報 44b…文字変換規則 44c…図形/罫線変換規則 46…文書配置変更部 46a…テーブル記憶部 50…書式設定部 52…書式情報記憶部 54…文書情報記憶部 56…表示部 40 ... Document layout changing function 42 ... Conversion rule designating part 42a ... Character designating part 42b ... Graphic / ruled line designating part 44 ... Conversion rule storing part 44a ... Layout modification attribute information 44b ... Character conversion rule 44c ... Graphic / ruled line converting rule 46 ... Document arrangement changing unit 46a ... Table storage unit 50 ... Format setting unit 52 ... Format information storage unit 54 ... Document information storage unit 56 ... Display unit

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 文書形式を書式変更により変更可能な文
書作成装置において、 書式変更する際に、書式変更後の文書形式に対する変換
規則を指定する変換規則指定手段と、 書式変更に応じて文書形式を変更する時に、前記変換規
則指定手段によって指定された変換規則に応じて、書式
変更後の文書に対する変更内容を登録するための変換規
則テーブルを生成し、同変換規則テーブルに登録された
変更内容に基づいて文書の文書形式を変更する変更手段
とを具備したことを特徴とする文書作成装置。
1. A document creation apparatus capable of changing a document format by changing the format, when the format is changed, a conversion rule designating means for designating a conversion rule for the document format after the format change, and a document format according to the format change. When changing the, the conversion rule table for registering the change content for the document after the format change is generated according to the conversion rule specified by the conversion rule specifying means, and the change content registered in the conversion rule table. And a changing means for changing the document format of the document based on the above.
【請求項2】 前記変換規則指定手段は、 書式変更する際に、書式変更後の文字の配置に関する左
寄せ、センタリング、右寄せ、拡大縮小最適化、行最適
化を含む変換規則を指定する変換規則文字指定手段と、 書式変更する際に、書式変更後の図形または罫線の配置
に関する左寄せ、センタリング、右寄せ、拡大縮小最適
化を含む変換規則を指定する変換規則図形/罫線指定手
段とを有し、 前記変換規則テーブルは、前記変換規則文字指定手段及
び前記変換規則図形/罫線指定手段によって指定された
変換規則に対応する、 書式変更後の文字、図形、罫線の位置を示すデータを登
録するための左寄せテーブル、センタリングテーブル、
右寄せテーブルと、 文字、図形、罫線に対する拡大縮小率を示すデータを登
録するための倍率テーブルと、 書式変更後の各行の1行内の空き字数を登録するための
字数空きテーブルとを含み、 前記変更手段は、前記各テーブルに登録された変更内容
に基づいて文書の文書形式を変更することを特徴とする
請求項1記載の文書作成装置。
2. The conversion rule specifying means specifies, when a format is changed, a conversion rule including a left-justified, a centering, a right-justified, an enlargement / reduction optimization, and a line optimization regarding a character arrangement after the change of the format. And a conversion rule graphic / ruled line designating unit for designating a conversion rule including left-alignment, centering, right-alignment, and enlargement / reduction optimization relating to the layout of the graphic or ruled line after the format change when the format is changed, The conversion rule table corresponds to the conversion rule specified by the conversion rule character designating means and the conversion rule graphic / ruled line designating means, and is left-justified for registering data indicating positions of characters, figures, and ruled lines after the format change. Table, centering table,
The table includes a right-alignment table, a magnification table for registering data indicating the enlargement / reduction ratio for characters, figures, and ruled lines, and an empty character number table for registering the number of empty characters in each line after the format change. The document creating apparatus according to claim 1, wherein the means changes the document format of the document based on the change contents registered in each of the tables.
【請求項3】 前記変換規則テーブルは、 書式変更前の罫線または図形の位置を示すデータを登録
するための罫線/図形用行桁テーブルと、 書式変更前の文書中の文字列の位置を示すデータを登録
するための文字列用行桁テーブルとをさらに有し、 前記変更手段は、前記罫線/図形用行桁テーブルと前記
文字列用行桁テーブルに登録されたデータに基づいて、
罫線または図形を構成する線により囲まれた領域内にあ
った文字の存在を判別し、該当する文字を拡大縮小最適
化の対象とすることを特徴とする請求項2記載の文書作
成装置。
3. The conversion rule table indicates a ruled line / graphic line column table for registering data indicating a position of a ruled line or a figure before a format change, and a position of a character string in a document before a format change. A character string line digit table for registering data, wherein the changing means is based on the data registered in the ruled line / graphic line digit table and the character string line digit table,
3. The document creating apparatus according to claim 2, wherein the presence of a character existing in a region surrounded by a ruled line or a line forming a figure is determined and the corresponding character is targeted for enlargement / reduction optimization.
【請求項4】 書式変更する際に、前回の書式変更の際
に前記変換規則指定手段によって指定された変換規則に
基づいて文書の文書形式を変更することを示す「自動」
を指示する文書配置変更指示手段をさらに具備し、 前記変更手段は、前記文書配置変更指示手段によって
「自動」が指示された場合に、前回の書式変更の際に前
記変換規則指定手段によって指定された変換規則に基づ
く、前記変換規則テーブルに登録された変更内容に基づ
いて文書の文書形式を変更することを特徴とする請求項
1記載の文書作成装置。
4. When the format is changed, "automatic" indicating that the document format of the document is changed based on the conversion rule designated by the conversion rule designation means at the time of the previous format change.
Further comprising a document layout change instructing unit for designating, when the document layout change instructing unit specifies “automatic”, the changing unit is designated by the conversion rule designating unit when the format is changed last time. 2. The document creating apparatus according to claim 1, wherein the document format of the document is changed based on the contents of the change registered in the conversion rule table based on the conversion rule.
【請求項5】 文書形式を書式変更により変更可能な文
書作成装置において、 書式変更する際に、書式変更後の文書形式に対する変換
規則を指定し、 書式変更に応じて文書形式を変更する時に、指定された
変換規則に応じて、書式変更後の文書に対する変更内容
を登録するための変換規則テーブルを生成し、同変換規
則テーブルに登録された変更内容に基づいて文書の文書
形式を変更することを特徴とする文書配置変更方法。
5. A document creation apparatus capable of changing a document format by changing the format, when the format is changed, a conversion rule for the document format after the format change is specified, and when the document format is changed in response to the format change, According to the specified conversion rule, generate a conversion rule table for registering the changes to the document after the format change, and change the document format of the document based on the changes registered in the conversion rule table. A method for changing the document layout characterized by.
JP7291069A 1995-11-09 1995-11-09 Document preparing device and document arrangement changing method Pending JPH09134355A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7291069A JPH09134355A (en) 1995-11-09 1995-11-09 Document preparing device and document arrangement changing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7291069A JPH09134355A (en) 1995-11-09 1995-11-09 Document preparing device and document arrangement changing method

Publications (1)

Publication Number Publication Date
JPH09134355A true JPH09134355A (en) 1997-05-20

Family

ID=17764028

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7291069A Pending JPH09134355A (en) 1995-11-09 1995-11-09 Document preparing device and document arrangement changing method

Country Status (1)

Country Link
JP (1) JPH09134355A (en)

Similar Documents

Publication Publication Date Title
US7168037B2 (en) Text composition spacing amount setting device with icon indicators
JP3471854B2 (en) Character processing apparatus and method
JP3100614B2 (en) Document processing apparatus and document processing method
JP3062259B2 (en) Document processing apparatus and method
JPH09134355A (en) Document preparing device and document arrangement changing method
JPH03156668A (en) Document preparing device
JP2815158B2 (en) Character processor
JP3026617B2 (en) Document processing apparatus and method
JP2879940B2 (en) Score editing system
JP2592840B2 (en) Character processor
JP3062258B2 (en) Document processing apparatus and method
JP3404770B2 (en) Document processing device
JPH09185603A (en) Document preparing device and character string form control method
JP3133385B2 (en) Character editing system
JPH0244458A (en) Character processor
JPS605470B2 (en) typesetting system
JPH05210672A (en) Word processor
JPH03160557A (en) Document processor
JPH0346056A (en) Document generation device
JPH02255950A (en) Document processor with type selecting function
JPH05101068A (en) Document processor
JPH04282755A (en) Word processor
JPH0421468A (en) Document processor
JPS6359658A (en) Document processor
JPH04336372A (en) Document preparing device