JPH0769898B2 - Document processor - Google Patents

Document processor

Info

Publication number
JPH0769898B2
JPH0769898B2 JP62078007A JP7800787A JPH0769898B2 JP H0769898 B2 JPH0769898 B2 JP H0769898B2 JP 62078007 A JP62078007 A JP 62078007A JP 7800787 A JP7800787 A JP 7800787A JP H0769898 B2 JPH0769898 B2 JP H0769898B2
Authority
JP
Japan
Prior art keywords
heading
document
text
definition
format
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.)
Expired - Lifetime
Application number
JP62078007A
Other languages
Japanese (ja)
Other versions
JPS63244258A (en
Inventor
高裕 加藤
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 JP62078007A priority Critical patent/JPH0769898B2/en
Publication of JPS63244258A publication Critical patent/JPS63244258A/en
Publication of JPH0769898B2 publication Critical patent/JPH0769898B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は文書を組版する機能を持つ文書処理装置に関す
る。
The present invention relates to a document processing apparatus having a function of formatting a document.

[従来の技術] 従来、特願昭59-243920では書式で見出しの定義は行
え、文章中の一部の文字列を見出しとして組版すること
は出来たが、その定義は見出し部分のみに関するもので
後に続く本文の組み方についての定義はなかった。
[Prior Art] Conventionally, in Japanese Patent Application No. 59-243920, a heading can be defined in a format, and a part of a character string in a sentence can be typeset as a heading, but the definition relates only to the heading part. There was no definition of how to structure the text that follows.

また、特願昭61-31394では文章中に付加したパラメータ
で本文の組始端等を一時的にかえることはできるが、見
出しの定義とは無関係であった。
In addition, in Japanese Patent Application No. 61-31394, the set start of the main text can be temporarily changed by the parameter added in the text, but it has nothing to do with the definition of the headline.

[発明が解決しようとしている問題点] しかしながら実際の文書では第2図に示すような見出し
毎に字下げが行われ全体として箇条書きになっているも
のが多く、このような文書を作成しようとすると文章中
には見出し用のパラメータと本文字下げ用のパラメータ
を別々に付加しなければならず、また見出しの字下げの
指定と本文の字下げの指定が別々に行われるため、どち
らかを変更したときもう一方の変更が同時にできず操作
性が悪いという欠点があった。
[Problems to be Solved by the Invention] However, in an actual document, indentation is often made for each heading as shown in FIG. 2 and items are itemized as a whole, and an attempt is made to create such a document. Then, the parameter for the headline and the parameter for this indentation must be added separately in the sentence, and the indentation of the heading and the indentation of the main text are specified separately, so either There was a drawback that when the changes were made, the other changes could not be made at the same time and the operability was poor.

[問題点を解決するための手段(及び作用)] 本発明はこの問題を解決するために書式の見出しの定義
においてその見出しの後に続く本文の組始端の定義も行
う手段を備えている。
[Means (and Action) for Solving the Problem] In order to solve this problem, the present invention comprises means for defining the beginning of the text following the heading in the definition of the heading of the format.

[作用] これによって、文章中の見出しのパラメータの指定を行
うだけで、その後の本文の字下げが自動的に行われ、文
章が簡単に作成できる。更に字下げの修正も書式の見出
し定義の変更だけで簡単に行えるという効果がある。
[Operation] As a result, the indentation of the subsequent text is automatically performed only by specifying the parameter of the headline in the text, and the text can be easily created. Furthermore, there is an effect that the indentation can be easily corrected only by changing the definition of the heading of the format.

[実施例] 以下、図面に従って本発明に好適な一実施例を詳細に説
明する。本発明で言う文字処理装置は、種々の機器から
成るシステムであっても、単体の機器から成る装置であ
っても良いことは言うまでもない。
Embodiment An embodiment suitable for the present invention will be described in detail below with reference to the drawings. It goes without saying that the character processing device referred to in the present invention may be a system composed of various devices or a device composed of a single device.

第1図は本発明に係る一実施例の文書処理装置のシステ
ムブロツク図である。
FIG. 1 is a system block diagram of a document processing apparatus according to an embodiment of the present invention.

図において1はラスタスキヤン表示方式で使用されるCR
T表示部、2は一画面分の表示パターン情報を記憶する
ビデオRAM(VRAM)、3はVRAM2に対するパターン情報の
書き込み、CRTへの読み出しの制御をする表示制御部で
ある。5は第4図に示す制御プログラムや文章データを
格納するエリアを有する主メモリ、4はマイクロプロセ
ツサ(MPU)でこの装置の主制御を行う。MPU4には文字
データ等の入力を行うキーボード8、及びCRT上の位置
の指定等を行い図形データの入力編集等を行うポインテ
イングデバイス(PD)9が接続されている。6はハード
デイスク装置でこの中に文書フアイルや文字フオントが
格納される。10は作成された文書を出力するためのプリ
ンタで11は文書フアイル等の保存等を行うためのフロツ
ピーデイスク装置である。これらの各構成ブロツクはI/
Oバス7で接続されている。
In the figure, 1 is the CR used in the raster scan display method.
A T display unit, 2 is a video RAM (VRAM) that stores display pattern information for one screen, and 3 is a display control unit that controls writing of pattern information to the VRAM 2 and reading of the CRT. Reference numeral 5 is a main memory having an area for storing the control program and text data shown in FIG. 4, and 4 is a microprocessor (MPU) for main control of this apparatus. The MPU 4 is connected to a keyboard 8 for inputting character data and the like, and a pointing device (PD) 9 for inputting and editing graphic data by designating a position on the CRT and the like. A hard disk device 6 stores document files and character fonts therein. Reference numeral 10 is a printer for outputting the created document, and 11 is a floppy disk device for storing the document file and the like. Each of these component blocks is I /
It is connected by O bus 7.

第3図は文書フアイル内の書式定義の一部であり12が全
体の定義に関する部分13が見出しの定義に関する部分で
ある。見出しの定義は大見出し、中見出し等その文書に
出てくる見出しの個数分ある。
FIG. 3 shows a part of the format definition in the document file, 12 is a part concerning the whole definition, and 13 is a part concerning the definition of the heading. Headings are defined by the number of headings appearing in the document, such as large headings and medium headings.

次に第4図のフローチヤートに沿つて1頁目の組版の処
理を説明する。まずステツプ4−1で文字データや文書
の書式を主メモリ5にもってくる。4−2では書式の全
体定義より本文の組始端位置をセツトする。ここでは1
段目であるためのどの値がそのまま組始端となる。次に
4−3で文字データを1文字ゲツトし、4−4で文字デ
ータの終了か否かをチエツクする。文字データがもうな
ければ終了するがあれば4−5でその文字データは見出
しの開始パラメータか否かをチエツクする。見出しの開
始パラメータでなければ4−6でその文字の本文として
の組版処理が行われるがこのとき組始端はそのときセツ
トされている組始端が使用される。この組始端はここの
処理で段末処理が行われ、次の段の処理に入ったときは
そのときの組始端の値に書式の全体定義の段間と段幅
(行長と文字ポイント、字間より算出)を加えて更新さ
れる。4−5のチエツクで見出しの開始のパラメータで
あれば4−7で見出しの終了パラメータまでの文字デー
タについては見出し処理を行い、4−8で当該の見出し
定義書式の後ろの本文の組始端の値にのどと(段幅+段
間)×(次に処理を行う段数−1)の値を加えたものに
組始端の値を再セツトする。この処理により次に本文が
組まれるときは組始端が見出しの書式で指定した値とな
る。本文処理、見出し処理のいずれにおいても1頁の処
理が終了すれば4−9のチエツクにより組版が終了す
る。
Next, the process of typesetting the first page will be described along the flow chart of FIG. First, in step 4-1, the character data and the document format are brought into the main memory 5. In 4-2, the set start position of the text is set based on the overall definition of the format. Here 1
Which value is the stage end is the set end. Next, at 4-3, one character of the character data is obtained, and at 4-4, it is checked whether or not the character data has ended. If there is no more character data, then the process ends in 4-5 to check whether the character data is the start parameter of the headline. If it is not the heading start parameter, the typesetting process as the body of the character is performed at 4-6, but at this time, the set start point which is set at that time is used. This group start end is processed at the end of the line in this process, and when entering the process of the next stage, the value of the set start end at that time is set to the line spacing and line width (line length and character point, It is updated by adding (calculated from the character spacing). If it is a heading start parameter in the check of 4-5, heading processing is performed for character data up to the heading end parameter in 4-7, and in 4-8, the beginning of the set of the text after the heading definition format is set. The value at the beginning of the set is reset to the value obtained by adding the value of throat (column width + column interval) × (number of columns to be processed next-1). By this processing, the next time the text is assembled, the beginning of the text will be the value specified in the heading format. When the processing of one page is completed in both the text processing and the heading processing, the typesetting is completed by the check of 4-9.

以上の処理により書式の見出し定義の後ろの本文の組始
端の指示に従って本文が組まれた。
Through the above process, the text is assembled according to the instruction at the beginning of the text after the definition of the heading of the format.

[発明の効果] 以上説明したように本発明によれば書式の見出しの定義
に後ろの本文の組始端を指定しておけば、文章中に見出
しのパラメータの指定を行うだけでその後ろの本文の字
下げが自動的に行われ、第2図のような文書が簡単に作
成できる。更にこの字下げの修正も書式の見出し定義の
変更だけで簡単に行えるという効果がある。
[Effects of the Invention] As described above, according to the present invention, if the set start end of the back text is specified in the definition of the heading of the format, the text of the back text can be simply specified by specifying the heading parameter in the sentence. Indentation is automatically performed, and a document as shown in Fig. 2 can be easily created. Further, there is an effect that the indentation can be easily corrected only by changing the heading definition of the format.

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

第1図は本発明に係る一実施例である文書処理装置のブ
ロツク図、第2図は見出し毎に字下げが行われている文
書の例を示す図、第3図は書式のフオーマツトの一部を
示す図、第4図は組版の処理の流れを示すフローチヤー
トである。 1……CRT表示部 2……ビデオRAM 3……表示制御部 4……マイクロプロセツサ 5……主メモリ
FIG. 1 is a block diagram of a document processing apparatus according to one embodiment of the present invention, FIG. 2 is a diagram showing an example of a document in which indentation is performed for each heading, and FIG. 3 is one of a format format. 4 is a flow chart showing the flow of typesetting processing. 1 …… CRT display section 2 …… Video RAM 3 …… Display control section 4 …… Microprocessor 5 …… Main memory

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】入力された文書を組版し出力する機能を有
する文書処理装置であって、書式として見出しの定義を
行う手段と、文書データ内に含まれるパラメータに基づ
いて文書の一部を見出しとして組版出力する手段とを有
し、前記見出しの定義はその見出しに続く本文の組始端
の定義を含むことを特徴とする文書処理装置。
1. A document processing apparatus having a function of formatting and outputting an input document, wherein means for defining a heading as a format and part of the document are found based on a parameter included in the document data. And a means for outputting the typesetting, and the definition of the headline includes a definition of the set start edge of the text following the headline.
JP62078007A 1987-03-31 1987-03-31 Document processor Expired - Lifetime JPH0769898B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62078007A JPH0769898B2 (en) 1987-03-31 1987-03-31 Document processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62078007A JPH0769898B2 (en) 1987-03-31 1987-03-31 Document processor

Publications (2)

Publication Number Publication Date
JPS63244258A JPS63244258A (en) 1988-10-11
JPH0769898B2 true JPH0769898B2 (en) 1995-07-31

Family

ID=13649729

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62078007A Expired - Lifetime JPH0769898B2 (en) 1987-03-31 1987-03-31 Document processor

Country Status (1)

Country Link
JP (1) JPH0769898B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2723601B2 (en) * 1989-04-01 1998-03-09 シャープ株式会社 Character input device

Also Published As

Publication number Publication date
JPS63244258A (en) 1988-10-11

Similar Documents

Publication Publication Date Title
JPH04128970A (en) Document processing system
EP0066688B1 (en) Method of facilitating the recognition of the correctness of the instructions entered in an interactive text processing system
JP3471854B2 (en) Character processing apparatus and method
JPH0769898B2 (en) Document processor
JPS60246473A (en) Paginating designation system of document
JPS58201130A (en) Processing of document with note
JP3117974B2 (en) Document processing apparatus and method
JP2879940B2 (en) Score editing system
JP3264969B2 (en) Document creation device and document creation method
JP3402759B2 (en) Document processing apparatus and document processing method
JPH0264852A (en) Document processing device
JP2995630B2 (en) Document data processing device
JP2851840B2 (en) Document processing device
JPH03184182A (en) Character output layout determination system
JP2547797B2 (en) Document processing method
JP3404770B2 (en) Document processing device
JP2670469B2 (en) Document processing method
JPH06270374A (en) Composition system
JPH03266068A (en) Automatic reduction processing system for table block
JPH0345415B2 (en)
JPH0816575A (en) Document processing method
JPH0619907A (en) Document processor
JPS62177585A (en) Document processor
JPH0567089A (en) Word processor
JPH04160465A (en) Japanese language processor

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070731

Year of fee payment: 12