JPH03156667A - Document editing processor - Google Patents

Document editing processor

Info

Publication number
JPH03156667A
JPH03156667A JP1295031A JP29503189A JPH03156667A JP H03156667 A JPH03156667 A JP H03156667A JP 1295031 A JP1295031 A JP 1295031A JP 29503189 A JP29503189 A JP 29503189A JP H03156667 A JPH03156667 A JP H03156667A
Authority
JP
Japan
Prior art keywords
character
document
heading
string
character string
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
JP1295031A
Other languages
Japanese (ja)
Inventor
Tsukasa Hasegawa
司 長谷川
Yasumasa Matsuda
松田 泰昌
Akira Nakajima
晃 中島
Masayoshi Kuroda
昌芳 黒田
Hiroshi Kogyo
光行 博志
Yutaka Sato
裕 佐藤
Koji Kimura
木村 晃司
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP1295031A priority Critical patent/JPH03156667A/en
Publication of JPH03156667A publication Critical patent/JPH03156667A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily qualify the characters by applying the instructed qualification of characters to all header character strings having the same logical positioning as a pointed header character string out of all header character strings contained in a document. CONSTITUTION:When a pointing means gives an instruction of qualification to an optional character of a header character string, a control means decides whether the character set at the position of a cursor is included within the header character string or not based on the comparison carried out between the characters set at the cursor position and the range of the header character string of a 1st storage means. Then the control means reads a hierarchical level out of a 2nd storage means when it decides that the character set at the cursor position is included in the header character string. The read-out hierarchical level is compared with all hierarchical levels stored in the 2nd storage means. Then the range of the corresponding header character string is read out to the coincident hierarchical levels, and all characters included in the range of the header character string are qualified by a character qualifying means. In such a way, the characters are easily qualified.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ワードプロセッサ、パーソナルコンビエータ
、ワークステージ璽ンなどによる文書編集処理にかかり
、特に、文字修飾を行うのに好適な文4#Ji集処理装
置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to document editing processing using a word processor, a personal combiator, a work stage seal, etc. This invention relates to a collection and processing device.

〔従来の技術〕[Conventional technology]

文書の作成1編集を行う場合に、当該文書の構成を、章
9節1項などに区分けし、階層構造とすることがある。
When creating/editing a document, the structure of the document may be divided into chapters, nine sections, and sections (1), etc., to form a hierarchical structure.

このような場合、区分けした階層に対する見出し文字列
にそれぞれ、アンダーラインや網かけを施したシ、書体
や字サイズ、色を変えることが行われている。
In such cases, the heading character strings for the divided hierarchies are underlined or shaded, and the font, font size, and color are changed.

フードプロセラ丈などの文書編集処理装置において、こ
のような場合、文字修飾手段が用いられる。
In a document editing processing device such as a food processor, a character modification means is used in such a case.

従来、このような文字修飾手段を働かせるためには1文
書作成2編集などを実行する画面において、文字修飾を
施す見出し文字列の先頭文字と末尾文字とを、カーソル
などによ#)2点指定する必要がある。
Conventionally, in order to make this type of character modification work, on the screen where 1 document creation 2 editing etc. is executed, the first character and the last character of the heading string to be modified are specified at two points using a cursor etc. There is a need to.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記従来技術は、文書を章に該当する部分2節に該当す
る部分9項に該当する部分といった単位で文書構成に分
け、同じ文書構成単位に位置付けられる部分の見出し文
字列に全て同じ文字修飾を施す場合について、配慮され
ていない。
The above-mentioned conventional technology divides a document into document structures in units such as a section corresponding to a chapter, a section corresponding to 2 sections, and a section corresponding to 9 sections, and all the heading character strings of the sections located in the same document structure unit are given the same character modification. No consideration has been given to when to apply it.

すなわち、従来の技術は、このような場合、全ての見出
し文字列に対して、先頭文字と末尾文字とをカーソルな
どによ92点指定して、文字修飾を行わなければならな
いという問題があった。
In other words, the conventional technology had a problem in that in such a case, the first character and the last character of every heading character string had to be specified at 92 points using a cursor or the like to modify the characters. .

例えば1文書が章2節2項などのように、位置付けが異
なる見出し文字列があるたび毎に、見出し文字列の先頭
文字と末尾文字とをカーソルなどによ92点指定して、
文字修飾を行わ危ければならず、手間がかかるという問
題があった。
For example, each time a document has a heading string with a different position, such as chapter 2, section 2, etc., use a cursor to specify the first and last characters of the heading string at 92 points.
There was a problem in that character modification was dangerous and time-consuming.

また、文書構成上同じ位置付けであるべき見出し文字列
に、全て同じ文字修飾を施しているか否かを確認するた
めには、該当部分を表示し、確認する操作が必要であっ
た。
Furthermore, in order to confirm whether or not all heading character strings, which should be placed in the same position in the document structure, have been given the same character modification, it is necessary to display and confirm the relevant portions.

本発明の目的は、文書中の見出し文字列に対して、文字
修飾を施す際K、簡単な操作で行える文書編集処理装置
を提供することである。
SUMMARY OF THE INVENTION An object of the present invention is to provide a document editing processing device that can perform character modification to a heading character string in a document with simple operations.

本発明の目的は、具体的には、文書中の見出し文字列に
対して、文字修飾を施す際に、見出し文字列の1点を指
定するだけで、見出し文字列の全ての文字に対して修飾
を施すことができ、さらに、該見出し文字列と文書構成
上同じ位置付けである見出し文字列に対して、−括して
、文字修飾を施すことができる文書編集処理装置を提供
することである。
Specifically, the purpose of the present invention is to modify characters in a heading string in a document by simply specifying one point in the heading string, and to modify all characters in the heading string. To provide a document editing processing device that can perform a modification, and further, can perform a character modification on a heading string having the same position in a document structure as the heading string. .

〔課題を解決するための手段〕[Means to solve the problem]

上記目的を達成するため、本発明は、 文字列や各種指示を入力する入力部と、文書データを記
憶する記憶部と、文書編集処理を行う処理部と、処理結
果を表示する表示部とを備えた文書編集処理装置におい
て、上記入力部から文書中の見出し文字列の任意の文字
を指定して文字修飾を指示するととKよシ、指定された
文字を含む見出し文字列と同じ論理的位置付けである見
出し文字列の全てに対して、指示された文字修飾を施す
機能を有している。
In order to achieve the above object, the present invention includes an input section for inputting character strings and various instructions, a storage section for storing document data, a processing section for performing document editing processing, and a display section for displaying processing results. In the document editing processing device equipped with the above-mentioned device, when an arbitrary character of a header character string in a document is specified from the input section to instruct character modification, the character is placed in the same logical position as the header character string containing the specified character. It has a function to apply specified character modification to all heading character strings.

また、本発明は、文書中の指示された文字列に対して文
字修飾を施す文字修飾手段と1文書の論理的構成要素の
区切シを示す見出し文字列の位置を示す記号と文書の論
理的位置付けを示すパターンとを記憶する第1の記憶手
段と、前記記号と前記パターンに合致する文字列とを入
力する入力手段と、文書中の前記記号を検索し、該記号
を含む見出し文字列と前記パターンとを比較し、文書の
論理的位置付けを判定する判定手段とを備えた文v!1
編集処理装置において、文書中の見出し文字列に対して
文字修飾を指示する指示手段と1文書中の全ての見出し
文字列のうち、前記指示手段によって指示された見出し
文字列と同じ論理的位置付けである見出し文字列の全て
に対して、指示された文字修飾を行うよう前記文字修飾
手段を働かせる制御手段とを備えることとする。
The present invention also provides character modification means for modifying designated character strings in a document, symbols indicating positions of heading character strings delimiting logical components of one document, and logical a first storage means for storing a pattern indicating a position; an input means for inputting the symbol and a character string matching the pattern; and a first storage means for inputting the symbol and a character string matching the pattern; A sentence v! comprising a judgment means for comparing the pattern with the pattern and judging the logical positioning of the document. 1
In the editing processing device, an instruction means for instructing character modification to a heading string in a document, and an instruction means for instructing character modification to a heading string in a document, and a pointing string in the same logical position as the heading string instructed by the instruction means among all the heading strings in one document. The present invention further includes a control means for causing the character modification means to perform specified character modification on all of a certain heading character string.

また、本発明において、好ましくは、各見出し文字列の
範囲と、その見出し文字列を含む文書構成単位の論理的
位置付けを表わす情報(例えば、1.2など)とを記憶
する第2の記憶手段を備える。
Further, in the present invention, preferably, a second storage means for storing the range of each heading character string and information (for example, 1.2, etc.) representing the logical positioning of the document constituent unit including the heading character string. Equipped with

前記第2の記憶手段は、各々、例えば、本発明の文書編
集処理装置を構成するハードウェアのデータメモリに、
文書中の各見出し文字列の範囲と、見出し文字列を含む
文書構成単位の論理的位置付けとを1単位として記憶す
る見出し管理テープルとして、設けることができる。
The second storage means each includes, for example, a data memory of hardware constituting the document editing processing device of the present invention,
It can be provided as a heading management table that stores the range of each heading character string in a document and the logical positioning of the document constituent unit including the heading string as one unit.

文書構成単位の論理的位置付けを示すパターンは、ユー
ザが任意の文字、記号などを入力して、記憶させること
によシ、登録することができる。
A pattern indicating the logical positioning of document constituent units can be registered by the user inputting arbitrary characters, symbols, etc. and storing them.

この種のパターンとしては、一般的に、「第1章」、「
第1節」2口IJ、rl、J、ra、J。
This type of pattern generally includes "Chapter 1", "
Section 1” 2 mouths IJ, rl, J, ra, J.

r(1)Jなとの文字、記号からなるパターンが考えら
れる。
A pattern consisting of letters and symbols such as r(1)J can be considered.

ユーザは、これらのパターンを予め登録しておけばよい
。また、パターンの登録は1文書の作成中であっても、
また1作成後であってもよい。
The user only needs to register these patterns in advance. Also, patterns can be registered even while creating a single document.
It may also be done after one creation.

前述したパターンを構成する文字、記号は、数字を含む
場合が多い。従って、文書中の見出し文字列とパターン
とを比較し、見出し文字列を含む文書構成単位の論理的
位置付けを記憶する第1の記憶手段や判定する判定手段
は、これらのパターンが登録された場合、例えば、「第
1章」の文字パターンが登録された場合、第の文字のコ
ードと、任意の数字のコードと、章の文字のコードとし
て認識するよう構成しておくことが好ましい。このよう
に設定すれば、例えば、第1章、第2章、第5章・・・
のように、章が続く場合でも、これらを全て入力して登
録する必要はなく、「第1章」についてのみ登録すれば
よい。
The characters and symbols that make up the above-mentioned patterns often include numbers. Therefore, when these patterns are registered, the first storage means that compares the header character strings and patterns in the document and stores the logical positioning of the document constituent unit including the header character strings, and the determination means that determines the For example, if a character pattern of "Chapter 1" is registered, it is preferable to recognize the code of the first character, an arbitrary number code, and the character code of the chapter. If you set it like this, for example, Chapter 1, Chapter 2, Chapter 5...
Even if there are consecutive chapters, such as in the following, there is no need to enter and register all of them, and only need to register "Chapter 1".

前記指示手段は1例えば、キーボードなどの入力装置お
よび中央演算装置1(CPU)によシ構成することがで
きる。
The instruction means may be composed of, for example, an input device such as a keyboard and a central processing unit 1 (CPU).

本発明は、文書編集処理装置にかかる発明であるが、ワ
ードプロセッサなどのもっばら文書の作成、Nta集を
行う装置に限らず、文書編集機能を有スルパーソナルコ
ンビ島−!、ワークステージ冒ンなどの機能の一部とし
て構成されるものを含むことはいうまでもない。
The present invention relates to a document editing processing device, but it is not limited to devices such as word processors that create documents and collect NTA, but can also be applied to personal combinations that have document editing functions. It goes without saying that this includes those configured as part of functions such as , work stage exploration, etc.

〔作用〕[Effect]

本発明は、文書を、例えば、章1節1項などのように、
階層構造状に構成する場合、それらの見出し文字列中に
、章2節2項などを表わす特別の文字、記号が繰シ返し
て用いられ、しかも、これらは、通常、それぞれの文書
構成単位の最先頭打に置かれることに着目して、なされ
たものである。
The present invention allows a document to be written as, for example, chapter 1, section 1, etc.
When configuring a hierarchical structure, special characters and symbols representing chapters, sections 2, items 2, etc. are repeatedly used in the heading strings, and these are usually used for each document constituent unit. This was done with a focus on being placed at the front of the line.

すなわち、このような文字、記号を指標とすれば、見出
し文字列の範囲と、さらには、文書中に繰返し現れる種
々の階層のレベルから、同一の階層レベルに属する文書
構成単位とを認識することができる。
In other words, if such characters and symbols are used as indicators, it is possible to recognize the range of the heading character string and furthermore, the document constituent units belonging to the same hierarchical level from the various hierarchical levels that appear repeatedly in the document. Can be done.

本発明は、このようなパターンを、文書の階層に対応さ
せる。前述の文書の論理的構成要素の区切シを示す見出
し文字列の位置を示す記号(以下、見出し記号と称す。
The present invention makes such patterns correspond to the document hierarchy. A symbol (hereinafter referred to as a heading symbol) indicating the position of a heading character string that delimits the logical components of the document.

)と文書の論理的位置付けを示すパターンとを記憶する
記憶手段と、前記見出し記号と前記パターンに合致する
文字列とを入力する入力手段とは、このための機能であ
る。
) and a pattern indicating the logical positioning of the document, and an input means for inputting the heading symbol and a character string matching the pattern are functions for this purpose.

そして、前記見出し記号と前記パターンに合致する文字
列とが入力されると、−括して、文書中の見出し文字列
の範囲と階層レベルとを検出し、前記第2の記憶手段に
記憶しておくようにする。
Then, when the heading symbol and the character string matching the pattern are input, the range and hierarchy level of the heading character string in the document are detected and stored in the second storage means. Make sure to keep it.

見出し文字列の範囲は、前記見出し記号を先頭文字とし
、末尾文字は、パラグラフの区切シ記号、例えば、改行
、改頁などである。また1階層レベルは、見出し文字列
の範囲に前記パターンがあるか否かの判定によって検出
する。
In the range of the heading character string, the heading symbol is the first character, and the last character is a paragraph delimiter symbol, such as a line break or a page break. Further, the first hierarchical level is detected by determining whether the pattern is present in the range of the heading character string.

一方、前記指示手段により、見出し文字列の任意の文字
に対して、文字修飾の指示が行なわれると、前記制御手
段は、カーソル位置の文字が見出し文字列の範囲に含ま
れるか否かを、カーソル位置の文字位置と前記第1の記
憶手段の見出し文字列の範囲との比較によって判定する
。前記指示手段による指示とは、例えば、文字修飾を施
す文字にカーソルを位置付け、アンダーライン、網かけ
などのファンクシ璽ンキーを入力することである。
On the other hand, when the instruction means instructs character modification to an arbitrary character of the heading character string, the control means determines whether or not the character at the cursor position is included in the range of the heading character string. The determination is made by comparing the character position at the cursor position with the range of the heading character string in the first storage means. The instruction by the instruction means includes, for example, positioning the cursor on a character to be modified and inputting a function key such as underlining or shading.

さらに、前記制御手段は、・1、見出し文字列であると
判定した場合は、階層レベルを前記第2の記憶手段から
読み出す。そして、読み出した階層レベルと、前記第2
の記憶手段に記憶している階層レベルとをすべて比較し
、一致するものに対しては、対応する見出しの文字列の
範囲を読み出し、見出し文字列の範囲の全て文字に対し
て、前記文字修飾手段を働かせて文字修飾を施す。
Further, the control means: 1. If it is determined that the character string is a heading character string, the control means reads the hierarchical level from the second storage means. Then, the read hierarchy level and the second
Compare all hierarchical levels stored in the storage means of , and if there is a match, read out the range of character strings of the corresponding heading, and apply the character modification to all characters in the range of the heading string. Employ special means to modify characters.

従って、ユーザは、見出し文字列に対しては、どの文字
でも1点指定すれば、該見出し文字列の全ての文字に文
字修飾を施すことができ、さらに、該見出し文字列と同
じ階層レベルの見出し文字列にも、同じ文字修飾を施す
ことができる。
Therefore, by specifying one point for any character in a heading string, the user can modify all characters in the heading string. The same character modification can also be applied to the heading string.

これによシ、ユーザが行うべき操作が大幅に少なくなシ
、使い勝手が向上する。
This greatly reduces the number of operations the user has to perform, improving usability.

〔実施例〕〔Example〕

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

第5図は、本発明の一実施例の文書編集処理装置のシス
テム構成を示した図である。
FIG. 5 is a diagram showing the system configuration of a document editing processing device according to an embodiment of the present invention.

第5図において、本システムは、文字の入力。In FIG. 5, this system inputs characters.

騙集、記憶、印刷などの指示を行う入力装置502と、
入力装置502からの入力や指示に基づき、入力1編集
、記憶、印刷の制御を行うCP U 501と、CPO
501の制御プログラムを記憶するプログラムメモリ5
04と、文書データを格納するデータメモリ506と、
文書を表示する表示装置503と、補助記憶装置505
と、文書データを印刷する出力装置507とを備えて構
成される。
an input device 502 for instructing trick collection, memorization, printing, etc.;
A CPU 501 that controls input 1 editing, storage, and printing based on input and instructions from an input device 502;
Program memory 5 for storing 501 control programs
04, a data memory 506 for storing document data,
A display device 503 that displays documents and an auxiliary storage device 505
and an output device 507 that prints document data.

第1図(a)〜(d)は、本実施例で必要とするデータ
テーブルの一例である。
FIGS. 1(a) to 1(d) are examples of data tables required in this embodiment.

第1図(a)は1文書中の見出し文字列の範囲と階層レ
ベルとを記憶する見出し管理テーブルを示す。このテー
ブルは、文書を1例えば、章1節。
FIG. 1(a) shows a heading management table that stores the range and hierarchical level of heading character strings in one document. This table lists one document, for example, one chapter and one section.

項などのようK、階層構造上に構成する場合、各構成単
位の見出し文字列の先頭文字データのあるアドレス10
1と、末尾文字データのあるアドレス102と、階層レ
ベル情報10sとを1単位として記憶する。
When configuring in a hierarchical structure such as a section, address 10 where the first character data of the heading character string of each constituent unit is located.
1, the address 102 with the last character data, and the hierarchical level information 10s are stored as one unit.

第1図(b)は1文書を構成する文字データを文書の先
頭から記憶する文字データテーブルである。このテーブ
ルは、文字コード104と文字修飾情報105とを1単
位として記憶する。
FIG. 1(b) is a character data table that stores character data constituting one document from the beginning of the document. This table stores character codes 104 and character modification information 105 as one unit.

第1図(o)は、見出し文字列の先頭位置を意味する文
字コードである見出し記号106を記憶する見出し記号
テーブルである。
FIG. 1(o) is a heading symbol table that stores a heading symbol 106, which is a character code indicating the beginning position of a heading character string.

第1図(d)は、階層レベル107と階層レベルを表わ
す文字パターン108とを1単位とじてけることができ
る。なお、補助記憶装置505にも保存することができ
る。
In FIG. 1(d), the hierarchical level 107 and the character pattern 108 representing the hierarchical level can be combined into one unit. Note that it can also be saved in the auxiliary storage device 505.

次に、第2図と第3図を用いて、第1図ra)に示した
見出し管理テーブルへのデータの書き込みについて説明
する。
Next, using FIGS. 2 and 3, writing of data to the heading management table shown in FIG. 1 (ra) will be explained.

まず、CPO501は、文字データテーブルから文字デ
ータを読み出すCステップ202)。但し、予め、CP
O501は、読み出す文字データがあるか否かを判定し
くステップ201)、あれば、ステップ202の処理を
行い、なければ終了する。
First, the CPO 501 reads character data from the character data table (C step 202). However, in advance, CP
O501 determines whether or not there is character data to be read (step 201); if so, the process of step 202 is performed; if not, the process ends.

次に、CPU501は、読み出した文字データの文字コ
ードと、見出し記号106とが一致するか否かを判定し
、Cステップ205)一致すれば、ステップ204の処
理を行い、一致しなければ。
Next, the CPU 501 determines whether or not the character code of the read character data matches the heading symbol 106. If they match (C step 205), the process of step 204 is performed; if they do not match, the CPU 501 performs the process of step 204;

ステップ201の処理を行う。The process of step 201 is performed.

ステップ204の処理では、CPO501は、ステップ
202で読み出した文字データの文字データテーブル上
のアドレスを、見出し管理テーブルの先頭文字アドレス
101に書き込む。
In the process of step 204, the CPO 501 writes the address on the character data table of the character data read out in step 202 to the first character address 101 of the heading management table.

次に、CPO501は、見出し文字列の末尾文字を判定
するため、ステップ202で読み出した文字データの次
の文字データから、逐次、読み出して判定する。ステッ
プ206では、読み出した文字データの文字コードとパ
ラグラフの区切シ記号の文字コードとが一致するか否が
、あるいは、読み出した文字データの文字コードが文書
末尾の文字データであるか否かを判定し、一致するが文
書末尾の文字データであれば、ステップ207の処理を
行い、一致せず、かつ、文書末尾の文字でもなければ、
ステップ205で、次の文字データを読み出す処理を行
う。
Next, in order to determine the last character of the heading character string, the CPO 501 sequentially reads and determines the character data following the character data read in step 202. In step 206, it is determined whether the character code of the read character data matches the character code of the paragraph delimiter, or whether the character code of the read character data is the character data at the end of the document. However, if there is a match but the character data is at the end of the document, the process of step 207 is performed.
In step 205, the next character data is read out.

ここで、パラグラフの区切シ記号の文字コードとは、改
行や改頁の文字コードである。
Here, the character code of the paragraph delimiter symbol is the character code of line feed or page feed.

ステップ207の処理では、CPO501は、ステップ
206で判定した文字データの文字データテーブル上の
アドレスを見出し管理テーブルの末尾文字アドレス10
2に書き込む。
In the process of step 207, the CPO 501 converts the address on the character data table of the character data determined in step 206 to the last character address 10 of the heading management table.
Write in 2.

次に、CPU501は、ステップ204およびステップ
205で書き込んだ先頭文字アドレス101と末尾文字
アドレス102とで示される範囲の文字列の階層レベル
、すなわち、見出し文字列の階層レベルを判定するCス
テップ208)。
Next, the CPU 501 determines the hierarchy level of the character string in the range indicated by the first character address 101 and the last character address 102 written in steps 204 and 205, that is, the hierarchy level of the heading character string (C step 208). .

この判定は、例えば、第3図に示す70−チャートによ
シ行う。
This determination is made, for example, using the 70-chart shown in FIG.

まず、CPU501は、パターンテーブルから階層レベ
ルを表わす文字パターン108を読み出す(ステップ3
01)。ついで、読み出した文字パターン10Bと見出
し文字列とを比較する(ステップ302)。ここで、両
者が一致すれば、ステップ305の処理を行い、一致し
なければ、ステップ301の処理を行う。
First, the CPU 501 reads out the character pattern 108 representing the hierarchical level from the pattern table (step 3
01). Next, the read character pattern 10B and the heading character string are compared (step 302). Here, if the two match, the process of step 305 is performed, and if they do not match, the process of step 301 is performed.

ステップ303の処理では、CPU501は。In the process of step 303, the CPU 501.

ステップ!102で読み出した文字パターン108に対
応する階層レベル107を、見出し管理テーブルの階層
レベル105に書き込む。
Step! The hierarchy level 107 corresponding to the character pattern 108 read out in step 102 is written to the hierarchy level 105 of the heading management table.

次に、本実施例の見出し文字列への文字修飾処理につい
て、第4図の70−チャートを用いて説明する。
Next, the character modification process for the heading character string in this embodiment will be explained using chart 70 in FIG. 4.

見出し文字列への文字修飾の指示は、入力装置502よ
シ行われる。これを受けて、CPU5(Nは、表示装置
503の画面上に表示しているカーソルが位置する画面
上の座標と同じ座標の文字データのアドレスを検出し、
これを−時記憶する。
The input device 502 instructs the character modification to the heading character string. In response to this, the CPU 5 (N) detects the address of the character data at the same coordinates as the coordinates on the screen where the cursor displayed on the screen of the display device 503 is located,
Memorize this for - hours.

また、同時に指示された修飾情報(以下、修飾情報Aと
いう)も記憶する。
It also stores modification information instructed at the same time (hereinafter referred to as modification information A).

第4図において、tず、CPU501は、見出し管理テ
ーブルから、先頭文字アドレス101と末尾文字アドレ
ス102とを読み出す(ステップ401)。
In FIG. 4, the CPU 501 first reads the first character address 101 and the last character address 102 from the heading management table (step 401).

次に、CPO501は、呵記−時記憶した文字データア
ドレスが、ステップ401で読み出したアドレスの範囲
にあるか否かを判定する(ステップ402)。そして、
範囲内にあれば、ステップ403の処理を行い、範囲内
になければ、処理を終了する。ステップ403では、見
出し管理テーブルから、該当する階層レベル103(以
下、階層レベル情報Aという)を読み出して、−時記憶
する。以降、CPU501は、見出し管理テーブルの先
頭レコードから末尾レコードまで、次の処理を行なう。
Next, the CPO 501 determines whether the character data address stored at the time of writing is within the range of the address read out in step 401 (step 402). and,
If it is within the range, the process of step 403 is performed, and if it is not within the range, the process is ended. In step 403, the corresponding hierarchy level 103 (hereinafter referred to as hierarchy level information A) is read out from the heading management table and stored at -. Thereafter, the CPU 501 performs the following processing from the first record to the last record of the heading management table.

まず、CPU501は、ステップ404f、先頭文字ア
ドレス101.末尾文字アドレス102および階層レベ
ル103を読み出し、ステップ405で、読み出した階
層レベル105と前記階層レベル情報Aとが一致するか
否かを判定する。
First, in step 404f, the CPU 501 executes the first character address 101. The end character address 102 and the hierarchical level 103 are read out, and in step 405 it is determined whether the read hierarchical level 105 and the hierarchical level information A match.

この判定において、一致すれば、ステップ406の処理
を行ない、一致しなければ、ステップ407の処理を行
なう。
In this determination, if they match, the process of step 406 is performed; if they do not match, the process of step 407 is performed.

ステップ404”t’は、CPO501は、ステップ4
04で読み出したアドレスの範囲内に該当する文字デー
タの修飾情報105に、前記修飾情報A′t−書き込む
Step 404"t' is the step 4
The modification information A't- is written into the modification information 105 of the character data corresponding to the address range read in step 04.

ステップ407では、CPt1501は、読み出すべき
見出し管理テーブルのデータがあるか否かを判定する。
In step 407, the CPt 1501 determines whether there is data in the heading management table to be read.

ここで、あれば、ステップ404の処理を行い、なけれ
ば処理を終了する。
Here, if there is, the process of step 404 is performed; if not, the process ends.

このようにして、修飾情報が#き込まれた後は、表示袋
@5osos+面には1文字データテーブルの文字デー
タが読み出されて表示される。文字を表示する際、表示
袋@503は、各文字データの修飾情報に従って、アン
ダーラインや、網かけ。
After the modification information has been input in this way, the character data of the one-character data table is read out and displayed on the display bag @5osos+ side. When displaying characters, the display bag @503 underlines or shades them according to the modification information of each character data.

書体1字サイズ、色などを設定して1表示する。Display one font by setting the font size, color, etc.

以上によシ、見出し文字列のどの文字に修飾指示をして
も、その文字を含む見出し文字列の全ての文字に文字修
飾を施すことができ、しかも、同時に、該見出し文字列
と同じ階層レベルである見出し文字列にも文字修飾を施
すことができる。
Based on the above, no matter which character in the heading string is specified for modification, all characters in the heading string including that character can be modified, and at the same time, the same level as the heading string. Character modification can also be applied to the heading string that is the level.

なお、本実施例において、前記見出し記号に対しては、
文字修飾を行わないようにしてもよい。
In this example, for the heading symbol,
Character modification may not be performed.

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

以上説明したように本発明によれば、文書を章に該当す
る部分1節に該当する部分9項に該当する部分と行った
単位で文書構成に分け、各文書構成単位の見出し文字列
に対して文字修飾を施す場合に、見出し文字列の1点を
指定するだけで、見出し文字列の全ての文字に対して修
飾を施すことができ、しかも、同時に、該見出し文字列
と同じ階層レベルである見出し文字列に対して、−括し
て、文字修飾が施すことができる。これによシ、同じ階
層の見出し文字列に同じ文字修飾が施されているか否か
を確認する必要もない。
As explained above, according to the present invention, a document is divided into document structures in units of a section corresponding to a chapter, a section corresponding to 1 section, a section corresponding to 9 sections, and a heading character string of each document structure unit. When modifying characters by specifying one point in the heading string, all characters in the heading string can be modified, and at the same time, all characters in the heading string can be modified at the same hierarchical level as the heading string. Character modification can be applied to a certain heading string by placing it in - brackets. Thereby, there is no need to check whether the same character modification is applied to the heading character strings in the same hierarchy.

従って1本発明は、文書中の見出し文字列に対して、文
字修飾を施す際に、簡単な操作で行うことができるとい
う効果がある。
Therefore, one advantage of the present invention is that character modification can be performed with a simple operation to a heading character string in a document.

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

第1図は本実施例で必要とするデータテーブルの一例を
示す説明図、第2図は見出し管理テーブルへデータを書
き込む処理の70−チャート、第3図は見出し文字列の
階層のレベルを判定する処理の70−チャート、第4図
は見出し文字列の修飾情報を書き込む処理の70−チャ
ート、第5図は本実施例のシステム構成図である。 101・・・先頭文字アドレス、102・・・末尾文字
アドレス、103・・・階層レベル、104・・・文字
コード、105・・・修飾情報、106・・・見出し6
号、107・・・階層レベル、108・・・階層レベル
を表わす文字パターン、501・・・CPU、502・
・・入力装置、503・・・表示装置、504・・・プ
ログラムメモ!J、505・・・抽助記tI!装置、5
06・・・データメモリ、 507・・・出力装置。
Fig. 1 is an explanatory diagram showing an example of a data table required in this embodiment, Fig. 2 is a 70-chart of the process of writing data to the heading management table, and Fig. 3 is a determination of the hierarchical level of the heading character string. FIG. 4 is a 70-chart of the process of writing modification information for a heading character string, and FIG. 5 is a system configuration diagram of this embodiment. 101... First character address, 102... Last character address, 103... Hierarchical level, 104... Character code, 105... Modification information, 106... Heading 6
No., 107... Hierarchical level, 108... Character pattern representing the hierarchical level, 501... CPU, 502...
...Input device, 503...Display device, 504...Program memo! J, 505...Drawing note tI! device, 5
06...Data memory, 507...Output device.

Claims (1)

【特許請求の範囲】 1、文書中の指示された文字列に対して文字修飾を施す
文字修飾手段と、文字の論理的構成要素の区切りを示す
見出し文字列の位置を示す記号と文書の論理的位置付け
を示すパターンとを記憶する記憶手段と、前記記号と前
記パターンに合致する文字列とを入力する入力手段と、
文書中の前記記号を検索し、該記号を含む見出し文字列
と前記パターンとを比較し、文書の論理的位置付けを判
定する判定手段とを備えた文書編集処理装置において、 文書中の見出し文字列に対して文字修飾を指示する指示
手段と、 文書中の全ての見出し文字列のうち、前記指示手段によ
って指示された見出し文字列と同じ論理的位置付けであ
る見出し文字列の全てに対して、指示された文字修飾を
行うよう前記文字修飾手段を働かせる制御手段とを備え
ることを特徴とする文書編集処理装置。 2、文字列や各種指示を入力する入力部と、文書データ
を記憶する記憶部と、文書編集処理を行う処理部と、処
理結果を表示する表示部とを備えた文書編集処理装置に
おいて、 上記入力部から文書中の見出し文字列の任意の文字を指
定して文字修飾を指示することにより、指定された文字
を含む見出し文字列と同じ論理的位置付けである見出し
文字列の全てに対して、指示された文字修飾を施す機能
を有することを特徴とする文書編集処理装置。
[Scope of Claims] 1. Character modification means for modifying specified character strings in a document, symbols indicating positions of heading character strings delimiting logical constituent elements of characters, and logic of the document a storage means for storing a pattern indicating target positioning; an input means for inputting the symbol and a character string matching the pattern;
A document editing processing device comprising: a determination unit that searches for the symbol in a document, compares a headline character string including the symbol with the pattern, and determines the logical positioning of the document; an instruction means for instructing character modification for a document; and an instruction means for instructing character modification for all heading strings in the document that have the same logical position as the heading string indicated by the instruction means. and control means for operating the character modification means so as to perform character modification according to the present invention. 2. In a document editing processing device comprising an input section for inputting character strings and various instructions, a storage section for storing document data, a processing section for performing document editing processing, and a display section for displaying processing results, the above-mentioned By specifying any character in the heading string in the document from the input section and instructing character modification, all heading strings that are in the same logical position as the heading string containing the specified character, A document editing processing device characterized by having a function of applying specified character modification.
JP1295031A 1989-11-15 1989-11-15 Document editing processor Pending JPH03156667A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1295031A JPH03156667A (en) 1989-11-15 1989-11-15 Document editing processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1295031A JPH03156667A (en) 1989-11-15 1989-11-15 Document editing processor

Publications (1)

Publication Number Publication Date
JPH03156667A true JPH03156667A (en) 1991-07-04

Family

ID=17815427

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1295031A Pending JPH03156667A (en) 1989-11-15 1989-11-15 Document editing processor

Country Status (1)

Country Link
JP (1) JPH03156667A (en)

Similar Documents

Publication Publication Date Title
JPS6049425A (en) Display system for sentence processor
JPH03156667A (en) Document editing processor
JP2786260B2 (en) Kana-Kanji conversion device
JPH0452859A (en) Character processor
JPH03129461A (en) Document edit processor
JP2561000B2 (en) String output method
JP2504867B2 (en) Display method in text processing device
JPH11203279A (en) Kana-kanji conversion device and method and storage medium
JP2713942B2 (en) Kana-Kanji conversion device
JPH04332074A (en) Method and device for processing character
JPH0721189A (en) Translation assisting system
JPH05135006A (en) Method and device for processing character
JPH05173732A (en) Printing controller
JPH02257260A (en) Document editing processor
JPH0619882A (en) Method and device for processing character
JPH04332073A (en) Method and device for processing character
JPH05307545A (en) Document preparing device
JPS60221865A (en) Document processor
JPH06325034A (en) Information processor
JPH0273455A (en) Character processing system
JPH08329052A (en) Reading and notation converting method
JPH0628062B2 (en) Character processing apparatus and method
JPH0444160A (en) Document processor
JPH03192464A (en) Document preparing device
JPS6218596A (en) Working area display system