JP3872111B2 - Document creation device - Google Patents

Document creation device Download PDF

Info

Publication number
JP3872111B2
JP3872111B2 JP04126694A JP4126694A JP3872111B2 JP 3872111 B2 JP3872111 B2 JP 3872111B2 JP 04126694 A JP04126694 A JP 04126694A JP 4126694 A JP4126694 A JP 4126694A JP 3872111 B2 JP3872111 B2 JP 3872111B2
Authority
JP
Japan
Prior art keywords
column
character
character string
page
document
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 - Fee Related
Application number
JP04126694A
Other languages
Japanese (ja)
Other versions
JPH07249041A (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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP04126694A priority Critical patent/JP3872111B2/en
Publication of JPH07249041A publication Critical patent/JPH07249041A/en
Application granted granted Critical
Publication of JP3872111B2 publication Critical patent/JP3872111B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【産業上の利用分野】
本発明は、文書中における柱(header footer)の文字列の設定を行うことのできる文書作成装置に関するものである。
【0002】
【従来の技術】
従来よりワードロセッサやDTP(desk top publisher)等の文書作成装置において、柱[例えば、第1編憲法,第1章天皇,第2章戦争の放棄,第3章国民の権利と義務…など文章面に記載しないで本文の枠外・欄外に記し、本文と直接的には関係しない見出し部分]を設定することが可能となっており、柱の文字列に、頁内で設定される見出し等の文字列を取り込むことにより、頁毎にユニークな柱を設定することができるようになっていた。
【0003】
【発明が解決しようとする課題】
しかしながら、従来の設定方法では、頁毎に柱の文字列を設定しようとする場合には、見出しのように文書内に表示(印字)されるものに限られており、頁内の文章とまったく関係の無い文字列を柱として設定することができなかった。ここにおいて本発明は、上記した問題点に鑑み、頁毎に頁内の文章と全く関係の無い文字列を柱として設定する文書作成装置を提供することを目的とする。
【0004】
【課題を解決するための手段】
本発明は、上記問題点を解決するために、文章内で柱の文字列を特殊な制御コードで挟み込んで指定し、指定された文字列が頁内の文章として描画されないような特殊な制御コードを有する文書作成装置である。
【0005】
【作用】
本発明はこのように構成したことにより、ユーザ(編集者)が頁内に特殊な制御コードを用いて柱の文字列を設定することにより、頁毎に頁内の文章とまったく関係の無い文字列を柱として設定することができる。
【0006】
【実施例】
以下、本発明の実施例について、図面を参照しながら説明する。
【0007】
図1は、本発明の一実施例における文書作成装置の主要部の回路構成を示すブロック図である。1は装置の制御およびデータの処理を行う中央処理装置、2は文字等を入力する入力部、3はプログラム等を記憶するROM、4は各種データを記憶するRAM、5はRAM4内にあって文書に入力されている全ての文字を記憶する文書内文字バッファ、6はRAM4内にあって柱の書式9や柱の文字列を記憶する柱情報、7は出力(表示)装置、11はこれらの要素間の情報の伝送路を形成するバスである。
【0008】
図2は、本発明の一実施例の柱情報を説明するためのデータ構成図である。柱情報6において、8は柱の文字列が全頁共通か見出し文字か頁毎かを判断するための柱文字列の種別フラグ[例えば、全頁共通はflag0,見出し文字はflag1,頁毎はflag2などとする]、9は柱の頁内での位置や柱文字列の書体[例えば、明朝体,楷書体,筆記体,…など],文字サイズ[例えば12ポイント,14ポイント…など活字の大きさ]等の柱の書式、10は柱として表示(印字)される文字列を格納する柱文字列バッファである。
【0009】
図3ないし図6は、本発明の一実施例における文書作成装置の具体的な動作を説明するためのフローチャートである。
【0010】
図7は、柱文字列が入力された際の文書内文字バッファの内容を表す図である。
【0011】
図3の柱文字列描画において、ステップ1で入力部2よりその頁にて柱にしたい文字列を入力する[柱文字列入力]。その後ステップ2において文書内の柱の書式9を設定する際に、柱の種別毎に設定すると柱情報6の柱文字列の種別フラグ8に頁毎を示す値が設定される[柱書式設定]。柱情報6が設定されるとステップ3およびステップ4により、頁内の文字と柱文字の描画が行われる[頁内文字描画、柱文字列描画]。
【0012】
図4に示す柱文字列入力処理では[先の図3におけるステップ1の具体的操作手順である]、先ずステップ5において柱にしたい文字列を入力部2より入力する。文字列の入力が終わると、ステップ6において図7に示すように入力された文字列[先の例で言えば、第3章国民の権利と義務など]の前に柱文字列開始制御コードと文字列の後ろに柱文字列終了制御コードが付加され文書内文字バッファ5内の現在の文字カーソルの指す文字の後ろに挿入される。
【0013】
次に、頁内文字の描画処理では、図5に示すように先ずステップ7により文書内文字バッファ5の現在頁の部分より、1文字ずつ取り出しながら、ステップ9において取り出した文字が柱文字列開始制御コード71かどうかを判断する。取り出した文字が柱文字列開始制御コード71でない場合には、ステップ10において出力装置7に取り出した文字を出力する。取り出した文字が柱文字列開始制御コード71の場合には、ステップ11において柱文字列終了制御コード72が現れるまで文書内文字バッファ5をスキップする。この処理中にステップ8において、頁内の文字が終了したかどうかを判断を行い、頁内の文字が終了するまで繰り返す。頁内の文字が終了した場合に頁内文字の描画処理は終了となる。
【0014】
柱文字列の描画処理では、図6に示すとおり、ステップ12において柱情報6内の柱文字列種別が頁毎かどうかを判断し、頁毎でなければステップ13において柱情報6内の柱文字列バッファ10[図2参照]の文字列を柱として出力装置7に出力する。
【0015】
図6のステップ12において、柱情報6内の柱文字列種別が頁毎の場合には、ステップ14により文書内文字バッファ5の中の現在頁の部分の中で柱文字列開始制御コード71を検索し、ステップ15において柱文字列開始制御コード71が見つからなかった場合には処理を終了する。柱文字列開始制御コード71が見つかった場合には、ステップ16において柱文字列終了制御コード72までの文字列を、柱文字列として柱情報6内の柱文字列バッファ10に取込み、ステップ17にて取り込んだ柱文字列を出力装置7に出力する。
【0016】
このようにして、頁毎に柱の文字列を設定することが可能となり、柱の文字列の適性なレイアウトが簡単正確になされ得る。
【0017】
【発明の効果】
以上の説明から明らかなように、本発明は、頁内の文字列を表示させないような制御コードを用いて、頁毎に柱の文字列を設定することができるため、従来、頁毎に柱を設定するような場合には、わざわざ枠などを用いて柱の代用をしている場合に、そのような煩わしい手順は必要なくなり、編集作業の軽減を図ることが可能となり、編集効率の格段の向上と柱の文字列の適性配置が正確に行われるという特段の効果を奏することができる。
【図面の簡単な説明】
【図1】本発明の一実施例における文書作成装置の主要部の回路構成を示すブロック図
【図2】本発明の一実施例における柱情報のデータ構成図
【図3】本発明の一実施例の柱文字列入力から柱文字列描写に至る作業を示すフローチャート
【図4】本発明の一実施例の柱文字列処理の作業を示すフローチャート
【図5】本発明の一実施例の頁内文字描画処理の作業を示すフローチャート
【図6】本発明の一実施例の柱描画処理の作業を示すフローチャート
【図7】頁内文字の描画処理の態様を示す図
【符号の説明】
1 中央処理装置
2 入力部
3 ROM
4 RAM
5 文章内文字バッファ
6 柱情報
7 出力(表示)装置
[0001]
[Industrial application fields]
The present invention relates to a document creation apparatus capable of setting a character string of a header (header footer) in a document.
[0002]
[Prior art]
Traditionally, in document creation devices such as word processor and DTP (desk top publisher), pillars [for example, the 1st Constitution, Chapter 1 Emperor, Chapter 2 Abandonment of War, Chapter 3 National Rights and Duties ... It is possible to set the heading part that is written outside the frame of the text and outside the box without being listed on the screen, and that is not directly related to the text. By taking a character string, a unique pillar can be set for each page.
[0003]
[Problems to be solved by the invention]
However, in the conventional setting method, when you try to set a string of posts in each page, it is limited to what is displayed (printed) in the document as the heading, exactly the text in the page Unrelated character strings could not be set as pillars. The present invention has been made in view of the above-described problems, and an object of the present invention is to provide a document creation apparatus that sets, as a column, a character string that is completely unrelated to the text in the page for each page.
[0004]
[Means for Solving the Problems]
In order to solve the above-mentioned problem, the present invention specifies a special control code in which a character string of a pillar is sandwiched between special control codes in a sentence, and the designated character string is not drawn as a sentence on a page. Is a document creation device.
[0005]
[Action]
With this configuration, the user (editor) sets a column character string using a special control code in the page, so that characters that have nothing to do with the text in the page are set for each page. Columns can be set as columns.
[0006]
【Example】
Embodiments of the present invention will be described below with reference to the drawings.
[0007]
FIG. 1 is a block diagram showing a circuit configuration of a main part of a document creation apparatus according to an embodiment of the present invention. 1 is a central processing unit for controlling the device and processing data, 2 is an input unit for inputting characters, 3 is a ROM for storing programs, 4 is a RAM for storing various data, 5 is in the RAM 4 In-document character buffer for storing all characters input to the document, 6 in the RAM 4 and column information for storing the column format 9 and column character string, 7 for the output (display) device, 11 for these This is a bus forming an information transmission path between the elements.
[0008]
FIG. 2 is a data configuration diagram for explaining column information according to an embodiment of the present invention. In the column information 6, 8 is a column character string type flag for determining whether the column character string is common to all pages, heading characters, or for each page [for example, flag 0 for all pages common, flag 1 for heading characters, and for each page flag2 etc.], 9 is the position of the column in the page and the typeface of the column character string (for example, Mincho typeface, font type, cursive type, etc.), character size [eg 12 points, 14 points, etc. magnitude like pillars form of 10 is a pillar string buffer containing the string to be displayed as a pillar (printing).
[0009]
3 to 6 are flowcharts for explaining specific operations of the document creation apparatus according to the embodiment of the present invention.
[0010]
FIG. 7 is a diagram illustrating the contents of the in-document character buffer when a column character string is input.
[0011]
In the column character string drawing of FIG. 3, in step 1, a character string to be used as a column on the page is input from the input unit 2 [input column character string]. Thereafter, when setting the column format 9 in the document in step 2, if the column format is set for each column type, a value indicating each page is set in the column character string type flag 8 of the column information 6 [column format setting]. . When the column information 6 is set, characters in the page and column characters are drawn in step 3 and step 4 [character drawing in page, column character string drawing].
[0012]
In the column character string input process shown in FIG. 4 [the specific operation procedure of Step 1 in FIG. 3], first, in Step 5, a character string to be used as a column is input from the input unit 2. When the input of the character string is finished, the column character string start control code and the character string input in step 6 as shown in FIG. 7 [in the above example, Chapter 3, national rights and obligations, etc.] A column character string end control code is added after the character string, and is inserted after the character pointed to by the current character cursor in the in-document character buffer 5.
[0013]
Next, in the in-page character drawing process, as shown in FIG. 5, first, in step 7, characters are extracted from the current page portion of the in-document character buffer 5 one by one, and the characters extracted in step 9 start the column character string. It is determined whether the control code 71 or not. If the extracted character is not the column character string start control code 71, the extracted character is output to the output device 7 in step 10. If the extracted character is the column character string start control code 71, the in-document character buffer 5 is skipped until the column character string end control code 72 appears in step 11. During this process, in step 8, it is determined whether or not the character on the page is finished, and the process is repeated until the character on the page is finished. When the characters on the page are finished, the drawing process for the characters on the page is finished.
[0014]
In the column character string drawing process, as shown in FIG. 6, it is determined in step 12 whether the column character string type in the column information 6 is for each page. The character string in the column buffer 10 [see FIG. 2] is output to the output device 7 as a pillar.
[0015]
In step 12 of FIG. 6, when the column character string type in the column information 6 is page-by-page, the column character string start control code 71 is set in the portion of the current page in the document character buffer 5 in step 14. If the column character string start control code 71 is not found in step 15, the process is terminated. When the column character string start control code 71 is found, the character string up to the column character string end control code 72 is fetched into the column character string buffer 10 in the column information 6 as a column character string in step 16, and the process goes to step 17. The column character string taken in is output to the output device 7.
[0016]
In this manner, it is possible to set a column character string for each page, and an appropriate layout of the column character string can be easily and accurately performed.
[0017]
【The invention's effect】
As is clear from the above description, the present invention can set a column character string for each page using a control code that does not display the character string in the page. When a column is substituted with a frame or the like, such a cumbersome procedure is no longer necessary, and the editing work can be reduced. It is possible to obtain a special effect that the improvement and the appropriate arrangement of the character strings of the pillars are accurately performed.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a circuit configuration of a main part of a document creation apparatus according to an embodiment of the present invention. FIG. 2 is a data configuration diagram of column information according to an embodiment of the present invention. FIG. 4 is a flowchart showing an operation from column character string input to column character string drawing in an example. FIG. 4 is a flowchart showing a column character string processing operation in an embodiment of the present invention. Flowchart showing character drawing processing operation FIG. 6 is a flowchart showing column drawing processing operation according to an embodiment of the present invention. FIG. 7 is a diagram showing an aspect of character drawing processing in a page.
1 Central processing unit 2 Input unit 3 ROM
4 RAM
5 In-text character buffer 6 Pillar information 7 Output (display) device

Claims (1)

文書作成の入力部から柱文字列を入力し、その柱の書式を設定し、頁内文字を描画しかつ前記柱文字列を描画するときに、頁内文字描画処理として文書内文字バッファより1文字を取り出し文書内文字は終了か否かを判断し、是ならばこの処理は終わり、否であれば文字は柱文字列開始制御コードか否かを判断し、否であれば文字描画処理をして前記文書内文字バッファより1文字の取り出しを繰り返し、是であれば柱文字列終了制御コードまで前記文書内文字バッファをスキップすると共に、柱文字列描画処理として柱情報内の柱文字列種別は頁毎か否かを判断し、否であれば柱描画処理をしてこの処理を終了し、是であれば頁内の前記柱文字列開始制御コードを検索し、前記柱文字列開始制御コードがあるかを判断し、なければここでの処理を終了し、あれば前記柱文字列終了制御コードのファンクション終了までの文字列を柱情報に取込むことを特徴とする文書作成装置。When a column character string is input from the document creation input section, the column format is set, the characters in the page are drawn, and the column character string is drawn, the character buffer 1 in the document is used as an in-page character drawing process. The character is taken out and it is determined whether or not the character in the document is finished. If YES, this processing ends. If NO, it is determined whether the character is a column character string start control code. If NO, character drawing processing is performed. Then, the extraction of one character from the document character buffer is repeated, and if it is right, the document character buffer is skipped to the column character string end control code, and the column character string type in the column information is used as the column character string drawing process. Determines whether or not each page, and if not, performs column drawing processing and ends this processing, and if yes, searches for the column character string start control code in the page and searches for the column character string start control Determine if there is code, if not Exit management, document creation device, characterized in that the string up function ends of the pillars string end control code if taking the pillar information.
JP04126694A 1994-03-11 1994-03-11 Document creation device Expired - Fee Related JP3872111B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04126694A JP3872111B2 (en) 1994-03-11 1994-03-11 Document creation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04126694A JP3872111B2 (en) 1994-03-11 1994-03-11 Document creation device

Publications (2)

Publication Number Publication Date
JPH07249041A JPH07249041A (en) 1995-09-26
JP3872111B2 true JP3872111B2 (en) 2007-01-24

Family

ID=12603651

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04126694A Expired - Fee Related JP3872111B2 (en) 1994-03-11 1994-03-11 Document creation device

Country Status (1)

Country Link
JP (1) JP3872111B2 (en)

Also Published As

Publication number Publication date
JPH07249041A (en) 1995-09-26

Similar Documents

Publication Publication Date Title
JP3872111B2 (en) Document creation device
JP2740575B2 (en) Character processor
JPS58208865A (en) Document producing device
JPS61262964A (en) Document producing device
JP3471854B2 (en) Character processing apparatus and method
JP2584973B2 (en) Recognition result output method in character recognition device
JPH0438005B2 (en)
JP2002278727A (en) Character extraction printing program and printing controller
JP2556470B2 (en) Document processing method
JP3076348B2 (en) Document shaping apparatus and document shaping method
JPS61105666A (en) Document processing device
JP3264969B2 (en) Document creation device and document creation method
JPH038063A (en) Document processor
JP2534685B2 (en) Information display method
JPH0570174B2 (en)
JPH07304225A (en) Method for printing automatic address layout
JP3634387B2 (en) Document processing method and apparatus
JPH0520324A (en) Document processor
JP2593457B2 (en) Information display method
JP3347322B2 (en) Document processing apparatus and document processing method in the apparatus
JPH0537315Y2 (en)
JPH05342405A (en) Method and device for editing document
JPH0749851A (en) Document shaping device
JPH0589124A (en) Document preparing device
JPH0264852A (en) Document processing device

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20031224

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040123

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20040203

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20040430

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20050620

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20061019

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091027

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101027

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111027

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121027

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees