JPS6261152A - Format control system for plural media - Google Patents

Format control system for plural media

Info

Publication number
JPS6261152A
JPS6261152A JP60202034A JP20203485A JPS6261152A JP S6261152 A JPS6261152 A JP S6261152A JP 60202034 A JP60202034 A JP 60202034A JP 20203485 A JP20203485 A JP 20203485A JP S6261152 A JPS6261152 A JP S6261152A
Authority
JP
Japan
Prior art keywords
character string
frame
line
exists
boundary
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
JP60202034A
Other languages
Japanese (ja)
Inventor
Koichi Nakamura
浩一 中村
Toshiaki Tosa
土佐 利明
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP60202034A priority Critical patent/JPS6261152A/en
Publication of JPS6261152A publication Critical patent/JPS6261152A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To easily execute format control such as centering considering frames or right justification by moving a character string concerned to a specified position in case of receiving an instruction. CONSTITUTION:When a frame contacting with the head of a line exists, a frame contacting with the end of the line also exists and a character string exists between the frames, the number of digits in the border between each frame and the character string is calculated respectively and the centers of respective sections are found out. When the frame contacting with the head of the line exists and the character string is arranged after the frame, the number of digits from the border between the frame and the character string to the end of the line is calculated and the center of the section is found out. When the frame contacting with the end of the line exists and the character string is arranged before the frame, the number of digits from the border between the frame and the character string to the head of the line is calculated and the center of the section is found out. Centering is executed by shifting the character string so that the found centers coincide with the center of the character string. If a frame other than the ones contacting with the head and end of the line exists or a frame exists on the intermediate position of the line, centering is not executed.

Description

【発明の詳細な説明】 〔概 要〕 表示装置の画面に表示した日本語等の文字列中の任意の
位置に空き領域を設定して、該画面と該画面とは別に前
記空き領域VC挿入すべく作成した図形等を合成して印
刷する如く構成された装置において、従来、空領域の存
在する行しτついては、右詰めやセンタリング等の■式
制御が行なえないため、各メディア間の配置の均衡のと
れた良質の文書の作成が困難であると言う問題点があっ
た。本発明はかかる問題点を解決するため文字列と空領
域との境界を意識することにより、少なくとも該境界を
一端とする区間内における文字列の右詰めやセンタリン
グlどの書式制御を可能とする技術を開示している。
[Detailed Description of the Invention] [Summary] A free space is set at an arbitrary position in a character string such as Japanese displayed on the screen of a display device, and the free space VC is inserted into the screen separately from the screen. Conventionally, in a device configured to combine and print figures, etc. created in a desired manner, it has been difficult to control the positioning between each media because it is not possible to perform right-justification, centering, etc. when it comes to rows with empty areas. The problem was that it was difficult to create a well-balanced, high-quality document. In order to solve this problem, the present invention provides a technology that makes it possible to control the formatting of character strings, such as right-justification and centering, at least within an interval that includes the boundary as one end, by being aware of the boundary between the character string and the empty area. is disclosed.

〔産業上の利用分野〕[Industrial application field]

本発明は日本語ワードプロセッサまたはワークステーシ
ョンにおける日本語文書処理の制御に関し、特に、日本
語文字列中に別途作成した図形等を合成して印刷する際
の書式制御に係る。
The present invention relates to control of Japanese document processing in a Japanese word processor or workstation, and particularly to format control when a separately created figure or the like is combined into a Japanese character string and printed.

〔従来の技術〕[Conventional technology]

近年、日本語ワードプロセッサまたはワークステージ、
ン上での日本語文書処理が一般化してきており、これら
は更に文書の視覚的な分かり易さや、より多様な表現の
実現等のため、文書内に別途作成した図形などを挿入し
て印刷することの必要性が高まって来ている。
In recent years, Japanese word processors or work stages,
Japanese document processing on online computers has become commonplace, and in order to make the document visually easier to understand and to realize more diverse expressions, it is now possible to print by inserting separately created figures into the document. There is an increasing need to do so.

以下、このような文書をマルチメディア文書、また、七
の処理をマルチメディア文書処理と言う。
Hereinafter, such a document will be referred to as a multimedia document, and the processing in step 7 will be referred to as multimedia document processing.

マルチメディア文書処理で取り扱うメディアとしては、
日本語文字テキスト、ビジネスグラフ、線画、イメージ
、表およびEBCI)IC1ASCIIコードデータ等
がある。
Media handled in multimedia document processing include:
Includes Japanese character text, business graphs, line drawings, images, tables, and EBCI) IC1 ASCII code data.

マルチメディア文1iVcおける各メディアは「枠」と
呼ばれる矩形領域に組み込まれる。そして、この枠金管
理する方法として、第1VCメデイア枠独立型、第2に
、メディア行依存型、メディア枠・文字テキスト混在型
などの別がある。
Each media in the multimedia sentence 1iVc is incorporated into a rectangular area called a "frame." There are different methods for managing this frame, such as a first VC media frame independent type, a second media line dependent type, and a mixed media frame and text type.

これら、枠の管理の各方法についての概要と特質につい
て示すと以下のとおりになる。
The outline and characteristics of each of these frame management methods are as follows.

1)メディア枠独立型 メディア枠独立型は、取り扱うメディアごとに枠を持ち
、七の枠をページ内に設定する方法で、6枠は独立して
いる。この方法では枠の管理は容易であるが、各枠の割
付けが固定となってしまう。したがって、あるメディア
枠を削除または挿入しても他のメディア枠がなだれ込み
を起こすことがない。また、場合によっては枠が挿入で
きない場合がある。
1) Media frame independent type Media frame independent type has a frame for each media handled, and seven frames are set within a page, and six frames are independent. Although this method makes it easy to manage frames, the allocation of each frame is fixed. Therefore, even if a certain media frame is deleted or inserted, other media frames will not overlap. Also, in some cases, it may not be possible to insert a frame.

2)メディア枠打依存型 メディア枠打依存型は、枠管理情報内の枠位置情報を行
、桁で表現した方法である。独立型と違い、テキストの
移動に従ってメディア枠も移動する。また、メディア枠
の削除、挿入VCよって文字テキストがなだれ込みを起
こす。しかし一つの編集作業VCよって、枠管理情報の
更新をしなければならず、枠管理は難しい。
2) Media frame placement dependent type Media frame placement dependent type is a method in which frame position information in frame management information is expressed in rows and columns. Unlike the independent type, the media frame moves as the text moves. Further, deletion of a media frame and insertion of VC cause a clutter of text. However, frame management is difficult because frame management information must be updated for each editing VC.

3)メディア枠・文字テキスト混在型 メディア枠・文字テキスト混在型は、文字テキスト中に
枠情報を持つ方法である。
3) Media frame/text mixed type The media frame/text mixed type is a method that includes frame information in the text.

この方法では枠情報を文字テキストと同様に扱っている
。メディア枠の削除、挿入は、文字テキストの編集と同
様に扱うことができる。したがって、枠の管理も容易で
ある。
This method treats frame information in the same way as character text. Deleting and inserting media frames can be handled in the same way as editing text. Therefore, frame management is also easy.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述したマルチメディア文書処理において、文書内に挿
入される図形などと文字列の位置関係を調整しなくては
ならないことがしばしば起る。
In the multimedia document processing described above, it is often necessary to adjust the positional relationship between a character string and a figure inserted into a document.

従来、枠等の無い通常の文字列だけの行については、文
字列を核行の中央に位置せしめる1センタリング′や文
字列の後尾を行末に一致させる“右詰め′などの書式制
御が容易に行なえるような機能が用意されていたが、文
字列と枠とが混在している場合には、これらの書式制御
を行なうことが出来ないと言う問題点があった。
Conventionally, for lines containing only regular character strings without frames etc., formatting controls such as 1-centering', which places the character string in the center of the core line, and ``right alignment'', which aligns the end of the character string with the end of the line, can be easily performed. Although a function was available to enable this, there was a problem in that it was not possible to control the formatting when character strings and frames coexisted.

本発明はこのような従来の問題点に鑑み、文字と枠が混
在しているような行であっても、特に必要性の多い条件
の場合については書式制御を可能ならしめる手段を提供
することを目的としている。
In view of these conventional problems, it is an object of the present invention to provide a means that enables format control even for lines in which characters and frames are mixed, especially in the case of highly necessary conditions. It is an object.

〔問題点を解決するための手段〕[Means for solving problems]

ヤして、この目的は本発明によれば、特許請求の範囲に
記載のとおり、表示装置の画面に表示した文字列中の任
意の位置に空き領域を設定して、該画面と該画面とは別
に前記空き領域に挿入すべく作成した固形等を合成して
印刷する如く構成された装置において、文字列と前記空
領域との境界を認識する手段と、行の先頭が文字列であ
る場合の核行の先頭から核行に存在する最初の空領域と
前記文字列後尾との境界までの区間あるいは行の先頭に
接している空領域が存在する場合の該空領域に続く文字
列と該空領域との境界から行の最後尾までの区間あるい
は行に複数の空領域が存在する場合の積行の先頭に接し
ている空領域とこれに続く文字列との境界から該行中に
次に存在する空領域と前記文字列後尾との境界までの区
間についてこれらの区間の距離を範囲として該区間内に
存在する文字列の位置全行方向に移動せしめる手段とを
設け、指示を受けたとき、該当する文字列を指定された
位置に移動することを特徴とする複数メディア書式制御
方式により達成される。
According to the present invention, this purpose is achieved by setting an empty area at an arbitrary position in a character string displayed on the screen of a display device, and then displaying the screen and the screen. Separately, in an apparatus configured to combine and print solid objects etc. created to be inserted into the empty area, means for recognizing the boundary between a character string and the empty area, and when the beginning of a line is a character string. The interval from the beginning of the core line to the boundary between the first empty area existing in the core line and the end of the character string, or if there is an empty area touching the beginning of the line, the character string following the empty area and the corresponding character string. The interval from the boundary with an empty area to the end of the line, or when there are multiple empty areas on a line, from the boundary between the empty area touching the beginning of the product line and the following character string in the line. means for moving the position of the character string existing within the interval in the direction of all lines within the range of the distance between the empty area existing in the area and the end of the character string, and receiving an instruction. This is achieved by a multi-media format control method characterized by moving the corresponding character string to a specified position when

〔実施例〕〔Example〕

第4図は本発明を実施する系の構成の例を示す図で、1
はTSS端末、2はワークステージ、ン、3はホストコ
ンピュータ、4はファイル、5はワークステーション本
体、6は印刷出力を表わしている。また、参照符A−C
は、;f:れらがそれぞれ異なるメディアであって、そ
れらがA′〜C′として印刷されて出力されることを表
わしている。
FIG. 4 is a diagram showing an example of the configuration of a system implementing the present invention.
2 is a TSS terminal, 2 is a work stage, 3 is a host computer, 4 is a file, 5 is a workstation body, and 6 is a print output. Also, reference marks A-C
;f: indicates that these are different media and are printed and output as A' to C'.

そして、このような複数のメディアの印刷に際する編集
に当って、文字列のセンタリングや右詰めなどの書式制
御が指示されたときは、文字列と枠との境界を検出し、
該境界と行頭あるいは行末間、若しくは2つの枠のそれ
ぞれの境界間を区間として該区間内においてのセンタリ
ングや右詰めなどの書式制御を行なう。
When editing for printing such multiple media, when formatting control such as centering or right alignment of text strings is instructed, the border between the text string and the frame is detected,
Format control such as centering and right alignment is performed within the interval by using the boundary and the beginning or end of the line, or between the respective boundaries of the two frames as an interval.

これらの制御の例を流れ図として第1図および第2図に
示す。
Examples of these controls are shown in flowcharts in FIGS. 1 and 2.

すなわち、第1図は本発明の1実施例のセンタリングの
制御を示す流れ図である。同図において、行内に枠が存
在するとき、行頭に接する枠があり、かつ、行末に接す
る枠があって、その間が文字列である場合には前記6枠
と文字列との七れぞれの境界間の桁数全算出してその区
間の中心を求め、また、行頭に接する枠があって、それ
以降が文字列である場合には該枠と文字列との境界から
行末までの桁数を算出してその区間の中心を求め、一方
、行末に接する枠があって、それ以前が文字列である場
合には、該枠と文字列との境界から行頭までの桁数全算
出して七の区間の中心を求め、これらの中心と文字列の
中心とを一致させる様に文字列をシフトすることによっ
てセンタリングを行なっている。
That is, FIG. 1 is a flowchart showing centering control according to one embodiment of the present invention. In the same figure, when there are frames within a line, there is a frame touching the beginning of the line, and a frame touching the end of the line, and if there is a character string between them, each of the six frames and the character string Calculate the total number of digits between the boundaries of , and find the center of that interval. Also, if there is a frame that touches the beginning of the line, and what follows is a string, calculate the digits from the boundary between the frame and the string to the end of the line. Calculate the number and find the center of the interval. On the other hand, if there is a border at the end of the line and the text before it is a string, calculate the total number of digits from the border between the frame and the string to the beginning of the line. Centering is performed by finding the centers of the seven sections and shifting the string so that these centers match the center of the string.

行内に、行頭、行末に接する枠取外の枠が存在したり、
行の中間に枠が存在する等の場合にはセンタリングを行
なわない。
If there is a frame outside the line that touches the beginning or end of the line,
Centering is not performed if there is a frame in the middle of a row.

第2図は本発明の1実施例の右詰めの制御を示す流れ図
である。この場合も前述のセンタリングの制御と同様に
、行内の枠の位置を識別して、行末に枠が存在すれば該
枠と文字列の境界に該文字列の後尾が達するように文字
列をシフトして右詰めを行ない、一方、行末に枠が存在
しない場合には文字列後尾が行末に達するまで該文字列
をシフトすることにより右詰め制御を行なっている。
FIG. 2 is a flowchart showing right-justification control in one embodiment of the present invention. In this case, as well as the centering control described above, the position of the frame within the line is identified, and if there is a frame at the end of the line, the string is shifted so that the end of the string reaches the boundary between the frame and the string. On the other hand, if there is no frame at the end of the line, right-justification control is performed by shifting the character string until the end of the character string reaches the end of the line.

以上のような制御によって編集された後出力された印刷
物の例を第3図に示す。すなわち、第3図は印刷出力の
例を示す図であって、71〜7Jは枠、8はセンタリン
グされ死文字列、9は右詰めされた文字列を示している
。同図において、゛お知らせ″なる文字列は行頭と枠7
1との間の区間でセンタリングされ、また”正常″なる
文字列は枠7!と枠73との間の区間でセンタリングさ
れている。一方、゛検査課″なる文字列は右詰めされて
枠71に接しており、“表″なる文字は同様に右詰めさ
れて枠73に接する如く編集されている。
FIG. 3 shows an example of a printed matter output after being edited by the above-described control. That is, FIG. 3 is a diagram showing an example of print output, and 71 to 7J are frames, 8 is a centered dead character string, and 9 is a right-justified character string. In the same figure, the character string ``Notice'' is at the beginning of the line and in frame 7.
The character string that is centered in the interval between 1 and ``normal'' is in frame 7! It is centered in the section between and frame 73. On the other hand, the character string ``Inspection Division'' is edited to the right and touches the frame 71, and the character string ``Table'' is similarly edited to the right and touches the frame 73.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明の方式によれば、マルチメデ
ィア文書処理における、文膚内に図形等が挿入されてい
る場合において、指定した行の文字列についての、枠を
考慮したセンタリングや右詰め等の客式制御が容易に行
なえるので効果は大である。
As explained above, according to the method of the present invention, in multimedia document processing, when a figure or the like is inserted in a text surface, a character string in a specified line can be centered or right-justified while taking into account the frame. This is very effective as it allows for easy customer-style control.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の1実施例のセンタリングの制御の流れ
図、第2図は本発明の1実施例の右詰めの制御の流れ図
、第3図は印刷出力の例を示す図、第4図は本発明を実
施する系の構成の911を示す図である。 1・・・TSS端末、  2・・・ワークステーション
、3・・・ホヌトコンピュータ、  4・・・ファイル
、5・・・ワークステーション本体、  6・・・印刷
出力、71〜73・・・枠、 8・・・センタリングさ
れた文字、9・・・右詰めさ′rした文字 一−−−  、 代理人 弁理士 井 桁 貞(′、2− □へ、 I \に一−−/′ 印刷出力の抄1を示す口 ′第3図
Fig. 1 is a flowchart of centering control according to an embodiment of the present invention, Fig. 2 is a flowchart of right-justification control according to an embodiment of the present invention, Fig. 3 is a diagram showing an example of print output, Fig. 4 FIG. 9 is a diagram showing a configuration 911 of a system implementing the present invention. 1... TSS terminal, 2... Workstation, 3... Honuto computer, 4... File, 5... Workstation body, 6... Print output, 71-73... Frame , 8... Centered character, 9... Right-justified character 1 --- , Agent Patent attorney Sada Igeta (', 2- □, I \ni 1--/' Print Figure 3 showing excerpt 1 of the output

Claims (1)

【特許請求の範囲】[Claims] 表示装置の画面に表示した文字列中の任意の位置に空き
領域を設定して、該画面と該画面とは別に前記空き領域
に挿入すべく作成した図形等を合成して印刷する如く構
成された装置において、文字列と前記空領域との境界を
認識する手段と、行の先頭が文字列である場合の該行の
先頭から該行に存在する最初の空領域と前記文字列後尾
との境界までの区間あるいは行の先頭に接している空領
域が存在する場合の該空領域に続く文字列と該空領域と
の境界から行の最後尾までの区間あるいは行に複数の空
領域が存在する場合の該行の先頭に接している空領域と
これに続く文字列との境界から該行中に次に存在する空
領域と前記文字列後尾との境界までの区間についてこれ
らの区間の距離を範囲として該区間内に存在する文字列
の位置を行方向に移動せしめる手段とを設け、指示を受
けたとき、該当する文字列を指定された位置に移動する
ことを特徴とする複数メディア書式制御方式。
A blank area is set at an arbitrary position in a character string displayed on the screen of a display device, and the screen and a figure, etc., created to be inserted into the blank area separately from the screen are combined and printed. means for recognizing a boundary between a character string and the empty area, and a means for recognizing a boundary between a character string and the empty area, and a means for recognizing a boundary between a character string and the end of the character string from the beginning of the line. If there is an empty area touching the beginning of the line or the section up to the boundary, there are multiple empty areas in the section or line between the character string following the empty area and the boundary with the empty area and the end of the line. In the case where and a means for moving the position of a character string existing within the interval in the row direction using a distance as a range, and when an instruction is received, the corresponding character string is moved to a specified position. Format control method.
JP60202034A 1985-09-12 1985-09-12 Format control system for plural media Pending JPS6261152A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60202034A JPS6261152A (en) 1985-09-12 1985-09-12 Format control system for plural media

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60202034A JPS6261152A (en) 1985-09-12 1985-09-12 Format control system for plural media

Publications (1)

Publication Number Publication Date
JPS6261152A true JPS6261152A (en) 1987-03-17

Family

ID=16450833

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60202034A Pending JPS6261152A (en) 1985-09-12 1985-09-12 Format control system for plural media

Country Status (1)

Country Link
JP (1) JPS6261152A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62182877A (en) * 1986-02-05 1987-08-11 Casio Comput Co Ltd Fixing system for chart position of word processor
JPH0488045U (en) * 1990-12-18 1992-07-30

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5814243A (en) * 1981-07-20 1983-01-27 Fujitsu Ltd Japanese language input device having function of editing in ruled line
JPS5947639A (en) * 1982-09-11 1984-03-17 Fujitsu Ltd Character region arraying system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5814243A (en) * 1981-07-20 1983-01-27 Fujitsu Ltd Japanese language input device having function of editing in ruled line
JPS5947639A (en) * 1982-09-11 1984-03-17 Fujitsu Ltd Character region arraying system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62182877A (en) * 1986-02-05 1987-08-11 Casio Comput Co Ltd Fixing system for chart position of word processor
JPH0488045U (en) * 1990-12-18 1992-07-30

Similar Documents

Publication Publication Date Title
US6551357B1 (en) Method, system, and program for storing and retrieving markings for display to an electronic media file
US6178431B1 (en) Method and system for providing side notes in word processing
US4435778A (en) Method for editing spatially related data in an interactive text processing system
EP0066055B1 (en) Method of entering field dependent criteria for selecting records of spatially related data in an interactive text processing system
EP0066048B1 (en) Method of printing records from stored files of spatially related data in a text processing system
EP0066688B1 (en) Method of facilitating the recognition of the correctness of the instructions entered in an interactive text processing system
JPS6261152A (en) Format control system for plural media
US20230004706A1 (en) Device Dependent Rendering of PDF Content Including Multiple Articles and a Table of Contents
JPS60222270A (en) Table data insertion printer
JPS5856138A (en) Formating of a plurality of text columns
JPH03185559A (en) Document shaping device
US20030093758A1 (en) Visual job ticketing using a document viewing application
JP2682873B2 (en) Recognition device for tabular documents
US20240119218A1 (en) Device dependent rendering of pdf content
JPH0373059A (en) Document editing system
JP2594043B2 (en) Ruled line creation device
JPH0447865B2 (en)
JPS6261151A (en) Edition control system for plural media
JP5747202B2 (en) Information processing apparatus, information processing method, and program
JP2835550B2 (en) Document creation and editing device
JPS61229161A (en) Documentation and editing device
JP2020126469A (en) Information processing apparatus, control method and program
JPH0411909B2 (en)
JP2011034463A (en) Information processing apparatus, information processing method and program
JPH11105231A (en) Composing device