JPH0247763A - Document processor - Google Patents

Document processor

Info

Publication number
JPH0247763A
JPH0247763A JP63198225A JP19822588A JPH0247763A JP H0247763 A JPH0247763 A JP H0247763A JP 63198225 A JP63198225 A JP 63198225A JP 19822588 A JP19822588 A JP 19822588A JP H0247763 A JPH0247763 A JP H0247763A
Authority
JP
Japan
Prior art keywords
character
character string
reference line
input
attribute
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
JP63198225A
Other languages
Japanese (ja)
Inventor
Yoshimoto Yamamoto
喜大 山本
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP63198225A priority Critical patent/JPH0247763A/en
Publication of JPH0247763A publication Critical patent/JPH0247763A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To freely arrange a character string in a document by designating a reference line and automatically arranging the character string in accordance with the reference line. CONSTITUTION:When a character string is inputted from a character string input part 1, its code is stored in a character string storage part 2. The character attribute from a character attribute input part 3 is stored in a character attribute storage part 4. Bit images of character font are successively generated by a character generating part 7. A character string arranging part 8 calculates positions, where generated bit images of characters should be placed, in accordance with the reference line stored in a reference line storage part 6 and successively arranges and outputs the character string on a character output part 9 like a bit map display device.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は文書処理装置、特に任意の基準線に沿って文字
列を自動的に配置する機能を備えた文書処理装置に関す
るものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a document processing device, and more particularly to a document processing device having a function of automatically arranging character strings along arbitrary reference lines.

従来の技術 従来の文書処理装置では、文字列の並びが垂直方向また
は水平方向に限られており、文字列を自由に配置するこ
とができなかった。このため文字列を斜め等に並べたい
場合には、コードで表された文字列をビットイメージ等
の別の表現に変換した後、その異種表現データに対して
オペレータが配置処理を行わなければならず煩雑な操作
を必要とした。
2. Description of the Related Art In conventional document processing devices, the arrangement of character strings is limited to the vertical or horizontal direction, and character strings cannot be freely arranged. Therefore, if you want to arrange character strings diagonally, etc., the character string expressed in code must be converted to another representation such as a bit image, and then the operator must perform arrangement processing on the different representation data. This required complicated operations.

発明が解決しようとする課題 このように従来の技術では文字列を自由に配置すること
ができず、煩わしい操作が必要であった。
Problems to be Solved by the Invention As described above, in the conventional technology, character strings cannot be freely arranged, and cumbersome operations are required.

そこで本発明はこのような問題点を解決し、簡単な操作
で文字列を自由に配置し、表現力の豊かな文書を作成で
きる文書処理装置を提供することを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to solve these problems and provide a document processing device that can freely arrange character strings with simple operations and create documents with rich expressiveness.

課題を解決するための手段 上記目的を達成するため本発明の文書処理装置は、文字
列の入力を行う文字列入力部と、前記文字列入力部で入
力した文字列の文字のコードを記憶する文字列記憶部と
、前記文字列の文字の属性を入力する文字属性入力部と
、前記文字属性入力部で入力された文字属性を記憶する
文字属性記憶部と、文字の並びの基準線の入力を行う基
準線入力部と、前記基準線入力部で入力した基準線を記
憶する基準線記憶部と、前記文字列記憶部に記憶された
文字列の文字のコードと前記文字属性記憶部に記憶され
た文字属性にしたがって、文字フォントのビットイメー
ジを生成する文字生成部と、前記基準線記憶部に記憶さ
れた基準線に沿って前記ビットイメージを配置する文字
列配置部と、前記文字列配置部で配置された文字列を出
力する文字列出力部を有し、基準線の入力により定義さ
れた基準線に沿って文字列の配置を行なって出力するこ
とを特徴とするものである。
Means for Solving the Problems In order to achieve the above object, the document processing device of the present invention includes a character string input section for inputting a character string, and stores codes of characters of the character string input in the character string input section. a character string storage section, a character attribute input section for inputting character attributes of the character string, a character attribute storage section for storing character attributes input in the character attribute input section, and input of a reference line for character arrangement. a reference line input unit that stores the reference line input in the reference line input unit; a reference line storage unit that stores the reference line input in the reference line input unit; and a code of the character of the character string stored in the character string storage unit and the code stored in the character attribute storage unit. a character generation section that generates a bit image of a character font according to the character attribute that has been set; a character string arrangement section that arranges the bit image along the reference line stored in the reference line storage section; The present invention is characterized in that it has a character string output section that outputs character strings arranged in sections, and arranges and outputs character strings along a reference line defined by inputting a reference line.

作用 以上のように構成すると文書作成の際に、文字列を入力
した後、文字列を異なる表現に変換して配置するといっ
た煩わしい操作を行うことなく、基準線を指定し、基準
線にしたがって文字列を自動的に配置することにより、
文字列を自由に文書中に配置することができる。
Effects With the above configuration, when creating a document, you can specify a reference line and type text according to the reference line without having to enter a character string, convert it to a different representation, and arrange it. By automatically arranging columns,
Character strings can be placed freely in the document.

実施例 この発明の一実施例を第1図、第2図、第3図、第4図
、第5図を参照しながら説明する。
Embodiment An embodiment of the present invention will be described with reference to FIGS. 1, 2, 3, 4, and 5.

第1図において、1は文字列入力部、2は入力部より入
力された文字列の文字のコードを記憶しておく文字列記
憶部、3は文字の属性を入力する文字属性入力部、4は
文字属性入力部より入力された文字属性を記憶しておく
文字属性記憶部、5は基準線を入力する基準線入力部、
6は基準線入力部で入力された基準線を記憶しておく基
準線記憶部、7は文字列記憶部に記憶された文字列の文
字のコードと文字属性記憶部に記憶された文字属性にし
たがって、文字フォントのビットイメージを生成する文
字生成部、8は生成された文字フォントのビットイメー
ジを基準線記憶部に記憶された基準線に沿って配置する
文字列配置部、9は文字列配置部で配置された文字列を
出力する文字列出力部である。
In FIG. 1, 1 is a character string input section, 2 is a character string storage section that stores the code of the character string input from the input section, 3 is a character attribute input section for inputting character attributes, and 4 5 is a character attribute storage unit that stores character attributes input from the character attribute input unit; 5 is a reference line input unit that inputs a reference line;
6 is a reference line storage unit that stores the reference line input in the reference line input unit; 7 is a reference line storage unit that stores the reference line input in the reference line input unit; and 7, the character code of the character string stored in the character string storage unit and the character attribute stored in the character attribute storage unit. Therefore, a character generation section 8 generates a bit image of a character font, a character string arrangement section 8 arranges a bit image of the generated character font along a reference line stored in a reference line storage section, and a character string arrangement section 9 This is a string output section that outputs strings arranged in sections.

基準線入力部5において、ポインティングデバイス等を
用いて、文字列を配置したい形状の基準線を入力すると
、基準線記憶部6は入力された基準線を記憶する。
When a reference line of a shape in which a character string is desired to be placed is inputted into the reference line input section 5 using a pointing device or the like, the reference line storage section 6 stores the inputted reference line.

第2図は基準線の一例を示す。この場合、基準線は第4
図のように点 Pi = (Xi、 Yt ) 1:0,1.、、、N の、隣接する点で示される線分 LJ = (Xj、 YJ ) −(Xj+1. Yj
+1 )j : 0. !、 、、、 N−1 の連結で表されており、基準線記憶部6はこの点の集合
を記憶するものとする。文字列入力部1において、キー
ボード等を用いて文字列が入力されると、文字列記憶部
2は入力文字列の文字のコードを記憶する。また文字属
性入力部3では、入力文字列の文字の種類、大きさ、文
字の向き等の文字のビットイメージの生成、および文゛
字列の配置の際に参照される文字属性を入力し、文字属
性記憶部4はこの文字属性を記憶する。文字生成部7は
、文字列記憶部2に記憶された文字列の文字のコードと
文字属性記憶部4に記憶された文字属性より、文字フォ
ントのビットイメージを順次生成する。文字列配置部8
は基準線記憶部6に記憶された基準線に沿って、生成さ
れた文字のビットイメージを置く位置を算出し、ビット
マツプデイスプレィ装置等の文字列出力部9に第3図の
ように文字列を順次配置し出力する。基準線が第4図の
ように連結する線文で表され、文字列数Sの文字列の各
文字のビットイメージ IMkで、IMkが縦Hk 、
横Wk k : 0. I、 、、、 S−1の矩形で
表されるとき、文字列配置部8において文字のビットイ
メージの基準線上への配置は、例えば次のように行われ
る。これを第5図を用いて説明する。まず、基準線の始
点POに文字列の最初の文字のビットイメージIMOの
左下隅の点を合わせ、基準線の最初の線分LOの上を通
る直線とIMOの底辺の上を通る直線が一致するように
IMOを配置する。次に基準線を表す線分LJのうち、
IMOの右辺の上を通る直線と交わる線分Lpと、その
交点cpを求め、点CI)にI旧の左下隅の点を合わせ
、Lpの上を通る直線と IMIの底辺の上を通る直線
が一致するようにIMIを配置する。これを繰り返すこ
とにより、順次文字列を基準線に沿って配置することが
できる。
FIG. 2 shows an example of a reference line. In this case, the reference line is the fourth
As shown in the figure, point Pi = (Xi, Yt) 1:0,1. , , N line segment LJ = (Xj, YJ) − (Xj+1. Yj
+1)j: 0. ! , , , N-1, and the reference line storage unit 6 stores this set of points. When a character string is input using a keyboard or the like in the character string input section 1, the character string storage section 2 stores the codes of the characters of the input character string. In addition, the character attribute input section 3 inputs character attributes that are referenced when generating a bit image of characters such as the character type, size, and direction of the input character string, and when arranging the character string. The character attribute storage section 4 stores this character attribute. The character generation unit 7 sequentially generates bit images of a character font from the character codes of the character string stored in the character string storage unit 2 and the character attributes stored in the character attribute storage unit 4. Character string arrangement section 8
calculates the position to place the bit image of the generated character along the reference line stored in the reference line storage unit 6, and outputs the character to the character string output unit 9 of the bitmap display device, etc. as shown in FIG. Arrange and output columns sequentially. The reference line is represented by a line sentence connected as shown in Fig. 4, and the bit image IMk of each character in a character string with the number of character strings is S, where IMk is vertically Hk,
Lateral Wk: 0. When represented by a rectangle I, , , , S-1, the character string placement unit 8 places the bit image of the character on the reference line, for example, as follows. This will be explained using FIG. 5. First, align the lower left corner point of the bit image IMO of the first character of the string with the starting point PO of the reference line, and the line passing over the first line segment LO of the reference line and the line passing above the base of IMO match. Arrange the IMO so that Next, among the line segments LJ representing the reference line,
Find the line segment Lp that intersects with the straight line passing above the right side of IMO and its intersection cp, align the lower left corner point of I old with point CI), and find the line passing above Lp and the line passing above the bottom of IMI. Arrange the IMIs so that they match. By repeating this, character strings can be sequentially arranged along the reference line.

このようにして、本発明の文書処理装置では文書作成の
際に、簡単な操作で文字列を自由に配置することができ
る。
In this manner, the document processing apparatus of the present invention allows character strings to be freely arranged with a simple operation when creating a document.

発明の詳細 な説明したように、本発明によれば文書作成の際に、簡
単な操作で文字列を自由に配置することができ、表現力
の豊かな文書を煩わしい操作を行うことなく作成するこ
とができる。
As described in detail, according to the present invention, character strings can be freely arranged with a simple operation when creating a document, and a richly expressive document can be created without any troublesome operations. be able to.

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

第1図は本発明の実施例における文書処理装置のブロッ
ク図、第2図は本発明の実施例における基準線の一例を
示すパターン図、第3図は本発明の実施例における文字
列出力部への文字列の配置の様子を示すパターン図、第
4図は本発明の実施例における基準線の表現の一例を示
す説明図、第5図は文字列の配置方法の一例を示す説明
図である。 1・・・文字列入力部、  2・・・文字列記憶部、3
・・・文字属性入力部、4・・・文字属性記憶部、5・
・・基準線入力部、  6・・・基準線記憶部、  7
・・・文字生成部、8・・・文字列配置部、  9・・
・文字列出力部。 代理人の氏名 弁理士 粟野重孝 ほか1名第2図 1図 智 り −昏
FIG. 1 is a block diagram of a document processing device in an embodiment of the present invention, FIG. 2 is a pattern diagram showing an example of a reference line in an embodiment of the present invention, and FIG. 3 is a character string output unit in an embodiment of the present invention. FIG. 4 is an explanatory diagram showing an example of the expression of the reference line in the embodiment of the present invention, and FIG. 5 is an explanatory diagram showing an example of the method of arranging character strings. be. 1...Character string input section, 2...Character string storage section, 3
... Character attribute input section, 4... Character attribute storage section, 5.
...Reference line input section, 6...Reference line storage section, 7
...Character generation section, 8...Character string arrangement section, 9...
- String output section. Name of agent: Patent attorney Shigetaka Awano and one other person

Claims (1)

【特許請求の範囲】[Claims] 文字列の入力を行う文字列入力部と、前記文字列入力部
で入力した文字列の文字のコードを記憶する文字列記憶
部と、前記文字列の文字の属性を入力する文字属性入力
部と、前記文字属性入力部で入力された文字属性を記憶
する文字属性記憶部と、文字の並びの基準線(以下基準
線と呼ぶ)の入力を行う基準線入力部と、前記基準線入
力部で入力した基準線を記憶する基準線記憶部と、前記
文字列記憶部に記憶された文字列の文字のコードと前記
文字属性記憶部に記憶された文字属性にしたがって、文
字フォントのビットイメージを生成する文字生成部と、
前記基準線記憶部に記憶された基準線に沿って前記ビッ
トイメージを配置する文字列配置部と、前記文字列配置
部で配置された文字列を出力する文字列出力部を有する
ことを特徴とする文書処理装置。
a character string input part for inputting a character string; a character string storage part for storing codes of characters of the character string input in the character string input part; and a character attribute input part for inputting attributes of characters of the character string. , a character attribute storage unit that stores character attributes input in the character attribute input unit; a reference line input unit that inputs a reference line for character arrangement (hereinafter referred to as reference line); Generate a bit image of a character font according to a reference line storage unit that stores an input reference line, a character code of a character string stored in the character string storage unit, and a character attribute stored in the character attribute storage unit. a character generator to
The method is characterized by comprising a character string arrangement section that arranges the bit image along the reference line stored in the reference line storage section, and a character string output section that outputs the character string arranged by the character string arrangement section. document processing device.
JP63198225A 1988-08-09 1988-08-09 Document processor Pending JPH0247763A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63198225A JPH0247763A (en) 1988-08-09 1988-08-09 Document processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63198225A JPH0247763A (en) 1988-08-09 1988-08-09 Document processor

Publications (1)

Publication Number Publication Date
JPH0247763A true JPH0247763A (en) 1990-02-16

Family

ID=16387585

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63198225A Pending JPH0247763A (en) 1988-08-09 1988-08-09 Document processor

Country Status (1)

Country Link
JP (1) JPH0247763A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004206701A (en) * 2002-12-24 2004-07-22 Fuji Xerox Co Ltd Freeform paste processing system, method and program
JP2006302068A (en) * 2005-04-22 2006-11-02 Kataoka Design Works:Kk Character processing apparatus
JP2007058627A (en) * 2005-08-25 2007-03-08 Make Softwear:Kk Photograph automatic selling device, photograph automatic selling method, image editing device and photograph automatic selling program
JP2007143150A (en) * 2006-11-13 2007-06-07 Make Softwear:Kk Apparatus, method and program for vending photograph, and image editing apparatus
JP2009291993A (en) * 2008-06-03 2009-12-17 Kyocera Mita Corp Image forming apparatus and image forming program
WO2016189735A1 (en) * 2015-05-28 2016-12-01 三菱電機株式会社 Input display device and input display method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004206701A (en) * 2002-12-24 2004-07-22 Fuji Xerox Co Ltd Freeform paste processing system, method and program
JP2006302068A (en) * 2005-04-22 2006-11-02 Kataoka Design Works:Kk Character processing apparatus
JP2007058627A (en) * 2005-08-25 2007-03-08 Make Softwear:Kk Photograph automatic selling device, photograph automatic selling method, image editing device and photograph automatic selling program
JP2007143150A (en) * 2006-11-13 2007-06-07 Make Softwear:Kk Apparatus, method and program for vending photograph, and image editing apparatus
JP2009291993A (en) * 2008-06-03 2009-12-17 Kyocera Mita Corp Image forming apparatus and image forming program
WO2016189735A1 (en) * 2015-05-28 2016-12-01 三菱電機株式会社 Input display device and input display method
JPWO2016189735A1 (en) * 2015-05-28 2017-07-13 三菱電機株式会社 Input display device, input display method, and input display program
US10510322B2 (en) 2015-05-28 2019-12-17 Mitsubishi Electric Corporation Input display device, input display method, and computer-readable medium
US10748506B2 (en) 2015-05-28 2020-08-18 Mitsubishi Electric Corporation Input display device and input display method

Similar Documents

Publication Publication Date Title
KR910006033A (en) Character pattern generation method and character data storage method
JPH0247763A (en) Document processor
JPS60247770A (en) Character processor
JPS63203341A (en) Enlarged character generation system
JPS60204064A (en) Documentation device
JP2978178B2 (en) Document creation apparatus and control method thereof
JPH08160936A (en) Character string output device
JPS59178481A (en) Information output unit
JP2640134B2 (en) Keyboard for outline font development device
JP3150319B2 (en) Character pattern generator
JPH07200633A (en) Data retrieval system and retrieval conditional expression generator for data base
JPH01149163A (en) Document edition processor
JPH0283589A (en) Character size representation system for display device
JPS63251250A (en) Document data edit unit
JPS63271495A (en) Character processor
JPS60112175A (en) Abbreviation conversion system of kana (japanese syllabary)/kanji (chinese character) convertor
JPH03257590A (en) Method and device for production of character pattern
JPS63280295A (en) Character pattern display device
JPS59142682A (en) Command input system
Salomon et al. Example Format
JPH0778791B2 (en) Character processor
JPS6338737B2 (en)
JPS63247794A (en) Expansion display system
JPH0528148A (en) Word processor
JPH04205023A (en) Approval seal processor