JPS60160479A - Control system of format - Google Patents

Control system of format

Info

Publication number
JPS60160479A
JPS60160479A JP59015499A JP1549984A JPS60160479A JP S60160479 A JPS60160479 A JP S60160479A JP 59015499 A JP59015499 A JP 59015499A JP 1549984 A JP1549984 A JP 1549984A JP S60160479 A JPS60160479 A JP S60160479A
Authority
JP
Japan
Prior art keywords
format
document
information
editing
format control
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
JP59015499A
Other languages
Japanese (ja)
Inventor
Hisanori Fujita
尚徳 藤田
Mikio Hasebe
長谷部 幹夫
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP59015499A priority Critical patent/JPS60160479A/en
Publication of JPS60160479A publication Critical patent/JPS60160479A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Processing Or Creating Images (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To allow securing a document format set at the time of inputting documents after edition and dynamic modification of the document format by controlling a document format along with editing work in accordance with format information included in format control information and document information. CONSTITUTION:At the time of modifying a document format, format information and a row position to be format-modified are inputted in an input buffer 10. An edition control part 16 inserts format information stored in the input buffer 10 ahead of the row position to be format-modified on a document of a document memory part 11 or if format information is positioned in the location, the part 16 replaces it with the format information. Then the edition control part 16 controls character-feeding in accordance with the format control information newly set in a document memory part 11.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は日本語ワードプロセッサのフォーマット制御方
式に関す′る。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a format control method for a Japanese word processor.

〔発明の技術的背景とその問題点〕[Technical background of the invention and its problems]

従来の日本語ワードプロセッサに於いては、文書のフォ
ーマットを整えるフォーマット情報(タブ、デシマルタ
ブ、インデント等の位置情報)を設定しても、入力時に
しか、そのフォーマットに従っての文字入力ができなか
った口したがって、文字入力後の編集作業(文字の挿入
、訂正、削除等)を行なうと、その編集をうけた文書上
の文字列が、人力時に設定した文書フォーマットに従わ
なかった。
In conventional Japanese word processors, even if you set formatting information (positional information such as tabs, decimal tabs, indents, etc.) to format the document, characters could only be entered according to that format when inputting. , when editing work (inserting, correcting, deleting characters, etc.) after inputting characters, the edited character strings in the document did not follow the document format set manually.

また入力済みの文書フォーマツ)1変更しても、入力済
みの文字列は、変更した文書フォーマットに従わず、動
的にフォーマツトラ変更することは不可能であった。
Furthermore, even if the input document format is changed, the input character string does not follow the changed document format, and it is impossible to dynamically change the format.

このように、入力時にしかフォーマット制御のできない
日本語ワードノロセッサに於いては、文字入力後、校正
、編集をして文書の体裁ヲ整えることが困難であった。
As described above, in Japanese word processors that allow format control only during input, it is difficult to correct and edit the format of the document after inputting characters.

〔発明の目的〕[Purpose of the invention]

本発明は上記実情に鑑みなされたもので、タブコード、
インデントコード等のフォーマット情報が文字コード列
に含まれる日本語ワードプロセッサに於いて、文薔人力
時に設定された文書フォーマツ)1−編集後に於いても
確保でき、また文書フォーマットを動的に変更可能なフ
ォーマット制御方式を提供することを目的とする。
The present invention was made in view of the above circumstances, and includes tab code,
In Japanese word processors where format information such as indentation codes is included in the character code string, the document format set at Bunba Jinriki) 1- Can be secured even after editing, and the document format can be changed dynamically. The purpose is to provide a format control method.

〔発明の概要〕[Summary of the invention]

本発明は、文書の編集作業(挿入、訂正、削除等)を行
なうときにも、その編集対象となる文字列に、文書入力
時に於ける既設定フォーマ、ト制御情報を反映させて、
その7オーマツト制御・1n報に従った編集作業を可能
にするとともに、動的に文書のフォーマット制御情報全
変更させても、その変更したフォーマ、トに文書の文字
列を従わせ、文書7オーマ、トラ変更可能としたもので
ある。
According to the present invention, even when editing a document (insertion, correction, deletion, etc.), the preset format and control information at the time of document input are reflected in the character string to be edited.
In addition to making it possible to edit according to the 7-ormat control/1n information, even if all the format control information of the document is dynamically changed, the character strings of the document will follow the changed format and format. , the tiger can be changed.

〔発明の実施例〕[Embodiments of the invention]

以下図面を参照して本発明・の一実施例を説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第1図は本発明の一実施例を示すプロ、り図である。図
中、10は入力・ぐツ7アであシ、編集時に於いては、
文書上の編集位置、編集文字列等が入力され、また文書
変更時に於いては、文書上の変更位置、変更情報等が入
力される。
FIG. 1 is a diagram showing an embodiment of the present invention. In the figure, 10 is input/guts 7, and when editing,
Editing positions on the document, editing character strings, etc. are input, and when changing the document, changing positions on the document, change information, etc. are input.

11は編集前の文書の文字列情報、及びこれに付随する
文書7オーマ、ト制御情報が貯えられる文書記憶部、1
2は文書−集作業時に於ける文字列情報が貯えられる文
書編集作業用記憶部、13は編集された文字列情報が貯
えられる文書編集用記憶部である。14は文書記憶部1
1に貯えられた文書7オーマツト制# 11¥報をその
種類に従う数値情報に変換する文書フォーマ、ト制御情
報変換部、15はこの文書フォーマット制御1H報変換
部14で数値情報に変換された文書フォーマット制御情
報を貯える文書フォーマット制御1#報記憶部翻寄であ
る。16は入力バッファ10にデータが入力されること
によって。
Reference numeral 11 denotes a document storage unit in which character string information of a document before editing and associated document control information are stored;
Reference numeral 2 denotes a document editing storage section in which character string information during document collection work is stored, and 13 is a document editing storage section in which edited character string information is stored. 14 is document storage section 1
1 is a document formatter that converts documents stored in 7 automatic system #11 into numerical information according to its type, and 15 is a document converted into numerical information by this document format control 1H information converter 14. This is a copy of the document format control 1# information storage unit that stores format control information. 16 by inputting data to the input buffer 10.

文書の編集処理全実行する編集制御部でおシ、編集時に
於いては、人カバ、ファ10に貯えられた文字列を文書
記憶部11に貯えられた文字列と脅威して、文書編集作
業用記憶部12に格納し、これを文書フォーマット制御
・1#報記憶部15内に貯えられた文書フォーマット制
御1n報(数値情報)を参照して、正しい文字列の並び
に整え、文書編集用記憶部13に複写してゆく。
During editing, the editing control unit executes all document editing processing, and during editing, the character strings stored in the human cover and file 10 are compared with the character strings stored in the document storage unit 11, and the document editing work is performed. This is stored in the document format control/1# information storage section 12, and is stored in the document format control/1# information storage section 15 to arrange the correct character strings by referring to the document format control 1n information (numeric information) stored in the document format control/1# information storage section 15. Copy it to Section 13.

また、フォーマット変更時に於いては入カッ9ツファ1
0に入力されたフォーマット変更情報をもとに、文書記
憶部11の文字列を並べ替え・正しいフォーマットに整
えて文書編集用記憶部13に複写してゆく。
Also, when changing the format, the input
Based on the format change information input in 0, the character strings in the document storage section 11 are rearranged and arranged in the correct format, and then copied to the document editing storage section 13.

第2図は上記第1図に示す文書記憶部1ノに記憶された
文書1n報のフォーマット例を示したもので、文書IH
報は、文書フォーマット制御1n報と文書の文字列情報
とからなシ、kd目の文書フォーマット制御・情報は、
k+14目の文書フォーマット制御情報が現われる′ま
での、nk行分の文書文字列の文書フォーマット’に制
御している。文書文字列は、平反゛名、片仮名、英数字
、漢字などの文字列と、タブコード、デシマルタブコー
ド、インデントコードなどのフォーマット情報とから構
成される。
FIG. 2 shows an example of the format of the document 1n information stored in the document storage section 1 shown in FIG.
The information consists of the document format control 1n information and the character string information of the document, and the kd-th document format control/information is as follows.
The document format of the document character string for nk lines is controlled to 'the document format' until the k+14th document format control information appears. A document string is composed of character strings such as flat names, katakana, alphanumeric characters, and kanji, and format information such as tab codes, decimal tab codes, and indent codes.

ここで、図面全参照しなから一実施例の動作を説明する
。入力バッファ10に編集の4類、及びその位置を示す
1W報が入力されると、櫓集制御部16は、その1゛H
¥aをもとに、編集位置の文字列を制御する文書フォー
マット制御情報を文書記憶部11よシ取出し、これを文
書フォーマット制御情報変換部14によシ数値情報に変
換した後、文書フォーマット制御情報記憶部15に格納
する。次に、入力バッファ10に編集文字列が入力され
ると、編集制御部16は、文書記憶部1ノの編集位置を
含む行の文字列と上記編集文字列とを、その編集の種類
に従って脅威し、これ全文書編集作業用記1.ホ部12
に格納する。その後、編集制御部16は、文書編集作業
用記憶部12に格納した文字列情報を1文字ずつ取出し
文書編集用記憶部13に1文字ずつ並べ揃えて格納して
ゆく。このとき、編集制御部16は、文字コードの内容
が、タブコード、デシマルコード、インデントコードな
ど(07オーマツト1H報であると、文書フォーマット
制御情報記憶部15に記憶された文書フォーマット制御
情報(数値情報)を参照し、その値が示す位置まで、半
透9制御を行なう。
Here, the operation of one embodiment will be described without referring to all the drawings. When the 4th type of editing and the 1W information indicating its position are input to the input buffer 10, the turret collection control unit 16 controls the 1゛H
Based on ¥a, the document format control information that controls the character string at the editing position is retrieved from the document storage unit 11, and after converting it into numerical information by the document format control information conversion unit 14, the document format control is performed. The information is stored in the information storage unit 15. Next, when the edited character string is input to the input buffer 10, the editing control unit 16 stores the character string in the line including the editing position in the document storage unit 1 and the edited character string according to the type of editing. This is the complete document editing work diary 1. Ho part 12
Store in. Thereafter, the editing control section 16 extracts the character string information stored in the document editing work storage section 12 one character at a time, and stores them in the document editing storage section 13 in alignment one character at a time. At this time, if the content of the character code is a tab code, decimal code, indent code, etc. information) and perform semi-transparent 9 control to the position indicated by the value.

このような動作を文書編集作業用記憶部12内の文字が
なくなるまで繰返し行ない、文書編集作業用記憶部12
内の全ての文字が文書編集用記憶部13に並べられたな
らば、文書編集用記憶部部13に格納された文字列全文
書記憶部11に書き戻して編集処理動作を完了する。
This operation is repeated until there are no more characters in the document editing work storage unit 12, and the document editing work storage unit 12
When all the characters in the text are arranged in the document editing storage section 13, the character string stored in the document editing storage section 13 is written back to the entire document storage section 11, and the editing process operation is completed.

次に、文書フォーマットの変更処理動作を説明する。こ
の際は、入力バッファ10にフォーマット変更すべき行
位置とフォーマット制御情報が入力される。編集制御部
J6は、文書記憶部1ノのフォーマット変更すべき文書
上の行位置の前に上記入力バッ7ア10に貯えられたフ
ォーマット制御情報を挿入するか、若しくは既にその位
置にフォーマット制御御情報があれば、そのフォーマッ
ト制御情報と置き替える。次に編集制御部16は文書記
憶部1ノに新たに設定した上記フォーマット制御情報を
文書フォーマット制御情報変換部14に送って数値情報
に変換し、文書フォーマット制御情報記憶部15に格納
した後、文書記憶部1ノ内のフォーマット変換すべき文
書上の行位置から1行の文書文字列を取出し、1文字ず
つ文書編集用記憶部13に並べてゆく。このとき、文字
コードが、タブコード、デシマルタブコード、インデン
トコードなどの文書のフォーマット情報であれば、文書
フォーマット制御情報記憶部15の文書フォーマット制
御1n報(数値情報)を参照し、その値が示す位置まで
、半透シ制御を行なう。これを1行の文字列がなくなる
まで繰返し行ない、その行の処理を終了したならば次の
行の文字列全取出し、上記同様に処理する。
Next, the document format change processing operation will be explained. At this time, the line position to be formatted and format control information are input to the input buffer 10. The editing control section J6 inserts the format control information stored in the input buffer 10 before the line position on the document whose format is to be changed in the document storage section 1, or inserts the format control information already stored at that position. If there is information, replace it with that format control information. Next, the editing control section 16 sends the format control information newly set in the document storage section 1 to the document format control information conversion section 14, converts it into numerical information, and stores it in the document format control information storage section 15. One line of document character string is taken out from the line position of the document to be format-converted in the document storage unit 1, and arranged character by character in the document editing storage unit 13. At this time, if the character code is document format information such as a tab code, decimal tab code, or indent code, the document format control 1n information (numeric information) in the document format control information storage section 15 is referred to and its value is Perform semi-transparent control to the indicated position. This is repeated until there are no more character strings in one line, and when that line has been processed, all the character strings in the next line are extracted and processed in the same way as above.

このようにして、文書記憶部1ノ内の次の文書フォーマ
ット制御情報に出会うまで、又は頁の最後(pg)に出
会うまで、上記した動作を繰返し、その後、文書編集用
記憶部13に格納された文字列情報を文書記憶部1ノに
書き戻す。
In this way, the above operation is repeated until the next document format control information in the document storage section 1 is encountered or until the end of the page (pg) is encountered, and then the information is stored in the document editing memory section 13. The written character string information is written back to the document storage section 1.

上述したようなフォーマット制御によシ、文書入力後に
編集作業が行われても、編集文字列が以前に設定された
文書フォーマットに従い、編集仮に於いても編集前の文
書フォーマツトラ維持できる。また、文書入力後に於い
て文書フォーマットを動的に変更できることから、文書
の体裁を、文書フォーマット全指定するだけで容易に整
えることができる。
With the format control described above, even if editing is performed after a document is input, the edited character string follows the previously set document format, and the document format before editing can be maintained even during editing. Furthermore, since the document format can be dynamically changed after the document is input, the appearance of the document can be easily adjusted by simply specifying all document formats.

〔発明の効果〕〔Effect of the invention〕

以上詳記したように本発明によれば、タブコ−ド、イン
デントコード等のフォーマット情報が文字コード列に含
まれる日本語ワードプロセッサに於いて、文書入力時に
設定された文書フォーマットを編集後に於いても確保で
き、また文書フォーマットを動的に変更可能としたフォ
ーマット制御方式が提供できる′。
As detailed above, according to the present invention, in a Japanese word processor in which format information such as tab codes and indent codes is included in character code strings, the document format set at the time of document input can be changed even after editing. It is possible to provide a format control method that can secure the document format and dynamically change the document format.

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

第1図は本発明の一実、施例を示すブロック図、第2図
は上記実施例に於ける文書記憶部のデータ記憶フォーマ
ットを示す図である。 10・・・入力パッファ、11・・・文書記憶部、12
・・・文書編集作業用記憶部、13・・・文書編集用記
憶部、14・・・文書7オ一マツト制御情報変換部、1
5・・・文書フォーマット制御情報記憶部、16・・・
編集制御部。 出願人代理人 弁理士 鈴 江 武 彦第1s1 0
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a diagram showing a data storage format of a document storage section in the above embodiment. 10... Input puffer, 11... Document storage unit, 12
...Storage unit for document editing work, 13...Storage unit for document editing, 14...Document 7 output control information conversion unit, 1
5... Document format control information storage unit, 16...
Editing control section. Applicant's agent Patent attorney Takehiko Suzue 1s1 0

Claims (4)

【特許請求の範囲】[Claims] (1)フォーマット情報が文字コード列に含まれる文書
情報とフォーマット制御のための位置指定を行なうフォ
ーマット制御情報とに従い文書を出力する日本語ワード
ゾロセ、すに於いて、編集前の文書情報を貯える第1の
記憶部と、編集作業時における文書情報を貯える第2の
記1意部と、編集後の文書情報金貯える第3の記憶部と
、前記文書情報に付随するフォーマット制御情報を貯え
る第4の記憶部と、前記第1の記憶部に貯えられた文書
情報のうち、指定された編集行位置の文字列情報と入力
された編集対象文字列情報とを合成し、前記第2の記憶
部に格納する手段と、この手段によって前記第2の記憶
部に貯えられた文書情報t−1文字単立て前記第3の記
憶部に配列してゆく手段、及びこの文字配列時に於いて
1文字のコード内容がフォーマットコードであるか否か
を判別する手段、及びこの手段によシフオーマッドコー
ドの判別がなされた際に前記第4の記憶部に貯えられた
フォーマット制御情報に従う位置まで字送シ制御召?行
なう手段とを具備し、前記第4の記憶部に貯えられたフ
ォーマット制御情報と文書情報中に含まれるフォーマッ
ト情報とに従い編集作業に伴う文書フォーマット制御を
行なうことを特徴としたフォーマット制御方式。
(1) In Japanese Word Zorose, which outputs a document according to the document information whose format information is included in the character code string and the format control information that specifies the position for format control, the document information before editing is stored. 1 storage section, a second storage section for storing document information during editing work, a third storage section for storing document information after editing, and a fourth storage section for storing format control information accompanying the document information. and the document information stored in the first storage unit, the character string information at the specified editing line position and the input character string information to be edited are combined, and the second storage unit means for arranging document information t-1 characters stored in the second storage section into the third storage section by this means; means for determining whether or not the code content is a format code; and a means for determining whether or not the code content is a format code; Control calling? A format control method, comprising: means for controlling a document format associated with an editing work according to format control information stored in the fourth storage unit and format information included in the document information.
(2) 前記第4の記憶部に貯えられた7オーマツト制
御債報を桁位置を最小単位とする数値情報に変換し、こ
の数値情報に従い前記字送り制御を行なうことを特徴と
する特許請求の範囲第1項記載のフォーマット制御方式
(2) The 7-automatic control information stored in the fourth storage unit is converted into numerical information whose minimum unit is a digit position, and the forwarding control is performed according to this numerical information. The format control method described in scope 1.
(3)前記第4の記1.ば部に、編集前の文書情報に従
うフォーマット制御1#報全保存し、編集時にこのフォ
ーマット制御情報に従い文字列を制御して、編集後に於
いても編集前の文書フォーマットを確保することを特徴
とする特許請求の範囲第1項記載のフォーマット制御方
式。
(3) Said fourth statement 1. The feature is that the format control 1 # report is saved according to the document information before editing, and the character string is controlled according to this format control information at the time of editing, so that the document format before editing is maintained even after editing. A format control method according to claim 1.
(4)前記第4の記憶部に、変更すべきフォーマットに
従うフォーマット制御情報全設定し、編集時にこのフォ
ーマット制御情報に従い文字列を制御して、文書フォー
マット全変更することを特徴とする特許請求の範囲第1
項記載のフォーマット制御方式。
(4) All format control information according to the format to be changed is set in the fourth storage unit, and character strings are controlled in accordance with this format control information during editing to change the entire document format. Range 1
Format control method described in section.
JP59015499A 1984-01-31 1984-01-31 Control system of format Pending JPS60160479A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59015499A JPS60160479A (en) 1984-01-31 1984-01-31 Control system of format

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59015499A JPS60160479A (en) 1984-01-31 1984-01-31 Control system of format

Publications (1)

Publication Number Publication Date
JPS60160479A true JPS60160479A (en) 1985-08-22

Family

ID=11890498

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59015499A Pending JPS60160479A (en) 1984-01-31 1984-01-31 Control system of format

Country Status (1)

Country Link
JP (1) JPS60160479A (en)

Similar Documents

Publication Publication Date Title
JPH0776958B2 (en) Document shaping device
JPS60164863A (en) Word processor
EP0316957A2 (en) Type setting system of a flexible text
JPS60160479A (en) Control system of format
JPS6020284A (en) Electronic translation device
JPH03233670A (en) Text data conversion system
JPH08221417A (en) New/old comparing editing device for structured document
JPH0589103A (en) Document editing processor
JPH03188556A (en) Automatic document preparing system
JP2000089778A (en) Table read-aloud device
JPH03266172A (en) Word processor
JP2978697B2 (en) Word processor page division method
JPH036660A (en) Shaping/editing system for english word document
JPS63174161A (en) Document processor
JPS61131163A (en) Document editing control system
JP3154790B2 (en) Optical character reader
JP2697868B2 (en) Output control method and device
JPH0512281A (en) Document preparing device
JPH0216671A (en) Document preparation supporting device
JPH07319745A (en) File length reduction processor
JPH0373062A (en) Sentence title preparing system
JPH0573548A (en) Document shaping device
JPH02238566A (en) Mechanical translating device
JPS6397958A (en) Composing system
JPH03266068A (en) Automatic reduction processing system for table block