Nothing Special   »   [go: up one dir, main page]

JPH01142975A - Document preparing device - Google Patents

Document preparing device

Info

Publication number
JPH01142975A
JPH01142975A JP62302273A JP30227387A JPH01142975A JP H01142975 A JPH01142975 A JP H01142975A JP 62302273 A JP62302273 A JP 62302273A JP 30227387 A JP30227387 A JP 30227387A JP H01142975 A JPH01142975 A JP H01142975A
Authority
JP
Japan
Prior art keywords
ruled line
line
ruled
information
section
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
JP62302273A
Other languages
Japanese (ja)
Inventor
Shigeo Takenouchi
竹之内 茂雄
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 JP62302273A priority Critical patent/JPH01142975A/en
Publication of JPH01142975A publication Critical patent/JPH01142975A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To prepare a document including a ruled line by developing a line including a ruled line based on the information of the control part of processed line ruled line information when the ruled line information exists from an input part. CONSTITUTION:The character information and the ruled line information are stored from an input part 1 to a document memory part 2, a form is arranged for one output unit by an output control part 3 and the contents are outputted from an output part 4. Then, a judging part 5 judges whether or not the ruled line information is included in the processing line and when it is included, it is sent to a control part 6 of the ruled line information of the line. Based on the information, the document including the ruled line is temporarily developed to an arrangement buffer 7 and the connection shaping of the ruled line and the shaping processing such as the supplement to the space in the table are executed.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は罫線を含んだ文書を効率良く作成することを目
的とした文書作成装置に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a document creation device for efficiently creating documents including ruled lines.

従来の技術 日本語の文書の特有なものに罫線が存在する。Conventional technology A unique feature of Japanese documents is the presence of ruled lines.

これは主に表を作り、比較項目の明確化1文書作成者の
意図の明確化などに用いられる。この罫線を従来のワー
ドプロセッサで作成する場合、最初に罫線全体の大きさ
を把握し、かつ各罫線のます目の大きさを決めてから作
成する必要があった。
This is mainly used to create tables and clarify comparison items 1 to clarify the intentions of the document creator. When creating these ruled lines using a conventional word processor, it was necessary to first grasp the overall size of the ruled line and determine the size of the squares for each ruled line before creating it.

従来の文書作成装置の罫線を用いた表の作成方法として
、例えば第2図に示す方法がある。第2図であらかじめ
罫線を用いて表金体の構成を作成し、その後、表中の各
項目中にカーソルを移動して表中に文字を埋めていく方
法を示している。
As a method of creating a table using ruled lines in a conventional document creation device, there is a method shown in FIG. 2, for example. FIG. 2 shows a method in which the structure of the front metal body is created in advance using ruled lines, and then the cursor is moved to each item in the table to fill in the characters in the table.

発明が解決しようとする問題点 しかしながら上記のような方法では、例えば第3図の様
な表を作成する場合、入力する際、表中の各項目の中か
ら最大の文字数および項目中の最大行数を調べ、それに
合わせて表の大きさを決める必要がある。
Problems to be Solved by the Invention However, with the above method, when creating a table as shown in Figure 3, for example, when inputting data, enter the maximum number of characters from each item in the table and the maximum number of rows in each item. You need to look at the numbers and decide on the size of the table accordingly.

本発明はかかる点に鑑み、表の各項目に含まれる文字数
2行数をあらかじめ考慮しなくても、入力時に各項目の
入力終了時に罫線素片に相当するセバレiり(分離子)
を入力しておくだけで、表作成終了時に罫線整形指示を
本発明装置に与えれば自動的に表の整形処理を行う文書
作成装置を提供することを目的とする。
In view of this point, the present invention provides a separator (separator) corresponding to a ruled line segment at the end of inputting each item without considering in advance the number of characters included in each item of the table.
It is an object of the present invention to provide a document creation device that automatically formats a table by simply inputting , and then gives a ruled line formatting instruction to the device at the end of table creation.

問題点を解決するための手段 本発明は、文字および罫線情報の入力部、入力された文
字列および罫線を保管するための文書メモリ部9文書メ
モリ部の内容を1出力率位ごとに制御する出力制御部、
罫線行制御部を具備し、罫線情報が存在した時、前後の
行の罫線情報によって罫線を含んだ行を罫線部配列バッ
ファに展開する折罫線情報管理部および罫線補完部を設
けた文書作成装置である。
Means for Solving the Problems The present invention includes an input section for character and ruled line information, a document memory section for storing input character strings and ruled lines, and a document memory section for controlling the contents of the document memory section for each output rate. output control section,
A document creation device comprising a ruled line line control unit, and a folded line information management unit and a ruled line complementation unit that develops a line including a ruled line in a ruled line array buffer based on ruled line information of the preceding and following lines when ruled line information exists. It is.

作  用 本発明は前記した構成によシ、文書メモリ部に格納され
たデータ中よシ罫線情報を検出すると、行罫線管理部の
持つ罫線情報に従って罫線長や罫線のつながり状態、表
中へのスペースの補完を罫線補完部によって修正しなが
ら、罫線部配列バッファへ罫線を展開し、表を作成する
According to the above-described structure, when the ruled line information is detected in the data stored in the document memory section, the present invention determines the length of the ruled line, the connection state of the ruled lines, and the information in the table according to the ruled line information held in the row and ruled line management section. A table is created by expanding the ruled lines to the ruled line array buffer while correcting the space complementation using the ruled line completion section.

実施例 第1図は本発明の一実施例における文書作成装置の構成
図を示すものである。第1図において、1は入力部であ
り、文字情報、罫線情報や装置に対する指示を入力する
。2は文書メモリ部であシ、入力された文字情報および
罫線情報を格納する。
Embodiment FIG. 1 shows a configuration diagram of a document creation device in an embodiment of the present invention. In FIG. 1, reference numeral 1 denotes an input section, into which character information, ruled line information, and instructions for the device are input. A document memory section 2 stores input character information and ruled line information.

3は出力制御部であシ、文書メモリ部2の内容を1出力
率位ごとに様式(文字修飾や下線処理を含めて)を整え
、出力部4から表示装置あるいは印刷装置へ出力する。
Reference numeral 3 denotes an output control section, which formats the contents of the document memory section 2 for each output rate (including character decoration and underline processing), and outputs the formatted data from the output section 4 to a display device or a printing device.

6は罫線性判断部であり、処理する行中に罫線情報が含
まれるかどうか判断し、もし罫線情報が含まれておれば
罫線を含んだ行の罫線情報を管理する折罫線情報管理部
6へ送る。
6 is a ruled line property determination unit, which determines whether ruled line information is included in the line to be processed, and if ruled line information is included, a folded line information management unit 6 that manages the ruled line information of the line that includes the ruled line. send to

7は罫線部配列バッファであシ、罫線を含んだ文書を一
時的に展開するバッファである。8は行カウンタであシ
、罫線部配列バッファ7に展開された罫線を含む行に対
する行カウンタである。9は罫線補完部であり、罫線を
含む行の前後で互いの行に存在する罫線の接続整形や、
表中のスペースに補完などの整形処理を行う。
Reference numeral 7 denotes a ruled line arrangement buffer, which is a buffer for temporarily expanding a document containing ruled lines. A line counter 8 is a line counter for a line including a ruled line developed in the ruled line array buffer 7. 9 is a ruled line complementation part, which connects and shapes the ruled lines that exist in each other's lines before and after the line that includes the ruled line,
Performs formatting processing such as filling in spaces in the table.

上述のように構成された本実施例の文書作成装置につい
て、以下その動作を説明する。第4図は入力部1によっ
て入力し、文書メモリ部2に格納した文書データの内容
である。
The operation of the document creation device of this embodiment configured as described above will be described below. FIG. 4 shows the contents of document data input through the input section 1 and stored in the document memory section 2. As shown in FIG.

行41のデータは文字情報だけである(6o1は文字情
報で、○によって示す)ので、通常出力制御部3は拡大
文字等の文字修飾や下線等の行修飾がなされた後、出力
部4から表示装置や印刷装置へ出力される。しかし行4
2以降行49までは各行に罫線情報が含まれ、特別な罫
線処理がなされる。
Since the data in line 41 is only character information (6o1 is character information and is indicated by ○), the output control unit 3 normally outputs the data from the output unit 4 after character modifications such as enlarged characters and line modifications such as underlining are performed. Output to a display device or printing device. But row 4
From line 2 to line 49, each line contains ruled line information, and special ruled line processing is performed.

行42には罫線が存在する。従ってこの行の中の罫線情
報は行罫線管理部6で管理され、罫線部配列バッファ7
に配列される。この場合、現在展開途中の罫線によって
作成される表中の各項目のサイズは不明であシ、行罫線
管理部6に行42は0と仮に設定される。第6図に罫線
部配列バッファ7に格納される状態を示す。6−1は行
42が罫線部配列バッファ7に展開された状態である。
A ruled line exists in row 42. Therefore, the ruled line information in this row is managed by the row ruled line management section 6, and the ruled line information in this row is managed by the ruled line management section 6.
Arranged in In this case, the size of each item in the table created by the ruled line currently being developed is unknown, and the row 42 is provisionally set to 0 in the line ruled line management unit 6. FIG. 6 shows the state in which the ruled line arrangement buffer 7 stores the data. 6-1 is a state in which the row 42 is developed in the ruled line arrangement buffer 7.

行43で各項目の実データが明らかになる。すなおち罫
線によって作成される表の第1列は文字長4第2列は文
字長3.第3列は文字長5であシ、これら各列の文字長
としての情報は行罫線管理部6に格納され、行42で仮
設定された折罫線情報管理部6の修正がなされる。これ
と同時に6−1で仮装置された罫線が各列の文字長に合
わせて罫線が罫線補完部9によって補われて引かれ、6
−2のように行43が罫線部配列バッファ7に展開され
る。ここでは第1列から第3列に文字列分のスペースが
とられ、所定の文字列が配置される。
Line 43 reveals the actual data for each item. In other words, the first column of the table created by the ruled lines is character length 4, and the second column is character length 3. The third column has a character length of 5. Information regarding the character length of each column is stored in the row ruled line management section 6, and the provisionally set folded line information management section 6 is corrected in line 42. At the same time, the ruled lines provisionally set in 6-1 are supplemented and drawn by the ruled line complementing section 9 in accordance with the character length of each column.
-2, the row 43 is developed in the ruled line array buffer 7. Here, space for the character string is taken from the first column to the third column, and a predetermined character string is arranged.

行44は罫線によって作成される表の第1行目の終了で
あシ、6−3のように第1行と第2行の間に罫線が引か
れる。
Row 44 is the end of the first row of the table created by ruled lines, and a ruled line is drawn between the first and second rows as shown in 6-3.

行46は罫線によって作成される表の第2行目の開始で
あり、第1.2.3列の文字長はそれぞれ1,1.2で
あることが分かる。第1行第1゜2.3列の文字長がそ
れぞれ2.2. 5に対し、第2行のそれらは1,1.
2の文字長であるため、第2行の各列の文字欄に対して
空白分が補完スペースとして罫線補完部9によって補わ
れる。6−4はこの状態を表している。602は補完ス
ペースで、・によって示す。この補完スペースは出力部
4から印刷等外部へ出力する時、通常の空白として扱わ
れる。
It can be seen that row 46 is the start of the second row of the table created by ruled lines, and the character lengths of columns 1, 2, and 3 are 1 and 1.2, respectively. The character length of the 1st row, 1st degree, 2.3rd column is 2.2. 5, those in the second row are 1, 1 .
Since the character length is 2, blanks are filled in as complementary spaces by the ruled line complementing unit 9 for the character columns in each column of the second row. 6-4 represents this state. 602 is a complementary space, indicated by *. This complementary space is treated as a normal blank space when outputting from the output section 4 to an external device such as printing.

行46では表の第2行が2行にわたっていることを示し
ておシ、第1.2.3列の文字長はそれぞれ3. 5.
 2である。これに従って行罫線管理部6では各列の文
字長が修正され、第1. 2. 3列の文字長がそれぞ
れ3,5.5となる。またこの段階で第1,2行の行数
がそれぞれ1.2となる。罫線部配列バッファ7におけ
る配列は6−6のようになる。
Row 46 indicates that the second row of the table spans two lines, and the character lengths of columns 1, 2, and 3 are 3. 5.
It is 2. Accordingly, the line ruled line management unit 6 corrects the character length of each column. 2. The character lengths of the three columns are 3 and 5.5, respectively. Also, at this stage, the number of lines in the first and second lines each becomes 1.2. The arrangement in the ruled line arrangement buffer 7 is as shown in 6-6.

行47で第2行が終了し、6−6に第2行と第3行の間
に罫線が引かれる状態を示す。この罫線も行罫線管理部
6の情報に基づいて罫線の長さが修正されて、各罫線素
片が罫線補完部9によって補完の上、配置さ°れる。
The second line ends at line 47, and a ruled line is drawn between the second and third lines at 6-6. The length of this ruled line is also corrected based on the information from the line and ruled line management unit 6, and each ruled line segment is interpolated and arranged by the ruled line complementation unit 9.

行48は第3行の文字情報であシ、第1,2゜3列の文
字長はそれぞれ1,1.1である。既に行罫線管理部6
には第1.2.3列の文字長がそれぞれ3. 5. 5
と設定されているので、第3行のそれらに対して2,4
.4の空白分が補完スペースとして罫線補完部9によっ
て補われる。6−7はこの状態を示している。
Row 48 is the character information of the third row, and the character lengths of the first, second and third columns are 1 and 1.1, respectively. Already line ruled line management section 6
The character lengths of the 1st, 2nd and 3rd columns are 3. 5. 5
, so 2, 4 are set for those in the third line.
.. The blank space of 4 is supplemented by the ruled line complementing section 9 as a supplementary space. 6-7 shows this state.

行49は下行に続く罫線が無い状態であシ、罫線によっ
て作成される表の最終情報である。行47と同様に、こ
の罫線も行罫線管理部6の情報に基づいて罫線の長さが
修正されて、各罫線素片が罫線補完部9によって補完の
上、配置され6−8に示すように全体の罫線整形を終了
する。
Row 49 has no ruled line following the line below, and is the final information of the table created by the ruled lines. Similar to row 47, the length of this ruled line is also corrected based on the information from the row ruled line management unit 6, and each ruled line segment is complemented and arranged by the ruled line complementation unit 9, as shown in 6-8. Finish formatting the entire border.

以上のように本実施例によれば、行罫線情報管理部6.
罫線補完部9.罫線配列バッファ7を設けることによシ
、表の各項目に含まれる文字数。
As described above, according to this embodiment, the row and ruled line information management section 6.
Ruled line complement section 9. By providing the ruled line array buffer 7, it is possible to calculate the number of characters included in each item of the table.

行数をあらかじめ考慮しなくても、各項目の入力路下時
に罫線素片に相当するセパレータ(分離子)を第4図に
示すように入力しておくだけで、表作成終了時に罫線整
形指示を本発明装置に与えれば自動的に表の整形処理を
行うことができる。
Even without considering the number of rows in advance, you can simply enter the separator (separator) corresponding to the ruled line segment when inputting each item as shown in Figure 4, and the ruled line formatting will be instructed when the table creation is completed. If this is given to the device of the present invention, the table formatting process can be performed automatically.

発明の詳細 な説明したように、本発明によれば、表の作成において
あらかじめ表金体の大きさを考慮して入力する必要は無
く、効率良く作成することができ、その実用的効果は大
きい。
As described in detail, according to the present invention, there is no need to consider and input the size of the cover body in advance when creating a table, and the table can be created efficiently, which has great practical effects. .

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

第1図は本発明における一実施例の文書作成装置の構成
図、第2図は従来の文書作成装置の罫線を用いた表の作
成方法を示す説明図、第3図は罫線によって作成した表
の例を示す説明図、第4図は本発明の文書データの内容
の一例を示す説明図、第6図は本発明によって罫線を用
いて作成する表の完成する過程を示す説明図である。 1・・・・・・入力部、2・・・・・・文書メモリ部、
3・・・・・・出力制御部、6・・・・・・罫線付判断
部、6・・・・・・行罫線情報管理部、7・・・・・・
罫線部配列バッファ、9・・・・・・罫線補完部。 代理人の氏名 弁理士 中 尾 敏 男 ほか1名第2
図 第4図 42:  rTvl 43:   l 001000100000144; 
   ト++→ 45:   lo+o+oo−1 46:   I ooo+ooooo+oo 147 
   ト++」 48.10+0+01 49、      L土工」 第5図 (ゐ) 第5図 (bン \
FIG. 1 is a block diagram of a document creation device according to an embodiment of the present invention, FIG. 2 is an explanatory diagram showing a method of creating a table using ruled lines in a conventional document creation device, and FIG. 3 is a table created using ruled lines. FIG. 4 is an explanatory diagram showing an example of the content of document data according to the present invention. FIG. 6 is an explanatory diagram showing the process of completing a table created using ruled lines according to the present invention. 1...Input section, 2...Document memory section,
3... Output control unit, 6... Ruled line determination unit, 6... Line and ruled line information management unit, 7...
Ruled line part array buffer, 9... Ruled line complement part. Name of agent: Patent attorney Toshio Nakao and 1 other person 2nd
Figure 4 Figure 42: rTvl 43: l 001000100000144;
t++→ 45: lo+o+oo-1 46: I ooo+ooooo+oo 147
48.10+0+01 49. L earthworks Figure 5 (ii) Figure 5 (b \

Claims (1)

【特許請求の範囲】[Claims] 文字および罫線情報の入力部、入力された文字列および
罫線を保管するための文書メモリ部、文書メモリ部の内
容を1出力単位ごとに文字修飾、行修飾等の制御を行う
出力制御部、罫線情報を判断する罫線行制御部を具備し
、罫線情報が存在した時、既処理行の罫線情報を管理す
る行罫線情報管理部の情報に基づいて罫線を含んだ行を
罫線部配列バッファに展開する罫線補完部を設けたこと
を特徴とする文書作成装置。
An input section for character and ruled line information, a document memory section for storing input character strings and ruled lines, an output control section for controlling character modification, line modification, etc. of the contents of the document memory section for each output unit, and ruled lines. Equipped with a ruled line line control unit that judges information, and when ruled line information exists, expands the line containing the ruled line to the ruled line array buffer based on the information of the line ruled line information management unit that manages the ruled line information of the processed line. A document creation device characterized in that it is provided with a ruled line complementing section.
JP62302273A 1987-11-30 1987-11-30 Document preparing device Pending JPH01142975A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62302273A JPH01142975A (en) 1987-11-30 1987-11-30 Document preparing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62302273A JPH01142975A (en) 1987-11-30 1987-11-30 Document preparing device

Publications (1)

Publication Number Publication Date
JPH01142975A true JPH01142975A (en) 1989-06-05

Family

ID=17907021

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62302273A Pending JPH01142975A (en) 1987-11-30 1987-11-30 Document preparing device

Country Status (1)

Country Link
JP (1) JPH01142975A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03262075A (en) * 1990-03-13 1991-11-21 Fujitsu Ltd Table shaping system
JP2002072798A (en) * 2000-08-23 2002-03-12 Toshiba Tec Corp Cleaning device and image forming apparatus equipped with cleaning device
JP2008164788A (en) * 2006-12-27 2008-07-17 Kyocera Mita Corp Image forming apparatus and cleaning member for the same

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03262075A (en) * 1990-03-13 1991-11-21 Fujitsu Ltd Table shaping system
JP2002072798A (en) * 2000-08-23 2002-03-12 Toshiba Tec Corp Cleaning device and image forming apparatus equipped with cleaning device
JP2008164788A (en) * 2006-12-27 2008-07-17 Kyocera Mita Corp Image forming apparatus and cleaning member for the same

Similar Documents

Publication Publication Date Title
US6119077A (en) Translation machine with format control
JPH04271443A (en) Method and device for data base constitution
JPH01142975A (en) Document preparing device
JPS6048081A (en) Character processor
JPS612560A (en) Conversation typesetting system
JPH03185559A (en) Document shaping device
JP2728906B2 (en) Character processor
JPS62186355A (en) Document preparation system
JP2674887B2 (en) Word processor
JP2612402B2 (en) Display control method
JPH03282937A (en) Precompiler
JP2732576B2 (en) Character reader
JPS62146663A (en) Document printing system
JPH0571111B2 (en)
JPH04288665A (en) Text document preparation system
Salomon et al. Example Format
JPH05151208A (en) Document processor
JPS60104373A (en) Character processor
JPH02176855A (en) Document processor
JPH06214987A (en) Document output method
JPH04273527A (en) Program source comparing system
JPS61158379A (en) Rule block processor
JPS6177955A (en) Automatic number application system for sentence number of document processing
JPH02163818A (en) Data printer
JPH01173232A (en) Analysis and display system for data definition statement