JPS63174161A - Document processor - Google Patents

Document processor

Info

Publication number
JPS63174161A
JPS63174161A JP62006859A JP685987A JPS63174161A JP S63174161 A JPS63174161 A JP S63174161A JP 62006859 A JP62006859 A JP 62006859A JP 685987 A JP685987 A JP 685987A JP S63174161 A JPS63174161 A JP S63174161A
Authority
JP
Japan
Prior art keywords
document
information
file
format specification
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.)
Pending
Application number
JP62006859A
Other languages
Japanese (ja)
Inventor
Masaaki Nagashima
正明 長島
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 JP62006859A priority Critical patent/JPS63174161A/en
Publication of JPS63174161A publication Critical patent/JPS63174161A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To change only the information of a format specification in the change of the format specification, to change only the information of the contents of a document in the change of the contents of the document and to save a memory without providing many same information by respectively separately storing the contents of the document and the information of the format specification. CONSTITUTION:When it is decided that a control command from the keyboard 1 or the mouse 7 from a user is a document editing instruction command, the format specification information is inputted from a memory 4 and the information of the contents of the document is inputted. Then, from the information of the contents of the document, a title, a sub-title and a text part are discriminated, edited according to the format specification information and a layout thereof is displayed on a CRT 5. When it is decided that the control command is a file editing instruction command, a contents file is opened, a document file is edited by the labor of a human being and outputted to the memory 4. When the control command is decided to be a format specification file editing instruction command, a format specification file is opened, and a format specification file is edited by the labor of the human being and outputted to the memory 4 and stored.

Description

【発明の詳細な説明】 〔技術分野〕 本発明はワードプロセッサ等の記憶手段を備えた文書処
理装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to a document processing device including a storage means such as a word processor.

〔従来技術〕[Prior art]

従来この種の装置では、文書の内容の情報と書式仕様の
情報が同一ファイル内に両者が混合して記述されている
ため、文書の内容を変えずに書式仕様だけを変えて出力
したい場合、一旦その文書ファイルを読み込んで書式仕
様の変更を行い出力していた。例えば、タイトルあるい
はサブタイトル、等の文字のフォント、サイズを変更し
たり、センタリングを行ったり、あるいはアンダーライ
ンを引いたりする場合、文書ファイルを読み込んで、タ
イトルあるいはサブタイトル等のフォントを変更したり
、それらの前に空白を入れてセンタリングを行ったりア
ンダーラインを引いたりしてから出力していた。出力す
るだけならよいが、書式仕様を変更したファイルをも保
存するの情報が混合されて保存されるため、変更後の書
式仕様の情報と文書の内容の情報を記憶しなければなら
ず、記憶手段を浪費していたという欠点があった。また
逆に書式仕様が変らず文書の内容が変る場合も同様なこ
とがいえた。
Conventionally, with this type of device, information on document content and information on format specifications are mixed and written in the same file, so if you want to output the document by changing only the format specifications without changing the content, The document file was read once, the format specifications were changed, and the document was output. For example, if you want to change the font, size, centering, or underlining of characters such as titles or subtitles, you can load the document file and change the font of the title or subtitle, etc. I put a space in front of it to center it or draw an underline before outputting it. It's fine if you just want to output it, but since the information about saving the file with changed format specifications is mixed and saved, you have to remember the information about the format specifications after the change and the information about the document contents, The drawback was that it was a waste of resources. Conversely, the same thing can be said when the content of the document changes without changing the format specifications.

〔目的〕〔the purpose〕

本発明は文書の内容の情報と書式仕様の情報を別々に保
存することによって、書式仕様の変更のときは書式仕様
の情報のみを、文書の内容を変更のときは文書の内容の
情報のみを変更し、同一の情報を多数持たないようにし
、上述従来例の欠点を除去することを目的としている。
By storing document content information and format specification information separately, the present invention saves only the format specification information when the format specification is changed, and only the document content information when the document content is changed. The purpose of this invention is to eliminate the disadvantages of the above-mentioned conventional example by changing it so that it does not have a large amount of the same information.

〔実施例〕〔Example〕

本発明を説明するために文書のタイトル、サブタイトル
、本文を編集の対象とした実施例を考える。第1図から
第4図は本発明の一実施例を説明するための図で、以下
、図に従って説明する。
To explain the present invention, an example will be considered in which the title, subtitle, and main text of a document are subject to editing. FIG. 1 to FIG. 4 are diagrams for explaining one embodiment of the present invention, and the explanation will be given below according to the diagrams.

第1図は本発明の一実施例の構成を示したブロック図で
、1は文書の内容の情報や書式の情報を入力するための
キーボード、2はキーボード1より入力された文書の内
容の情報や書式仕様の情報を外部記憶するためのフロッ
ピーディスク、3はキーボード1あるいはフロッピーデ
ィスク2より入力された文書の内容の情報や書式仕様の
情報を編集したり画情報から文書を編集したりするため
のCPU、4は上記入力された文書の内容の情報や書式
仕様の情報およびCPU3により編集された文書を一時
記憶しておくためのメモリ、5はメモリ4に保存されて
いる文書の内容の情報や書式仕様の情報および編集され
た文書を表示するためのCRT、6はメモリ4に保存さ
れている編集後の文書を印刷するためのプリンタである
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, in which 1 is a keyboard for inputting document content information and format information, and 2 is document content information input from the keyboard 1. a floppy disk for externally storing information on the contents and format specifications, and 3 for editing document content information and format specification information input from the keyboard 1 or floppy disk 2, and for editing documents from image information. 4 is a memory for temporarily storing information on the content of the document inputted above, information on format specifications, and the document edited by the CPU 3; 5 is information on the content of the document stored in the memory 4; 6 is a printer for printing the edited document stored in the memory 4;

第2図は文書の内容の情報が記載されている内容ファイ
ルを編集するときのCRT5の表示例である。内容ファ
イル中にはタイトルとサブタイトル、本文とが明確に区
別できるように文書の内容の情報が保存される。図では
/*′  と〜*/′で囲まれたところをタイトル部、
−/**’と“**/′で囲まれた部分をサブタイトル
部、それ以外のところを本文部としである。また本文中
には文書の編集の際にはパラグラフの終り等、重要な情
報が含まれる場合があるので、例えば、バラグラフの終
りを検出するためにニューライン(図中ではNLと表示
)等を挿入したりする。
FIG. 2 is an example of a display on the CRT 5 when editing a content file containing information on the content of a document. Information on the content of the document is stored in the content file so that the title, subtitle, and main text can be clearly distinguished. In the figure, the part surrounded by /*' and ~*/' is the title part,
The part between -/**' and "**/' is the subtitle part, and the rest is the main text. Also, when editing a document, there are important parts such as the end of a paragraph. Since information may be included, for example, a new line (indicated as NL in the figure) may be inserted to detect the end of the bar graph.

第3図は文書の書式仕様の情報が記載されている書式仕
様ファイルを編集するときのCRT5の表示例である。
FIG. 3 is an example of a display on the CRT 5 when editing a format specification file in which document format specification information is written.

まず、文書全体に関する書式仕様を変更するのか、タイ
トル部、サブタイトル部の書式仕様を変更するのか、あ
るいは本文部の書式仕様を変更するのかを選択するため
の表示を行い(第3図a)、次にここで選択されたとこ
ろを変更するためのそれぞれの表示を行う。bは全体の
変更をする場合、Cはタイトル、サブタイトルを変更す
る場合、dは本文を変更する場合の表示例である。変更
はキーボード1あるいはマウス7によって指示される。
First, a display is displayed for selecting whether to change the format specifications for the entire document, the format specifications for the title section and subtitle section, or the format specifications for the body section (Figure 3 a). Next, each display for changing the selected part is performed. b is a display example when the entire page is changed, C is a display example when the title and subtitle are changed, and d is a display example when the main text is changed. Changes are instructed using the keyboard 1 or the mouse 7.

第4図は本実施例の動作手順を示したフローチャートで
、Slから320は各ステップを表わす。
FIG. 4 is a flowchart showing the operating procedure of this embodiment, and 320 from Sl to each step are shown.

まず、ユーザのキーボード1或いはマウス7からの制御
指令の入力を待ち(Sl)、制御指令が入力されたらそ
れが終了指令か(S2)、印刷指示指令か(S3)、文
書編集指示指令か(S4)、内容ファイル編集指示指令
か(S5)書式仕様ファイル編集指示指令か(S6)の
判断を行う。
First, we wait for the input of a control command from the user's keyboard 1 or mouse 7 (Sl), and when the control command is input, is it a termination command (S2), a print command (S3), or a document editing command (S1)? S4), it is determined whether the command is a content file editing command (S5) or a format specification file editing command (S6).

S2で終了指示指令だと判断された場合はそのまま終了
し、S3で印刷指示指令と判断された場合はプリンタ6
に印刷しくS8)、終了する。
If it is determined in S2 that it is a termination instruction command, the process ends directly, and if it is determined in S3 that it is a print instruction command, the printer 6
(S8), and the process ends.

S4で文書編集指示指令だと判断された場合は以下の操
作を行う。まず、メモリ4に保存されている書式仕様フ
ァイルから書式仕様情報を入力しくS9)、同じくメモ
リ4に保存されている内容ファイルから文書の内容の情
報を入力する(S 10)。そして文書の内容の情報か
らタイトル部、サブタイトル部、本文部の判別を行い(
811)、書式仕様情報に従って編集する(S 12)
。そして編集結果をメモリ4に出力(保存)しく513
)、またそのレイアウトをCRT5に表示する(S 1
4)。その後S1に戻り、次の制御指令の入力を待つ。
If it is determined in S4 that it is a document editing command, the following operations are performed. First, format specification information is input from the format specification file stored in the memory 4 (S9), and document content information is input from the content file also stored in the memory 4 (S10). Then, the title section, subtitle section, and body section are determined from the document content information (
811), edit according to the format specification information (S12)
. Then output (save) the editing results to memory 4.513
), and display the layout on the CRT5 (S 1
4). After that, the process returns to S1 and waits for input of the next control command.

S5で内容ファイル編集指示指令だと判断された場合は
、内容ファイルをオーブンしく515)、人手により内
容ファイルの編集を行い(S16)、メモリ4に出力(
保存)L(S17)、Slに戻る。これはエディタ機能
で、CRT5上に書式に係わらず文書の内容が表示され
ており、それをみながらオペレータが編集を行うのであ
る。S6で書式仕様ファイル編集指示指令と判断された
場合は、書式仕様ファイルをオープンしく518)、人
手により書式仕様ファイルの編集を行い(S 19)、
メモリ4に出力(保存)L(S20)、SLに戻る。S
2から86までのいずれも満たさない場合は、期待した
制御指令が入力されなかったとしてCRT5にその旨の
表示を行い(S7)、Slに戻る。
If it is determined in S5 that it is a content file editing command, the content file is opened (515), the content file is manually edited (S16), and the content file is output to the memory 4 (515).
Save) L (S17), return to Sl. This is an editor function in which the content of the document is displayed on the CRT 5 regardless of its format, and the operator edits it while looking at it. If it is determined in S6 that it is a format specification file editing command, the format specification file is opened (518), the format specification file is manually edited (S19),
Output (save) L to memory 4 (S20) and return to SL. S
If none of the conditions from 2 to 86 are satisfied, it is assumed that the expected control command has not been input, and a message to that effect is displayed on the CRT 5 (S7), and the process returns to Sl.

上述実施例では書式仕様の変更を行う対象として、タイ
トル、サブタイトル、本文の例を挙げたが、これに限っ
たわけではな(、記述する文書の内容によっては他の対
象も考慮したほうがよい場合が考えられ、例えば、表の
部分、箇条がきの部分等といったものを文書の内容の情
報の中に記述しておき、表の枠組や箇条がきの書式仕様
を書式仕様情報の中に記述するようにしてもよい。
In the above example, the title, subtitle, and main text are examples of objects for changing the format specifications, but they are not limited to these (depending on the content of the document being written, it may be better to consider other objects as well. For example, the table part, bullet point part, etc. can be described in the document content information, and the table framework and bullet point format specifications can be described in the format specification information. It's okay.

また上述従来例では、内容ファイルの中てのタイトル部
、サブタイトル部、本文部の記述を上記のように行った
が、その方法はそれぞれが明確に区別できればそれでよ
(、例えば、メモリあるいはフロッピーディスクの中で
の記述でターイトル部の文字コードの前に以下のデータ
がタイトル部であること、タイトル部の大きさが何バイ
トであること等が記述されているコントロールコードを
置くようにしてもよい。
In addition, in the conventional example described above, the title section, subtitle section, and body section of the content file were described as described above, but the method can be used as long as each can be clearly distinguished (for example, in memory or on a floppy disk. In the description inside, you may put a control code that describes that the following data is the title part, how many bytes the title part is, etc. before the character code of the title part. .

〔効果〕〔effect〕

上述したように本発明によると文書の内容の情報と書式
仕様の情報を別々に保存するので、オリジナルの文書の
他に、文書の内容あるいは書式仕様のみを変更したファ
イルを保存する場合に、同一情報を重複して多数持たな
いようにすることによってメモリの節約することが可能
になるという利点がある。また、タイトルやサブタイト
ル等の書式の変更は書式仕様ファイルの一カ所だけを変
更すればよく、作業効率の向上にも成果がある。
As described above, according to the present invention, document content information and format specification information are stored separately, so when saving a file in which only the document content or format specifications have been changed, in addition to the original document, the same file can be saved. There is an advantage that memory can be saved by not having a large number of duplicated information. In addition, changing the format of titles, subtitles, etc. only needs to be done in one place in the format specification file, which also improves work efficiency.

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

第1図は本発明の一実施例を説明するための図、第2図
は内容ファイルを編集する際のCRTへの表示例を説明
するための図、第3図は書式仕様ファイルを編集する際
のCRTへの表示例を説明するための図、第4図は本発
明の詳細な説明するためのフローチャートである。 1はキーボード、2はフロッピーディスク、3はCPU
、4はメモリ、5はCRT、6はプリンタ、7はマウス
である。
Figure 1 is a diagram for explaining an embodiment of the present invention, Figure 2 is a diagram for explaining an example of display on a CRT when editing a content file, and Figure 3 is for editing a format specification file. FIG. 4 is a flowchart for explaining the present invention in detail. 1 is the keyboard, 2 is the floppy disk, 3 is the CPU
, 4 is a memory, 5 is a CRT, 6 is a printer, and 7 is a mouse.

Claims (2)

【特許請求の範囲】[Claims] (1)文字や記号等を入力するための入力手段と、上記
入力手段より入力された文字や記号等から成る文書を記
憶しておくための第1の記憶手段と、出力すべき文書の
書式を記憶しておくための第2の記憶手段と、上記第1
の記憶手段に記憶されている文書或いは上記第2の記憶
手段に記憶された書式を変更する変更手段と、上記変更
手段により変更された文書、或いは書式を上記第1の記
憶手段或いは上記第2の記憶手段に再保存するための制
御手段とを有したことを特徴とする文書処理装置。
(1) An input means for inputting characters, symbols, etc., a first storage means for storing a document consisting of characters, symbols, etc. input from the input means, and a format of the document to be output. a second storage means for storing the above-mentioned first storage means;
a changing means for changing the document stored in the storage means or the format stored in the second storage means; and a changing means for changing the document or format stored in the storage means; 1. A document processing device comprising: a control means for re-storing data into a storage means.
(2)上記制御手段は、上記変更手段によって変更され
た情報のみをそれに対応した上記第1又は第2の記憶手
段に記憶する様、上記第1又は第2の記憶手段を制御す
ることを特徴とする特許請求の範囲第1項記載の文書処
理装置。
(2) The control means controls the first or second storage means so that only the information changed by the change means is stored in the corresponding first or second storage means. A document processing device according to claim 1.
JP62006859A 1987-01-13 1987-01-13 Document processor Pending JPS63174161A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62006859A JPS63174161A (en) 1987-01-13 1987-01-13 Document processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62006859A JPS63174161A (en) 1987-01-13 1987-01-13 Document processor

Publications (1)

Publication Number Publication Date
JPS63174161A true JPS63174161A (en) 1988-07-18

Family

ID=11649965

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62006859A Pending JPS63174161A (en) 1987-01-13 1987-01-13 Document processor

Country Status (1)

Country Link
JP (1) JPS63174161A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0240765A (en) * 1988-07-29 1990-02-09 Honda Motor Co Ltd Pouring method for sentence in editing machine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0240765A (en) * 1988-07-29 1990-02-09 Honda Motor Co Ltd Pouring method for sentence in editing machine

Similar Documents

Publication Publication Date Title
JPH0541997B2 (en)
US4924411A (en) Document processing apparatus having shading process function
JPS6290753A (en) Documentation device
EP0449322B1 (en) Text processing apparatus with formatting of text
JPS63174161A (en) Document processor
JPS5846427A (en) Document editing device
US20040019854A1 (en) Dynamically configurable page numbering system
JPH03233670A (en) Text data conversion system
JPH0470962A (en) Data processor
JPS6020233A (en) Western/japanese mixed sentence processor
JP3154790B2 (en) Optical character reader
JPS62217320A (en) List compilation processing system
JP2574301B2 (en) Document creation device
JPH03188556A (en) Automatic document preparing system
JPS5969831A (en) Device for documentation
JPH03137727A (en) Editor with program explanation file generator function
JPH01149162A (en) System for controlling syllable hyphen display and non-display
JPH02255954A (en) Word processor
JPH0635907A (en) Structurized document editor
JPS6186836A (en) Conversation system for information processor
JPH08137880A (en) Document processor
JPS61285534A (en) Index production system
JPH03263258A (en) Document edit supporting device
JPH02116963A (en) Document data processing device
JPH08314905A (en) Document generation device