JPH0573545A - Document editing device - Google Patents
Document editing deviceInfo
- Publication number
- JPH0573545A JPH0573545A JP3231756A JP23175691A JPH0573545A JP H0573545 A JPH0573545 A JP H0573545A JP 3231756 A JP3231756 A JP 3231756A JP 23175691 A JP23175691 A JP 23175691A JP H0573545 A JPH0573545 A JP H0573545A
- Authority
- JP
- Japan
- Prior art keywords
- management table
- primitive
- line
- page
- section
- 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
Links
Landscapes
- Document Processing Apparatus (AREA)
Abstract
(57)【要約】
【目的】 日本語の文章編集装置において、文書作成能
力、処理効率及び操作性を向上させる。
【構成】 文字、図形、画像及び、編集制御データのそ
れぞれを所定のデータフォーマットに変換し、それらの
各変換データをプリミティブとして記憶するプリミティ
ブ記憶部5と、各プリミティブを階層的に文章の各行ご
とに管理する行管理テーブル6,ページ管理テーブル
7,節管理テーブル8,章管理テーブル9、及び文書管
理テーブル10と、上記プリミティブ記憶部5、及び上記
各管理テーブル類を作成、参照して文章整形する編集実
行部2を備え、領域プリミティブに座標と、その領域の
下層への透過、不透過の属性を設ける。
(57) [Summary] [Purpose] To improve document creation ability, processing efficiency, and operability in a Japanese text editing device. [Structure] A primitive storage unit 5 that converts each of characters, figures, images, and edit control data into a predetermined data format and stores each of the converted data as a primitive, and each primitive is hierarchically arranged for each line of a sentence. The line management table 6, the page management table 7, the section management table 8, the chapter management table 9, and the document management table 10, which are managed by the above, the primitive storage unit 5 and the above management tables are created and referred to and the text is formatted. The area execution unit 2 is provided with the coordinates and the attributes of transparent and opaque to the lower layer of the area.
Description
【0001】[0001]
【産業上の利用分野】本発明は、日本語の文書の表現力
及び文章整形の処理効率が大きく向上する文章編集装置
に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a text editing apparatus which greatly improves the expressiveness of Japanese documents and the processing efficiency of text shaping.
【0002】[0002]
【従来の技術】従来から日本語DTP(Desk Top Publis
hing)、日本語WP(Word Processor)等の文章編集装置
は、日本語文章を作成し印字する優れた機能を有すると
ころから極めて広く用いられており、近年は、その本来
の機能のほかに罫線編集機能、図形編集機能あるいは画
像編集機能を有するものが多くなってきている。ところ
が、従来の文章編集装置における上述のような機能は、
枠あけのために枠領域を準備して、その枠領域に他で作
成した画像、図形、罫線等の各種データを単に貼り込み
(カットペースト)するものが多かった。2. Description of the Related Art Conventionally, Japanese DTP (Desk Top Publis
Text editing devices such as hing) and Japanese WP (Word Processor) have been widely used because they have an excellent function of creating and printing Japanese text. In recent years, in addition to their original functions, ruled lines are also used. Many have an editing function, a graphic editing function, or an image editing function. However, the above-mentioned function in the conventional text editing device is
Prepare a frame area for frame opening, and simply paste various data such as images, graphics, ruled lines, etc. created elsewhere in the frame area
There were many things to do (cut paste).
【0003】[0003]
【発明が解決しようとする課題】したがって、文書は表
現力に乏しく操作性も悪い問題点を有しており、それを
排除して文書の表現力を豊かなものにするには、同一の
ページ中にいくつかの図形、画像、あるいは表等を混在
させ、しかも、それら図形、画像、あるいは表等が、そ
れぞれ、独立して領域下層との透過、不透過機能、領域
内への文字の流れ込みの禁止または許可の制御を可能に
する必要がある。Therefore, a document has a problem that the expressiveness is poor and the operability is poor. To eliminate the problem and enhance the expressiveness of the document, the same page is used. Some figures, images, tables, etc. are mixed in, and these figures, images, tables, etc. are independently transparent and opaque with the lower layer of the area, and characters flow into the area. It is necessary to enable the prohibition or control of permission.
【0004】本発明は上述に鑑みて、文書の表現力に富
み操作性も向上させた文書編集装置の提供を目的とす
る。In view of the above, it is an object of the present invention to provide a document editing apparatus which is rich in the expressiveness of a document and has improved operability.
【0005】[0005]
【課題を解決するための手段】本発明は、入力された文
字、図形、画像及び、編集制御データのそれぞれを所定
のデータフォーマットに変換し、その変換データをプリ
ミティブとして記憶するプリミティブ記憶部と、各プリ
ミティブを文章の各行ごとに管理する行管理テーブル
と、該行管理テーブルを管理するページ管理テーブル
と、該ページ管理テーブルを管理する節管理テーブル
と、該節管理テーブルを管理する章管理テーブルと、該
章管理テーブルを管理する文書管理テーブルと、上記プ
リミティブ記憶部、及び上記各管理テーブル類を作成、
参照して文章整形する編集実行部と、該編集実行部で作
成した文章整形出力の表示手段とを備え、領域プリミテ
ィブに矩形領域の座標と、該矩形領域の下層に対する透
過、不透過及び枠の属性を設けて、画像、図形、罫線、
文字等の各データを束縛させたことを特徴とする。According to the present invention, there is provided a primitive storage unit for converting each of input characters, figures, images and edit control data into a predetermined data format and storing the converted data as a primitive. A line management table that manages each primitive for each line of a sentence, a page management table that manages the line management table, a section management table that manages the page management table, and a chapter management table that manages the section management table. A document management table for managing the chapter management table, the primitive storage section, and the management tables
An editing execution unit that references and shapes the text, and a display unit that displays the text shaping output created by the editing execution unit are provided, and the coordinates of the rectangular area in the area primitive, and the transparency, opacity, and the frame of the lower layer of the rectangular area. By setting attributes, images, figures, ruled lines,
Characterized by binding each data such as characters.
【0006】[0006]
【作用】本発明によれば、領域プリミティブを任意の位
置に移動すれば、元の表や、図形や画像等を移動先に完
全に再構成でき、しかも透過、不透過、または枠の属性
変更するだけで領域プリミティブで定義された、領域内
の下層のテキスト、図形、画像等を透過または不透過に
したり、あるいは領域内への文字の流れ込みが禁止さ
れ、または許可され、これによって文書の表現力に富み
操作性も向上し、高い文書編集装置を提供できる。According to the present invention, if the area primitive is moved to an arbitrary position, the original table, figures, images, etc. can be completely reconstructed at the destination, and the attributes of the transparent, opaque, or frame are changed. Just make it transparent or opaque to the lower layer text, graphics, images, etc. defined in the area primitive, or prohibit or allow the flow of characters into the area, which allows the representation of the document. It is rich in power and improved in operability, so that a high document editing device can be provided.
【0007】[0007]
【実施例】図1は本発明の一実施例の文章編集装置にお
ける機能ブロック図であり、図1において1は文字、図
形、画像を入力し、または編集指示のための編集制御デ
ータを入力する入力手段、2は入力手段1からの入力に
対して所定の編集を行う編集実行部、3は編集実行部2
の編集結果の表示手段、4は編集実行部2からのメモリ
の使用、開放の要求を管理するメモリー管理部、5は入
力された文字、図形、画像、編集制御データを編集実行
部2が所定のフォーマットに変形し、その変形されたデ
ータを記憶するプリミティブ記憶部、6は該プリミティ
ブ記憶部5に記憶されている文字、図形、画像、編集制
御データを文章の各行ごとに管理する行管理ブロックを
集めた行管理テーブル、7は前記、行管理ブロックをペ
ージごとに管理する、ページ管理ブロックを集めたペー
ジ管理テーブル、8は前記、ページ管理ブロックを節ご
とに管理する、節管理ブロックを集めた節管理テーブ
ル、9は前記、節管理ブロックを章ごとに管理する節管
理ブロックを集めた章管理テーブル、10は該章管理テー
ブル9の章管理ブロックを管理する文書管理テーブルで
ある。DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a functional block diagram of a text editing apparatus according to an embodiment of the present invention. In FIG. 1, numeral 1 is a character, a figure, an image, or editing control data for editing instructions. The input means 2 is an edit execution unit for performing a predetermined edit in response to the input from the input means 1, and the edit execution unit 2 is
Means for displaying the editing result, 4 is a memory management section for managing the use of the memory from the editing execution section 2, and a request for opening the memory, and 5 is the editing execution section 2 that specifies the input characters, figures, images, and editing control data. Is a primitive storage unit for storing the modified data in the above format, and 6 is a line management block for managing the characters, figures, images, and edit control data stored in the primitive storage unit 5 for each line of a sentence. A row management table for collecting page management blocks for each page, a page management table for collecting page management blocks for each page, and a section management block for managing page management blocks for each section A section management table, 9 is a chapter management table that collects section management blocks for managing the section management blocks for each chapter, and 10 is a chapter management block of the chapter management table 9. It is a document management table for managing the click.
【0008】図2は、上記図1の文書編集装置を構成す
るブロック回路図であり、図2において11はキーボー
ド、12は表示手段3としてのCRT、13はCPU、14は
RAM、15はROMで、入力手段1はキーボード11によ
り、また、プリミティブ記憶部5,行管理テーブル6,
ページ管理テーブル7,節管理テーブル8,章管理テー
ブル9,及び文書管理テーブル10はRAM14により、さ
らに、編集実行部2,メモリー管理部4はCPU13がR
OM15、及びRAM14とデータを授受しながら、ROM
15に記憶されているプログラムを実行させることにより
実現でき、表示手段3は例えばCRT12を用いることが
できる。FIG. 2 is a block circuit diagram of the document editing apparatus shown in FIG. 1. In FIG. 2, 11 is a keyboard, 12 is a CRT as the display means 3, 13 is a CPU, 14 is a RAM, and 15 is a ROM. Then, the input unit 1 uses the keyboard 11 and also the primitive storage unit 5, line management table 6,
The page management table 7, the section management table 8, the chapter management table 9, and the document management table 10 are stored in the RAM 14, and the edit execution unit 2 and the memory management unit 4 are stored in the CPU 13 by the R.
ROM while exchanging data with OM15 and RAM14
This can be realized by executing the program stored in 15, and the display means 3 can use a CRT 12, for example.
【0009】プリミティブには図3ないし図7に示すよ
うな、テキスト(文字)、図形、画像、罫線、領域のプリ
ミティブがあり、これらはプリミティブ記憶部5に記憶
される。Primitives include text (character), figure, image, ruled line, and area primitives as shown in FIGS. 3 to 7, and these are stored in the primitive storage unit 5.
【0010】まず、図3はテキストプリミティブの構成
を示しており、16は同一行につながる次のプリミティブ
へのポインター、17はプリミティブの種類を示す文字、
図形、画像、罫線、領域などの表示である。また、18は
同一行の次のプリミティブとの距離を示す文字送り量、
19は文字の網種、強調、文字サイズ、回転を表す文字修
飾情報、20は漢字、またはカナコード番号を表す漢字/
カナコード部である。First, FIG. 3 shows the structure of a text primitive. 16 is a pointer to the next primitive connected to the same line, 17 is a character indicating the kind of primitive,
Display of figures, images, ruled lines, areas, etc. In addition, 18 is the character feed amount that indicates the distance to the next primitive on the same line,
19 is the character modification information that indicates the halftone type, emphasis, character size, and rotation of the character, and 20 is the kanji or kanji code that represents the kana code number.
This is the Kana code section.
【0011】図4は罫線プリミティブの構成を示し、21
は領域枠の左端からの距離を示す相対X座標、22は領域
枠の上端からの縦方向の距離を示す相対Y座標、23は罫
線の左、右、上または下の方向を表し、24は相対X,Y
座標値からの長さを表しており、たとえば、現在の相対
X,Y座標(罫線の視点座標)が(X0,Y0)とすると、
罫線長が1のとき、罫線の終点座標は方向が左であれば
(X0−1,Y0)、方向が下であれば(X0,Y0+1)
となる。FIG. 4 shows the structure of ruled line primitives.
Is a relative X coordinate that indicates the distance from the left edge of the area frame, 22 is a relative Y coordinate that indicates the vertical distance from the upper edge of the area frame, 23 is the left, right, up, or down direction of the ruled line, and 24 is Relative X, Y
It represents the length from the coordinate value. For example, if the current relative X, Y coordinates (viewpoint coordinates of the ruled line) are (X0, Y0),
If the ruled line length is 1 and the direction of the ruled line end point is left
(X0-1, Y0), if the direction is down (X0, Y0 + 1)
Becomes
【0012】図5は矩形領域を確保するための領域プリ
ミティブを示し、前述、図4の罫線プリミティブ、後
述、図6の画像プリミティブ、同じく図7の図形プリミ
ティブが、この領域プリミティブに接続された行管理ブ
ロックにより管理される。FIG. 5 shows an area primitive for securing a rectangular area. The ruled line primitive shown in FIG. 4, the image primitive shown in FIG. 6, which will be described later, and the graphic primitive shown in FIG. 7 are connected to this area primitive. It is managed by the management block.
【0013】Xmax25はカレントポイントを左上角とす
る矩形領域の横方向長さであり、Ymax26は縦方向の長
さである。また、27は、この矩形領域における行の管理
をする行管理ブロックへのポインターである。Xmax25 is the horizontal length of the rectangular area whose upper left corner is the current point, and Ymax26 is the vertical length. Reference numeral 27 is a pointer to a row management block that manages rows in this rectangular area.
【0014】図6は画像プリミティブの構成を示してお
り、Xmax28は画像領域の横幅、Ymax29は同じく縦幅を
示すものである。画像コマンド30は画像に対する、例え
ばディザ化、強調などの指示であり、画像データへのリ
ンク31は画像データの実態に対するポインターである。FIG. 6 shows the structure of an image primitive. Xmax28 indicates the width of the image area, and Ymax29 indicates the height thereof. The image command 30 is an instruction for an image, such as dithering or emphasis, and the link 31 to the image data is a pointer to the actual state of the image data.
【0015】図7は図形プリミティブの構成を示してお
り、図形コマンド32は描画図形の、例えば現在位置の移
動、円、楕円、線等の指示である。図形パラメータ33は
前記、図形コマンド32に対するパラメータを表示し、例
えば円の場合は半径と角度、楕円の場合は長径と短径及
び角度等が示される。FIG. 7 shows the structure of a graphic primitive. The graphic command 32 is an instruction to move a drawing graphic, for example, to move the current position, a circle, an ellipse, or a line. The figure parameter 33 displays the parameters for the figure command 32. For example, in the case of a circle, the radius and the angle are shown, and in the case of an ellipse, the major axis, the minor axis and the angle are shown.
【0016】図8は行管理テーブル6に記憶される行管
理ブロックの構成を示しており、次ブロックリンク34は
次の行管理ブロックへのポインター、前ブロックリンク
35は前の行管理ブロックへのポインターであり、これら
2つのポインターによりスクロールまたはバックスクロ
ールが容易になる。FIG. 8 shows the structure of the row management block stored in the row management table 6. The next block link 34 is a pointer to the next row management block, and the previous block link.
35 is a pointer to the previous row management block, and these two pointers facilitate scrolling or backscrolling.
【0017】プリミティブヘッド36は同一行につながる
最初のプリミティブへのポインター、同様にプリミティ
ブテール37は同一行につながる行末のプリミティブへの
ポインターで、これらの2つのポインターにより同一行
のプリミティブが容易に管理できる。ラインピッチ38は
次の行の、行管理ブロックとの縦方向の距離を表し、ペ
ージの初行からの和をとればページ中の縦方向の座標が
求められる。The primitive head 36 is a pointer to the first primitive connected to the same line, and the primitive tail 37 is a pointer to the primitive at the end of the line connected to the same line. These two pointers easily manage the primitives on the same line. it can. The line pitch 38 represents the vertical distance of the next row from the row management block, and the vertical coordinate in the page can be obtained by taking the sum from the first row of the page.
【0018】行頭相対X座標39は、そのページの左マー
ジンからの行方向の座標であり、つまり最初のプリミテ
ィブの行方向の開始座標となる。行末相対X座標40は、
その行につながっている最後のプリミティブの方向の座
標、行情報41は文行、ルビ、または禁則等の行に関する
情報に使用され、見出し行情報42は、その行が大見出
し、中見出し、または小見出し行かの識別に使用され
る。次小見出しリンク43は、次の行管理ブロックへのポ
インターであり、ページ内のパラグラフ検索を容易にす
る。The line head relative X coordinate 39 is the coordinate in the line direction from the left margin of the page, that is, the start coordinate in the line direction of the first primitive. The line-end relative X coordinate 40 is
The coordinates of the direction of the last primitive connected to the line, line information 41 is used for information about the line such as sentence line, ruby, or kinsoku, and the heading line information 42 indicates that the line is a major heading, middle heading, or Used to identify subheading lines. The next subheading link 43 is a pointer to the next line management block and facilitates paragraph search within a page.
【0019】図9はページ管理テーブル7に記憶される
ページ管理ブロックの構成を示しており、次ブロックリ
ンク44は直後のページ管理ブロックへのポインター、前
ブロックリンク45は直前のページ管理ブロックへのポイ
ンターであり、これらのポインターによりスクロールま
たはバックスクロールを容易に制御できる。ラインヘッ
ド46には同一ページにつながる最初の行の行管理ブロッ
クへのポインターであり、ラインテール47は同一ページ
につながる最後の行の行管理ブロックへのポインターで
あり、これらのポインターによって同一ページ内の行管
理ブロックを容易に管理できる。FIG. 9 shows the structure of the page management block stored in the page management table 7. The next block link 44 points to the next page management block, and the previous block link 45 points to the immediately preceding page management block. Pointers, with which you can easily control scrolling or backscrolling. The line head 46 is a pointer to the row management block of the first row connected to the same page, and the line tail 47 is a pointer to the row management block of the last row connected to the same page. You can easily manage the row management block of.
【0020】ページNo.48は節内の最初のページからの
通算ページナンバーを示し、ページレイアウト49は、そ
のページのレイアウトが何段組か、縦組か横組かを示す
文書管理テーブル10内のページレイアウトリンクにより
管理されるページレイアウトの実体へのポインターであ
る。The page number 48 indicates the total page number from the first page in the section, and the page layout 49 indicates in the document management table 10 how many columns the layout of the page is, vertical writing mode or horizontal writing mode. Is a pointer to the entity of the page layout managed by the page layout link of.
【0021】小見出しフォーマット50はページ内の領
域、文字種等の小見出しフォーマットを決める文書管理
テーブル10内の、小見出しフォーマットリンクにより管
理される小見出しフォーマットへのポインターであり、
小見出し行リンク51はページ内の小見出し行の行管理ブ
ロックへのポインターである。The subheading format 50 is a pointer to the subheading format managed by the subheading format link in the document management table 10 that determines the subheading format such as the area in the page and the character type.
The subheading line link 51 is a pointer to the line management block of the subheading line in the page.
【0022】図10は節管理テーブル8に記憶される節管
理ブロックの構成を示すもので、次ブロックリンク52は
次の節管理ブロックへのポインター、前ブロックリンク
53は前の節管理ブロックへのポインターであり、これら
のポインターにより節内のスクロールまたはバックスク
ロールが容易になる。ページヘッド54は同一節内につな
がる最初のページのページ管理ブロックへのポインター
であり、ページテール55は同一節内につながる最後のぺ
ージのページ管理ブロックへのポインターであり、これ
らのポインターにより同一節内のページ管理ブロックを
容易に管理できる。FIG. 10 shows the structure of the section management block stored in the section management table 8. The next block link 52 is a pointer to the next section management block, and the previous block link.
53 is a pointer to the previous clause management block, these pointers facilitate scrolling or backscrolling within a clause. The page head 54 is a pointer to the page management block of the first page connected in the same section, and the page tail 55 is a pointer to the page management block of the last page connected in the same section. You can easily manage the page management blocks in a section.
【0023】ページカウント56は節内のページ数を示
し、節No.57は章内の最初の節からの通算節ナンバーを
示している。中見出しフォーマット58は節の領域、文字
種等の見出しフォーマットを決める文書管理テーブル10
内の、中見出しフォーマットリンクにより管理される中
見出しフォーマットデータ実体へのポインターであり、
中見出し行リンク59は節内の中見出しが指定された行管
理ブロックへのポインターである。The page count 56 shows the number of pages in the section, and the section No. 57 shows the total section number from the first section in the chapter. The medium heading format 58 is a document management table 10 that determines heading formats such as section areas and character types.
Is a pointer to the medium header format data entity managed by the medium header format link in
The middle heading line link 59 is a pointer to the line management block in which the middle heading in the section is designated.
【0024】図11は、章管理テーブル9に記憶される章
管理ブロックの構成を示しており、次ブロックリンク60
は次の章管理ブロックへのポインターであり、前ブロッ
クリンク61は前の章管理ブロックへのポインターであ
る。これらのポインターにより章内のスクロールまたは
バックスクロールが容易に可能になる。FIG. 11 shows the structure of the chapter management block stored in the chapter management table 9.
Is a pointer to the next chapter management block, and the previous block link 61 is a pointer to the previous chapter management block. These pointers facilitate scrolling or backscrolling within a chapter.
【0025】節ヘッド62は同一章内につながる最初の節
の節管理ブロックへのポインター、節テール63は同一章
内につながる最後の節の節管理ブロックへのポインター
で、これらのポインターにより章内の節管理ブロックの
管理が容易になる。開始ページリンク64は、開始ページ
のページ管理ブロックへのポインターを示しており、章
No.65は該当の章が第何章であるかを示している。大見
出しフォーマット66は章の領域、文字種等の見出しフォ
ーマットを決める文書管理テーブル10内の、大見出しフ
ォーマットリンクにより管理される大見出しフォーマッ
トデータ実体へのポインターであり、大見出し行リンク
67は大見出しが指定された行管理ブロックへのポインタ
ーである。The section head 62 is a pointer to the section management block of the first section connected to the same chapter, and the section tail 63 is a pointer to the section management block of the last section connected to the same chapter. Management of section management blocks in chapters becomes easy. The start page link 64 points to the page management block of the start page,
No. 65 shows what chapter the relevant chapter is. The large headline format 66 is a pointer to the large headline format data entity managed by the large headline format link in the document management table 10 that determines the heading format such as the chapter area and character type.
67 is a pointer to the line management block in which the main heading is specified.
【0026】図12は文書管理テーブル10の構成を示して
おり、章ヘッド68は、同一文書内の最初の章の章管理ブ
ロックへのポインター、章テール69は同一文書内の最後
の章の章管理ブロックへのポインターで、これらのポイ
ンターにより文書内の章管理ブロックの管理が容易にな
る。ページレイアウトリンク70はページレイアウトのデ
ータを記憶したデータ群へのポインターであり、複数の
ページレイアウトデータを管理する。大見出しフォーマ
ットリンク71は大見出しの領域、文字種等の体裁を記憶
したデータ群へのポインターであり、複数の大見出しフ
ォーマットデータを管理する。中見出しフォーマットリ
ンク72は中見出しの領域、文字種等の体裁を記憶したデ
ータ群へのポインターであり、複数の中見出しフォーマ
ットデータを管理する。FIG. 12 shows the structure of the document management table 10. The chapter head 68 is a pointer to the chapter management block of the first chapter in the same document, and the chapter tail 69 is the chapter of the last chapter in the same document. Pointers to control blocks, which make it easier to manage chapter control blocks in a document. The page layout link 70 is a pointer to a data group that stores page layout data, and manages a plurality of page layout data. The large headline format link 71 is a pointer to a data group that stores the format of the large headline area, character type, etc., and manages a plurality of large headline format data. The middle headline format link 72 is a pointer to a data group that stores the format of the middle headline area and character type, and manages a plurality of middle headline format data.
【0027】また、小見出しフォーマットリンク73は小
見出しの領域、文字種等の体裁を記憶したデータ群への
ポインターであり、複数の小見出しフォーマットデータ
を管理する。書式リンク74は、文書のインデント、タブ
などの書式を記憶するデータへのポインターであり、ま
た、文書情報75は文書に関する情報として利用される。The subheading format link 73 is a pointer to a data group in which the format of the subheading area and character type is stored, and manages a plurality of subheading format data. The format link 74 is a pointer to data that stores a format such as a document indent and a tab, and the document information 75 is used as information about the document.
【0028】図13は図3ないし図12の各テーブル、ブロ
ックの関係を見やすくした全体概略図で、文書、章、
節、構造体が階層的に構成されていることを表してい
る。図13中で76はプリミティブ、77は行管理ブロック、
78はページ管理ブロック、79は節管理ブロック、80は章
管理ブロック、81は文書管理テーブル、82はプリミティ
ブ記憶部、83は行管理テーブル、84はページ管理テーブ
ル、85は節管理テーブル、86は章管理テーブルである。FIG. 13 is an overall schematic view in which the relationships between the tables and blocks shown in FIGS.
Indicates that the nodes and structures are hierarchically configured. In FIG. 13, 76 is a primitive, 77 is a row management block,
78 is a page management block, 79 is a section management block, 80 is a chapter management block, 81 is a document management table, 82 is a primitive storage unit, 83 is a line management table, 84 is a page management table, 85 is a section management table, and 86 is This is a chapter management table.
【0029】図14は上記の構成により、プリミティブ記
憶部5,行管理テーブル6,ページ管理テーブル7を参
照し、あるいは更新してテキストを挿入するフローチャ
ートであり、以下、このフローチャートによりステップ
をSと略記して各動作を説明する。FIG. 14 is a flowchart for referring to or updating the primitive storage unit 5, the row management table 6, and the page management table 7 with the above-described configuration to insert a text. Each operation will be described in abbreviated form.
【0030】まず、入力手段1で文字を入力し(S1)、
その入力された文字列は図3に示すようなテキストプリ
ミティブを作成する(S2)。その入力モードが挿入モー
ドであれば(S3・Y)、挿入処理をする(S4)。挿入処
理は行管理テーブル6中の挿入行管理ブロックにつなが
っているテキストプリミティブと、その1つ前のテキス
トプリミティブとの間に挿入するので、図3の次プリミ
ティブリンク16のポインターを、そのように書き直す
(行末座標の設定)(S5)。その後、挿入したテキストに
よって挿入された行の行長が所定の行長を超えたかどう
かをチェックし(S6)、次行がページ長を超えていなけ
れば(S7・N)、次行挿入処理(S9)に進み、超えてい
れば次のページに挿入するためのページ処理に進む(S
8)。S9では次行の行管理ブロックの行頭に、前行の
残りのテキストプリミティブを挿入してS5に戻り、S
6の行長を超えなくなるまで繰り返す。First, a character is input by the input means 1 (S1),
The input character string creates a text primitive as shown in FIG. 3 (S2). If the input mode is the insert mode (S3, Y), insert processing is performed (S4). Since the insertion processing inserts between the text primitive connected to the inserted line management block in the line management table 6 and the text primitive immediately before it, the pointer of the next primitive link 16 in FIG. Rewrite
(Setting of line end coordinates) (S5). After that, it is checked whether or not the line length of the line inserted by the inserted text exceeds a predetermined line length (S6), and if the next line does not exceed the page length (S7N), the next line insertion processing ( Proceed to S9), and if exceeding, proceed to page processing for inserting into the next page (S).
8). In S9, the remaining text primitives of the previous line are inserted at the beginning of the line management block of the next line, and the process returns to S5.
Repeat until the line length of 6 does not exceed.
【0031】これから判るように、各テーブルは互に密
接な関係にあり、挿入、削除などの編集の基本動作を簡
単に処理可能に構成されている。As can be seen from the above, the tables are in a close relationship with each other, and the basic editing operations such as insertion and deletion can be easily processed.
【0032】図15は節管理テーブル8を作成するフロー
チャートであり、上記、ページ管理テーブル7以下の階
層の管理情報の動きについて示している。FIG. 15 is a flow chart for creating the clause management table 8 and shows the movement of the management information in the layers below the page management table 7.
【0033】まず、節管理テーブル8を作成するため
に、始めに中見出し行を指定する(S10)。この指定によ
り図8の行管理ブロックの見出し行情報42に中見出しを
マークし(S11)、次に、そのページ内に大見出し行がな
ければ、直前のページ管理ブロック中のラインテール47
を、前記、中見出し行の直前の行管理ブロックにつなぎ
(S12)、ページ管理ブロックのラインヘッド46を、その
中見出し行の行管理ブロックにつなぐことにより、該、
中見出し行がページ管理ブロックに束縛される。First, in order to create the section management table 8, a middle heading line is first designated (S10). By this designation, a middle headline is marked in the headline line information 42 of the line management block in FIG. 8 (S11). Next, if there is no large headline line in the page, the line tail 47 in the immediately preceding page management block is displayed.
To the line management block just before the middle heading line.
(S12), by connecting the line head 46 of the page management block to the line management block of the heading line therein,
The middle headline is bound to the page management block.
【0034】次に、図10の節管理ブロックに示すページ
ヘッド54を、中見出しを行ったページ管理ブロックにつ
なぎ、直前の節管理ブロックのページテール55を、中見
出しを行ったページ管理ブロックの直前のページ管理ブ
ロックにつなぐ(S13)。さらに節管理ブロックの中見出
し行リンク59に、中見出し行の行管理ブロックをつなぐ
ことにより、文章の節単位の管理が行える。Next, the page head 54 shown in the section management block of FIG. 10 is connected to the page management block having the middle heading, and the page tail 55 of the immediately preceding section management block is connected to the page management block having the middle heading. Connect to the previous page management block (S13). Furthermore, by connecting the line management block of the middle heading line to the middle heading line link 59 of the section management block, it is possible to manage the sentence in units of sections.
【0035】図16は章管理テーブルの作成を示すフロー
チャートである。まず、上記、節管理テーブルの作成に
ために大見出し行の指定を行う(S14)。この指定により
図8の行管理ブロックの見出し行情報42に大見出しをマ
ークする(S15)。次に、該、ページ管理ブロックの直前
のページ管理ブロック中のラインテール47を上記大見出
し行の直前の行管理ブロックにつなぎ、ラインヘッド46
を上記、大見出し行の行管理ブロックにつなぐことによ
り、その大見出し行が、このページ管理ブロックに束縛
される(S16)。FIG. 16 is a flowchart showing the creation of the chapter management table. First, a large heading line is designated to create the section management table (S14). By this designation, a large headline is marked in the headline line information 42 of the line management block in FIG. 8 (S15). Next, the line tail 47 in the page management block immediately before the page management block is connected to the line management block immediately before the large heading line, and the line head 46 is connected.
Is linked to the line management block of the large heading line, the large heading line is bound to the page management block (S16).
【0036】次に図10の節管理ブロックのページヘッド
54を、大見出しを行ったページ管理ブロックにつなぎ、
直前の節管理ブロック中のページテール55を、大見出し
を行ったページの直前のページ管理ブロックにつなぐ
(S17)。最後に図11の章管理ブロック中の節ヘッド62を
大見出しを行った節管理ブロックにつなぎ、直前の章管
理ブロック中の節テール63を大見出しを行った節の直前
の節管理ブロックにつなぐ(S18)。さらに、大見出しを
指定したページ管理ブロックを開始ページリンク64につ
なぎ、大見出し行リンク67に大見出し行の行管理ブロッ
クをつなぎ、文章の章単位の管理を行なわせる。Next, the page head of the section management block in FIG.
Connect 54 to the page management block that made the big headline,
Connect the page tail 55 in the previous section management block to the page management block immediately before the page that made the headline.
(S17). Finally, connect the section head 62 in the chapter management block in Fig. 11 to the section management block that made the major heading, and connect the section tail 63 in the previous chapter management block to the section management block that immediately precedes the section that made the major heading. (S18). Further, a page management block designating a large headline is connected to the start page link 64, and a large headline row link 67 is connected to a line management block of the large headline to manage the text in chapter units.
【0037】以上のようにして、章管理テーブル、節管
理テーブル、ページ管理テーブル、行ページ管理テーブ
ルを用いて、文書の章、節を階層的に管理することがで
きる。As described above, the chapters and sections of a document can be hierarchically managed using the chapter management table, section management table, page management table, and line page management table.
【0038】図17は領域プリミティブを説明する構造表
現例図で、図5のピクセル演算100で指定される枠属性
はONで、領域内への文字の流れこみを禁止している。
上記で指定される枠属性がOFFのときは、通常の文字
処理となるが、そのとき、指定される透過属性がONで
あると領域プリミティブ内の文字、罫線、図形、画像、
及び本文の各ピクセルは下層に対してOR演算をし、O
FFであると、それより下層のデータは無視される。な
お、図17において88はテキストブロック、87,89は領域
プリミティブ、90は罫線プリミティブである。FIG. 17 is a structural representation example diagram for explaining a region primitive. The frame attribute designated by the pixel operation 100 in FIG. 5 is ON, and the flow of characters into the region is prohibited.
When the frame attribute specified above is OFF, normal character processing is performed. At that time, when the specified transparency attribute is ON, characters, ruled lines, figures, images,
And each pixel of the text is ORed to the lower layer,
If it is FF, the data in the lower layer is ignored. In FIG. 17, 88 is a text block, 87 and 89 are area primitives, and 90 is a ruled line primitive.
【0039】図17の構造表現は図18のような図形表現に
なるように、テキストプリミティブの文字送りピッチ、
行管理プリミティブのラインピッチ、罫線プリミティブ
の罫線長や、罫線座標、領域プリミティブの領域座標が
設定される。The structural expression of FIG. 17 is changed to a graphic expression as shown in FIG.
The line pitch of the line management primitive, the ruled line length of the ruled line primitive, the ruled line coordinates, and the region coordinate of the region primitive are set.
【0040】ここで図20のように、文字“あ”と“い”
の間に表を移動するには、図17のa-b,c-d,d-eのチェ
インを切り、a-d,d-b,c-eをつなぐだけで、各プリミ
ティブの移動は完了する。座標値は領域プリミティブの
横方向の長さを、“あ”のテキストプリミティブの文字
送り量に加算すればよい。上記、図19は上記の移動後の
構造表現を示したものである。Here, as shown in FIG. 20, the characters "a" and "i"
In order to move the table in between, the chain of ab, cd, and de in FIG. 17 is cut, and ad, db, and ce are connected, and the movement of each primitive is completed. The coordinate value may be obtained by adding the horizontal length of the area primitive to the character feed amount of the "a" text primitive. Above, FIG. 19 shows the structural representation after the above movement.
【0041】なお、領域プリミティブのデータとしてテ
キストプリミティブ以外に、図形プリミティブ、画像プ
リミティブ、罫線プリミティブなどがつながっている場
合も、上記と同様である。The same applies to the case where a figure primitive, an image primitive, a ruled line primitive, etc. are connected as the area primitive data in addition to the text primitive.
【0042】以上、説明して判るように領域プリミティ
ブの下層につながる罫線データや、テキストプリミティ
ブの各座標値は、領域プリミティブを基準にしているの
で、表の移動を行っても一切、操作する必要がなく、領
域プリミティブの図形表現は完全に保たれ、しかも、罫
線枠内の文字編集については本文と完全に独立している
ので、文字の座標値の決定は容易である。As described above, since the ruled line data connected to the lower layer of the area primitive and each coordinate value of the text primitive are based on the area primitive, it is necessary to operate even if the table is moved. In addition, since the graphic representation of the area primitive is completely maintained and the character editing in the ruled line frame is completely independent from the text, the coordinate value of the character can be easily determined.
【0043】これは領域プリミティブ下の図形プリミテ
ィブ、画像プリミティブの場合も同様なことがいえ、し
かも、この領域プリミティブに図5のピクセル演算100
で指定する透過、不透過、枠属性により、図5のXmax2
5,Ymax26により定義される矩形領域より下層の図形、
画像、罫線、テキストの透過、不透過、および矩形領域
内へのテキストの流れ込みの禁止、許可等を制御でき
る。しかも、個々のプリミティブが各々独立して異なっ
たピクセルオペレーションを実行することが可能であ
る。The same applies to the case of the graphic primitive and the image primitive under the area primitive, and moreover, the pixel operation 100 of FIG.
Depending on the transparent, opaque, and frame attributes specified by
5, figures below the rectangular area defined by Ymax26,
It is possible to control the transparency, opacity of images, ruled lines, text, and prohibition and permission of text flowing into a rectangular area. Moreover, each primitive can independently perform different pixel operations.
【0044】なお、前記、ピクセルオペレーションは透
過、不透過、枠だけについて説明したが、この属性は一
般に行われるグラフィックスで通常使われるピクセルオ
ペレーションを定義して、さらに変化に富む表現をする
ことができる。It should be noted that although the pixel operation has been described only for transparent, opaque, and frame, this attribute defines a pixel operation that is normally used in commonly-used graphics, so that more varied expressions can be made. it can.
【0045】また、ピクセルオペレーションの設定を変
更するのみで同時にその領域内のピクセルオペレーショ
ンの設定値に従う実際の画像が確認できるので高い操作
性を有する。Further, since the actual image according to the set value of the pixel operation in the area can be confirmed at the same time only by changing the setting of the pixel operation, the operability is high.
【0046】[0046]
【発明の効果】以上説明したように本発明の文書編集装
置は、領域プリミティブという単純なプリミティブを定
義して、表や図形、画像の移動、表組などの複雑な編集
を容易に実現できる。しかも、この領域プリミティブに
領域下層に対して透過、不透過、領域内にテキスト流れ
込みの禁止または許可のピクセル演算によるオペレーシ
ョン機能を持たせているので、個々の領域プリミティブ
がそれぞれ、異なった、ピクセルオペレーションが可能
であり、変化に富んだ文書を作成でき、文書の表現力及
び文章整形の処理効率が大きく向上する効果を有する。As described above, the document editing apparatus of the present invention can easily realize complicated editing such as a table, a figure, a movement of an image, and a table set by defining a simple primitive called an area primitive. Moreover, since this area primitive is provided with an operation function by the pixel operation of transparent or opaque with respect to the lower layer of the area and prohibiting or permitting text flow into the area, each area primitive has a different pixel operation. It is possible to create a variety of documents, and the effect of greatly improving the expressiveness of documents and the processing efficiency of sentence shaping is provided.
【図1】本発明の一実施例における文書編集装置の機能
ブロック図である。FIG. 1 is a functional block diagram of a document editing apparatus according to an embodiment of the present invention.
【図2】図1のブロック回路図である。FIG. 2 is a block circuit diagram of FIG.
【図3】本発明要部のテキストプリミティブの構成図で
ある。FIG. 3 is a configuration diagram of a text primitive of an essential part of the present invention.
【図4】本発明要部の罫線プリミテイブの構成図であ
る。FIG. 4 is a configuration diagram of a ruled line primitive of an essential part of the present invention.
【図5】本発明要部の領域プリミティブの構成図であ
る。FIG. 5 is a configuration diagram of a region primitive of an essential part of the present invention.
【図6】本発明要部の画像プリミティブの構成図であ
る。FIG. 6 is a configuration diagram of an image primitive of an essential part of the present invention.
【図7】本発明要部の図形プリミティブの構成図であ
る。FIG. 7 is a configuration diagram of a graphic primitive that is an essential part of the present invention.
【図8】本発明要部の行管理ブロックの構成図である。FIG. 8 is a configuration diagram of a row management block which is a main part of the present invention.
【図9】本発明要部のページ管理ブロックの構成図であ
る。FIG. 9 is a configuration diagram of a page management block of the essential part of the present invention.
【図10】本発明要部の節管理ブロックの構成図であ
る。FIG. 10 is a configuration diagram of a section management block of the essential part of the present invention.
【図11】本発明要部の章管理ブロックの構成図であ
る。FIG. 11 is a configuration diagram of a chapter management block of the essential part of the present invention.
【図12】本発明要部の文書管理テーブルの構成図であ
る。FIG. 12 is a configuration diagram of a document management table of a main part of the present invention.
【図13】本発明の管理テーブルの全体を示す概略図で
ある。FIG. 13 is a schematic diagram showing an entire management table of the present invention.
【図14】本発明におけるテキストの挿入を示すフロー
チャートである。FIG. 14 is a flowchart showing insertion of text in the present invention.
【図15】本発明における節管理テーブルを作成するフ
ローチャートである。FIG. 15 is a flowchart for creating a clause management table in the present invention.
【図16】本発明における章管理テーブルを作成するフ
ローチャートである。FIG. 16 is a flowchart for creating a chapter management table in the present invention.
【図17】領域プリミティブを含む構造表現を示す一例
図である。FIG. 17 is an example diagram showing a structural representation including region primitives.
【図18】図17を図形表現した図である。FIG. 18 is a diagram graphically representing FIG.
【図19】図18における表の移動後の図形表現を示した
図である。19 is a diagram showing a graphic representation of the table in FIG. 18 after movement.
【図20】領域プリミティブを含む構造表現の他の例を
示す図である。FIG. 20 is a diagram showing another example of a structural expression including a region primitive.
1…入力手段、 2…編集実行部、 3…表示手段、
4…メモリー管理部、5…プリミティブ記憶部、 6…
行管理テーブル、 7…ページ管理テーブル、8…節管
理テーブル、 9…章管理テーブル、 10…文書管理テ
ーブル。1 ... Input means, 2 ... Editing execution unit, 3 ... Display means,
4 ... Memory management unit, 5 ... Primitive storage unit, 6 ...
Line management table, 7 ... Page management table, 8 ... Section management table, 9 ... Chapter management table, 10 ... Document management table.
Claims (1)
制御データのそれぞれを所定のデータフォーマットに変
換し、その変換データをプリミティブとして記憶するプ
リミティブ記憶部と、各プリミティブを文章の各行ごと
に管理する行管理テーブルと、該行管理テーブルを管理
するページ管理テーブルと、該ページ管理テーブルを管
理する節管理テーブルと、該節管理テーブルを管理する
章管理テーブルと、該章管理テーブルを管理する文書管
理テーブルと、上記プリミティブ記憶部、及び上記各管
理テーブル類を作成、参照して文章整形する編集実行部
と、該編集実行部で作成した文章整形出力の表示手段と
を備え、領域プリミティブに矩形領域の座標と、該矩形
領域の下層に対する透過、不透過及び枠の属性を設け
て、画像、図形、罫線、文字等の各データを束縛させた
ことを特徴とする文章編集装置。1. A primitive storage unit for converting each of input characters, figures, images and edit control data into a predetermined data format and storing the converted data as a primitive, and each primitive for each line of a sentence. A row management table to be managed, a page management table to manage the row management table, a section management table to manage the page management table, a chapter management table to manage the section management table, and a chapter management table A document management table, the primitive storage unit, and an editing execution unit that creates and refers to each management table and shapes the text, and a display unit that displays the text shaping output created by the editing execution unit Images, figures, and ruled lines are created by providing the coordinates of the rectangular area and the attributes of transparent, opaque, and frame for the lower layer of the rectangular area. , A text editing device characterized by binding each data such as characters.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3231756A JPH0573545A (en) | 1991-09-11 | 1991-09-11 | Document editing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3231756A JPH0573545A (en) | 1991-09-11 | 1991-09-11 | Document editing device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0573545A true JPH0573545A (en) | 1993-03-26 |
Family
ID=16928545
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3231756A Pending JPH0573545A (en) | 1991-09-11 | 1991-09-11 | Document editing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0573545A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2019148947A (en) * | 2018-02-27 | 2019-09-05 | 株式会社アミット | Prepared document correction support system, prepared document correction support method and prepared document correction support program |
-
1991
- 1991-09-11 JP JP3231756A patent/JPH0573545A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2019148947A (en) * | 2018-02-27 | 2019-09-05 | 株式会社アミット | Prepared document correction support system, prepared document correction support method and prepared document correction support program |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR860001071B1 (en) | How to edit document | |
| US4912669A (en) | Document-editing system | |
| JPS629482A (en) | Method and apparatus for generating graphic | |
| JPH10289230A (en) | Automated layout of content in page framework | |
| JP3083314B2 (en) | Document processing method and apparatus | |
| US5696918A (en) | Method of managing marker entities within a document data stream | |
| JPH0573544A (en) | Document editing device | |
| JPH0573546A (en) | Document editing device | |
| JPS6215670A (en) | In-shape character string editing method | |
| JP2833203B2 (en) | Table creation processing device | |
| JPH04113450A (en) | text editing device | |
| JP3020213B2 (en) | Document processing device | |
| JPH05334291A (en) | Document processor | |
| JPH0683553A (en) | Tabulator | |
| JP3347322B2 (en) | Document processing apparatus and document processing method in the apparatus | |
| JPH04112264A (en) | text editing device | |
| JPH03248262A (en) | document processing device | |
| JPH03161861A (en) | Document processing device with table creation function | |
| JPH03172962A (en) | Diagram layout method | |
| JPH04113451A (en) | Sentence editing device | |
| JPS62186355A (en) | Document creation method | |
| JPH02288969A (en) | Document processor | |
| JPH04112262A (en) | text editing device | |
| JPH07200558A (en) | Document processor | |
| JPH0245866A (en) | Editing method for document in editing machine |