JPH01290067A - Document picture processor - Google Patents

Document picture processor

Info

Publication number
JPH01290067A
JPH01290067A JP63119334A JP11933488A JPH01290067A JP H01290067 A JPH01290067 A JP H01290067A JP 63119334 A JP63119334 A JP 63119334A JP 11933488 A JP11933488 A JP 11933488A JP H01290067 A JPH01290067 A JP H01290067A
Authority
JP
Japan
Prior art keywords
character string
frame
information
character
production means
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
JP63119334A
Other languages
Japanese (ja)
Inventor
Masashi Kiriyama
桐山 雅至
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP63119334A priority Critical patent/JPH01290067A/en
Publication of JPH01290067A publication Critical patent/JPH01290067A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To easily obtain a picture where the pattern images and characters are mixed with high efficiency by setting a character string produced by a character string production means at its corresponding character string evolving area based on a table containing the information on the positions and sizes of all character string evolving areas. CONSTITUTION:A table production means produces a table which contains the position information 40 and the size information 41 on all character string evolving areas included in a pattern image produced by a pattern image production means. Then a character string production means produces the character strings to be evolved for each character input area in each prescribed format. A partial character string produced by the character string production means is set at its corresponding character string evolving area via a matching means based on said table. In such a way, a table can be obtained in a simple operation.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は文書画像処理装置、特に表を作成表示すること
が可能な文書画像処理装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a document image processing device, and particularly to a document image processing device capable of creating and displaying tables.

[従来の技術] 最近のワードプロセッサで代表される文書処理装置の機
能には著しいものがある。その機能の1つとして表作成
が挙げられるが、通常は表を構成する罫線を引きながら
各欄に文字列を人力するという処理をするのが殆どであ
る。
[Prior Art] Document processing devices such as recent word processors have remarkable functions. One of its functions is table creation, but most of the time the process involves manually entering character strings in each column while drawing the ruled lines that make up the table.

[発明が解決しようとする課題] ところで、表作成中における操作は各表中の枠内部に入
力する文字数や文字属性(縦倍角文字等)によってその
都度、枠の大きさを変更したりしなければならず、甚だ
面倒な手順を踏まねばらなないことも事実である。
[Problems to be Solved by the Invention] Incidentally, during table creation, the size of the frame must be changed each time depending on the number of characters input into the frame of each table and character attributes (double-width characters, etc.). However, it is also true that extremely complicated procedures must be followed.

本発明はかかる従来技術に鑑みなされたものであり、簡
単な操作で表を作成することを可能ならしめた文書画像
処理装置を提供しようとするものである。
The present invention has been made in view of the above prior art, and it is an object of the present invention to provide a document image processing device that makes it possible to create a table with a simple operation.

[課題を解決するための手段コ この課題を解決するために本発明は以下に示す様な構成
を備える。
[Means for Solving the Problems] In order to solve the problems, the present invention has the following configuration.

すなわち、 図形画像を作成する図形画像作成手段と、作成された図
形画像中の文字展開領域全ての位置情報と大きさ情報か
らなるテーブルを作成する展開領域テーブル作成手段と
、前記文字列展開領域全に展開する文字列を所定の書式
でもって作成する文字列作成手段と、該文字列作成手段
で作成された部分文字列を前記テーブルに基づいて、対
応する文字列展開領域に整合する整合手段とを備える。
That is, a graphic image creation means for creating a graphic image, a development area table creation means for creating a table consisting of position information and size information of all the character string development areas in the created graphic image, and a character string creation means for creating a character string to be expanded in a predetermined format; and a matching means for matching the partial string created by the character string creation means to a corresponding character string expansion area based on the table. Equipped with.

[作用コ かかる本発明の構成において、図形画像作成手段で作成
された図形画像中の文字列開領域全ての位置情報と大き
さ情報からなるテーブルをテーブル作成手段で作成する
。そして、文字列作成手段で作成された部分文字列をテ
ーブルに基づいて各文字展開領域に整合手段で整合して
いくものである。
[Operation] In the configuration of the present invention, the table creation means creates a table containing position information and size information of all character string open areas in the graphic image created by the graphic image creation means. Then, the matching means matches the partial character strings created by the character string creating means to each character development area based on the table.

し実施例] 以下、添付図面に従って本発明に係る実施例を詳細に説
明する。
Embodiments] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

〈構成概略の説明(第1図)〉 第1図は実施例の文書処理装置のブロック構成図である
<Explanation of Outline of Configuration (FIG. 1)> FIG. 1 is a block configuration diagram of a document processing apparatus according to an embodiment.

図中、1は装置全体を制御するMPUであり、1aは後
述する第5図に示すフローチャートに係るプログラムを
格納したROMである。また、1bはMPUIのワーク
エリアとして使用したり、或いは編集中の文書情報を記
憶するRAMである。2はシステムバスであって、以下
に示す各構成要素はこのシステムバス2を介してMPU
Iと電気的に接続されている。3は各キー情報を入力す
るキーボードであり、4は表示されたメニュー画面の1
つを選択するとき等に使用するポインティングデバイス
である。5はフロッピーディスク装置で代表される磁気
ディスクであり、多数の文書情報を記憶するものである
。6は文字コードに対応するパターンを記憶している文
字フォントROMである。また、7は表示制御部8によ
って書込まれた各種パターン(文字パターンやワークパ
ターン等)を展開するVRAMであり、ここに展開され
た画像は表示装置であるCRT9の表示画面に表示され
る。
In the figure, 1 is an MPU that controls the entire device, and 1a is a ROM that stores a program related to a flowchart shown in FIG. 5, which will be described later. Further, 1b is a RAM used as a work area for the MPUI or for storing document information being edited. 2 is a system bus, and each component shown below connects to the MPU via this system bus 2.
It is electrically connected to I. 3 is a keyboard to input each key information, and 4 is 1 on the displayed menu screen.
This is a pointing device used when selecting items. Reference numeral 5 denotes a magnetic disk typified by a floppy disk device, which stores a large amount of document information. 6 is a character font ROM that stores patterns corresponding to character codes. Further, 7 is a VRAM that develops various patterns (character patterns, work patterns, etc.) written by the display control section 8, and the images developed here are displayed on the display screen of the CRT 9, which is a display device.

〈処理概要の説明(第2図〜第4図)〉上述した構成に
おける本実施例の文書処理装置における処理概要を以下
に説明する。
<Explanation of processing outline (FIGS. 2 to 4)> The processing outline of the document processing apparatus of this embodiment having the above-described configuration will be described below.

実施例において、文書作成時或いは編集時に表を作成す
るときには、先ず、その表を構成する枠が縦横にいくつ
あるかを念頭に、例えば第2図の番号20で示す様な簡
単な表枠を作成する。次に、第3図に示す様な、別個の
作成された各枠内に入力すべき項目情報を記憶したフロ
ッピーを磁気ディスク装置5にセットする。そして、所
定のキーを押下することにより、表示21に示す様な結
果を得るものである。
In the example, when creating a table when creating or editing a document, first, keep in mind how many vertical and horizontal frames there are to make up the table, and create a simple table frame, such as the one shown by number 20 in Figure 2, for example. create. Next, as shown in FIG. 3, a floppy disk storing item information to be input into each of the separately created frames is set in the magnetic disk device 5. Then, by pressing a predetermined key, a result as shown in the display 21 is obtained.

項目情報30のフォーマットは図示の如く、その情報が
項目情報であることを認識できる様に” #S ”で始
まる形態を取るものである。尚、第3図に示す情報中の
#゛とそれに続く文字は1つの区切りを示すものであり
、例えば゛#S表#P°°で、その項目情報30は表に
関するものであることが認識できる。また、その後の#
Pあいう#P°゛中の文字列「あいうJは最初の枠に人
力されるべき文字列であることを示している。また、説
明が前後するが、項目情報30中の各文字列は表20の
左上欄から右下方向の枠順に対応している。
As shown in the figure, the format of the item information 30 starts with "#S" so that it can be recognized that the information is item information. Note that the #'' and the characters following it in the information shown in Figure 3 indicate one break, for example, ``#S table #P°°, and it is recognized that the item information 30 is related to a table. can. Also, after that #
The character string "Ai J" in P Ai #P 20 corresponds to the frame order from the upper left column to the lower right direction.

さて、表枠作成及び項目情報が記憶されたフロッピーを
磁気ディスク装置5にセットして、所定のキーを押下す
ると、MPU 1は以下の処理を施す。
Now, when the floppy disk containing the table frame creation and item information is set in the magnetic disk drive 5 and a predetermined key is pressed, the MPU 1 performs the following processing.

先ず、第4図に示す様な枠情報Sl−3m(mは粋の数
)から構成される初期段階の枠情報テーブル40を作成
する。各枠情報は図示の如く、その枠の左上端のVRA
M7に対する位置情報(枠左上X座標と枠左上y座標)
と、枠の幅、枠の高さ、そしてその枠の文書情報全体に
対する位置情報を格納する欄から構成されている。尚、
初期段階の枠情報テーブル40は表枠20に基づくデー
タが格納される。
First, an initial-stage frame information table 40 consisting of frame information Sl-3m (m is the number of points) as shown in FIG. 4 is created. As shown in the diagram, each frame information is displayed in the VRA at the upper left corner of the frame.
Position information for M7 (frame upper left X coordinate and frame upper left y coordinate)
It consists of fields for storing the width of the frame, the height of the frame, and the position information of the frame relative to the entire document information. still,
The frame information table 40 at the initial stage stores data based on the table frame 20.

次に、磁気ディスク5内にセットされたフロッピーから
先に説明した項目情報を読み出して、それが表に係る項
目情報であることを認識した後、今度は、テキストレコ
ードテーブル41を作成する。各テキストレコードには
図示の如く、その項目文字列の属性欄(例えは半角か全
角文字か等)とテキストデータ欄から構成されている。
Next, the item information described above is read from the floppy disk set in the magnetic disk 5, and after recognizing that it is item information related to a table, a text record table 41 is created. As shown in the figure, each text record includes an attribute field for the item character string (for example, whether it is half-width or full-width characters) and a text data field.

例えば、先頭の項目文字列rあいうJは第1番目のテキ
ストレコード内のテキストデータ欄に格納され、その属
性欄には半角文字を示すデータが格納されることになる
。このとき、注目してし)る項目文字列が対応する枠内
に入るのか否かを判断する。例えば、第2図の表枠2o
の各人力枠は2文字分の空白があるので、当然、文字列
「あいう1を入力するためには、この枠の幅を変更する
必要がある。従って、この場合、対応する枠を含む列方
向の全ての枠情報中の枠幅を変更すると共に、注目枠れ
よりも右側に位置する各粋のX座標も変更する。こうし
て、順次、項目情報に対するテキストレコードを作成し
ていって、最後の文字列°′#Pサシス#E”(#Eは
項目情報の最後を示す区切り文字列)に対するテキスト
レコードを作成すると、完成した枠情報テーブル4oと
テキストレコードテーブル41に基ついてVRAM7に
枠パターン及び文字パターンを展開する。これによって
、第2図に示す表21が完成することになる。
For example, the first item character string rAiJ is stored in the text data field in the first text record, and data indicating half-width characters is stored in the attribute field. At this time, it is determined whether the item character string of interest falls within the corresponding frame. For example, table frame 2o in Figure 2
Since each manual frame has a blank space of two characters, of course, in order to input the character string ``Aiu1'', it is necessary to change the width of this frame. Therefore, in this case, the column containing the corresponding frame In addition to changing the frame width in all the frame information in the direction, the X coordinate of each frame located to the right of the frame of interest is also changed.In this way, text records for item information are sequentially created, and the last When a text record is created for the character string °'#Psasis#E''(#E is a delimiter string indicating the end of item information), a frame pattern is stored in the VRAM 7 based on the completed frame information table 4o and text record table 41. and expand the character pattern. As a result, table 21 shown in FIG. 2 is completed.

〈処理手順の説明(第5図)〉 上述した原理に基づく本実施例の処理手順を第5図のフ
ローチャートに従って説明する。尚、このフローチャー
トはキーボード3上の表編集作成キーを押下したときの
実行されるものである。
<Explanation of Processing Procedure (FIG. 5)> The processing procedure of this embodiment based on the above-mentioned principle will be explained according to the flowchart of FIG. 5. Note that this flowchart is executed when the table edit creation key on the keyboard 3 is pressed.

先ず、ステップS1て、既に余白のままの表枠が形成さ
れているか否かを判断する。NO′”の場合には誤人力
とみなして処理は終了する。余白のままの表枠が存在す
ることを検出したときには、ステップS2で、その表枠
に基づく初期段階の枠情報テーブルを作成する。この後
、ステップS3で磁気ディスク装置5にセットされてい
る項目情報のヘッダを読取り、ステップS4でその項月
情報か表モードであるか否かを判断する。表子−ド以外
である場合には、対応する項目情報は表具外の画像との
合成に係るものと判断し、ステップS5で対応するコン
バート処理を施す。
First, in step S1, it is determined whether a table frame with a blank space has already been formed. In the case of NO', it is assumed that it was done manually and the process ends. When it is detected that there is a table frame with a blank margin, an initial stage frame information table is created based on the table frame in step S2. After this, in step S3, the header of the item information set in the magnetic disk device 5 is read, and in step S4, it is determined whether the item/month information is in the table mode.If it is other than the table mode. In this case, it is determined that the corresponding item information is related to composition with an image outside the mounting equipment, and corresponding conversion processing is performed in step S5.

さて、表モードの項目情報であると判断した場合にはス
テップS6に進み、編集Nを“1°°で初期化する。次
いで、ステップS7て、” # P ”と#P(或いは
#E)で挟まれる文字列を変数Nで示されるテキストレ
コード内のテキストデータ欄に格納すると共にその属性
も格納すると共に、変数Nを1つ進めておく。そして、
格納された文字列と属性に基づいて、対応する枠情報を
変更する必要があるか否かを判断する。この判断で、枠
情報の変更が必要であると判断した場合にはステップS
10に進んで、注目枠情報を含む列全体の枠情報の枠幅
を変更し、注目枠より右側に位置する各枠のX座標も更
新する。こうして、ステップS11では、ステップS7
て読み出した文字列が“’#P” と°#E“°で挟ま
れていたか否か、すなわち、テキストレコードの作成が
終了したか否かを判断する。テキストレコードの作成が
終了すると、ステップS12に進んで、完成した枠情報
テーブル40とテキストレコードテーブル41内のデー
タに基づいて表示パターン及び文字パターンを発生し、
表を作成/表示する。
Now, if it is determined that the item information is table mode item information, the process proceeds to step S6, and the edit N is initialized to "1°°." Next, in step S7, "#P" and #P (or #E) are input. The character string sandwiched between is stored in the text data field in the text record indicated by variable N, its attributes are also stored, and variable N is advanced by one.
Based on the stored character string and attributes, it is determined whether the corresponding frame information needs to be changed. In this judgment, if it is determined that it is necessary to change the frame information, step S
Proceeding to step 10, the frame width of the frame information of the entire column including the frame of interest information is changed, and the X coordinate of each frame located on the right side of the frame of interest is also updated. In this way, in step S11, step S7
It is determined whether the character string read out is sandwiched between "'#P" and °#E"°, that is, whether the creation of the text record is completed. When the creation of the text record is completed, step Proceeding to S12, a display pattern and a character pattern are generated based on the data in the completed frame information table 40 and text record table 41,
Create/display a table.

以上、説明した様に本実施例によれば、簡単な表の枠組
みと別個に作成された各枠に人力されるべき文字列とか
ら差異的か表を作成することが可能となる。従って、例
えば法作成機能を有しない文書処理装置で表に人力され
るべき文字列を作成しても簡単な作業で、対応する表を
作成することが可能となる。
As described above, according to this embodiment, it is possible to create a differential table from a simple table framework and character strings to be entered manually in each separately created frame. Therefore, for example, even if a character string to be entered into a table is created manually using a document processing device that does not have a law creation function, the corresponding table can be created with a simple task.

また、実施例では、項目情報を別個に作成した編集中の
表枠に埋め込む処理を説明したが、これに限定されるも
のではない。例えば、表枠の近傍に項目情報を入力して
おいて、上述した郊埋を施す様にしても構わない。
Further, in the embodiment, a process of embedding item information in a separately created table frame being edited has been described, but the present invention is not limited to this. For example, item information may be input in the vicinity of the table frame and the above-mentioned filling may be performed.

更には、本実施例においては、文字と合成する画像対象
を表枠として説明したが、これにも本発明が限定される
ものではない。例えば、表の替りに円グラフ等の図形画
像も用いた場合も考えられる。
Further, in this embodiment, the image object to be combined with characters is described as a table frame, but the present invention is not limited to this. For example, a graphic image such as a pie chart may be used instead of a table.

[発明の効果] 以上説明した様に本発明によれは、図形画像中の文字展
開領域に展開する文字列を作成するだけで、簡単にしか
も効率良く図形画像と文字とが混在した画像を得ること
が可能となる。
[Effects of the Invention] As explained above, according to the present invention, an image in which a graphic image and text are mixed can be easily and efficiently obtained by simply creating a character string to be expanded into a character development area in a graphic image. becomes possible.

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

第1図は実施例における文書処理装置の構成概略図、 第2図は実施例における表作成処理概要を示す図、 第3図は実施例における項目情報のフォーマットを示す
図、 第4図は実施例の枠情報テーブルとテキストレコードテ
ーブルの内容を示す図、 第5図は実施例の処理手順を示すフローチャートである
。 図中、1 ・MPU、1 a・ROM、’1 b−RA
M、2・・・システムバス、3・・・キーボード、4・
・・ポインティングデバイス、5・・・磁気ディスク、
6・・・文字フォントROM、7・・・VRAM、8・
・・表示制御部、9・・・CRT、40・・・枠情報テ
ーブル、41・・・テキストレコードテーブルである。
Fig. 1 is a schematic diagram of the configuration of a document processing device in the embodiment, Fig. 2 is a diagram showing an overview of table creation processing in the embodiment, Fig. 3 is a diagram showing the format of item information in the embodiment, and Fig. 4 is an implementation diagram. FIG. 5 is a flowchart showing the processing procedure of the embodiment. In the figure, 1 ・MPU, 1 a・ROM, '1 b-RA
M, 2...System bus, 3...Keyboard, 4.
... Pointing device, 5... Magnetic disk,
6... Character font ROM, 7... VRAM, 8...
. . . display control unit, 9 . . . CRT, 40 . . . frame information table, 41 . . . text record table.

Claims (1)

【特許請求の範囲】 図形画像を作成する図形画像作成手段と、 作成された図形画像中の文字列展開領域全ての位置情報
と大きさ情報からなるテーブルを作成する展開領域テー
ブル作成手段と、 前記文字列入力領域毎に展開する文字列を所定の書式で
もつて作成する文字列作成手段と、該文字列作成手段で
作成された文字列を前記テーブルに基づいて、対応する
文字列展開領域に整合する整合手段とを備えることを特
徴とする文書画像処理装置。
[Scope of Claims] Graphical image creation means for creating a graphical image; development area table creation means for creating a table consisting of position information and size information of all character string development areas in the created graphical image; a character string creation means for creating a character string to be expanded in each character string input area in a predetermined format; and matching the character string created by the character string creation means to the corresponding character string expansion area based on the table. 1. A document image processing device, comprising: matching means.
JP63119334A 1988-05-18 1988-05-18 Document picture processor Pending JPH01290067A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63119334A JPH01290067A (en) 1988-05-18 1988-05-18 Document picture processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63119334A JPH01290067A (en) 1988-05-18 1988-05-18 Document picture processor

Publications (1)

Publication Number Publication Date
JPH01290067A true JPH01290067A (en) 1989-11-21

Family

ID=14758910

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63119334A Pending JPH01290067A (en) 1988-05-18 1988-05-18 Document picture processor

Country Status (1)

Country Link
JP (1) JPH01290067A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6280692A (en) * 1985-10-04 1987-04-14 株式会社日立製作所 Table forming device
JPS6293745A (en) * 1985-10-18 1987-04-30 Nec Corp Table information correcting system at the time of table format data is inputted

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6280692A (en) * 1985-10-04 1987-04-14 株式会社日立製作所 Table forming device
JPS6293745A (en) * 1985-10-18 1987-04-30 Nec Corp Table information correcting system at the time of table format data is inputted

Similar Documents

Publication Publication Date Title
US6055549A (en) Method and apparatus for processing a table
JPH01290067A (en) Document picture processor
JP2685762B2 (en) Compound document creating apparatus and compound document creating method
JP2635311B2 (en) Document processing device
JPH0264852A (en) Document processing device
JPH0314066A (en) Japanese rendering character display and editing system
JPS5850039A (en) List output method
JPS6084588A (en) Graphic processor
JPS6314194A (en) Editor/register for character pattern
JPH0644479A (en) Data logger
JPH0283589A (en) Character size representation system for display device
JPS6314195A (en) Extra character generator
JP3144792B2 (en) Table editing device
JPH06250720A (en) Generating method for nc data for character marking of automatic programming system for sheet metal working
JPH09160906A (en) Method for inputting character
JPS63201820A (en) Picture layout setting system for interactive computer system
JPH04127265A (en) Document processor
JPH04215121A (en) Display data generating device
JPH11296271A (en) Handwritten character input method
JPH05334285A (en) Document preparing device
JPH05119762A (en) Text input system
JPH09325872A (en) Sfc production device
JPS6316373A (en) Dynamic table type picture display system
JPH081547B2 (en) Character processor
JPS61175685A (en) Sentence display