JP4145765B2 - Layout system, program - Google Patents

Layout system, program Download PDF

Info

Publication number
JP4145765B2
JP4145765B2 JP2003344453A JP2003344453A JP4145765B2 JP 4145765 B2 JP4145765 B2 JP 4145765B2 JP 2003344453 A JP2003344453 A JP 2003344453A JP 2003344453 A JP2003344453 A JP 2003344453A JP 4145765 B2 JP4145765 B2 JP 4145765B2
Authority
JP
Japan
Prior art keywords
information storage
character information
storage frame
character
layout
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2003344453A
Other languages
Japanese (ja)
Other versions
JP2005108160A (en
Inventor
洋貴 大橋
敦示 永原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2003344453A priority Critical patent/JP4145765B2/en
Publication of JP2005108160A publication Critical patent/JP2005108160A/en
Application granted granted Critical
Publication of JP4145765B2 publication Critical patent/JP4145765B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)

Description

本発明は、文書や画像等の掲載情報をレイアウトするシステムおよびプログラムに係り、特に、文字情報格納枠に余白が設定されていても、見栄えのよいレイアウトを実現するのに好適なレイアウトシステムおよびプログラムに関する。
The present invention relates to a system and program for laying out posted information such as documents and images, and in particular, a layout system and program suitable for realizing a good-looking layout even when a margin is set in a character information storage frame. About.

従来、ニュース等のディジタルコンテンツをユーザに対して提供するディジタルコンテンツ配信システムがあり、ディジタルコンテンツ配信システムでは、一般に、コンテンツ登録データベース(以下、データベースのことを単にDBと略記する。)からディジタルコンテンツをいくつか読み出し、読み出したディジタルコンテンツを編集し、編集したディジタルコンテンツをユーザに対して配信する。ディジタルコンテンツの編集過程では、ユーザにとって見やすいものとなるようにディジタルコンテンツのレイアウトを行っている。このレイアウトを行う技術としては、例えば、特許文献1に開示されている文書割り付け装置(以下、第1の従来例という。)がある。   2. Description of the Related Art Conventionally, there is a digital content distribution system that provides digital content such as news to users. In the digital content distribution system, digital content is generally obtained from a content registration database (hereinafter, the database is simply abbreviated as DB). Some are read, the read digital content is edited, and the edited digital content is distributed to the user. In the editing process of digital content, the digital content is laid out so that it is easy for the user to see. As a technique for performing this layout, for example, there is a document allocation device disclosed in Patent Document 1 (hereinafter referred to as a first conventional example).

第1の従来例は、次の流し込み対象となる領域の先頭位置が、現在流し込み対象となっている領域の最終位置に適合するように調整する流し込み領域生成部と、文章単位の文字サイズおよび行間隔を参照して、現在流し込み対象となっている領域のサイズを変更する領域状態更新部とを備え、2つの領域にまたがるような文章を流し込んだときに、領域間の行間が一定となるようにする。   The first conventional example includes a flow area generation unit that adjusts the start position of the next flow target area so that it matches the final position of the current flow target area, and the character size and line of each sentence. An area state update unit that changes the size of the area that is currently the flow target with reference to the interval, so that when a sentence that spans two areas is flown, the line spacing between the areas becomes constant To.

これにより、段落ごとに文字の大きさや行間などを変更した場合でも、自然で読みやすい割り付け結果を得ることができる。   As a result, even when the character size or line spacing is changed for each paragraph, a natural and easy-to-read layout result can be obtained.

特開平6−28344号公報JP-A-6-28344

このように、第1の従来例にあっては、文字サイズおよび行間隔を参照して領域のサイズを変更するようになっている。しかしながら、文章を流し込む領域である文字情報格納枠に余白が設定されている場合、文字情報格納枠のサイズを変更するだけでは、文字情報格納枠間の行間を一定にすることが困難であるという問題があった。文字情報格納枠には、文字情報格納枠の外周に沿ってその外側に設けられる外部余白と、文字情報格納枠の外周に沿ってその内側に設けられる内部余白とが設定可能なものがある。例えば、文字情報格納枠の外部余白または内部余白が所望の行間以上に設定されている場合は、文字情報格納枠のサイズを変更して文字情報格納枠同士を近接させようとしても、外部余白または内部余白の存在によって文字情報格納枠間が所望の行間とはならない。
また、文字情報格納枠の外部余白または内部余白が所望の行間以上に設定されていても、余白の設定を無視して文字情報格納枠同士を重ね合わせることによって文字情報格納枠間を所望の行間とすることも考えられるが、文字情報格納枠を重ね合わせると他の情報格納枠に影響が生じる可能性がある。例えば、第1文字情報格納枠と他の情報格納枠とが上端を揃えて横並びに配置され、第1文字情報格納枠および他の情報格納枠の上方に第2文字情報格納枠が配置されている場合に、第2文字情報格納枠のサイズを下方に拡大させて第1文字情報格納枠と重ね合わせると、第2文字情報格納枠が他の情報格納枠にも重なり合ってしまう。
そこで、本発明は、このような従来の技術の有する未解決の課題に着目してなされたものであって、文字情報格納枠に余白が設定されていても、見栄えのよいレイアウトを実現するのに好適なレイアウトシステムおよびレイアウトプログラム、並びにレイアウト方法を提供することを目的としている。
Thus, in the first conventional example, the size of the area is changed with reference to the character size and line spacing. However, if margins are set in the character information storage frame, which is an area into which text is poured, it is difficult to make the line spacing between the character information storage frames constant by simply changing the size of the character information storage frame. There was a problem. Some character information storage frames can be set with an outer margin provided on the outer side along the outer periphery of the character information storage frame and an inner margin provided on the inner side along the outer periphery of the character information storage frame. For example, if the outer margin or inner margin of the character information storage frame is set to be greater than or equal to the desired line spacing, the size of the character information storage frame may be changed to bring the character information storage frames closer to each other. Due to the presence of the internal margin, the character information storage frame does not become the desired line spacing.
Even if the outer margin or inner margin of the character information storage frame is set to be greater than the desired line spacing, the character information storage frames are overlapped by ignoring the margin setting and overlapping the character information storage frames. However, overlapping the character information storage frames may affect other information storage frames. For example, the first character information storage frame and the other information storage frame are arranged side by side with their upper ends aligned, and the second character information storage frame is disposed above the first character information storage frame and the other information storage frame. If the size of the second character information storage frame is enlarged downward and overlapped with the first character information storage frame, the second character information storage frame overlaps with other information storage frames.
Therefore, the present invention has been made paying attention to such an unsolved problem of the conventional technology, and realizes a good-looking layout even if a margin is set in the character information storage frame. It is an object of the present invention to provide a layout system and a layout program suitable for the above, and a layout method.

〔発明1〕上記目的を達成するために、発明1のレイアウトシステムは、
文字情報をレイアウトするレイアウト手段を備え、前記レイアウト手段は、所定のレイアウト領域に配置された文字情報格納枠に前記文字情報を格納することによりレイアウトを行うシステムであって、
前記文字情報格納枠は、他の情報格納枠との間隔を確保するための余白が設定可能であり、
前記レイアウト手段は、前記文字情報を、近接させて配置した複数の文字情報格納枠に連続して格納する場合に、前記複数の文字情報格納枠のうち近接部分で行が連続するもの同士の間隔及び前記各文字情報格納枠内の行間隔が同一又はほぼ同一となるように、前記複数の文字情報格納枠の配置位置を調整する配置位置調整手段ならびに前記複数の文字情報格納枠の間に新たに文字情報格納枠を挿入する文字情報格納枠挿入手段を備えることを特徴とする。
[Invention 1] In order to achieve the above object, a layout system of Invention 1 comprises:
A layout unit for laying out character information, wherein the layout unit performs layout by storing the character information in a character information storage frame arranged in a predetermined layout area;
In the character information storage frame, a margin for securing an interval with another information storage frame can be set.
When the layout means stores the character information in a plurality of character information storage frames arranged close to each other, an interval between rows of the plurality of character information storage frames in which adjacent rows are continuous And an arrangement position adjusting means for adjusting an arrangement position of the plurality of character information storage frames so that line intervals in the character information storage frames are the same or substantially the same, and a new space between the plurality of character information storage frames. And a character information storage frame inserting means for inserting a character information storage frame.

このような構成であれば、レイアウト手段により、所定のレイアウト領域に配置された文字情報格納枠に文字情報が格納されることによりレイアウトが行われる。レイアウトを行うにあたって、文字情報を、近接させて配置した複数の文字情報格納枠に連続して格納する場合には、レイアウト手段により、複数の文字情報格納枠のうち近接部分で行が連続するもの同士の間隔および各文字情報格納枠内の行間隔が同一またはほぼ同一となるように、配置位置調整手段により複数の文字情報格納枠の配置位置が調整され、さらに文字情報格納枠挿入手段により複数の文字情報格納枠の間に新たに文字情報格納枠が挿入される。   With such a configuration, the layout unit performs layout by storing character information in a character information storage frame arranged in a predetermined layout area. When character information is continuously stored in a plurality of character information storage frames arranged close to each other when layout is performed, the layout means causes a row to be continued in the adjacent portion of the plurality of character information storage frames. The arrangement position adjusting means adjusts the arrangement positions of the plurality of character information storage frames so that the intervals between them and the line intervals in each character information storage frame are the same or substantially the same, and the character information storage frame insertion means inserts the plurality of character information storage frames. A character information storage frame is newly inserted between the character information storage frames.

これにより、複数の文字情報格納枠のうち近接部分で行が連続するもの同士の間隔および各文字情報格納枠内の行間隔をほぼ一定にすることができる。したがって、文字情報格納枠に余白が設定されていても、従来に比して、比較的見栄えのよいレイアウトを実現することができるという効果が得られる。   Thereby, the space | interval of what a line continues in the adjacent part among several character information storage frames and the line space | interval in each character information storage frame can be made substantially constant. Therefore, even if a margin is set in the character information storage frame, it is possible to achieve a layout that is relatively attractive compared to the conventional case.

ここで、文字情報格納枠の余白としては、例えば、文字情報格納枠の外周に沿ってその外側に設けられる外部余白、文字情報格納枠の外周に沿ってその内側に設けられる内部余白その他の余白が含まれる。以下、発明2のレイアウトシステム、発明12のレイアウトプログラム、および発明13のレイアウト方法において同じである。   Here, as the margin of the character information storage frame, for example, an external margin provided on the outer side along the outer periphery of the character information storage frame, an inner margin provided on the inner side along the outer periphery of the character information storage frame, and other blanks Is included. The same applies to the layout system of the invention 2, the layout program of the invention 12, and the layout method of the invention 13.

また、文字情報格納枠の形状は、矩形に限らず、矩形以外の多角形、円形、楕円形その他の幾何学的形状であってもよい。以下、発明2のレイアウトシステム、発明12のレイアウトプログラム、および発明13のレイアウト方法において同じである。   The shape of the character information storage frame is not limited to a rectangle, but may be a polygon other than a rectangle, a circle, an ellipse, or other geometric shapes. The same applies to the layout system of the invention 2, the layout program of the invention 12, and the layout method of the invention 13.

また、レイアウトとは、例えば、画面上に表示することを目的としてレイアウトを行う場合にはその表示レイアウトを、紙面上に印刷することを目的としてレイアウトを行う場合にはその印刷レイアウトをいう。以下、発明2のレイアウトシステム、発明12のレイアウトプログラム、および発明13のレイアウト方法において同じである。   The layout means, for example, a display layout when the layout is performed for the purpose of displaying on the screen, and a print layout when the layout is performed for the purpose of printing on the paper. The same applies to the layout system of the invention 2, the layout program of the invention 12, and the layout method of the invention 13.

また、本システムは、単一の装置、端末その他の機器として実現するようにしてもよいし、複数の装置、端末その他の機器を通信可能に接続したネットワークシステムとして実現するようにしてもよい。後者の場合、各構成要素は、それぞれ通信可能に接続されていれば、複数の機器等のうちいずれに属していてもよい。以下、発明2のレイアウトシステムにおいて同じである。   Further, the present system may be realized as a single device, terminal, or other device, or may be realized as a network system in which a plurality of devices, terminals, or other devices are communicably connected. In the latter case, each component may belong to any one of a plurality of devices and the like as long as they are connected so as to communicate with each other. Hereinafter, the same applies to the layout system of the second aspect.

〔発明2〕さらに、発明2のレイアウトシステムは、
文字情報からなる掲載情報を複数記憶するための掲載情報記憶手段と、前記掲載情報記憶手段のなかから前記掲載情報を選択する掲載情報選択手段と、前記掲載情報選択手段で選択した掲載情報をレイアウトするレイアウト手段とを備え、前記レイアウト手段は、所定のレイアウト領域に配置された文字情報格納枠に前記掲載情報を格納することによりレイアウトを行うシステムであって、
前記文字情報格納枠は、他の情報格納枠との間隔を確保するための余白が設定可能であり、
前記レイアウト手段は、前記掲載情報を、近接させて配置した複数の文字情報格納枠に連続して格納する場合に、前記複数の文字情報格納枠のうち近接部分で行が連続するもの同士の間隔及び前記各文字情報格納枠内の行間隔が同一又はほぼ同一となるように、前記複数の文字情報格納枠の配置位置を調整する配置位置調整手段ならびに前記複数の文字情報格納枠の間に新たに文字情報格納枠を挿入する文字情報格納枠挿入手段を備えることを特徴とする。
[Invention 2] Furthermore, the layout system of Invention 2 includes:
A posting information storage means for storing a plurality of posting information consisting of character information, a posting information selection means for selecting the posting information from the posting information storage means, and a layout of the posting information selected by the posting information selection means Layout means for performing layout by storing the posting information in a character information storage frame arranged in a predetermined layout area,
In the character information storage frame, a margin for securing an interval with another information storage frame can be set.
The layout means, when storing the posting information continuously in a plurality of character information storage frames arranged close to each other, an interval between adjacent ones of the plurality of character information storage frames in the adjacent portion And an arrangement position adjusting means for adjusting an arrangement position of the plurality of character information storage frames so that line intervals in the character information storage frames are the same or substantially the same, and a new space between the plurality of character information storage frames. And a character information storage frame inserting means for inserting a character information storage frame.

このような構成であれば、掲載情報選択手段により、掲載情報記憶手段のなかから掲載情報が選択され、レイアウト手段により、所定のレイアウト領域に配置された文字情報格納枠に掲載情報が格納されることによりレイアウトが行われる。レイアウトを行うにあたって、掲載情報を、近接させて配置した複数の文字情報格納枠に連続して格納する場合には、レイアウト手段により、複数の文字情報格納枠のうち近接部分で行が連続するもの同士の間隔および各文字情報格納枠内の行間隔が同一またはほぼ同一となるように、配置位置調整手段により複数の文字情報格納枠の配置位置が調整され、さらに文字情報格納枠挿入手段により複数の文字情報格納枠の間に新たに文字情報格納枠が挿入される。   With this configuration, the posting information is selected from the posting information storage means by the posting information selection means, and the posting information is stored in the character information storage frame arranged in the predetermined layout area by the layout means. Thus, layout is performed. When publishing information continuously in a plurality of character information storage frames arranged close to each other when performing layout, the layout means that rows are consecutive in the adjacent portion of the plurality of character information storage frames The arrangement position adjusting means adjusts the arrangement positions of the plurality of character information storage frames so that the intervals between them and the line intervals in each character information storage frame are the same or substantially the same, and the character information storage frame insertion means inserts the plurality of character information storage frames. A character information storage frame is newly inserted between the character information storage frames.

これにより、複数の文字情報格納枠のうち近接部分で行が連続するもの同士の間隔および各文字情報格納枠内の行間隔をほぼ一定にすることができる。したがって、文字情報格納枠に余白が設定されていても、従来に比して、比較的見栄えのよいレイアウトを実現することができるという効果が得られる。   Thereby, the space | interval of what a line continues in the adjacent part among several character information storage frames and the line space | interval in each character information storage frame can be made substantially constant. Therefore, even if a margin is set in the character information storage frame, it is possible to achieve a layout that is relatively attractive compared to the conventional case.

ここで、掲載情報記憶手段は、掲載情報をあらゆる手段でかつあらゆる時期に記憶するものであり、掲載情報をあらかじめ記憶してあるものであってもよいし、掲載情報をあらかじめ記憶することなく、本システムの動作時に外部からの入力等によって掲載情報を記憶するようになっていてもよい。   Here, the posting information storage means is for storing the posting information at any time and at any time, and may be stored in advance, or without storing the posting information in advance. The posting information may be stored by an external input or the like during operation of the system.

〔発明3〕さらに、発明3のレイアウトシステムは、発明2のレイアウトシステムにおいて、
前記レイアウト手段は、他の情報格納枠と重なり合っている文字情報格納枠をそれら情報格納枠が重なり合わないように分割する文字情報格納枠分割手段と、前記掲載情報選択手段で選択した掲載情報を前記文字情報格納枠分割手段で分割した文字情報格納枠に連続して格納する文字情報分割格納手段とを有し、
前記配置位置調整手段は、前記文字情報格納枠分割手段で分割した複数の文字情報格納枠の配置位置を調整し、前記文字情報格納枠挿入手段は前記文字情報格納枠分割手段で分割した複数の文字情報格納枠の間に新たに文字情報格納枠を挿入するようになっていることを特徴とする。
[Invention 3] Furthermore, the layout system of Invention 3 is the layout system of Invention 2,
The layout means includes character information storage frame dividing means for dividing a character information storage frame overlapping with other information storage frames so that the information storage frames do not overlap, and the posting information selected by the posting information selection means. Character information division storage means for continuously storing the character information storage frame divided by the character information storage frame division means;
The arrangement position adjusting means adjusts the arrangement positions of the plurality of character information storage frames divided by the character information storage frame dividing means, and the character information storage frame inserting means is a plurality of character information storage frame dividing means divided by the character information storage frame dividing means. A character information storage frame is newly inserted between the character information storage frames.

このような構成であれば、文字情報格納枠が他の情報格納枠と重なり合っていると、文字情報格納枠分割手段により、それら情報格納枠が重なり合わないように文字情報格納枠が分割され、分割された複数の文字情報格納枠のうち近接部分で行が連続するもの同士の間隔および各文字情報格納枠内の行間隔が同一またはほぼ同一となるように、配置位置調整手段により複数の文字情報格納枠の配置位置が調整され、さらに文字情報格納枠挿入手段により複数の文字情報格納枠の間に新たに文字情報格納枠が挿入される。一方、文字情報分割格納手段により、選択された掲載情報が、分割された文字情報格納枠に連続して格納される。   With such a configuration, when the character information storage frame overlaps with other information storage frames, the character information storage frame is divided by the character information storage frame dividing means so that the information storage frames do not overlap, A plurality of characters are arranged by the arrangement position adjusting means so that the interval between adjacent lines in a plurality of divided character information storage frames and the line interval in each character information storage frame are the same or substantially the same. The arrangement position of the information storage frame is adjusted, and a character information storage frame is newly inserted between the plurality of character information storage frames by the character information storage frame insertion means. On the other hand, the selected posting information is continuously stored in the divided character information storage frame by the character information division storage means.

これにより、掲載情報の内容、情報量または論理構造等によって文字情報格納枠が他の情報格納枠と重なり合った場合には、文字情報格納枠を分割して重なり合いを解消することができるとともに、分割後の文字情報格納枠間の間隔および各文字情報格納枠内の行間隔をほぼ一定にすることができる。したがって、文字情報格納枠が他の情報格納枠と重なり合っても、比較的見栄えのよいレイアウトを実現することができるという効果も得られる。   As a result, when the character information storage frame overlaps with other information storage frames depending on the content, information amount or logical structure of the posted information, the character information storage frame can be divided to eliminate the overlap and The intervals between the subsequent character information storage frames and the line intervals in each character information storage frame can be made substantially constant. Therefore, even if the character information storage frame overlaps with another information storage frame, it is possible to achieve a relatively good-looking layout.

〔発明4〕さらに、発明4のレイアウトシステムは、発明1のレイアウトシステムにおいて、
前記余白は、前記文字情報格納枠の外周に沿ってその外側に設けられる外部余白であることを特徴とする。
[Invention 4] Furthermore, the layout system of Invention 4 is the layout system of Invention 1,
The margin is an external margin provided outside the character information storage frame along the outer periphery thereof.

このような構成であれば、分割された複数の文字情報格納枠のうち近接部分で行が連続するもの同士の間隔および各文字情報格納枠内の行間隔が同一またはほぼ同一となるように、配置位置調整手段により複数の文字情報格納枠の配置位置が調整され、さらに文字情報格納枠挿入手段により複数の文字情報格納枠の間に新たに文字情報格納枠が挿入される。   With such a configuration, among the plurality of divided character information storage frames, the interval between adjacent lines in the adjacent portion and the line interval in each character information storage frame are the same or substantially the same, The arrangement position of the plurality of character information storage frames is adjusted by the arrangement position adjusting unit, and the character information storage frame is newly inserted between the plurality of character information storage frames by the character information storage frame insertion unit.

これにより、文字情報格納枠に外部余白が設定されていても、文字情報格納枠間の間隔および各文字情報格納枠内の行間隔をほぼ一定にすることができる。したがって、文字情報格納枠に外部余白が設定されていても、比較的見栄えのよいレイアウトを実現することができるという効果も得られる。   Thereby, even if an external margin is set in the character information storage frame, the interval between the character information storage frames and the line interval in each character information storage frame can be made substantially constant. Therefore, even if an external margin is set in the character information storage frame, it is possible to achieve a relatively good-looking layout.

〔発明5〕さらに、発明5のレイアウトシステムは、発明1のレイアウトシステムにおいて、
前記余白は、前記文字情報格納枠の外周に沿ってその内側に設けられる内部余白であることを特徴とする。
[Invention 5] Furthermore, the layout system of Invention 5 is the layout system of Invention 1,
The margin is an internal margin provided inside the character information storage frame along the outer periphery thereof.

このような構成であれば、分割された複数の文字情報格納枠のうち近接部分で行が連続するもの同士の間隔および各文字情報格納枠内の行間隔が同一またはほぼ同一となるように、配置位置調整手段により複数の文字情報格納枠の配置位置が調整され、さらに文字情報格納枠挿入手段により複数の文字情報格納枠の間に新たに文字情報格納枠が挿入される。   With such a configuration, among the plurality of divided character information storage frames, the interval between adjacent lines in the adjacent portion and the line interval in each character information storage frame are the same or substantially the same, The arrangement position of the plurality of character information storage frames is adjusted by the arrangement position adjusting unit, and the character information storage frame is newly inserted between the plurality of character information storage frames by the character information storage frame insertion unit.

これにより、文字情報格納枠に内部余白が設定されていても、文字情報格納枠間の間隔および各文字情報格納枠内の行間隔をほぼ一定にすることができる。したがって、文字情報格納枠に内部余白が設定されていても、比較的見栄えのよいレイアウトを実現することができるという効果も得られる。   Thereby, even if an internal margin is set in the character information storage frame, the interval between the character information storage frames and the line interval in each character information storage frame can be made substantially constant. Therefore, even if an internal margin is set in the character information storage frame, a relatively good-looking layout can be realized.

〔発明6〕さらに、発明6のレイアウトシステムは、発明3のレイアウトシステムにおいて、
前記文字情報格納枠は、文字情報を横書きの書式で格納する矩形状の情報格納枠であり、前記複数の文字情報格納枠のうち、前記レイアウト領域の上端から近い位置にある文字情報格納枠を第1文字情報格納枠、前記第1文字情報格納枠と近接する前記レイアウト領域の上端から遠い位置にある文字情報格納枠を第2文字情報格納枠として、
前記配置位置調整手段は、前記第1文字情報格納枠の前記余白を除いた文字流し込み領域の高さが、行送りの整数倍かつ前記第1文字情報格納枠の元の前記文字流し込み領域の高さ以下となるように前記第1文字情報格納枠の下辺位置を調整し、さらに前記第1文字情報格納枠の前記文字流し込み領域の上辺位置と前記第2文字情報格納枠の前記文字流し込み領域の上辺位置との間の高さが、前記行送りの整数倍かつ、前記第2文字情報格納枠の前記文字流し込み領域の高さが、前記第2文字情報格納枠の元の前記文字流し込み領域の高さ以下となるように前記第2文字情報格納枠の上辺位置を調整するようになっており、
前記文字情報格納枠挿入手段は、前記配置位置調整手段で調整した前記第1文字情報格納枠の前記文字流し込み領域の下辺位置を上辺位置とし、前記配置位置調整手段で調整した前記第2文字情報格納枠の前記文字流し込み領域の上辺位置を下辺位置とし、前記第1および第2文字情報格納枠の前記文字流し込み領域の左辺位置が、前記レイアウト領域の左端から遠い方の前記文字情報格納枠の左辺位置を左辺位置とし、前記第1および第2文字情報格納枠の前記文字流し込み領域の右辺位置が、前記レイアウト領域の右端から遠い方の前記文字情報格納枠の右辺位置を右辺位置とする第3文字情報格納枠を挿入するようになっており、
前記文字情報分割格納手段は、前記掲載情報選択手段で選択した掲載情報を第1文字情報格納枠に格納し、前記第1文字情報格納枠に格納した掲載情報の続きを前記第3文字情報格納枠に格納し、前記第3文字情報格納枠に格納した掲載情報の続きを前記第2文字情報格納枠に格納するようになっていることを特徴とする。
[Invention 6] The layout system of Invention 6 is the layout system of Invention 3,
The character information storage frame is a rectangular information storage frame for storing character information in a horizontal writing format, and the character information storage frame located near the upper end of the layout area among the plurality of character information storage frames. A character information storage frame at a position far from the upper end of the layout area adjacent to the first character information storage frame and the first character information storage frame is used as a second character information storage frame.
The arrangement position adjusting unit is configured such that a height of the character insertion area excluding the margin of the first character information storage frame is an integral multiple of a line feed and a height of the original character insertion area of the first character information storage frame. The lower side position of the first character information storage frame is adjusted so that the upper side position of the character insertion region of the first character information storage frame and the character insertion region of the second character information storage frame The height between the upper side position is an integral multiple of the line feed, and the height of the character insertion area of the second character information storage frame is equal to the original character insertion area of the second character information storage frame. The upper side position of the second character information storage frame is adjusted to be equal to or less than the height,
The character information storage frame insertion means uses the lower side position of the character insertion area of the first character information storage frame adjusted by the arrangement position adjustment means as the upper side position, and the second character information adjusted by the arrangement position adjustment means The upper side position of the character insertion area of the storage frame is the lower side position, and the left side position of the character insertion area of the first and second character information storage frames is the farther from the left end of the layout area of the character information storage frame. A left side position is a left side position, and a right side position of the character insertion area of the first and second character information storage frames is a right side position of a right side position of the character information storage frame farther from the right end of the layout area. It is designed to insert a 3-character information storage frame,
The character information division storage means stores the posting information selected by the posting information selection means in the first character information storage frame, and stores the continuation of the posting information stored in the first character information storage frame in the third character information storage frame. A continuation of the posted information stored in the frame and stored in the third character information storage frame is stored in the second character information storage frame.

このような構成であれば、配置位置調整手段により、第1文字情報格納枠の余白を除いた文字流し込み領域の高さが、行送りの整数倍かつ第1文字情報格納枠の元の前記文字流し込み領域の高さ以下となるように前記第1文字情報格納枠の下辺位置が調整され、さらに第1文字情報格納枠の文字流し込み領域の上辺位置と第2文字情報格納枠の文字流し込み領域の上辺位置との間の高さが、行送りの整数倍かつ、第2文字情報格納枠の文字流し込み領域の高さが、第2文字情報格納枠の元の文字流し込み領域の高さ以下となるように第2文字情報格納枠の上辺位置が調整される。
そして、文字情報格納枠挿入手段により、配置位置調整手段で調整した第1文字情報格納枠の文字流し込み領域の下辺位置を上辺位置とし、配置位置調整手段で調整した第2文字情報格納枠の文字流し込み領域の上辺位置を下辺位置とし、第1および第2文字情報格納枠の文字流し込み領域の左辺位置が、レイアウト領域の左端から遠い方の文字情報格納枠の左辺位置を左辺位置とし、第1および第2文字情報格納枠の文字流し込み領域の右辺位置が、レイアウト領域の右端から遠い方の文字情報格納枠の右辺位置を右辺位置とする第3文字情報格納枠が挿入される。
そして、文字情報分割格納手段により、選択された掲載情報が第1文字情報格納枠に、第1文字情報格納枠に格納した掲載情報の続きが第3文字情報格納枠に、第3文字情報格納枠に格納した掲載情報の続きが第2文字情報格納枠にそれぞれ格納される。
With such a configuration, the height of the character insertion area excluding the margin of the first character information storage frame is an integral multiple of the line feed and the original character of the first character information storage frame by the arrangement position adjusting means. The lower side position of the first character information storage frame is adjusted so as to be equal to or less than the height of the flow region, and the upper side position of the character flow storage region of the first character information storage frame and the character flow region of the second character information storage frame The height between the upper side position is an integral multiple of the line feed, and the height of the character insertion area of the second character information storage frame is equal to or less than the height of the original character insertion area of the second character information storage frame. Thus, the upper side position of the second character information storage frame is adjusted.
Then, the character position in the second character information storage frame adjusted by the arrangement position adjusting unit is set as the upper side position by using the character information storage frame inserting unit as the lower side position of the character insertion area of the first character information storage frame adjusted by the arrangement position adjusting unit. The upper side position of the flow area is the lower side position, the left side position of the character flow area of the first and second character information storage frames is the left side position of the character information storage frame farther from the left end of the layout area, and the first side position is the first side position. A third character information storage frame is inserted in which the right side position of the character insertion area of the second character information storage frame is set to the right side position of the character information storage frame farther from the right end of the layout area.
Then, the selected posting information is stored in the first character information storage frame by the character information division storage means, and the continuation of the posting information stored in the first character information storage frame is stored in the third character information storage frame. The continuation of the posted information stored in the frame is stored in the second character information storage frame.

横書きの書式で掲載情報を格納する場合には、文字情報格納枠の余白を除いた実際に文字列が流し込まれる文字流し込み領域の高さを、行の高さと行間を加えた行送りの整数倍にすることによって、文字流し込み領域に不要な空白が発生する可能性を低減できる。しかしながら、文字流し込み領域の高さを行送りの整数倍にする際、元の文字流し込み領域の高さより大きくすると、他の情報格納枠と重なる可能性があるため、元の文字流し込み領域の高さ以下となるように文字情報格納枠を縮小すべきである。   When posting information is stored in the horizontal writing format, the height of the character insertion area where the character string is actually inserted, excluding the margin of the character information storage frame, is an integer multiple of the line feed including the line height and the line spacing. By doing so, it is possible to reduce the possibility of unnecessary blanks being generated in the character insertion area. However, when making the height of the character insertion area an integral multiple of the line feed, if it is larger than the height of the original character insertion area, there is a possibility of overlapping with other information storage frames. The character information storage frame should be reduced so that:

しかし、第1文字情報格納枠、第2文字情報格納枠をそれぞれ縮小すると、近接していた文字情報格納枠間に空白領域が発生することになり、文字情報格納枠間の行間が文字情報格納枠内の行間より大きくなるため、レイアウトを損なってしまう。   However, if the first character information storage frame and the second character information storage frame are reduced, a blank area is generated between the adjacent character information storage frames, and the line information between the character information storage frames is stored as character information. Since it becomes larger than the line spacing in the frame, the layout is damaged.

本発明では、文字情報格納枠間に新たに第3文字情報格納枠を挿入することによって、上記の問題を解決するようになっている。その際に、他の情報格納枠と重なり合わないように第3文字情報格納枠を配置するので、情報格納枠が重なり合う事によってレイアウトの見栄えが悪くなることはない。   In the present invention, the above-described problem is solved by newly inserting a third character information storage frame between the character information storage frames. At this time, since the third character information storage frame is arranged so as not to overlap with other information storage frames, the appearance of the layout is not deteriorated by overlapping the information storage frames.

〔発明7〕さらに、発明7のレイアウトシステムは、発明3のレイアウトシステムにおいて、
前記文字情報格納枠は、文字情報を縦書きの書式で格納する矩形状の情報格納枠であり、前記複数の文字情報格納枠のうち、前記レイアウト領域の右端から近い位置にある文字情報格納枠を第1文字情報格納枠、前記第1文字情報格納枠と近接する前記レイアウト領域の右端から遠い位置にある文字情報格納枠を第2文字情報格納枠として、
前記配置位置調整手段は、前記第1文字情報格納枠の前記余白を除いた文字流し込み領域の幅が、行送りの整数倍かつ前記第1文字情報格納枠の元の前記文字流し込み領域の幅以下となるように前記第1文字情報格納枠の左辺位置を調整し、さらに前記第1文字情報格納枠の前記文字流し込み領域の右辺位置と前記第2文字情報格納枠の前記文字流し込み領域の右辺位置との間の幅が、前記行送りの整数倍かつ、前記第2文字情報格納枠の前記文字流し込み領域の幅が、前記第2文字情報格納枠の元の前記文字流し込み領域の幅以下となるように前記第2文字情報格納枠の右辺位置を調整するようになっており、
前記文字情報格納枠挿入手段は、前記配置位置調整手段で調整した前記第1文字情報格納枠の前記文字流し込み領域の左辺位置を右辺位置とし、前記配置位置調整手段で調整した前記第2文字情報格納枠の前記文字流し込み領域の右辺位置を左辺位置とし、前記第1および第2文字情報格納枠の前記文字流し込み領域の上辺位置が、前記レイアウト領域の上端から遠い方の前記文字情報格納枠の上辺位置を上辺位置とし、前記第1および第2文字情報格納枠の前記文字流し込み領域の下辺位置が、前記レイアウト領域の下端から遠い方の前記文字情報格納枠の下辺位置を下辺位置とする第3文字情報格納枠を挿入するようになっており、
前記文字情報分割格納手段は、前記掲載情報選択手段で選択した掲載情報を第1文字情報格納枠に格納し、前記第1文字情報格納枠に格納した掲載情報の続きを前記第3文字情報格納枠に格納し、前記第3文字情報格納枠に格納した掲載情報の続きを前記第2文字情報格納枠に格納するようになっていることを特徴とする。
[Invention 7] Furthermore, the layout system of Invention 7 is the layout system of Invention 3,
The character information storage frame is a rectangular information storage frame for storing character information in a vertical writing format, and the character information storage frame located near the right end of the layout area among the plurality of character information storage frames. As a first character information storage frame, a character information storage frame at a position far from the right end of the layout area adjacent to the first character information storage frame as a second character information storage frame,
The arrangement position adjusting means is configured such that the width of the character insertion area excluding the margin of the first character information storage frame is an integral multiple of line feed and equal to or less than the width of the original character insertion area of the first character information storage frame. The left side position of the first character information storage frame is adjusted such that the right side position of the character insertion area of the first character information storage frame and the right side position of the character insertion area of the second character information storage frame And the width of the character insertion area of the second character information storage frame is equal to or smaller than the width of the original character insertion area of the second character information storage frame. The right side position of the second character information storage frame is adjusted as follows,
The character information storage frame insertion means sets the left side position of the character insertion area of the first character information storage frame adjusted by the arrangement position adjustment means as a right side position, and the second character information adjusted by the arrangement position adjustment means The right side position of the character insertion area of the storage frame is set as the left side position, and the upper side position of the character insertion area of the first and second character information storage frames is farther from the upper end of the layout area. The upper side position is the upper side position, and the lower side position of the character insertion area of the first and second character information storage frames is the lower side position of the lower side of the character information storage frame farther from the lower end of the layout area. It is designed to insert a 3-character information storage frame,
The character information division storage means stores the posting information selected by the posting information selection means in the first character information storage frame, and stores the continuation of the posting information stored in the first character information storage frame in the third character information storage frame. A continuation of the posted information stored in the frame and stored in the third character information storage frame is stored in the second character information storage frame.

このような構成であれば、配置位置調整手段により、第1文字情報格納枠の余白を除いた文字流し込み領域の幅が、行送りの整数倍かつ第1文字情報格納枠の元の前記文字流し込み領域の幅以下となるように前記第1文字情報格納枠の左辺位置が調整され、さらに第1文字情報格納枠の文字流し込み領域の右辺位置と第2文字情報格納枠の文字流し込み領域の右辺位置との間の高さが、行送りの整数倍かつ、第2文字情報格納枠の文字流し込み領域の幅が、第2文字情報格納枠の元の文字流し込み領域の幅以下となるように第2文字情報格納枠の右辺位置が調整される。
そして、文字情報格納枠挿入手段により、配置位置調整手段で調整した第1文字情報格納枠の文字流し込み領域の左辺位置を右辺位置とし、配置位置調整手段で調整した第2文字情報格納枠の文字流し込み領域の右辺位置を左辺位置とし、第1および第2文字情報格納枠の文字流し込み領域の上辺位置が、レイアウト領域の上端から遠い方の文字情報格納枠の上辺位置を上辺位置とし、第1および第2文字情報格納枠の文字流し込み領域の下辺位置が、レイアウト領域の下端から遠い方の文字情報格納枠の下辺位置を下辺位置とする第3文字情報格納枠が挿入される。
そして、文字情報分割格納手段により、選択された掲載情報が第1文字情報格納枠に、第1文字情報格納枠に格納した掲載情報の続きが第3文字情報格納枠に、第3文字情報格納枠に格納した掲載情報の続きが第2文字情報格納枠にそれぞれ格納される。本発明では、レイアウト領域の右端から近い位置にある文字情報格納枠を第1文字情報格納枠として設定するので、日本語縦書きのように行の進行方向が右から左に流れる言語のレイアウトに最適である。
With such a configuration, the width of the character insertion area excluding the margin of the first character information storage frame is an integral multiple of the line feed and the original character insertion of the first character information storage frame by the arrangement position adjusting means. The left side position of the first character information storage frame is adjusted so as to be equal to or smaller than the width of the region, and the right side position of the character insertion region of the first character information storage frame and the right side position of the character insertion region of the second character information storage frame So that the height between the second character information storage frame and the width of the character insertion area of the second character information storage frame is equal to or less than the width of the original character insertion area of the second character information storage frame. The right side position of the character information storage frame is adjusted.
Then, the character information storage frame insertion means uses the left side position of the character insertion area of the first character information storage frame adjusted by the arrangement position adjustment means as the right side position, and the character in the second character information storage frame adjusted by the arrangement position adjustment means. The right side position of the flow area is the left side position, the upper side position of the character flow area of the first and second character information storage frames is the upper side position of the upper side of the character information storage frame far from the upper end of the layout area, A third character information storage frame is inserted in which the lower side position of the character insertion area of the second character information storage frame is the lower side position of the character information storage frame farther from the lower end of the layout area.
Then, the selected posting information is stored in the first character information storage frame by the character information division storage means, and the continuation of the posting information stored in the first character information storage frame is stored in the third character information storage frame. The continuation of the posted information stored in the frame is stored in the second character information storage frame. In the present invention, the character information storage frame that is close to the right end of the layout area is set as the first character information storage frame, so that the layout of the language in which the line progress direction flows from right to left as in vertical Japanese writing. Is optimal.

縦書きの書式で掲載情報を格納する場合には、文字情報格納枠の余白を除いた実際に文字列が流し込まれる文字流し込み領域の幅を、行の幅と行間を加えた行送りの整数倍にすることによって、文字流し込み領域に不要な空白が発生する可能性を低減できる。しかしながら、文字流し込み領域の幅を行送りの整数倍にする際、元の文字流し込み領域の幅より大きくすると、他の情報格納枠と重なる可能性があるため、元の文字流し込み領域の幅以下となるように文字情報格納枠を縮小すべきである。   When posting information is stored in the vertical writing format, the width of the character insertion area into which the character string is actually inserted, excluding the margin of the character information storage frame, is an integer multiple of the line feed including the line width and line spacing. By doing so, it is possible to reduce the possibility of unnecessary blanks being generated in the character insertion area. However, when making the width of the character flow area an integer multiple of the line feed, if it is larger than the width of the original character flow area, it may overlap with other information storage frames, so it is less than the width of the original character flow area. Therefore, the character information storage frame should be reduced.

しかし、第1文字情報格納枠、第2文字情報格納枠をそれぞれ縮小すると、近接していた文字情報格納枠間に空白領域が発生することになり、文字情報格納枠間の行間が文字情報格納枠内の行間より大きくなるため、レイアウトを損なってしまう。   However, if the first character information storage frame and the second character information storage frame are reduced, a blank area is generated between the adjacent character information storage frames, and the line information between the character information storage frames is stored as character information. Since it becomes larger than the line spacing in the frame, the layout is damaged.

本発明では、文字情報格納枠間に新たに第3文字情報格納枠を挿入することによって、上記の問題を解決するようになっている。その際に、他の情報格納枠と重なり合わないように第3文字情報格納枠を配置するので、情報格納枠が重なり合う事によってレイアウトの見栄えが悪くなることはない。   In the present invention, the above-described problem is solved by newly inserting a third character information storage frame between the character information storage frames. At this time, since the third character information storage frame is arranged so as not to overlap with other information storage frames, the appearance of the layout is not deteriorated by overlapping the information storage frames.

〔発明8〕さらに、発明8のレイアウトシステムは、発明3ないし発明7のレイアウトシステムのいずれかにおいて、
さらに、前記文字情報格納枠分割手段で分割した複数の文字情報格納枠を結合してなる結合領域の外周辺を判定する外周辺判定手段と、前記外周辺判定手段の判定結果に基づいて前記結合領域の外周辺を描画する外周辺描画手段とを備えることを特徴とする。
[Invention 8] Furthermore, the layout system of Invention 8 is the layout system of any one of Inventions 3 to 7,
Further, an outer periphery determination unit that determines an outer periphery of a combined area formed by combining a plurality of character information storage frames divided by the character information storage frame dividing unit, and the combination based on a determination result of the outer periphery determination unit And an outer periphery drawing means for drawing the outer periphery of the region.

このような構成であれば、外周辺判定手段により、分割された複数の文字情報格納枠を結合してなる結合領域の外周辺が判定され、外周辺描画手段により、その判定結果に基づいて結合領域の外周辺が描画される。   In such a configuration, the outer periphery determination unit determines the outer periphery of the combined area formed by combining the plurality of divided character information storage frames, and the outer periphery drawing unit combines based on the determination result. The outer periphery of the area is drawn.

これにより、結合領域の外周辺が描画されるので、分割された複数の文字情報格納枠が論理的に一体のものであることを視覚的に認識しやすくなるという効果も得られる。   As a result, since the outer periphery of the combined area is drawn, there is also an effect that it is easy to visually recognize that the plurality of divided character information storage frames are logically integrated.

ここで、外周辺判定手段による判定は、文字情報分割格納手段による格納よりも前に行うようになっていてもよいし、文字情報分割格納手段による格納よりも後に行うようになっていてもよい。このことは、外周辺描画手段による描画を行う場合についても同様である。   Here, the determination by the outer periphery determination unit may be performed before the storage by the character information division storage unit, or may be performed after the storage by the character information division storage unit. . The same applies to the case where drawing is performed by the outer peripheral drawing means.

〔発明9〕さらに、発明9のレイアウトシステムは、発明8のレイアウトシステムにおいて、
前記外周辺判定手段は、前記文字情報格納枠の外周辺のうち他の文字情報格納枠とその全部が重なり合っている辺については、その辺を前記結合領域の外周辺を形成する辺の候補から除外し、前記文字情報格納枠の外周辺のうち他の文字情報格納枠とその一部が重なり合っている辺については、その辺のうち該当部分を前記結合領域の外周辺を形成する辺の候補から除外し、前記文字情報格納枠の外周辺のうち他の文字情報格納枠と重なり合っていない辺については、その辺を前記結合領域の外周辺を形成する辺の候補とし、前記結合領域を構成する文字情報格納枠のすべての外周辺について求めた前記辺の候補に基づいて前記結合領域の外周辺を判定するようになっていることを特徴とする。
[Invention 9] Furthermore, the layout system of Invention 9 is the layout system of Invention 8,
The outer periphery determining means is configured to select a side of the outer periphery of the character information storage frame that overlaps with the other character information storage frame from a candidate for an edge that forms the outer periphery of the combined area. Excluded from the outer periphery of the character information storage frame, with respect to the side that partially overlaps with another character information storage frame, the corresponding part of the side is a candidate for the side that forms the outer periphery of the combined area For the sides that do not overlap with other character information storage frames in the outer periphery of the character information storage frame, the sides are candidates for sides that form the outer periphery of the connection region, and the combined region is configured The outer periphery of the combined area is determined based on the edge candidates obtained for all the outer periphery of the character information storage frame to be performed.

このような構成であれば、外周辺判定手段により、文字情報格納枠の外周辺のうち他の文字情報格納枠とその全部が重なり合っている辺については、その辺が、結合領域の外周辺を形成する辺の候補から除外される。また、文字情報格納枠の外周辺のうち他の文字情報格納枠とその一部が重なり合っている辺については、その辺のうち該当部分が、結合領域の外周辺を形成する辺の候補から除外される。また、文字情報格納枠の外周辺のうち他の文字情報格納枠と重なり合っていない辺については、その辺が、結合領域の外周辺を形成する辺の候補とされる。そして、結合領域を構成する文字情報格納枠のすべての外周辺について求めた辺の候補に基づいて結合領域の外周辺が判定される。   With such a configuration, the outer periphery determination means uses the outer periphery of the character information storage frame, and for the side that overlaps with the other character information storage frame, that side overlaps the outer periphery of the combined area. It is excluded from the candidates for the side to be formed. In addition, for a side that partially overlaps another character information storage frame in the outer periphery of the character information storage frame, the corresponding part of the side is excluded from the candidates for the side that forms the outer periphery of the combined area. Is done. In addition, regarding a side that does not overlap another character information storage frame in the outer periphery of the character information storage frame, that side is a candidate for a side that forms the outer periphery of the combined area. Then, the outer periphery of the combined region is determined based on the edge candidates obtained for all the outer periphery of the character information storage frames constituting the combined region.

これにより、結合領域の外周辺を比較的正確に判定することができるという効果も得られる。   Thereby, the effect that the outer periphery of a joint area | region can be determined comparatively correctly is also acquired.

〔発明10〕さらに、発明10のレイアウトシステムは、発明2ないし発明9のレイアウトシステムのいずれかにおいて、
さらに、ユーザに関するユーザ情報を記憶するためのユーザ情報記憶手段を備え、
前記掲載情報選択手段は、前記ユーザ情報記憶手段のユーザ情報に基づいて、前記複数の掲載情報のなかから前記掲載情報を選択するようになっていることを特徴とする。
[Invention 10] Furthermore, the layout system of Invention 10 is the layout system of any one of Inventions 2 to 9,
Furthermore, a user information storage means for storing user information about the user is provided,
The posting information selection means is configured to select the posting information from the plurality of posting information based on user information stored in the user information storage means.

このような構成であれば、掲載情報選択手段により、ユーザ情報記憶手段のユーザ情報に基づいて、複数の掲載情報のなかから掲載情報が選択される。   If it is such composition, publication information will be chosen from a plurality of publication information by publication information selection means based on user information of user information storage means.

これにより、掲載情報の選択に関してユーザの固有情報やユーザによる指定情報が参照されることから、ユーザの希望に比較的沿った掲載内容を作成することができるという効果も得られる。   Thereby, since the user's unique information or the user's designation information is referred to regarding the selection of the posting information, it is possible to obtain the effect that the posting contents relatively in line with the user's desire can be created.

ここで、ユーザ情報には、例えば、ユーザの年齢、性別、興味嗜好、住所、氏名またはユーザ端末に関する使用環境が含まれる。以下、発明11のレイアウトシステムにおいて同じである。   Here, the user information includes, for example, the user's age, sex, interest preference, address, name, or usage environment related to the user terminal. Hereinafter, the same applies to the layout system of the eleventh aspect.

また、ユーザ情報記憶手段は、ユーザ情報をあらゆる手段でかつあらゆる時期に記憶するものであり、ユーザ情報をあらかじめ記憶してあるものであってもよいし、ユーザ情報をあらかじめ記憶することなく、本システムの動作時に外部からの入力等によってユーザ情報を記憶するようになっていてもよい。以下、発明11のレイアウトシステムにおいて同じである。   The user information storage means stores the user information at any time and at any time, and may store user information in advance, or may store the user information in advance without storing the user information in advance. User information may be stored by external input or the like during system operation. Hereinafter, the same applies to the layout system of the eleventh aspect.

〔発明11〕さらに、発明11のレイアウトシステムは、発明2ないし発明9のレイアウトシステムのいずれかにおいて、
さらに、ユーザに関するユーザ情報を記憶するためのユーザ情報記憶手段を備え、
前記レイアウト手段は、前記ユーザ情報記憶手段のユーザ情報に基づいて、前記掲載情報選択手段で選択した掲載情報をレイアウトするようになっていることを特徴とする。
[Invention 11] Furthermore, the layout system of Invention 11 is the layout system of any one of Inventions 2 to 9,
Furthermore, a user information storage means for storing user information about the user is provided,
The layout means lays out the posting information selected by the posting information selection means based on user information stored in the user information storage means.

このような構成であれば、レイアウト手段により、ユーザ情報記憶手段のユーザ情報に基づいて、選択された掲載情報がレイアウトされる。   With such a configuration, the selected posting information is laid out by the layout unit based on the user information stored in the user information storage unit.

これにより、レイアウトに関してユーザの固有情報やユーザによる指定情報が参照されることから、ユーザの希望に比較的沿ったレイアウト結果を作成することができるという効果も得られる。   As a result, the user's specific information and the designation information by the user are referenced with respect to the layout, so that an effect that a layout result that is relatively in line with the user's wishes can be created is also obtained.

ここで、ユーザ情報に基づいてレイアウトを行うこととして、ユーザ情報に年齢を含む場合は、ユーザが比較的年輩者であるならば、フォントサイズが比較的大きいレイアウトを採用することが考えられる。また、ユーザ情報に性別を含む場合は、性別が女性であれば、丸文字フォントのレイアウトを採用することが考えられる。また、ユーザ情報に興味嗜好を含む場合は、その興味嗜好に応じて、子供向け雑誌風、スポーツ新聞風または技術文書風のレイアウトを採用することが考えられる。また、ユーザ情報に住所を含む場合は、その住所のある土地に特化した風景の画像を背景としたレイアウトを採用することが考えられる。また、ユーザ情報に氏名を含む場合は、その氏名をタイトルとしたレイアウトを採用することが考えられる。また、ユーザ情報にユーザ端末に関する使用環境を含む場合は、ユーザ端末のRAMの容量が少ないときは、データ容量の大きな画像はできるだけ使用しないようなレイアウトを採用することが考えられる。   Here, as the layout based on the user information, when the user information includes an age, if the user is a relatively elderly person, a layout having a relatively large font size may be adopted. In addition, when the user information includes gender, if the gender is female, it may be possible to adopt a circular font layout. If the user information includes interests and preferences, it is possible to adopt a magazine-like layout for children, a sports newspaper style, or a technical document-like layout according to the interests and preferences. In addition, when the user information includes an address, it is conceivable to adopt a layout with a background of a landscape image specialized for the land with the address. When the user information includes a name, it is possible to adopt a layout with the name as the title. In addition, when the user information includes the usage environment related to the user terminal, it may be possible to adopt a layout in which an image with a large data capacity is not used as much as possible when the RAM of the user terminal is small.

〔発明12〕一方、上記目的を達成するために、発明12のレイアウトプログラムは、
発明1のレイアウトシステムにおける前記レイアウト手段として実現される処理をコンピュータに実行させるためのプログラムであって、
前記文字情報格納枠は、他の情報格納枠との間隔を確保するための余白が設定可能であり、
前記レイアウト手段は、前記文字情報を、近接させて配置した複数の文字情報格納枠に連続して格納する場合に、前記複数の文字情報格納枠のうち近接部分で行が連続するもの同士の間隔及び前記各文字情報格納枠内の行間隔が同一又はほぼ同一となるように、前記複数の文字情報格納枠の配置位置を調整する配置位置調整手段ならびに前記複数の文字情報格納枠の間に新たに文字情報格納枠を挿入する文字情報格納枠挿入手段を備えることを特徴とする。
[Invention 12] On the other hand, in order to achieve the above object, the layout program of Invention 12 includes:
A program for causing a computer to execute processing realized as the layout means in the layout system of the invention 1,
In the character information storage frame, a margin for securing an interval with another information storage frame can be set.
When the layout means stores the character information in a plurality of character information storage frames arranged close to each other, an interval between rows of the plurality of character information storage frames in which adjacent rows are continuous And an arrangement position adjusting means for adjusting an arrangement position of the plurality of character information storage frames so that line intervals in the character information storage frames are the same or substantially the same, and a new space between the plurality of character information storage frames. And a character information storage frame inserting means for inserting a character information storage frame.

このような構成であれば、コンピュータによってプログラムが読み取られ、読み取られたプログラムに従ってコンピュータが処理を実行すると、発明1のレイアウトシステムと同等の作用および効果が得られる。   With such a configuration, when the program is read by the computer and the computer executes processing according to the read program, the same operation and effect as the layout system of the first aspect can be obtained.

以下、本発明の第1の実施の形態を図面を参照しながら説明する。図1ないし図19は、本発明に係るレイアウトシステムおよびレイアウトプログラム、並びにレイアウト方法の第1の実施の形態を示す図である。   Hereinafter, a first embodiment of the present invention will be described with reference to the drawings. 1 to 19 are diagrams showing a first embodiment of a layout system, a layout program, and a layout method according to the present invention.

本実施の形態は、本発明に係るレイアウトシステムおよびレイアウトプログラム、並びにレイアウト方法を、図1に示すように、コンテンツ配信端末100において、ニュース等のディジタルコンテンツをユーザ端末200に配信する場合について適用したものである。なお、本実施の形態では文字情報格納枠に横書きの書式が設定されており、文字情報を横書きの書式で格納するようになっている。   In the present embodiment, the layout system, the layout program, and the layout method according to the present invention are applied to the case where digital content such as news is distributed to the user terminal 200 in the content distribution terminal 100 as shown in FIG. Is. In the present embodiment, the horizontal writing format is set in the character information storage frame, and the character information is stored in the horizontal writing format.

まず、本発明を適用するネットワークシステムの構成を図1を参照しながら説明する。   First, the configuration of a network system to which the present invention is applied will be described with reference to FIG.

図1は、本発明を適用するネットワークシステムの構成を示すブロック図である。   FIG. 1 is a block diagram showing a configuration of a network system to which the present invention is applied.

インターネット199には、図1に示すように、ディジタルコンテンツを提供する複数のコンテンツ提供端末S1〜Snと、コンテンツ提供端末S1〜Snから提供されたディジタルコンテンツ(以下、コンテンツ提供端末S1〜Snから提供されたディジタルコンテンツを記事情報または記事と称することもある。)を収集蓄積して配信するコンテンツ配信端末100と、ユーザの利用に供するユーザ端末200とが接続されている。なお、発明の理解を容易にするため、ユーザ端末200を1台しか図示していないが、実際には、複数のユーザ端末がインターネット199に接続されている。   As shown in FIG. 1, the Internet 199 includes a plurality of content providing terminals S1 to Sn that provide digital contents, and digital content provided from the content providing terminals S1 to Sn (hereinafter, provided from the content providing terminals S1 to Sn). The content distribution terminal 100 that collects, stores, and distributes the collected digital content may be referred to as article information or article) and the user terminal 200 that is used by the user are connected. In order to facilitate understanding of the invention, only one user terminal 200 is shown, but actually, a plurality of user terminals are connected to the Internet 199.

コンテンツ提供端末S1〜Snは、CPU、ROM、RAMおよびI/F等をバス接続した一般的なコンピュータと同一機能を有して構成されており、ディジタルコンテンツを作成したときは、ディジタルコンテンツのカテゴリを特定するためのカテゴリNo.をそのディジタルコンテンツに付加し、コンテンツ配信端末100に送信するようになっている。なお、カテゴリNo.については、後段で詳細に説明する。   The content providing terminals S1 to Sn are configured to have the same function as a general computer in which a CPU, ROM, RAM, I / F, and the like are connected by bus. When digital content is created, the digital content category Is added to the digital content and transmitted to the content distribution terminal 100. The category number will be described in detail later.

ユーザ端末200は、CPU、ROM、RAMおよびI/F等をバス接続した一般的なコンピュータと同一機能を有して構成されており、WWW(World Wide Web)ブラウザを有し、WWWブラウザによりコンテンツ配信端末100にアクセスするようになっている。   The user terminal 200 is configured to have the same function as a general computer in which a CPU, a ROM, a RAM, an I / F, and the like are connected by a bus, and has a WWW (World Wide Web) browser. The distribution terminal 100 is accessed.

次に、コンテンツ配信端末100の機能概要を図2を参照しながら詳細に説明する。   Next, an outline of functions of the content distribution terminal 100 will be described in detail with reference to FIG.

図2は、コンテンツ配信端末100の機能概要を示す機能ブロック図である。   FIG. 2 is a functional block diagram showing an outline of functions of the content distribution terminal 100.

コンテンツ配信端末100は、図2に示すように、XML(eXtensible Markup Language)形式のコンテンツデータファイル10を解析するXMLパーサ11と、XMLパーサ11で解析したコンテンツデータファイル10を入力するコンテンツデータファイル入力部12と、XML形式のレイアウト定義ファイル(後述のページテンプレートおよびテンプレート適用ルールをいう。)13を解析するXMLパーサ14と、XMLパーサ14で解析したレイアウト定義ファイル13を入力するレイアウト定義ファイル入力部15と、入力部12,15で入力したコンテンツデータファイル10およびレイアウト定義ファイル13に基づいてレイアウトを行うレイアウティング部16と、レイアウティング部16からのXML形式の描画指定ファイル17を解析するXMLパーサ18と、XMLパーサ18で解析した描画指定ファイル17に基づいて描画を行うことによりPDF(Portable Document Format)形式のファイル20を作成するラスタライズ部19とで構成されている。本実施の形態は、これら構成要素のうち特にレイアウティング部16に特徴があるものである。   As shown in FIG. 2, the content distribution terminal 100 inputs an XML parser 11 that analyzes a content data file 10 in XML (eXtensible Markup Language) format, and a content data file input that inputs the content data file 10 analyzed by the XML parser 11. Unit 12, an XML parser 14 that analyzes an XML format layout definition file (referred to as a page template and a template application rule described later) 13, and a layout definition file input unit that inputs a layout definition file 13 analyzed by the XML parser 14 15, a layouting unit 16 that performs layout based on the content data file 10 and the layout definition file 13 that are input through the input units 12 and 15, and an XML format drawing designation file 1 from the layouting unit 16. An XML parser 18 for analyzing, and a rasterizing section 19 to create a PDF (Portable Document Format) format of the file 20 by performing drawing based on the drawing specified file 17 analyzed by the XML parser 18. This embodiment is characterized by the layouting portion 16 among these components.

次に、コンテンツ配信端末100の構成を図3を参照しながら詳細に説明する。   Next, the configuration of the content distribution terminal 100 will be described in detail with reference to FIG.

図3は、コンテンツ配信端末100の構成を示すブロック図である。   FIG. 3 is a block diagram illustrating a configuration of the content distribution terminal 100.

コンテンツ配信端末100は、図3に示すように、制御プログラムに基づいて演算およびシステム全体を制御するCPU30と、所定領域にあらかじめCPU30の制御プログラム等を格納しているROM32と、ROM32等から読み出したデータやCPU30の演算過程で必要な演算結果を格納するためのRAM34と、外部装置に対してデータの入出力を媒介するI/F38とで構成されており、これらは、データを転送するための信号線であるバス39で相互にかつデータ授受可能に接続されている。   As shown in FIG. 3, the content distribution terminal 100 reads out from the CPU 30 that controls the calculation and the entire system based on the control program, the ROM 32 that stores the control program of the CPU 30 in a predetermined area, and the ROM 32. It is composed of a RAM 34 for storing data and calculation results required in the calculation process of the CPU 30, and an I / F 38 for mediating input / output of data to / from an external device. These are used for transferring data. The buses 39 as signal lines are connected to each other so as to be able to exchange data.

I/F38には、外部装置として、ユーザ情報を登録するユーザ情報登録DB40と、ページ単位のレイアウト領域についてレイアウトの枠組みを規定したページテンプレートを登録するテンプレート登録DB42と、コンテンツ提供端末S1〜Snから提供されたディジタルコンテンツを収集蓄積するコンテンツ登録DB44と、インターネット199に接続するための信号線とが接続されている。   The I / F 38 includes, as external devices, a user information registration DB 40 for registering user information, a template registration DB 42 for registering a page template that defines a layout framework for a layout area in units of pages, and content providing terminals S1 to Sn. A content registration DB 44 for collecting and storing the provided digital content and a signal line for connecting to the Internet 199 are connected.

次に、ユーザ情報登録DB40のデータ構造を図面を参照しながら詳細に説明する。   Next, the data structure of the user information registration DB 40 will be described in detail with reference to the drawings.

ユーザ情報登録DB40には、図4に示すように、ユーザ情報を登録するユーザプロファイルテーブル300が格納されている。   As shown in FIG. 4, the user information registration DB 40 stores a user profile table 300 for registering user information.

図4は、ユーザプロファイルテーブル300のデータ構造を示す図である。   FIG. 4 is a diagram illustrating a data structure of the user profile table 300.

ユーザプロファイルテーブル300は、図4に示すように、各ユーザごとに1または複数のレコードが登録可能となっている。各レコードは、ユーザを特定するためのユーザIDを登録するフィールド302と、ディジタルコンテンツの配信先アドレスを登録するフィールド304と、カテゴリNo.を登録するフィールド306と、キーワードを登録するフィールド308と、配信日を登録するフィールド310と、配信時刻を登録するフィールド312と、レイアウトNo.を登録するフィールド314と、最大ページ数を登録するフィールド316と、フォントサイズを登録するフィールド318とを含んで構成されている。   As shown in FIG. 4, the user profile table 300 can register one or a plurality of records for each user. Each record includes a field 302 for registering a user ID for identifying a user, a field 304 for registering a distribution destination address of digital contents, a field 306 for registering a category number, a field 308 for registering a keyword, A field 310 for registering a delivery date, a field 312 for registering a delivery time, a field 314 for registering a layout number, a field 316 for registering the maximum number of pages, and a field 318 for registering a font size. Has been.

フィールド308には、ユーザが指定したキーワードを含むディジタルコンテンツを配信対象として選択する場合においてそのキーワードを登録する。キーワードとしては、例えば、ユーザが興味をもっているカテゴリの記事において頻出すると思われるキーワードを与える。図4の例では、フィールド308の第1段目には「プロセッサ」が、フィールド308の第2段目には「OS(Operating System)」がそれぞれ登録されている。   In the field 308, when digital content including a keyword specified by the user is selected as a distribution target, the keyword is registered. As a keyword, for example, a keyword that appears frequently in articles in a category in which the user is interested is given. In the example of FIG. 4, “processor” is registered in the first level of the field 308, and “OS (Operating System)” is registered in the second level of the field 308.

フィールド310には、ユーザがディジタルコンテンツの配信を希望する配信日を登録する。配信日としては、例えば、ディジタルコンテンツの配信を毎日希望する場合は「毎日」を指定し、平日のみ配信を希望する場合は「平日」を指定し、週末のみ配信を希望する場合は「週末」を指定する。図4の例では、フィールド310の第1段目には「毎日」が、フィールド310の第2段目には「平日」がそれぞれ登録されている。   In field 310, a distribution date for which the user desires to distribute digital contents is registered. For example, if you want to distribute digital content every day, specify "Daily". If you want to distribute only on weekdays, specify "Weekday". If you want to distribute only on weekends, select "Weekend". Is specified. In the example of FIG. 4, “daily” is registered in the first row of the field 310, and “weekday” is registered in the second row of the field 310.

フィールド312には、ユーザが指定した配信日においてディジタルコンテンツの配信を希望する配信時刻を登録する。配信時刻としては、例えば、1日を0時から23時までの24時間制時刻で表現したときのいずれかの時刻を指定する。図4の例では、フィールド312の第1段目には5時が、フィールド312の第2段目には11時がそれぞれ登録されている。   In the field 312, a distribution time at which distribution of digital contents is desired on the distribution date designated by the user is registered. As the delivery time, for example, any time when a day is expressed by a 24-hour system time from 0:00 to 23:00 is designated. In the example of FIG. 4, 5 o'clock is registered in the first row of the field 312 and 11 o'clock is registered in the second row of the field 312.

フィールド314には、ディジタルコンテンツの出力レイアウトを特定するためのレイアウトNo.を登録する。レイアウトNo.としては、例えば、ユーザが希望する出力レイアウトを特定するためのレイアウトNo.を指定する。図4の例では、フィールド314の第1段目にはレイアウトNo.2が、フィールド314の第2段目にはレイアウトNo.5がそれぞれ登録されている。なお、レイアウトNo.については、後段で詳細に説明する。   In the field 314, a layout number for specifying the output layout of the digital content is registered. As the layout number, for example, a layout number for specifying the output layout desired by the user is designated. In the example of FIG. 4, layout No. 2 is registered in the first level of the field 314, and layout No. 5 is registered in the second level of the field 314. The layout number will be described in detail later.

フィールド316には、ディジタルコンテンツの表示または印刷を行ったときにその上限となる最大ページ数を登録する。最大ページ数としては、例えば、上限となる最大ページ数を指定するほか、「u」という表記により上限を設定しないことを指定することもできる。図4の例では、フィールド316の第1段目には2ページが、フィールド316の第3段目には「u」がそれぞれ登録されている。   The field 316 registers the maximum number of pages that is the upper limit when digital content is displayed or printed. As the maximum number of pages, for example, in addition to specifying the maximum number of pages as an upper limit, it is possible to specify not to set an upper limit by the notation “u”. In the example of FIG. 4, two pages are registered in the first row of the field 316, and “u” is registered in the third row of the field 316.

フィールド318には、ディジタルコンテンツの表示または印刷を行ったときのフォントのサイズを登録する。図4の例では、フィールド318の第1段目には「小」が、フィールド318の第3段目には「通常」がそれぞれ登録されている。   In the field 318, the font size when the digital content is displayed or printed is registered. In the example of FIG. 4, “small” is registered in the first row of the field 318, and “normal” is registered in the third row of the field 318.

次に、テンプレート登録DB42のデータ構造を図面を参照しながら詳細に説明する。   Next, the data structure of the template registration DB 42 will be described in detail with reference to the drawings.

テンプレート登録DB42には、異なる複数のページテンプレートが格納されている。ページテンプレートの構成を図5を参照しながら詳細に説明する。   The template registration DB 42 stores a plurality of different page templates. The configuration of the page template will be described in detail with reference to FIG.

図5は、ページテンプレートが規定するレイアウト状態を示す図である。   FIG. 5 is a diagram showing a layout state defined by the page template.

ページテンプレートは、図5に示すように、タイトル情報を格納するための矩形状のタイトル情報格納枠362と、文字情報を格納するための矩形状の文字情報格納枠364と、画像情報を格納するための矩形状の画像情報格納枠366と、画像情報格納枠368と、文字情報格納枠370とをレイアウト領域360に配置したレイアウト状態を規定している。文字情報格納枠には、横書きの書式が設定されており、文字情報を横書きの書式で格納するようになっている。なお、図5はあくまで一例であり、情報格納枠の形状、大きさ、個数またはレイアウト領域360での配置位置は、各ページテンプレートによってそれぞれ異なる。   As shown in FIG. 5, the page template stores a rectangular title information storage frame 362 for storing title information, a rectangular character information storage frame 364 for storing character information, and image information. A layout state in which a rectangular image information storage frame 366, an image information storage frame 368, and a character information storage frame 370 are arranged in the layout area 360 is defined. In the character information storage frame, a horizontal writing format is set, and character information is stored in a horizontal writing format. Note that FIG. 5 is merely an example, and the shape, size, number, and arrangement position of the information storage frame in the layout area 360 are different for each page template.

図6は、情報格納枠およびその余白の構造を示す図である。   FIG. 6 is a diagram showing the structure of the information storage frame and its margin.

情報格納枠は、図6に示すように、情報格納枠の外周辺に沿ってその外側に設けられる外部余白Mと、情報格納枠の外周辺に沿ってその内側に設けられる内部余白Iとが設定可能となっている。外部余白Mは、情報格納枠の外周辺と他の情報格納枠の外周辺との間隔を規定しており、内部余白Iは、矩形状の内容領域Cの外周辺と情報格納枠の外周辺との間隔を規定している。   As shown in FIG. 6, the information storage frame includes an outer margin M provided on the outer side along the outer periphery of the information storage frame and an inner margin I provided on the inner side along the outer periphery of the information storage frame. It can be set. The outer margin M defines the interval between the outer periphery of the information storage frame and the outer periphery of another information storage frame, and the inner margin I is the outer periphery of the rectangular content area C and the outer periphery of the information storage frame. The interval is defined.

また、テンプレート登録DB42には、図7に示すように、異なる複数のテンプレート適用ルールform01〜form06が格納されている。テンプレート適用ルールの構成を図7および図8を参照しながら詳細に説明する。   The template registration DB 42 stores a plurality of different template application rules form01 to form06 as shown in FIG. The configuration of the template application rule will be described in detail with reference to FIGS.

図7および図8は、テンプレート適用ルールのデータ構造を示す図である。   7 and 8 are diagrams showing the data structure of the template application rule.

テンプレート適用ルールは、レイアウト結果が複数のレイアウト領域360に及ぶことを想定して各レイアウト領域360ごとに適用すべきテンプレートのルールを規定したものであり、図8に示すように、各ページごとに1つのレコードを登録してなる。各レコードは、ページ番号を登録するフィールド350と、ページテンプレートを特定するためのテンプレート番号を登録するフィールド352とを含んで構成されている。   The template application rule prescribes a rule for a template to be applied to each layout area 360 on the assumption that the layout result extends to a plurality of layout areas 360. As shown in FIG. Register one record. Each record includes a field 350 for registering a page number and a field 352 for registering a template number for specifying a page template.

図8の例では、第1段目のレコードには、ページ番号として「1」が、テンプレート番号として「1」がそれぞれ登録されている。これは、1ページ目のレイアウト領域360には、テンプレート番号「1」のページテンプレートを適用すべきことを意味している。   In the example of FIG. 8, “1” is registered as the page number and “1” is registered as the template number in the first record. This means that the page template with the template number “1” should be applied to the layout area 360 of the first page.

また、テンプレート登録DB42には、図9に示すように、テンプレート適用ルールform01〜form06とレイアウトNo.との対応関係を示すレイアウトNo.対応テーブル330が格納されている。レイアウトNo.対応テーブル330の構成を図9を参照しながら詳細に説明する。   Further, as shown in FIG. 9, the template registration DB 42 stores a layout number correspondence table 330 indicating the correspondence between the template application rules form01 to form06 and the layout numbers. The configuration of the layout number correspondence table 330 will be described in detail with reference to FIG.

図9は、レイアウトNo.対応テーブル330のデータ構造を示す図である。   FIG. 9 is a diagram showing the data structure of the layout number correspondence table 330.

レイアウトNo.対応テーブル330には、図9に示すように、各レイアウトNo.ごとに1つのレコードが登録されている。各レコードは、レイアウトNo.を登録するフィールド332と、テンプレート適用ルール名を登録するフィールド334とを含んで構成されている。   In the layout number correspondence table 330, as shown in FIG. 9, one record is registered for each layout number. Each record includes a field 332 for registering a layout number and a field 334 for registering a template application rule name.

図9の例では、第1段目のレコードには、レイアウトNo.として「1」が、テンプレート適用ルール名として「form01」がそれぞれ登録されており、第2段目のレコードには、レイアウトNo.として「2」が、テンプレート適用ルール名として「form02」がそれぞれ登録されている。   In the example of FIG. 9, “1” is registered as the layout number and “form01” is registered as the template application rule name in the first row record, and the layout number is registered in the second row record. “2” is registered as “.” And “form02” is registered as the template application rule name.

次に、コンテンツ登録DB44のデータ構造を図面を参照しながら詳細に説明する。   Next, the data structure of the content registration DB 44 will be described in detail with reference to the drawings.

コンテンツ登録DB44には、図10に示すように、コンテンツ提供端末S1〜Snから提供されたディジタルコンテンツと、メインカテゴリおよびサブカテゴリとカテゴリNo.との対応関係を示すカテゴリNo.対応テーブル340とが格納されている。   As shown in FIG. 10, the content registration DB 44 stores a digital content provided from the content providing terminals S1 to Sn, and a category number correspondence table 340 indicating a correspondence relationship between the main category, the sub category, and the category number. Has been.

図10は、ディジタルコンテンツおよびカテゴリNo.対応テーブル340のデータ構造を示す図である。   FIG. 10 is a diagram showing a data structure of the digital content and category number correspondence table 340. As shown in FIG.

コンテンツ提供端末S1〜Snから提供されたディジタルコンテンツには、図10(a)に示すように、記事番号およびカテゴリNo.が付されており、コンテンツ配信端末100は、そのカテゴリNo.に基づいて、ディジタルコンテンツをカテゴリごとに分類してコンテンツ登録DB44に登録する。登録の際には、カテゴリNo.対応テーブル340を参照して、記事番号およびカテゴリNo.のほか、さらにメインカテゴリおよびサブカテゴリをディジタルコンテンツに付加して登録する。また、ディジタルコンテンツは、記事のタイトルを示すタイトル情報と、記事の画像に関する画像情報と、記事の文章に関する文字情報とを含んで1つの記事として構成されている。   As shown in FIG. 10A, article numbers and category numbers are assigned to the digital contents provided from the content providing terminals S1 to Sn, and the content distribution terminal 100 is based on the category numbers. The digital content is classified into categories and registered in the content registration DB 44. At the time of registration, referring to the category number correspondence table 340, in addition to the article number and category number, the main category and subcategory are added to the digital content for registration. The digital content is configured as one article including title information indicating the title of the article, image information relating to the image of the article, and character information relating to the sentence of the article.

カテゴリNo.対応テーブル340には、図10(b)に示すように、各メインカテゴリおよびサブカテゴリごとに1つのレコードが登録されている。各レコードは、カテゴリNo.を登録するフィールド342と、メインカテゴリを登録するフィールド344と、サブカテゴリを登録するフィールド346とを含んで構成されている。   In the category number correspondence table 340, as shown in FIG. 10B, one record is registered for each main category and sub category. Each record includes a field 342 for registering a category number, a field 344 for registering a main category, and a field 346 for registering a subcategory.

図10(b)の例では、第1段目のレコードには、カテゴリNo.として「1102」が、メインカテゴリとして「ワールドニュース」が、サブカテゴリとして「アメリカ」がそれぞれ登録されており、第6段目のレコードには、カテゴリNo.として「2010」が、メインカテゴリとして「スポーツ」が、サブカテゴリとして「野球」がそれぞれ登録されている。   In the example of FIG. 10B, “1102” is registered as the category number, “World News” is registered as the main category, and “USA” is registered as the subcategory in the first record. In the row record, “2010” is registered as the category number, “Sports” is registered as the main category, and “Baseball” is registered as the subcategory.

次に、CPU30の構成およびCPU30で実行される処理を図11および図12を参照しながら説明する。   Next, the configuration of the CPU 30 and the processing executed by the CPU 30 will be described with reference to FIGS. 11 and 12.

CPU30は、マイクロプロセッシングユニットMPU等からなり、ROM32の所定領域に格納されている所定のプログラムを起動させ、そのプログラムに従って、図11および図12のフローチャートに示すユーザ登録処理およびコンテンツ配信処理をそれぞれ時分割で実行するようになっている。   The CPU 30 includes a microprocessing unit MPU and the like, starts a predetermined program stored in a predetermined area of the ROM 32, and performs user registration processing and content distribution processing shown in the flowcharts of FIGS. 11 and 12 respectively according to the program. It is designed to run in splits.

初めに、ユーザ登録処理を図11を参照しながら詳細に説明する。   First, the user registration process will be described in detail with reference to FIG.

図11は、ユーザ登録処理を示すフローチャートである。   FIG. 11 is a flowchart showing user registration processing.

ユーザ登録処理は、アクセスのあったユーザに対してユーザID等の必要なユーザ情報の入力を要求し、入力したユーザ情報をユーザプロファイルテーブル300に登録する処理であって、CPU30において実行されると、まず、図11に示すように、ステップS100に移行するようになっている。なお、以下、各ステップでの入力は、すべてユーザとの対話型通信により行う。   The user registration process is a process for requesting a user who has accessed to input necessary user information such as a user ID and registering the input user information in the user profile table 300, and is executed in the CPU 30. First, as shown in FIG. 11, the process proceeds to step S100. In the following, all input in each step is performed by interactive communication with the user.

ステップS100では、メインカテゴリおよびサブカテゴリを入力し、ステップS102に移行して、ユーザIDおよびパスワードを入力し、ステップS104に移行して、配信先アドレスを入力し、ステップS106に移行して、配信日および配信時刻を入力し、ステップS108に移行する。   In step S100, the main category and subcategory are input, the process proceeds to step S102, the user ID and password are input, the process proceeds to step S104, the distribution destination address is input, the process proceeds to step S106, the distribution date Then, the distribution time is input, and the process proceeds to step S108.

ステップS108では、レイアウトNo.を入力し、ステップS110に移行して、最大ページ数を入力し、ステップS112に移行して、フォントサイズを入力し、ステップS114に移行して、ステップS100〜S112で入力したユーザ情報をユーザプロファイルテーブル300に登録し、一連の処理を終了して元の処理に復帰させる。   In step S108, the layout number is input, the process proceeds to step S110, the maximum number of pages is input, the process proceeds to step S112, the font size is input, the process proceeds to step S114, and steps S100 to S112 are performed. The input user information is registered in the user profile table 300, a series of processing is terminated, and the original processing is restored.

次に、コンテンツ配信処理を図12を参照しながら詳細に説明する。   Next, the content distribution process will be described in detail with reference to FIG.

図12は、コンテンツ配信処理を示すフローチャートである。   FIG. 12 is a flowchart showing content distribution processing.

コンテンツ配信処理は、ユーザプロファイルテーブル300を参照してディジタルコンテンツをユーザ端末200に配信する処理であって、CPU30において実行されると、まず、図12に示すように、ステップS200に移行するようになっている。なお、以下、各ステップの処理は、ユーザプロファイルテーブル300の1つのレコードについての処理である。実際には、ユーザプロファイルテーブル300に登録されているレコード数だけ各ステップの処理を実行する。   The content distribution process is a process of distributing digital content to the user terminal 200 with reference to the user profile table 300. When the content distribution process is executed in the CPU 30, first, as shown in FIG. 12, the process proceeds to step S200. It has become. Hereinafter, the process of each step is a process for one record of the user profile table 300. Actually, the process of each step is executed by the number of records registered in the user profile table 300.

ステップS200では、ユーザプロファイルテーブル300から配信日および配信時刻を読み出し、ステップS202に移行して、読み出した配信日および配信時刻に基づいてディジタルコンテンツを配信すべき日時であるか否かを判定し、ディジタルコンテンツを配信すべき日時であると判定したとき(Yes)は、ステップS204に移行するが、そうでないと判定したとき(No)は、ステップS200に移行する。   In step S200, the distribution date and distribution time are read from the user profile table 300, the process proceeds to step S202, and it is determined whether or not the digital content should be distributed based on the read distribution date and distribution time. If it is determined that the date and time when the digital content should be distributed (Yes), the process proceeds to step S204. If not (No), the process proceeds to step S200.

ステップS204では、ユーザプロファイルテーブル300からカテゴリNo.を読み出し、ステップS206に移行して、読み出したカテゴリNo.をもとにコンテンツ登録DB44のディジタルコンテンツを検索して、そのカテゴリNo.と一致するカテゴリNo.が付されたディジタルコンテンツを索出し、ステップS208に移行する。   In step S204, the category number is read from the user profile table 300, the process proceeds to step S206, the digital content in the content registration DB 44 is searched based on the read category number, and the category that matches the category number. The digital contents with No. are searched and the process proceeds to step S208.

ステップS208では、ユーザプロファイルテーブル300からレイアウトNo.を読み出し、ステップS210に移行して、レイアウトNo.対応テーブル330を参照して、読み出したレイアウトNo.に対応するテンプレート適用ルールをテンプレート登録DB42から読み出し、ステップS212に移行して、読み出したテンプレート適用ルールに基づいて、ステップS206で索出したディジタルコンテンツについて出力レイアウトを決定して提供用ディジタルコンテンツを作成する自動レイアウト処理を実行し、ステップS214に移行する。   In step S208, the layout number is read from the user profile table 300, the process proceeds to step S210, and the template application rule corresponding to the read layout number is read from the template registration DB 42 with reference to the layout number correspondence table 330. Then, the process proceeds to step S212, on the basis of the read template application rule, automatic layout processing is executed for determining the output layout for the digital contents searched in step S206 and creating the providing digital contents, and the process proceeds to step S214. To do.

ステップS214では、ユーザプロファイルテーブル300から配信先アドレスを読み出し、ステップS216に移行して、読み出した配信先アドレス宛に、作成した提供用ディジタルコンテンツを配信し、一連の処理を終了して元の処理に復帰させる。   In step S214, the distribution destination address is read out from the user profile table 300, the process proceeds to step S216, the created digital content for distribution is distributed to the read out distribution destination address, the series of processing ends, and the original processing is performed. Return to.

次に、上記ステップS212の自動レイアウト処理を図13を参照しながら詳細に説明する。   Next, the automatic layout process in step S212 will be described in detail with reference to FIG.

図13は、自動レイアウト処理を示すフローチャートである。   FIG. 13 is a flowchart showing the automatic layout process.

自動レイアウト処理は、上記ステップS212において実行されると、図13に示すように、まず、ステップS300に移行するようになっている。   When the automatic layout process is executed in step S212, the process proceeds to step S300 as shown in FIG.

ステップS300では、先頭ページのレイアウト領域360を処理対象として設定し、ステップS302に移行して、ステップS210で読み出したテンプレート適用ルールに基づいてテンプレート登録DB42のなかからページテンプレートを読み出し、ステップS304に移行して、読み出したページテンプレートを現在のレイアウト領域360に適用し、ステップS306に移行する。   In step S300, the layout area 360 of the first page is set as a processing target, the process proceeds to step S302, the page template is read from the template registration DB 42 based on the template application rule read in step S210, and the process proceeds to step S304. Then, the read page template is applied to the current layout area 360, and the process proceeds to step S306.

ステップS306では、ページ内に固定的に配置される固定線の位置を決定し、ステップS308に移行して、ページ内に固定的に配置される固定文字情報の形状および位置を決定し、ステップS310に移行して、ページ内に固定的に配置される固定画像情報の形状および位置を決定し、ステップS312に移行する。   In step S306, the position of the fixed line fixedly arranged in the page is determined, and the process proceeds to step S308 to determine the shape and position of fixed character information fixedly arranged in the page, and step S310. Then, the shape and position of the fixed image information fixedly arranged in the page are determined, and the process proceeds to step S312.

ステップS312では、所定の優先順位に基づいて、ステップS206で索出したディジタルコンテンツのなかからレイアウト領域360に配置すべき記事を選択し、ステップS314に移行して、所定の優先順位に基づいて、現在処理対象となっているレイアウト領域360(以下、単に現在のレイアウト領域360という。)のなかから情報格納枠を選択し、ステップS316に移行する。   In step S312, based on the predetermined priority order, an article to be placed in the layout area 360 is selected from the digital contents searched in step S206, and the process proceeds to step S314. Based on the predetermined priority order, An information storage frame is selected from the layout area 360 that is the current processing target (hereinafter simply referred to as the current layout area 360), and the process proceeds to step S316.

ステップS316では、記事を格納しかつ配置が確定している情報格納枠(以下、確定済格納枠という。)と、ステップS314で選択した情報格納枠(以下、単に選択情報格納枠という。)とが重なり合っているか否かを判定し、確定済格納枠と選択情報格納枠とが重なり合っていると判定したとき(Yes)は、ステップS318に移行して、ステップS312で選択した記事(以下、単に選択記事という。)を選択情報格納枠に格納する第1格納処理を実行し、ステップS320に移行する。   In step S316, the information storage frame (hereinafter referred to as the confirmed storage frame) in which the article is stored and the arrangement is fixed, and the information storage frame selected in step S314 (hereinafter simply referred to as the selected information storage frame). Are determined, and when it is determined that the confirmed storage frame and the selection information storage frame overlap (Yes), the process proceeds to step S318, and the article selected in step S312 (hereinafter, simply referred to as “required information storage frame”). A first storage process for storing the selected article in the selection information storage frame is executed, and the process proceeds to step S320.

ステップS320では、現在のレイアウト領域360内に未処理の情報格納枠が存在するか否かを判定し、未処理の情報格納枠が存在しないと判定したとき(No)は、ステップS322に移行して、ステップS206で索出したディジタルコンテンツのうち未掲載の記事が存在するか否かを判定し、未掲載の記事が存在しないと判定したとき(No)は、一連の処理を終了して元の処理に復帰させる。   In step S320, it is determined whether or not there is an unprocessed information storage frame in the current layout area 360. If it is determined that there is no unprocessed information storage frame (No), the process proceeds to step S322. Then, it is determined whether or not an unpublished article exists in the digital content searched in step S206. If it is determined that there is no unpublished article (No), the series of processing is terminated and the original content is terminated. Return to processing.

一方、ステップS322で、未掲載の記事が存在すると判定したとき(Yes)は、ステップS324に移行して、次ページのレイアウト領域360を処理対象として設定し、ステップS302に移行する。   On the other hand, when it is determined in step S322 that an unpublished article exists (Yes), the process proceeds to step S324, the layout area 360 of the next page is set as a processing target, and the process proceeds to step S302.

一方、ステップS320で、現在のレイアウト領域360内に未処理の情報格納枠が存在すると判定したとき(Yes)は、ステップS312に移行する。   On the other hand, when it is determined in step S320 that there is an unprocessed information storage frame in the current layout area 360 (Yes), the process proceeds to step S312.

一方、ステップS316で、確定済格納枠と選択情報格納枠とが重なり合っていないと判定したとき(No)は、選択情報格納枠に選択記事を格納する第2格納処理を実行し、ステップS320に移行する。具体的に、情報格納枠への第2格納処理は、選択情報格納枠に選択記事を格納する処理であって、ステップS318の第1格納処理と異なるのは、選択情報格納枠に選択記事が格納しきれない場合を除き、選択情報格納枠を分割したりせずに、選択情報格納枠に選択記事をそのまま格納する点にある。   On the other hand, when it is determined in step S316 that the confirmed storage frame and the selection information storage frame do not overlap (No), the second storage process for storing the selected article in the selection information storage frame is executed, and the process proceeds to step S320. Transition. Specifically, the second storage process in the information storage frame is a process of storing the selected article in the selection information storage frame, and is different from the first storage process in step S318 in that the selected article is stored in the selection information storage frame. The selected article is stored as it is in the selection information storage frame without dividing the selection information storage frame unless it can be stored.

次に、上記ステップS318の情報格納枠への第1格納処理を図14を参照しながら詳細に説明する。   Next, the first storage process in the information storage frame in step S318 will be described in detail with reference to FIG.

図14は、情報格納枠への第1格納処理を示すフローチャートである。   FIG. 14 is a flowchart showing the first storage process in the information storage frame.

情報格納枠への第1格納処理は、選択情報格納枠のうち文字情報格納枠を確定済格納枠と重なり合わないように分割し、選択記事を、分割した各文字情報格納枠に連続して格納する処理であって、上記ステップS318において実行されると、図14に示すように、まず、ステップS400に移行するようになっている。   In the first storage process to the information storage frame, the character information storage frame of the selection information storage frame is divided so as not to overlap with the confirmed storage frame, and the selected article is continuously added to each divided character information storage frame. When the storage process is executed in step S318, the process first proceeds to step S400 as shown in FIG.

ステップS400では、選択情報格納枠が文字情報格納枠であるか否かを判定し、選択情報格納枠が文字情報格納枠であると判定したとき(Yes)は、ステップS402に移行して、選択情報格納枠を確定済格納枠と重なり合わないように分割し、ステップS405に移行する。   In step S400, it is determined whether or not the selection information storage frame is a character information storage frame. When it is determined that the selection information storage frame is a character information storage frame (Yes), the process proceeds to step S402 to select the selection information storage frame. The information storage frame is divided so as not to overlap the confirmed storage frame, and the process proceeds to step S405.

ステップS405では、分割した文字情報格納枠(以下、単に分割情報格納枠という。)に指定されている文字の高さおよび行間のピッチに基づいて行送り1hを算出し、ステップS406に移行する。   In step S405, the line feed 1h is calculated based on the height of the character designated in the divided character information storage frame (hereinafter simply referred to as the division information storage frame) and the pitch between lines, and the process proceeds to step S406.

ステップS406では、複数の分割情報格納枠のなかから第1文字情報格納枠を選択する。具体的に、ステップS406では、すべての分割情報格納枠に記事が格納されていない場合は、それら分割情報格納枠のなかから、情報格納枠がレイアウト領域360の上端から最も近い位置にあるものを第1文字情報格納枠として選択する。また、いずれかの分割情報格納枠に記事が格納されている場合は、記事が格納されていない分割情報格納枠のなかから、情報格納枠がレイアウト領域360の上端から最も近い位置にあるものを第1文字情報格納枠として選択する。   In step S406, the first character information storage frame is selected from the plurality of division information storage frames. Specifically, in step S406, if the article is not stored in all the division information storage frames, the information storage frame that is closest to the upper end of the layout area 360 is selected from the division information storage frames. Select as the first character information storage frame. If an article is stored in one of the divided information storage frames, the one in which the information storage frame is closest to the upper end of the layout area 360 is selected from among the divided information storage frames in which no article is stored. Select as the first character information storage frame.

次いで、ステップS408に移行して、複数の分割情報格納枠のなかから第2文字情報格納枠を選択する。具体的に、ステップS408では、記事が格納されていない分割情報格納枠のなかから、選択記事のうち第1文字情報格納枠に格納した記事の続きを格納すべきものを第2文字情報格納枠として選択する。   Next, the process proceeds to step S408, and the second character information storage frame is selected from the plurality of division information storage frames. Specifically, in step S408, among the divided information storage frames in which articles are not stored, the selected article to store the continuation of the article stored in the first character information storage frame is set as the second character information storage frame. select.

第1文字情報格納枠および第2文字情報格納枠には、横書きの書式が設定されているので、レイアウト領域360における配置関係としては、第1文字情報格納枠の下方に第2文字情報格納枠が位置する。すなわち、第1文字情報格納枠と第2文字情報格納枠との近接部分で行が連続することとなる。   Since the horizontal writing format is set in the first character information storage frame and the second character information storage frame, the arrangement relationship in the layout area 360 is the second character information storage frame below the first character information storage frame. Is located. That is, the lines are continuous in the vicinity of the first character information storage frame and the second character information storage frame.

次いで、ステップS410に移行して、第1文字情報格納枠の内容領域の高さが行送り1hの整数倍かつ第1文字情報格納枠の元の内容領域の高さ以下となるように、第1文字情報格納枠の下辺の位置を調整し、ステップS412に移行する。   Next, the process proceeds to step S410, where the first character information storage frame content area height is an integral multiple of the line feed 1h and less than the original content area height of the first character information storage frame. The position of the lower side of the one-character information storage frame is adjusted, and the process proceeds to step S412.

ステップS412では、第1文字情報格納枠の内容領域の上辺位置と第2文字情報格納枠の内容領域の上辺位置との間の高さが、行送り1hの整数倍かつ、第2文字情報格納枠の内容領域の高さが、第2文字情報格納枠の元の内容領域の高さ以下となるように、第2文字情報格納枠の上辺位置を調整し、ステップS414に移行する。
ステップS414では、ステップS410で調整した第1文字情報格納枠の内容領域の下辺位置を上辺位置とし、ステップS412で調整した第2文字情報格納枠の内容領域の上辺位置を下辺位置とし、第1および第2文字情報格納枠の内容領域の左辺位置が、レイアウト領域360の左端から遠い方の文字情報格納枠の左辺位置を左辺位置とし、第1および第2文字情報格納枠の内容領域の右辺位置が、前記レイアウト領域の右端から遠い方の文字情報格納枠の右辺位置を右辺位置とする第3文字情報格納枠を挿入して、ステップS416に移行する。
ステップS416では、第1文字情報格納枠に記事を格納し、次いでステップS418では第3文字情報格納枠に第1文字情報格納枠に格納した記事の続きを格納し、ステップS420に移行する。
In step S412, the height between the upper side position of the content area of the first character information storage frame and the upper side position of the content area of the second character information storage frame is an integral multiple of the line feed 1h, and the second character information is stored. The upper side position of the second character information storage frame is adjusted so that the height of the content area of the frame is equal to or less than the height of the original content area of the second character information storage frame, and the process proceeds to step S414.
In step S414, the lower side position of the content area of the first character information storage frame adjusted in step S410 is set as the upper side position, and the upper side position of the content area of the second character information storage frame adjusted in step S412 is set as the lower side position. The left side position of the content area of the second character information storage frame is the left side position of the character information storage frame farther from the left end of the layout area 360, and the right side of the content area of the first and second character information storage frames A third character information storage frame is inserted whose right side is the right side position of the character information storage frame whose position is far from the right end of the layout area, and the process proceeds to step S416.
In step S416, the article is stored in the first character information storage frame, and in step S418, the continuation of the article stored in the first character information storage frame is stored in the third character information storage frame, and the process proceeds to step S420.

ステップS420では、すべての分割情報格納枠についてステップS406〜S418,の処理が終了したか否かを判定し、すべての分割情報格納枠について処理が終了したと判定したとき(Yes)は、ステップS422に移行して、第2文字情報格納枠に第2分割記事を格納し、一連の処理を終了して元の処理に復帰させる。
一方、ステップS420で、すべての分割情報格納枠について処理が終了していないと判定したとき(No)は、ステップS406に移行して、第1文字情報格納枠を選択する。
In step S420, it is determined whether or not the processing in steps S406 to S418 has been completed for all the divided information storage frames. If it is determined that the processing has been completed for all the divided information storage frames (Yes), step S422 is performed. Then, the second divided article is stored in the second character information storage frame, the series of processes is terminated, and the original process is restored.
On the other hand, when it is determined in step S420 that the processing has not been completed for all the divided information storage frames (No), the process proceeds to step S406 and the first character information storage frame is selected.

一方、ステップS400で、選択情報格納枠が文字情報格納枠でないと判定したとき(No)は、ステップS424に移行して、選択情報格納枠の大きさを確定済格納枠と重なり合わないように変更し、ステップS426に移行して、選択情報格納枠に選択記事を格納し、一連の処理を終了して元の処理に復帰させる。   On the other hand, when it is determined in step S400 that the selection information storage frame is not a character information storage frame (No), the process proceeds to step S424 so that the size of the selection information storage frame does not overlap the determined storage frame. Then, the process proceeds to step S426, the selected article is stored in the selection information storage frame, the series of processes is terminated, and the original process is restored.

次に、本実施の形態の動作を説明する。   Next, the operation of the present embodiment will be described.

まず、ディジタルコンテンツを配信するために必要な情報を登録する場合を説明する。   First, a case where information necessary for distributing digital contents is registered will be described.

ユーザがディジタルコンテンツの配信を希望する場合、ユーザは、ユーザ端末200において、WWWブラウザによりコンテンツ配信端末100にアクセスし、ユーザ登録要求を入力する。   When the user wishes to distribute digital content, the user accesses the content distribution terminal 100 through the WWW browser at the user terminal 200 and inputs a user registration request.

ユーザ端末200では、ユーザ登録要求が入力されると、コンテンツ配信端末100との通信により、必要なユーザ情報を入力すべき要求がユーザに対して行われる。ここで、ユーザは、その入力要求に応じて、ユーザ情報として、メインカテゴリ、サブカテゴリ、ユーザID、パスワード、配信先アドレス、配信日、配信時刻、レイアウトNo.、最大ページ数、フォントサイズを入力すると、それらユーザ情報がコンテンツ配信端末100に送信される。   In the user terminal 200, when a user registration request is input, a request for inputting necessary user information is made to the user through communication with the content distribution terminal 100. Here, when the user inputs the main category, subcategory, user ID, password, delivery destination address, delivery date, delivery time, layout number, maximum page number, font size as user information in response to the input request. The user information is transmitted to the content distribution terminal 100.

コンテンツ配信端末100では、登録要求に伴ってユーザ情報を受信すると、ステップS100〜S114を経て、受信したユーザ情報がユーザプロファイルテーブル300に登録される。   In the content distribution terminal 100, when user information is received in response to a registration request, the received user information is registered in the user profile table 300 through steps S100 to S114.

次に、ユーザプロファイルテーブル300を参照してディジタルコンテンツを配信する場合を説明する。   Next, a case where digital content is distributed with reference to the user profile table 300 will be described.

コンテンツ配信端末100では、ユーザプロファイルテーブル300を参照してディジタルコンテンツを配信すべき日時になると、ステップS204,S206を経て、ユーザプロファイルテーブル300からカテゴリNo.が読み出され、読み出されたカテゴリNo.をもとにコンテンツ登録DB44のディジタルコンテンツを検索して、そのカテゴリNo.と一致するカテゴリNo.が付されたディジタルコンテンツが索出される。次いで、ステップS208〜S212を経て、ユーザプロファイルテーブル300からレイアウトNo.が読み出され、レイアウトNo.対応テーブル330を参照して、読み出されたレイアウトNo.に対応するテンプレート適用ルールがユーザ情報登録DB40から読み出され、読み出されたテンプレート適用ルールに基づいて、索出されたディジタルコンテンツについて出力レイアウトが決定されて提供用ディジタルコンテンツが作成される。   In the content distribution terminal 100, when it is time to distribute digital content with reference to the user profile table 300, the category number is read from the user profile table 300 through steps S204 and S206, and the read category number is read out. The digital content in the content registration DB 44 is searched based on the. And the digital content with the category number that matches the category number is retrieved. Next, through steps S208 to S212, a layout number is read from the user profile table 300, and a template application rule corresponding to the read layout number is registered as user information with reference to the layout number correspondence table 330. Based on the read template application rule, the output layout is determined for the retrieved digital content, and the providing digital content is created.

レイアウトの過程を図15ないし図19を参照しながら詳細に説明する。   The layout process will be described in detail with reference to FIGS.

レイアウトの過程では、まず、ステップS300〜S304を経て、先頭ページのレイアウト領域360が処理対象として設定され、読み出されたテンプレート適用ルールに基づいてテンプレート登録DB42のなかからページテンプレートが読み出され、読み出されたページテンプレートが現在のレイアウト領域360に適用される。次いで、ステップS306〜S310を経て、固定線の位置、固定文字情報の形状および位置、並びに固定画像情報の形状および位置がその順で決定される。   In the layout process, first, through steps S300 to S304, the layout area 360 of the first page is set as a processing target, and a page template is read from the template registration DB 42 based on the read template application rule. The read page template is applied to the current layout area 360. Next, through steps S306 to S310, the position of the fixed line, the shape and position of the fixed character information, and the shape and position of the fixed image information are determined in that order.

図15は、情報格納枠が重なり合って配置されているレイアウト状態を示す図である。   FIG. 15 is a diagram showing a layout state in which the information storage frames are arranged so as to overlap each other.

例えば、図15に示すように、確定済格納枠Pfと文字情報格納枠Pとが重なり合っているとする。図15の例では、文字情報格納枠Pの右中央領域と確定済格納枠Pfの左半分の領域とが重なり合っている。図15において、M,Iは、文字情報格納枠Pの外部余白および内部余白であり、Mfは、確定済格納枠Pfの外部余白である。   For example, as shown in FIG. 15, it is assumed that the confirmed storage frame Pf and the character information storage frame P overlap each other. In the example of FIG. 15, the right center area of the character information storage frame P and the left half area of the confirmed storage frame Pf overlap. In FIG. 15, M and I are the outer margin and the inner margin of the character information storage frame P, and Mf is the outer margin of the confirmed storage frame Pf.

ここで、文字情報格納枠Pの配置位置を(Pt,Pb,Pl,Pr)とし、確定済格納枠Pfの配置位置を(Pft,Pfb,Pfl,Pfr)とする。Ptは、文字情報格納枠Pの上辺のY座標、Pbは、文字情報格納枠Pの下辺のY座標、Plは、文字情報格納枠Pの左辺のX座標、Prは、文字情報格納枠Pの右辺のX座標である。Pft,Pfb,Pfl,Pfrについても同様である。   Here, the arrangement position of the character information storage frame P is (Pt, Pb, Pl, Pr), and the arrangement position of the confirmed storage frame Pf is (Pft, Pfb, Pfl, Pfr). Pt is the Y coordinate of the upper side of the character information storage frame P, Pb is the Y coordinate of the lower side of the character information storage frame P, Pl is the X coordinate of the left side of the character information storage frame P, and Pr is the character information storage frame P Is the X coordinate of the right side of. The same applies to Pft, Pfb, Pfl, and Pfr.

また、外部余白Mを(Mt,Mb,Ml,Mr)とし、外部余白Mfを(Mft,Mfb,Mfl,Mfr)とする。Mtは、文字情報格納枠Pの上辺から上辺外部余白の上端までの長さ、Mbは、文字情報格納枠Pの下辺から下辺外部余白の下端までの長さ、Mlは、文字情報格納枠Pの左辺から左辺外部余白の左端までの長さ、Mrは、文字情報格納枠Pの右辺から右辺外部余白の右端までの長さである。Mft,Mfb,Mfl,Mfrについても同様である。   The outer margin M is (Mt, Mb, Ml, Mr), and the outer margin Mf is (Mft, Mfb, Mfl, Mfr). Mt is the length from the upper side of the character information storage frame P to the upper end of the upper outer margin, Mb is the length from the lower side of the character information storage frame P to the lower end of the lower outer margin, and Ml is the character information storage frame P , Mr is the length from the right side of the character information storage frame P to the right end of the right side external margin. The same applies to Mft, Mfb, Mfl, and Mfr.

また、内部余白Iを(It,Ib,Il,Ir)とする。Itは、文字情報格納枠Pの上辺から上辺内部余白の下端までの長さ、Ibは、文字情報格納枠Pの下辺から下辺内部余白の上端までの長さ、Ilは、文字情報格納枠Pの左辺から左辺内部余白の右端までの長さ、Irは、文字情報格納枠Pの右辺から右辺内部余白の左端までの長さである。   Further, the inner margin I is (It, Ib, Il, Ir). It is the length from the upper side of the character information storage frame P to the lower end of the upper internal margin, Ib is the length from the lower side of the character information storage frame P to the upper end of the lower internal margin, and Il is the character information storage frame P , Ir is the length from the right side of the character information storage frame P to the left end of the right side internal margin.

このように重なり合っている場合、ステップS312,S314を経て、所定の優先順位に基づいて、ステップS206で索出されたディジタルコンテンツのなかからレイアウト領域360に配置すべき記事が選択され、現在のレイアウト領域360のなかから文字情報格納枠Pが選択される。   In the case of overlapping in this way, through steps S312 and S314, based on a predetermined priority, an article to be placed in the layout area 360 is selected from the digital contents searched in step S206, and the current layout is selected. A character information storage frame P is selected from the area 360.

図16は、文字情報格納枠Pを分割する場合のレイアウト状態を示す図である。   FIG. 16 is a diagram showing a layout state when the character information storage frame P is divided.

図15のレイアウトの場合、まず、ステップS400,S402を経て、文字情報格納枠Pが確定済格納枠Pfと重なり合わないように分割される。具体的には、図16に示すように、文字情報格納枠Pが3つの文字情報格納枠P0〜P2に分割される。そして、文字情報格納枠P1と確定済格納枠Pfとが上端および下端を揃えて横並びに配置され、文字情報格納枠P1および確定済格納枠Pfの上方に文字情報格納枠P0が配置され、文字情報格納枠P1および確定済格納枠Pfの下方に文字情報格納枠P2が配置される。ここで、選択記事は、文字情報格納枠P0〜P2の順に横書きの書式で連続して格納される。   In the case of the layout of FIG. 15, first, through steps S400 and S402, the character information storage frame P is divided so as not to overlap the confirmed storage frame Pf. Specifically, as shown in FIG. 16, the character information storage frame P is divided into three character information storage frames P0 to P2. The character information storage frame P1 and the confirmed storage frame Pf are arranged side by side with their upper and lower ends aligned, and the character information storage frame P0 is disposed above the character information storage frame P1 and the confirmed storage frame Pf. A character information storage frame P2 is arranged below the information storage frame P1 and the confirmed storage frame Pf. Here, the selected articles are continuously stored in the horizontal writing format in the order of the character information storage frames P0 to P2.

次いで、ステップS405を経て、文字情報格納枠に指定された文字の高さおよび行間のピッチに基づいて各文字情報格納枠P0〜P2内での行送り1hが算出される。   Next, through step S405, the line feed 1h in each character information storage frame P0 to P2 is calculated based on the height of the character specified in the character information storage frame and the pitch between lines.

図17は、行送り1hを算出する場合を示す図である。   FIG. 17 is a diagram illustrating a case where the line feed 1h is calculated.

行送り1hは、図17に示すように、文字の高さをch、行間のピッチをcsとすれば、下式(1)により算出することができる。
1h=ch+cs …(1)
As shown in FIG. 17, the line feed 1h can be calculated by the following expression (1), where the character height is ch and the pitch between lines is cs.
1h = ch + cs (1)

図18は、文字情報格納枠P0,P1の配置位置を調整する場合を示す図である。   FIG. 18 is a diagram illustrating a case where the arrangement positions of the character information storage frames P0 and P1 are adjusted.

まず、ステップS406,S408を経て、図18に示すように、文字情報格納枠P0が第1文字情報格納枠として選択され、文字情報格納枠P1が第2文字情報格納枠として選択される。   First, after steps S406 and S408, as shown in FIG. 18, the character information storage frame P0 is selected as the first character information storage frame, and the character information storage frame P1 is selected as the second character information storage frame.

次いで、ステップS410を経て、文字情報格納枠P0の内容領域の高さが行送り1hとなるように、文字情報格納枠P0の下辺位置が調整される。文字情報格納枠P0の下辺位置を求めるために、まず文字情報格納枠P0の内容領域の高さを計算する。文字情報格納枠P0の内容領域の高さh0は、文字情報格納枠P0の配置位置を(P0t,P0b,P0l,P0r)、文字情報格納枠P0の内部余白I0を(I0t,I0b,I0l,I0r)とすれば、下式(2)により算出することができる。そして、文字情報格納枠P0の内容領域の高さがh0となるように、文字情報格納枠P0の内容領域のサイズが調整される。
h0=(P0b−P0t−I0t−I0b)/1h×1h …(2)
Next, through step S410, the lower side position of the character information storage frame P0 is adjusted such that the height of the content area of the character information storage frame P0 is the line feed 1h. In order to obtain the lower side position of the character information storage frame P0, first, the height of the content area of the character information storage frame P0 is calculated. The height h0 of the content area of the character information storage frame P0 is the placement position of the character information storage frame P0 (P0t, P0b, P0l, P0r), and the internal margin I0 of the character information storage frame P0 is (I0t, I0b, I0l, I0r), it can be calculated by the following equation (2). Then, the size of the content area of the character information storage frame P0 is adjusted so that the height of the content area of the character information storage frame P0 is h0.
h0 = (P0b−P0t−I0t−I0b) / 1h × 1h (2)

ただし、上式(2)において、(P0b−P0t−I0t−I0b)/1hは、小数点以下を切り捨てた整数値として算出する。すなわち、調整後の内容領域の高さは元の内容領域の高さ以下となる。このようにすることで、P0が確定済領域Pfと重なる可能性が低減される。   However, in the above equation (2), (P0b−P0t−I0t−I0b) / 1h is calculated as an integer value obtained by rounding down the decimal part. That is, the height of the adjusted content area is equal to or less than the height of the original content area. By doing in this way, possibility that P0 will overlap with the confirmed area | region Pf is reduced.

次いで、文字情報格納枠P0の下辺位置が調整される。文字情報格納枠P0の下辺位置P0b'は、下式(3)により算出することができる。   Next, the lower side position of the character information storage frame P0 is adjusted. The lower side position P0b ′ of the character information storage frame P0 can be calculated by the following equation (3).

P0b'=P0t+I0t+h0+I0b …(3)   P0b ′ = P0t + I0t + h0 + I0b (3)

次いで、ステップS412を経て、文字情報格納枠P1の上辺位置を調整する。その際、文字情報格納枠P0の内容領域の上辺位置と文字情報格納枠P1の内容領域の上辺位置との間の高さが、行送りhの整数倍かつ、文字情報格納枠P1の内容領域の高さが、前記元の内容領域の高さ以下となるように文字情報格納枠P1の上辺位置を調整する。文字情報格納枠P1の上辺の位置P1t'は、文字情報格納枠P1の配置位置を(P1t,P1b,P1l,P1r)、文字情報格納枠P1の内部余白I1を(I1t,I1b,I1l,I1r)とすれば、下式(4)により算出することができる。
P1t'=(P0t+I0t)+
{(P1t+I1t)−(P0t+I0t)}/1h×1h−I1t …(4)
Next, through step S412, the upper side position of the character information storage frame P1 is adjusted. At that time, the height between the upper side position of the content area of the character information storage frame P0 and the upper side position of the content area of the character information storage frame P1 is an integral multiple of the line feed h, and the content area of the character information storage frame P1. The upper side position of the character information storage frame P1 is adjusted so that the height of the character information storage frame P1 is equal to or less than the height of the original content area. The position P1t ′ on the upper side of the character information storage frame P1 is the placement position of the character information storage frame P1 (P1t, P1b, P1l, P1r), and the internal margin I1 of the character information storage frame P1 is (I1t, I1b, I1l, I1r). ), It can be calculated by the following equation (4).
P1t ′ = (P0t + I0t) +
{(P1t + I1t) − (P0t + I0t)} / 1h × 1h−I1t (4)

次いで、ステップS414を経て、文字情報格納枠P0と文字情報格納枠P1との間に新たに文字情報格納枠P3が挿入される。文字情報格納枠P3は文字情報格納枠P0と文字情報格納枠P1との間に発生する可能性のなる空き領域を補うための文字情報格納枠であり、その上辺位置は文字情報格納枠P0の内容領域の下辺位置と等しく、その下辺位置は文字情報格納枠P1の内容領域の上辺位置と等しく、その左辺位置は、文字情報格納枠P0および文字情報格納枠P1の内容領域の左辺位置がレイアウト領域360の左端から遠い方(本実施例の場合はP0、P1どちらでもよい)の文字情報格納枠の内容領域の左辺位置を左辺位置とし、その右辺位置は文字情報格納枠P0および文字情報格納枠P1の内容領域の右辺位置がレイアウト領域360の右端から遠い方(本実施例の場合はP1が該当する)の文字情報格納枠の内容領域の右辺位置を右辺位置とする文字情報格納枠である。また、文字情報格納枠P3の上辺と下辺の余白サイズはゼロに設定され、左辺と右辺の余白サイズは文字情報格納枠P0または文字情報格納枠P1の余白と同じサイズに設定される。   Next, through step S414, a character information storage frame P3 is newly inserted between the character information storage frame P0 and the character information storage frame P1. The character information storage frame P3 is a character information storage frame for compensating for an empty area that may occur between the character information storage frame P0 and the character information storage frame P1, and the upper side position of the character information storage frame P3 is the character information storage frame P0. It is equal to the lower side position of the content area, the lower side position is equal to the upper side position of the content area of the character information storage frame P1, and the left side position is the left side position of the content area of the character information storage frame P0 and the character information storage frame P1. The left side position of the content area of the character information storage frame farther from the left end of the area 360 (in this embodiment, either P0 or P1) is the left side position, and the right side position is the character information storage frame P0 and character information storage. A sentence having the right side position of the content area of the character information storage frame of the character information storage frame of the one farther from the right end of the layout area 360 (in this example, P1 corresponds) as the right side position of the content area of the frame P1 It is an information storage frame. The margin sizes of the upper and lower sides of the character information storage frame P3 are set to zero, and the margin sizes of the left and right sides are set to the same size as the margins of the character information storage frame P0 or the character information storage frame P1.

そして、ステップS416を経て、文字情報格納枠P0に記事が格納され、さらにステップS418を経て、文字情報格納枠P3に文字情報格納枠P0に格納した記事の続きが格納される。   Then, the article is stored in the character information storage frame P0 through step S416, and the continuation of the article stored in the character information storage frame P0 is stored in the character information storage frame P3 through step S418.

図19は、文字情報格納枠P1およびP2の配置位置を調整する場合を示す図である。   FIG. 19 is a diagram illustrating a case where the arrangement positions of the character information storage frames P1 and P2 are adjusted.

次に、ステップS406,S408を経て、図19に示すように、文字情報格納枠P1が第1文字情報格納枠として選択され、文字情報格納枠P2が第2文字情報格納枠として選択される。
次いで、さきほどと同様に、ステップS410を経て、文字情報格納枠P1の内容領域の高さが行送り1hとなるように、文字情報格納枠P1の下辺位置が調整され、ステップS412を経て、文字情報格納枠P2の上辺位置が調整され、ステップS414を経て、文字情報格納枠P1と文字情報格納枠P2との間に新たに文字情報格納枠P4が挿入される。
Next, through steps S406 and S408, as shown in FIG. 19, the character information storage frame P1 is selected as the first character information storage frame, and the character information storage frame P2 is selected as the second character information storage frame.
Next, in the same manner as before, the lower side position of the character information storage frame P1 is adjusted through step S410 so that the height of the content area of the character information storage frame P1 becomes the line feed 1h. The position of the upper side of the information storage frame P2 is adjusted, and a character information storage frame P4 is newly inserted between the character information storage frame P1 and the character information storage frame P2 through step S414.

そして、ステップS416を経て、文字情報格納枠P1に文字情報格納枠P3に格納した記事の続きが格納され、さらに、ステップS418を経て、文字情報格納枠P4に文字情報格納枠P1に格納した記事の続きが格納される。   Then, the continuation of the article stored in the character information storage frame P3 is stored in the character information storage frame P1 through step S416, and further the article stored in the character information storage frame P1 in the character information storage frame P4 through step S418. Is stored.

そして、ステップS420、S422を経て、文字情報格納枠P2に文字情報格納枠P4に格納した記事の続きが格納される。   Then, through steps S420 and S422, the continuation of the article stored in the character information storage frame P4 is stored in the character information storage frame P2.

なお、選択情報格納枠が画像情報格納枠等の文字情報格納枠以外の情報格納枠である場合には、ステップS424,S426を経て、選択情報格納枠の大きさが確定済格納枠と重なり合わないように変更され、選択情報格納枠に選択記事が格納される。   When the selected information storage frame is an information storage frame other than the character information storage frame such as the image information storage frame, the size of the selection information storage frame overlaps with the determined storage frame through steps S424 and S426. The selected article is stored in the selection information storage frame.

そして、すべてのページのレイアウト領域360内に記事が配置され、ディジタルコンテンツの出力レイアウトが決定されると、ステップS222,S224を経て、ユーザプロファイルテーブル300から配信先アドレスが読み出され、読み出された配信先アドレス宛に、作成された提供用ディジタルコンテンツが配信される。   Then, when articles are arranged in the layout area 360 of all pages and the output layout of digital contents is determined, the delivery destination address is read from the user profile table 300 through steps S222 and S224, and read out. The provided digital content for distribution is distributed to the distribution destination address.

このようにして、本実施の形態では、コンテンツ配信端末100は、選択記事を、近接させて配置した複数の文字情報格納枠に連続して格納する場合に、複数の文字情報格納枠のうち近接部分で行が連続するもの同士の間隔および各文字情報格納枠内の行間隔が同一またはほぼ同一となるように、複数の文字情報格納枠の配置位置を調整し、さらに複数の文字情報格納枠の間に新たに文字情報格納枠を挿入するようになっている。   In this way, in the present embodiment, when the content distribution terminal 100 stores the selected article continuously in a plurality of character information storage frames arranged close to each other, the content distribution terminal 100 approaches the character information storage frames. The arrangement positions of the plurality of character information storage frames are adjusted so that the interval between successive lines and the line interval in each character information storage frame are the same or substantially the same, and the plurality of character information storage frames A character information storage frame is newly inserted in between.

これにより、文字情報格納枠間の間隔および各文字情報格納枠内の行間隔をほぼ一定にすることができる。したがって、文字情報格納枠に余白が設定されていても、従来に比して、比較的見栄えのよいレイアウトを実現することができる。   Thereby, the space | interval between character information storage frames and the line space | interval in each character information storage frame can be made substantially constant. Therefore, even if a margin is set in the character information storage frame, it is possible to realize a layout having a relatively good appearance as compared with the conventional case.

さらに、本実施の形態では、コンテンツ配信端末100は、他の情報格納枠と重なり合っている文字情報格納枠をそれら情報格納枠が重なり合わないように分割し、分割情報格納枠のうち近接部分で行が連続するもの同士の間隔および各文字情報格納枠内の行間隔が同一またはほぼ同一となるように、複数の文字情報格納枠の配置位置を調整し、さらに複数の文字情報格納枠の間に新たに文字情報格納枠を挿入した後、選択記事を文字情報格納枠に連続して格納するようになっている。   Furthermore, in the present embodiment, the content distribution terminal 100 divides the character information storage frame that overlaps with the other information storage frames so that the information storage frames do not overlap with each other. Adjust the arrangement position of multiple character information storage frames so that the interval between consecutive lines and the line interval in each character information storage frame are the same or nearly the same, and between the multiple character information storage frames After the character information storage frame is newly inserted, the selected articles are continuously stored in the character information storage frame.

これにより、記事の内容、情報量または論理構造等によって文字情報格納枠が他の情報格納枠と重なり合った場合には、文字情報格納枠を分割して重なり合いを解消することができるとともに、分割後の文字情報格納枠間の間隔および各文字情報格納枠内の行間隔をほぼ一定にすることができる。したがって、文字情報格納枠が他の情報格納枠と重なり合っても、比較的見栄えのよいレイアウトを実現することができる。   As a result, when the character information storage frame overlaps with other information storage frames depending on the content of the article, the amount of information or the logical structure, the character information storage frame can be divided to eliminate the overlap, and The intervals between the character information storage frames and the line intervals within each character information storage frame can be made substantially constant. Therefore, even if the character information storage frame overlaps with another information storage frame, a relatively good-looking layout can be realized.

さらに、本実施の形態では、コンテンツ配信端末100は、ユーザ情報登録DB40のユーザ情報に基づいて、ディジタルコンテンツをコンテンツ登録DB44のなかから索出するようになっている。   Further, in the present embodiment, the content distribution terminal 100 searches for digital content from the content registration DB 44 based on the user information in the user information registration DB 40.

これにより、ディジタルコンテンツの選択に関してユーザの固有情報やユーザによる指定情報が参照されることから、ユーザの希望に比較的沿った内容の提供用ディジタルコンテンツを作成することができる。   As a result, the user's unique information and the designation information by the user are referred to regarding the selection of the digital content, so that it is possible to create digital content for provision that is relatively in line with the user's wishes.

さらに、本実施の形態では、コンテンツ配信端末100は、ユーザ情報登録DB40のユーザ情報に基づいて、ディジタルコンテンツの出力レイアウトを決定して提供用ディジタルコンテンツを作成するようになっている。   Furthermore, in the present embodiment, the content distribution terminal 100 determines the output layout of the digital content based on the user information in the user information registration DB 40 and creates the providing digital content.

これにより、出力レイアウトの決定に関してユーザの固有情報やユーザによる指定情報が参照されることから、ユーザの希望に比較的沿った出力レイアウトで提供用ディジタルコンテンツを作成することができる。   As a result, the unique information of the user and the designation information by the user are referred to regarding the determination of the output layout, so that the providing digital content can be created with an output layout that is relatively in line with the user's wishes.

上記第1の実施の形態において、ユーザ情報登録DB40は、発明10または11のユーザ情報記憶手段に対応し、コンテンツ登録DB44は、発明2の掲載情報記憶手段に対応し、ステップS206は、発明2、3、6、7、10または11の掲載情報選択手段に対応している。また、ステップS212は、発明1ないし3、11または12のレイアウト手段に対応し、ステップS402は、発明3の文字情報格納枠分割手段に対応し、ステップS410〜S412は、発明1ないし3、6または7の配置位置調整手段に対応し、ステップS414は、発明1ないし3、6または7の文字情報格納枠挿入手段に対応している。   In the first embodiment, the user information registration DB 40 corresponds to the user information storage means of the invention 10 or 11, the content registration DB 44 corresponds to the posting information storage means of the invention 2, and step S206 is the invention 2 It corresponds to 3, 6, 7, 10 or 11 posted information selection means. Step S212 corresponds to the layout means of Inventions 1 to 3, 11 or 12, Step S402 corresponds to the character information storage frame dividing means of Invention 3, and Steps S410 to S412 correspond to Inventions 1 to 3, 6 Alternatively, step S414 corresponds to the character information storage frame insertion unit of the first to third, sixth, or seventh aspects.

また、上記第1の実施の形態において、ステップS416,S418,S422は、発明3、6または7の文字情報分割格納手段に対応し、記事は、発明2、3、6、7、10または11の掲載情報に対応している。   In the first embodiment, steps S416, S418, and S422 correspond to the character information division storage unit of the invention 3, 6 or 7, and the articles are inventions 2, 3, 6, 7, 10 or 11 of the invention. Corresponds to the posted information.

次に、本発明の第2の実施の形態を図面を参照しながら説明する。図20ないし図23は、本発明に係るレイアウトシステムおよびレイアウトプログラム、並びにレイアウト方法の第2の実施の形態を示す図である。なお、以下、上記第1の実施の形態と異なる部分についてのみ説明し、重複する部分については同一の符号を付して説明を省略する。   Next, a second embodiment of the present invention will be described with reference to the drawings. 20 to 23 are diagrams showing a second embodiment of a layout system, a layout program, and a layout method according to the present invention. Hereinafter, only different parts from the first embodiment will be described, and overlapping parts will be denoted by the same reference numerals and description thereof will be omitted.

本実施の形態は、本発明に係るレイアウトシステムおよびレイアウトプログラム、並びにレイアウト方法を、コンテンツ配信端末100において、ニュース等のディジタルコンテンツをユーザ端末200に配信する場合について適用したものであり、上記第1の実施の形態と異なるのは、文字情報格納枠に縦書きの書式が設定されており、文字情報を縦書きの書式で格納する点にある。なお、ここでは、行が右から左へ進行する縦書きの書式の場合の実施の形態について述べるが、左から右へ進行する場合にも容易に適用可能である。   In the present embodiment, the layout system, the layout program, and the layout method according to the present invention are applied to the case where the content distribution terminal 100 distributes digital content such as news to the user terminal 200. The difference from the embodiment is that the vertical writing format is set in the character information storage frame, and the character information is stored in the vertical writing format. Here, an embodiment in the case of a vertical writing format in which a line proceeds from right to left will be described, but the present invention can be easily applied to a case in which the line proceeds from left to right.

CPU30は、図14のフローチャートに示す情報格納枠への第1格納処理に代えて、図20のフローチャートに示す情報格納枠への第1格納処理を実行するようになっている。   The CPU 30 executes the first storage process in the information storage frame shown in the flowchart of FIG. 20 instead of the first storage process in the information storage frame shown in the flowchart of FIG.

図20は、情報格納枠への第1格納処理を示すフローチャートである。   FIG. 20 is a flowchart showing the first storage process in the information storage frame.

情報格納枠への第1格納処理は、選択情報格納枠のうち文字情報格納枠を確定済格納枠と重なり合わないように分割し、選択記事を各分割情報格納枠に連続して格納する処理であって、上記ステップS318において実行されると、図20に示すように、まず、ステップS500に移行するようになっている。   The first storage process in the information storage frame is a process of dividing the character information storage frame of the selected information storage frame so that it does not overlap with the confirmed storage frame, and continuously storing the selected articles in each divided information storage frame However, when it is executed in step S318, the process first proceeds to step S500 as shown in FIG.

ステップS500では、選択情報格納枠が文字情報格納枠であるか否かを判定し、選択情報格納枠が文字情報格納枠であると判定したとき(Yes)は、ステップS502に移行して、選択情報格納枠を確定済格納枠と重なり合わないように分割し、ステップS505に移行する。   In step S500, it is determined whether or not the selection information storage frame is a character information storage frame. If it is determined that the selection information storage frame is a character information storage frame (Yes), the process proceeds to step S502 to select the selection information storage frame. The information storage frame is divided so as not to overlap the confirmed storage frame, and the process proceeds to step S505.

ステップS505では、分割情報格納枠に指定されている文字の幅および行間のピッチに基づいて行送り1hを算出し、ステップS506に移行する。   In step S505, the line feed 1h is calculated based on the character width specified in the division information storage frame and the pitch between lines, and the process proceeds to step S506.

ステップS506では、複数の分割情報格納枠のなかから第1文字情報格納枠を選択し、ステップS508に移行して、複数の分割情報格納枠のなかから第2文字情報格納枠を選択する。具体的に、ステップS506では、すべての分割情報格納枠に記事が格納されていない場合は、それら分割情報格納枠のなかから、情報格納枠がレイアウト領域360の右端から最も近い位置にあるものを第1文字情報格納枠として選択する。また、いずれかの分割情報格納枠に記事が格納されている場合は、記事が格納されていない分割情報格納枠のなかから、情報格納枠がレイアウト領域360の右端から最も近い位置にあるものを第1文字情報格納枠として選択する。   In step S506, the first character information storage frame is selected from the plurality of division information storage frames, and the process proceeds to step S508 to select the second character information storage frame from the plurality of division information storage frames. Specifically, in step S506, if the article is not stored in all the division information storage frames, the information storage frame that is closest to the right end of the layout area 360 is selected from the division information storage frames. Select as the first character information storage frame. If an article is stored in one of the divided information storage frames, the one in which the information storage frame is closest to the right end of the layout area 360 is selected from among the divided information storage frames in which no article is stored. Select as the first character information storage frame.

次いで、ステップS508に移行して、複数の分割情報格納枠のなかから第2文字情報格納枠を選択する。具体的に、ステップS508では、記事が格納されていない分割情報格納枠のなかから、選択記事のうち第1文字情報格納枠に格納した記事の続きを格納すべきものを第2文字情報格納枠として選択する。   Next, the process proceeds to step S508, and the second character information storage frame is selected from the plurality of division information storage frames. Specifically, in step S508, among the divided information storage frames in which articles are not stored, the selected article to store the continuation of the article stored in the first character information storage frame is set as the second character information storage frame. select.

第1文字情報格納枠および第2文字情報格納枠には、縦書きの書式が設定されているので、レイアウト領域360における配置関係としては、第1文字情報格納枠の左方に第2文字情報格納枠が位置する。すなわち、第1文字情報格納枠と第2文字情報格納枠との近接部分で行が連続することとなる。   Since the vertical writing format is set in the first character information storage frame and the second character information storage frame, the arrangement relationship in the layout area 360 is the second character information on the left side of the first character information storage frame. The storage frame is located. That is, the lines are continuous in the vicinity of the first character information storage frame and the second character information storage frame.

次いで、ステップS510に移行して、第1文字情報格納枠の内容領域の幅が行送り1hの整数倍かつ第1文字情報格納枠の元の内容領域の幅以下となるように、第1文字情報格納枠の左辺の位置を調整し、ステップS512に移行する。   Next, the process proceeds to step S510, in which the first character information storage frame has a content area whose width is an integer multiple of line feed 1h and equal to or less than the original content area width of the first character information storage frame. The position of the left side of the information storage frame is adjusted, and the process proceeds to step S512.

ステップS512では、第1文字情報格納枠の内容領域の右辺位置と第2文字情報格納枠の内容領域の右辺位置との間の高さが、行送り1hの整数倍かつ、第2文字情報格納枠の内容領域の幅が、第2文字情報格納枠の元の内容領域の幅以下となるように、第2文字情報格納枠の右辺位置を調整し、ステップS514に移行する。
ステップS514では、ステップS510で調整した第1文字情報格納枠の内容領域の左辺位置を右辺位置とし、ステップS512で調整した第2文字情報格納枠の内容領域の右辺位置を左辺位置とし、第1および第2文字情報格納枠の内容領域の上辺位置が、レイアウト領域360の上端から遠い方の文字情報格納枠の上辺位置を上辺位置とし、第1および第2文字情報格納枠の内容領域の下辺位置が、前記レイアウト領域の下端から遠い方の文字情報格納枠の下辺位置を下辺位置とする第3文字情報格納枠を挿入して、ステップS516に移行する。
ステップS516では、第1文字情報格納枠に記事を格納し、次いでステップS518では第3文字情報格納枠に第1文字情報格納枠に格納した記事の続きを格納し、ステップS520に移行する。
In step S512, the height between the right side position of the content area of the first character information storage frame and the right side position of the content area of the second character information storage frame is an integral multiple of the line feed 1h and the second character information storage. The right side position of the second character information storage frame is adjusted so that the width of the content area of the frame is equal to or less than the width of the original content area of the second character information storage frame, and the process proceeds to step S514.
In step S514, the left side position of the content area of the first character information storage frame adjusted in step S510 is set as the right side position, and the right side position of the content area of the second character information storage frame adjusted in step S512 is set as the left side position. The upper side position of the content area of the second character information storage frame is the upper side position of the upper side of the character information storage frame far from the upper end of the layout area 360, and the lower side of the content area of the first and second character information storage frames A third character information storage frame is inserted with the lower side position being the lower side position of the character information storage frame whose position is farther from the lower end of the layout area, and the process proceeds to step S516.
In step S516, the article is stored in the first character information storage frame, and in step S518, the continuation of the article stored in the first character information storage frame is stored in the third character information storage frame, and the process proceeds to step S520.

ステップS520では、すべての分割情報格納枠についてステップS506〜S518、の処理が終了したか否かを判定し、すべての分割情報格納枠について処理が終了したと判定したとき(Yes)は、ステップS522に移行して、第2文字情報格納枠に第2分割記事を格納し、一連の処理を終了して元の処理に復帰させる。
一方、ステップS520で、すべての分割情報格納枠について処理が終了していないと判定したとき(No)は、ステップS506に移行して、第1文字情報格納枠を選択する。
In step S520, it is determined whether or not the processing of steps S506 to S518 has been completed for all the divided information storage frames. If it is determined that the processing has been completed for all the divided information storage frames (Yes), step S522 is performed. Then, the second divided article is stored in the second character information storage frame, the series of processes is terminated, and the original process is restored.
On the other hand, when it is determined in step S520 that the processing has not been completed for all the divided information storage frames (No), the process proceeds to step S506, and the first character information storage frame is selected.

一方、ステップS500で、選択情報格納枠が文字情報格納枠でないと判定したとき(No)は、ステップS524に移行して、選択情報格納枠の大きさを確定済格納枠と重なり合わないように変更し、ステップS526に移行して、選択情報格納枠に選択記事を格納し、一連の処理を終了して元の処理に復帰させる。   On the other hand, when it is determined in step S500 that the selected information storage frame is not a character information storage frame (No), the process proceeds to step S524 so that the size of the selected information storage frame does not overlap the determined storage frame. Then, the process proceeds to step S526, the selected article is stored in the selection information storage frame, the series of processes is terminated, and the original process is restored.

次に、本実施の形態の動作を説明する。   Next, the operation of the present embodiment will be described.

レイアウトの過程では、まず、ステップS300〜S304を経て、先頭ページのレイアウト領域360が処理対象として設定され、読み出されたテンプレート適用ルールに基づいてテンプレート登録DB42のなかからページテンプレートが読み出され、読み出されたページテンプレートが現在のレイアウト領域360に適用される。次いで、ステップS306〜S310を経て、固定線の位置、固定文字情報の形状および位置、並びに固定画像情報の形状および位置がその順で決定される。   In the layout process, first, through steps S300 to S304, the layout area 360 of the first page is set as a processing target, and a page template is read from the template registration DB 42 based on the read template application rule. The read page template is applied to the current layout area 360. Next, through steps S306 to S310, the position of the fixed line, the shape and position of the fixed character information, and the shape and position of the fixed image information are determined in that order.

図21は、情報格納枠が重なり合って配置されているレイアウト状態を示す図である。   FIG. 21 is a diagram illustrating a layout state in which the information storage frames are arranged so as to overlap each other.

例えば、図21に示すように、確定済格納枠Pfと文字情報格納枠Pとが重なり合っているとする。図21の例では、文字情報格納枠Pの中央領域において確定済格納枠Pfが重なり合っている。図21において、M,Iは、文字情報格納枠Pの外部余白および内部余白であり、Mfは、確定済格納枠Pfの外部余白である。   For example, as shown in FIG. 21, it is assumed that the confirmed storage frame Pf and the character information storage frame P overlap each other. In the example of FIG. 21, the confirmed storage frames Pf overlap in the central area of the character information storage frame P. In FIG. 21, M and I are the outer margin and the inner margin of the character information storage frame P, and Mf is the outer margin of the confirmed storage frame Pf.

ここで、文字情報格納枠Pの配置位置を(Pt,Pb,Pl,Pr)とし、確定済格納枠Pfの配置位置を(Pft,Pfb,Pfl,Pfr)とする。Ptは、文字情報格納枠Pの上辺のY座標、Pbは、文字情報格納枠Pの下辺のY座標、Plは、文字情報格納枠Pの左辺のX座標、Prは、文字情報格納枠Pの右辺のX座標である。Pft,Pfb,Pfl,Pfrについても同様である。   Here, the arrangement position of the character information storage frame P is (Pt, Pb, Pl, Pr), and the arrangement position of the confirmed storage frame Pf is (Pft, Pfb, Pfl, Pfr). Pt is the Y coordinate of the upper side of the character information storage frame P, Pb is the Y coordinate of the lower side of the character information storage frame P, Pl is the X coordinate of the left side of the character information storage frame P, and Pr is the character information storage frame P Is the X coordinate of the right side of. The same applies to Pft, Pfb, Pfl, and Pfr.

また、外部余白Mを(Mt,Mb,Ml,Mr)とし、外部余白Mfを(Mft,Mfb,Mfl,Mfr)とする。Mtは、文字情報格納枠Pの上辺から上辺外部余白の上端までの長さ、Mbは、文字情報格納枠Pの下辺から下辺外部余白の下端までの長さ、Mlは、文字情報格納枠Pの左辺から左辺外部余白の左端までの長さ、Mrは、文字情報格納枠Pの右辺から右辺外部余白の右端までの長さである。Mft,Mfb,Mfl,Mfrについても同様である。   The outer margin M is (Mt, Mb, Ml, Mr), and the outer margin Mf is (Mft, Mfb, Mfl, Mfr). Mt is the length from the upper side of the character information storage frame P to the upper end of the upper outer margin, Mb is the length from the lower side of the character information storage frame P to the lower end of the lower outer margin, and Ml is the character information storage frame P , Mr is the length from the right side of the character information storage frame P to the right end of the right side external margin. The same applies to Mft, Mfb, Mfl, and Mfr.

また、内部余白Iを(It,Ib,Il,Ir)とする。Itは、文字情報格納枠Pの上辺から上辺内部余白の下端までの長さ、Ibは、文字情報格納枠Pの下辺から下辺内部余白の上端までの長さ、Ilは、文字情報格納枠Pの左辺から左辺内部余白の右端までの長さ、Irは、文字情報格納枠Pの右辺から右辺内部余白の左端までの長さである。   Further, the inner margin I is (It, Ib, Il, Ir). It is the length from the upper side of the character information storage frame P to the lower end of the upper internal margin, Ib is the length from the lower side of the character information storage frame P to the upper end of the lower internal margin, and Il is the character information storage frame P , Ir is the length from the right side of the character information storage frame P to the left end of the right side internal margin.

このように重なり合っている場合、ステップS312,S314を経て、所定の優先順位に基づいて、ステップS206で索出されたディジタルコンテンツのなかからレイアウト領域360に配置すべき記事が選択され、現在のレイアウト領域360のなかから文字情報格納枠Pが選択される。   In the case of overlapping in this way, through steps S312 and S314, based on a predetermined priority, an article to be placed in the layout area 360 is selected from the digital contents searched in step S206, and the current layout is selected. A character information storage frame P is selected from the area 360.

図22は、文字情報格納枠Pを分割する場合のレイアウト状態を示す図である。   FIG. 22 is a diagram showing a layout state when the character information storage frame P is divided.

図21のレイアウトの場合、まず、ステップS500,S502を経て、文字情報格納枠Pが確定済格納枠Pfと重なり合わないように分割される。具体的には、図22に示すように、文字情報格納枠Pが3つの文字情報格納枠P0〜P2に分割される。そして、文字情報格納枠P1と確定済格納枠Pfとが右端および左端を揃えて縦並びに配置され、文字情報格納枠P1および確定済格納枠Pfの右方に文字情報格納枠P0が配置され、文字情報格納枠P1および確定済格納枠Pfの左方に文字情報格納枠P2が配置される。ここで、選択記事は、文字情報格納枠P0〜P2の順に縦書きの書式で連続して格納される。   In the case of the layout of FIG. 21, first, through steps S500 and S502, the character information storage frame P is divided so as not to overlap the confirmed storage frame Pf. Specifically, as shown in FIG. 22, the character information storage frame P is divided into three character information storage frames P0 to P2. The character information storage frame P1 and the confirmed storage frame Pf are arranged vertically with the right end and the left end aligned, and the character information storage frame P0 is arranged to the right of the character information storage frame P1 and the confirmed storage frame Pf. A character information storage frame P2 is arranged on the left side of the character information storage frame P1 and the confirmed storage frame Pf. Here, the selected articles are continuously stored in the vertical writing format in the order of the character information storage frames P0 to P2.

次いで、ステップS505を経て、文字情報格納枠に指定された文字幅および行間のピッチに基づいて各文字情報格納枠P0〜P2内での行送り1hが算出される。   Next, through step S505, the line feed 1h in each character information storage frame P0 to P2 is calculated based on the character width specified in the character information storage frame and the pitch between lines.

図23は、行送り1hを算出する場合を示す図である。   FIG. 23 is a diagram illustrating a case where the line feed 1h is calculated.

行送り1hは、図23に示すように、文字の幅をch、行間のピッチをcsとすれば、下式(8)により算出することができる。
1h=ch+cs …(8)
As shown in FIG. 23, the line feed 1h can be calculated by the following equation (8), where the character width is ch and the pitch between lines is cs.
1h = ch + cs (8)

まず、ステップS506,S508を経て、文字情報格納枠P0が第1文字情報格納枠として選択され、文字情報格納枠P1が第2文字情報格納枠として選択される。   First, through steps S506 and S508, the character information storage frame P0 is selected as the first character information storage frame, and the character information storage frame P1 is selected as the second character information storage frame.

次いで、ステップS510を経て、文字情報格納枠P0の内容領域の幅が行送り1hとなるように、文字情報格納枠P0の左辺位置が調整される。文字情報格納枠P0の左辺位置を求めるために、まず文字情報格納枠P0の内容領域の幅を計算する。文字情報格納枠P0の内容領域の幅w0は、文字情報格納枠P0の配置位置を(P0t,P0b,P0l,P0r)、文字情報格納枠P0の内部余白I0を(I0t,I0b,I0l,I0r)とすれば、下式(2)により算出することができる。そして、文字情報格納枠P0の内容領域の幅がw0となるように、文字情報格納枠P0の内容領域のサイズが調整される。
w0=(P0r−P0l−I0r−I0l)/1h×1h …(2)
Next, through step S510, the position of the left side of the character information storage frame P0 is adjusted so that the width of the content area of the character information storage frame P0 is the line feed 1h. In order to obtain the position of the left side of the character information storage frame P0, the width of the content area of the character information storage frame P0 is first calculated. The width w0 of the content area of the character information storage frame P0 is such that the arrangement position of the character information storage frame P0 is (P0t, P0b, P0l, P0r), and the internal margin I0 of the character information storage frame P0 is (I0t, I0b, I0l, I0r). ), It can be calculated by the following equation (2). Then, the size of the content area of the character information storage frame P0 is adjusted so that the width of the content area of the character information storage frame P0 is w0.
w0 = (P0r−P01−I0r−I01) / 1h × 1h (2)

ただし、上式(2)において、(P0r−P0l−I0r−I0l)/1hは、小数点以下を切り捨てた整数値として算出する。すなわち、調整後の内容領域の幅は元の内容領域の幅以下となる。このようにすることで、P0が確定済領域Pfと重なる可能性が低減される。   However, in the above formula (2), (P0r-P01-I0r-I01) / 1h is calculated as an integer value obtained by rounding down the decimal part. That is, the width of the adjusted content area is equal to or less than the width of the original content area. By doing in this way, possibility that P0 will overlap with the confirmed area | region Pf is reduced.

次いで、文字情報格納枠P0の左辺位置が調整される。文字情報格納枠P0の左辺位置P0l'は、下式(3)により算出することができる。
P0l'=P0r−I0r−w0−I0r …(3)
Next, the position of the left side of the character information storage frame P0 is adjusted. The left side position P01 'of the character information storage frame P0 can be calculated by the following equation (3).
P0l '= P0r-I0r-w0-I0r (3)

次いで、ステップS512を経て、文字情報格納枠P1の右辺位置を調整する。その際、
文字情報格納枠P0の内容領域の右辺位置と文字情報格納枠P1の内容領域の右辺位置との間の幅が、行送り1hの整数倍かつ、文字情報格納枠P1の内容領域の幅が、前記元の内容領域の幅以下となるように文字情報格納枠P1の右辺位置を調整する。文字情報格納枠P1の右辺の位置P1r'は、文字情報格納枠P1の配置位置を(P1t,P1b,P1l,P1r)、文字情報格納枠P1の内部余白I1を(I1t,I1b,I1l,I1r)とすれば、下式(4)により算出することができる。
P1r'=(P0r−I0r)−
{(P0r−I0r)−(P1r+I1r)}/1h×1h+I1r …(4)
Next, through step S512, the right side position of the character information storage frame P1 is adjusted. that time,
The width between the right side position of the content area of the character information storage frame P0 and the right side position of the content area of the character information storage frame P1 is an integral multiple of the line feed 1h, and the width of the content area of the character information storage frame P1 is The right side position of the character information storage frame P1 is adjusted to be equal to or less than the width of the original content area. The position P1r ′ on the right side of the character information storage frame P1 is the placement position of the character information storage frame P1 (P1t, P1b, P1l, P1r), and the internal margin I1 of the character information storage frame P1 is (I1t, I1b, I1l, I1r). ), It can be calculated by the following equation (4).
P1r ′ = (P0r−I0r) −
{(P0r−I0r) − (P1r + I1r)} / 1h × 1h + I1r (4)

次いで、ステップS514を経て、文字情報格納枠P0と文字情報格納枠P1との間に新たに文字情報格納枠P3が挿入される。文字情報格納枠P3は文字情報格納枠P0と文字情報格納枠P1との間に発生する可能性のなる空き領域を補うための文字情報格納枠であり、その右辺位置は文字情報格納枠P0の内容領域の左辺位置と等しく、その左辺位置は文字情報格納枠P1の内容領域の右辺位置と等しく、その上辺位置は、文字情報格納枠P0および文字情報格納枠P1の内容領域の上辺位置がレイアウト領域360の上端から遠い方(本実施例の場合はP0、P1どちらでもよい)の文字情報格納枠の内容領域の上辺位置を上辺位置とし、その下辺位置は文字情報格納枠P0および文字情報格納枠P1の内容領域の下辺位置がレイアウト領域360の下端から遠い方(本実施例の場合はP1が該当する)の文字情報格納枠の内容領域の下辺位置を下辺位置とする文字情報格納枠である。また、文字情報格納枠P3の左辺と右辺の余白サイズはゼロに設定され、上辺と下辺の余白サイズは文字情報格納枠P0または文字情報格納枠P1の余白と同じサイズに設定される。   Next, through step S514, a character information storage frame P3 is newly inserted between the character information storage frame P0 and the character information storage frame P1. The character information storage frame P3 is a character information storage frame for compensating for an empty area that may occur between the character information storage frame P0 and the character information storage frame P1, and the right side position thereof is the character information storage frame P0. It is equal to the left side position of the content area, the left side position is equal to the right side position of the content area of the character information storage frame P1, and the upper side position is laid out by the upper side position of the content area of the character information storage frame P0 and the character information storage frame P1. The upper side position of the content area of the character information storage frame farther from the upper end of the area 360 (which may be either P0 or P1 in this embodiment) is the upper side position, and the lower side position is the character information storage frame P0 and character information storage. A sentence with the lower side position of the content area of the character information storage frame of the character information storage frame of the one farther from the lower end of the layout area 360 (in this example, P1 corresponds). It is an information storage frame. Further, the margin sizes of the left and right sides of the character information storage frame P3 are set to zero, and the margin sizes of the upper and lower sides are set to the same size as the margins of the character information storage frame P0 or the character information storage frame P1.

そして、ステップS516を経て、文字情報格納枠P0に記事が格納され、さらにステップS518を経て、文字情報格納枠P3に文字情報格納枠P0に格納した記事の続きが格納される。   Then, the article is stored in the character information storage frame P0 through step S516, and the continuation of the article stored in the character information storage frame P0 is stored in the character information storage frame P3 through step S518.

図22は、文字情報格納枠P1およびP2の配置位置を調整する場合を示す図である。   FIG. 22 is a diagram illustrating a case where the arrangement positions of the character information storage frames P1 and P2 are adjusted.

次に、ステップS506,S508を経て、図22に示すように、文字情報格納枠P1が第1文字情報格納枠として選択され、文字情報格納枠P2が第2文字情報格納枠として選択される。
次いで、さきほどと同様に、ステップS510を経て、文字情報格納枠P1の内容領域の幅が行送り1hとなるように、文字情報格納枠P1の左辺位置が調整され、ステップS512を経て、文字情報格納枠P2の右辺位置が調整され、ステップS514を経て、文字情報格納枠P1と文字情報格納枠P2との間に新たに文字情報格納枠P4が挿入される。
Next, through steps S506 and S508, as shown in FIG. 22, the character information storage frame P1 is selected as the first character information storage frame, and the character information storage frame P2 is selected as the second character information storage frame.
Next, similarly to the previous step, the position of the left side of the character information storage frame P1 is adjusted through step S510 so that the width of the content area of the character information storage frame P1 is line feed 1h, and the character information is stored through step S512. The right side position of the storage frame P2 is adjusted, and a character information storage frame P4 is newly inserted between the character information storage frame P1 and the character information storage frame P2 through step S514.

そして、ステップS516を経て、文字情報格納枠P1に文字情報格納枠P3に格納した記事の続きが格納され、さらに、ステップS518を経て、文字情報格納枠P4に文字情報格納枠P1に格納した記事の続きが格納される。   Then, the continuation of the article stored in the character information storage frame P3 is stored in the character information storage frame P1 through step S516, and further the article stored in the character information storage frame P1 in the character information storage frame P4 through step S518. Is stored.

そして、ステップS520、S522を経て、文字情報格納枠P2に文字情報格納枠P4に格納した記事の続きが格納される。   Then, through steps S520 and S522, the continuation of the article stored in the character information storage frame P4 is stored in the character information storage frame P2.

そして、すべてのページのレイアウト領域360内に記事が配置され、ディジタルコンテンツの出力レイアウトが決定されると、ステップS222,S224を経て、ユーザプロファイルテーブル300から配信先アドレスが読み出され、読み出された配信先アドレス宛に、作成された提供用ディジタルコンテンツが配信される。   Then, when articles are arranged in the layout area 360 of all pages and the output layout of digital contents is determined, the delivery destination address is read from the user profile table 300 through steps S222 and S224, and read out. The provided digital content for distribution is distributed to the distribution destination address.

このようにして、本実施の形態では、コンテンツ配信端末100は、選択記事を、近接させて配置した複数の文字情報格納枠に連続して格納する場合に、複数の文字情報格納枠のうち近接部分で行が連続するもの同士の間隔および各文字情報格納枠内の行間隔が同一またはほぼ同一となるように、複数の文字情報格納枠の配置位置を調整し、さらに複数の文字情報格納枠の間に新たに文字情報格納枠を挿入するようになっている。   In this way, in the present embodiment, when the content distribution terminal 100 stores the selected article continuously in a plurality of character information storage frames arranged close to each other, the content distribution terminal 100 approaches the character information storage frames. The arrangement positions of the plurality of character information storage frames are adjusted so that the interval between successive lines and the line interval in each character information storage frame are the same or substantially the same, and the plurality of character information storage frames A character information storage frame is newly inserted in between.

これにより、文字情報格納枠間の間隔および各文字情報格納枠内の行間隔をほぼ一定にすることができる。したがって、文字情報格納枠に余白が設定されていても、従来に比して、比較的見栄えのよいレイアウトを実現することができる。   Thereby, the space | interval between character information storage frames and the line space | interval in each character information storage frame can be made substantially constant. Therefore, even if a margin is set in the character information storage frame, it is possible to realize a layout having a relatively good appearance as compared with the conventional case.

さらに、本実施の形態では、コンテンツ配信端末100は、他の情報格納枠と重なり合っている文字情報格納枠をそれら情報格納枠が重なり合わないように分割し、分割情報格納枠のうち近接部分で行が連続するもの同士の間隔および各文字情報格納枠内の行間隔が同一またはほぼ同一となるように、複数の文字情報格納枠の配置位置を調整し、さらに複数の文字情報格納枠の間に新たに文字情報格納枠を挿入した後、選択記事を文字情報格納枠に連続して格納するようになっている。   Furthermore, in the present embodiment, the content distribution terminal 100 divides the character information storage frame that overlaps with the other information storage frames so that the information storage frames do not overlap with each other. Adjust the arrangement position of multiple character information storage frames so that the interval between consecutive lines and the line interval in each character information storage frame are the same or nearly the same, and between the multiple character information storage frames After the character information storage frame is newly inserted, the selected articles are continuously stored in the character information storage frame.

これにより、記事の内容、情報量または論理構造等によって文字情報格納枠が他の情報格納枠と重なり合った場合には、文字情報格納枠を分割して重なり合いを解消することができるとともに、分割後の文字情報格納枠間の間隔および各文字情報格納枠内の行間隔をほぼ一定にすることができる。したがって、文字情報格納枠が他の情報格納枠と重なり合っても、比較的見栄えのよいレイアウトを実現することができる。   As a result, when the character information storage frame overlaps with other information storage frames depending on the content of the article, the amount of information or the logical structure, the character information storage frame can be divided to eliminate the overlap, and The intervals between the character information storage frames and the line intervals within each character information storage frame can be made substantially constant. Therefore, even if the character information storage frame overlaps with another information storage frame, a relatively good-looking layout can be realized.

さらに、本実施の形態では、コンテンツ配信端末100は、ユーザ情報登録DB40のユーザ情報に基づいて、ディジタルコンテンツをコンテンツ登録DB44のなかから索出するようになっている。   Further, in the present embodiment, the content distribution terminal 100 searches for digital content from the content registration DB 44 based on the user information in the user information registration DB 40.

これにより、ディジタルコンテンツの選択に関してユーザの固有情報やユーザによる指定情報が参照されることから、ユーザの希望に比較的沿った内容の提供用ディジタルコンテンツを作成することができる。   As a result, the user's unique information and the designation information by the user are referred to regarding the selection of the digital content, so that it is possible to create digital content for provision that is relatively in line with the user's wishes.

さらに、本実施の形態では、コンテンツ配信端末100は、ユーザ情報登録DB40のユーザ情報に基づいて、ディジタルコンテンツの出力レイアウトを決定して提供用ディジタルコンテンツを作成するようになっている。   Furthermore, in the present embodiment, the content distribution terminal 100 determines the output layout of the digital content based on the user information in the user information registration DB 40 and creates the providing digital content.

これにより、出力レイアウトの決定に関してユーザの固有情報やユーザによる指定情報が参照されることから、ユーザの希望に比較的沿った出力レイアウトで提供用ディジタルコンテンツを作成することができる。   As a result, the unique information of the user and the designation information by the user are referred to regarding the determination of the output layout, so that the providing digital content can be created with an output layout that is relatively in line with the user's wishes.

上記第2の実施の形態において、ユーザ情報登録DB40は、発明10または11のユーザ情報記憶手段に対応し、コンテンツ登録DB44は、発明2の掲載情報記憶手段に対応し、ステップS206は、発明2、3、6、7、10または11の掲載情報選択手段に対応している。また、ステップS212は、発明1ないし3、11または12のレイアウト手段に対応し、ステップS502は、発明3の文字情報格納枠分割手段に対応し、ステップS510〜S512は、発明1ないし3、6または7の配置位置調整手段に対応し、ステップS514は、発明1ないし3、6または7の文字情報格納枠挿入手段に対応している。   In the second embodiment, the user information registration DB 40 corresponds to the user information storage means of the invention 10 or 11, the content registration DB 44 corresponds to the posting information storage means of the invention 2, and step S206 is the invention 2 It corresponds to 3, 6, 7, 10 or 11 posted information selection means. Step S212 corresponds to the layout means of inventions 1 to 3, 11 or 12, step S502 corresponds to the character information storage frame dividing means of invention 3, and steps S510 to S512 are inventions 1 to 3, 6. Alternatively, step S514 corresponds to the character information storage frame insertion unit of the first to third, sixth, or seventh aspects.

また、上記第2の実施の形態において、ステップS516,S518,S522は、発明3、6または7の文字情報分割格納手段に対応し、記事は、発明2、3、6、7、10または11の掲載情報に対応している。   In the second embodiment, steps S516, S518, and S522 correspond to the character information division storage means of the invention 3, 6 or 7, and the articles are inventions 2, 3, 6, 7, 10 or 11 of the invention. Corresponds to the posted information.

なお、上記第1および第2の実施の形態においては、分割情報格納枠を結合してなる結合領域の外周辺を描画することについて特に説明しなかったが、図24および図25に示すように、文字情報格納枠P0〜P2からなる結合領域の外周辺を描画するように構成することもできる。   In the first and second embodiments, there has been no particular description about drawing the outer periphery of the combined area formed by combining the divided information storage frames. However, as shown in FIGS. The outer periphery of the combined area composed of the character information storage frames P0 to P2 can be drawn.

図24は、各文字情報格納枠P0〜P4の外周辺を描画した場合を示す図である。   FIG. 24 is a diagram illustrating a case where the outer periphery of each character information storage frame P0 to P4 is drawn.

図25は、文字情報格納枠P0〜P4からなる結合領域の外周辺を描画した場合を示す図である。   FIG. 25 is a diagram illustrating a case where the outer periphery of the combined area including the character information storage frames P0 to P4 is drawn.

各文字情報格納枠P0〜P4の外周辺を描画すると、図24に示すように、文字が格納されている部分にも直線が描画されてしまい、レイアウトを損なう可能性がある。図24の例では、文字情報格納枠P0の下辺の一部、文字情報格納枠P1、P3、P4の上辺および下辺、並びに文字情報格納枠P2の上辺の一部がそれに該当する。   If the outer periphery of each character information storage frame P0-P4 is drawn, as shown in FIG. 24, a straight line is drawn also in the part in which the character is stored, and there exists a possibility that a layout may be impaired. In the example of FIG. 24, a part of the lower side of the character information storage frame P0, an upper side and a lower side of the character information storage frames P1, P3, and P4, and a part of the upper side of the character information storage frame P2 correspond to this.

この場合、文字情報格納枠の外周辺のうち他の文字情報格納枠内に属している部分は描画しないことが望ましい。具体的に、結合領域の外周辺を描画するときは、第1ステップに移行して、分割情報格納枠を結合してなる結合領域の外周辺を判定し、第2ステップに移行して、その判定結果に基づいて結合領域の外周辺を描画する。   In this case, it is desirable not to draw a portion belonging to another character information storage frame in the outer periphery of the character information storage frame. Specifically, when drawing the outer periphery of the combined area, the process proceeds to the first step, the outer periphery of the combined area formed by combining the divided information storage frames is determined, and the process proceeds to the second step. Based on the determination result, the outer periphery of the combined area is drawn.

第1ステップは、文字情報格納枠の外周辺のうち他の文字情報格納枠とその全部が重なり合っている辺については、その辺を結合領域の外周辺を形成する辺の候補から除外する。また、文字情報格納枠の外周辺のうち他の文字情報格納枠とその一部が重なり合っている辺については、その辺のうち該当部分を結合領域の外周辺を形成する辺の候補から除外する。また、文字情報格納枠の外周辺のうち他の文字情報格納枠と重なり合っていない辺については、その辺を結合領域の外周辺を形成する辺の候補とする。そして、結合領域を構成する文字情報格納枠のすべての外周辺について求めた辺の候補に基づいて、結合領域の外周辺を判定する。   The first step excludes a side that overlaps with the other character information storage frame in the outer periphery of the character information storage frame from the candidates for the side that forms the outer periphery of the combined area. In addition, with respect to a side that partially overlaps another character information storage frame in the outer periphery of the character information storage frame, the corresponding part of the side is excluded from the candidates for the side that forms the outer periphery of the combined region. . In addition, for a side that does not overlap another character information storage frame in the outer periphery of the character information storage frame, that side is set as a candidate for a side that forms the outer periphery of the combined area. Then, the outer periphery of the combined area is determined based on the edge candidates obtained for all the outer periphery of the character information storage frames constituting the combined area.

その結果、文字情報格納枠P0〜P4からなる結合領域は、図25に示すように、その外周辺だけが描画されることになる。   As a result, only the outer periphery of the combined area including the character information storage frames P0 to P4 is drawn as shown in FIG.

これにより、結合領域の外周辺が描画されるので、分割情報格納枠が論理的に一体のものであることを視覚的に認識しやすくなる。さらに、結合領域の外周辺を比較的正確に判定することができる。   Thereby, since the outer periphery of the combined area is drawn, it is easy to visually recognize that the divided information storage frames are logically integrated. Furthermore, the outer periphery of the coupling area can be determined relatively accurately.

この場合において、ステップS402,S502は、発明8の文字情報格納枠分割手段に対応し、第1ステップは、発明8または9の外周辺判定手段に対応し、第2ステップは、発明8の外周辺描画手段に対応している。   In this case, steps S402 and S502 correspond to the character information storage frame dividing means of the invention 8, the first step corresponds to the outer periphery determining means of the invention 8 or 9, and the second step is an outside of the invention 8. It corresponds to the peripheral drawing means.

また、上記第1および第2の実施の形態においては、文字情報格納枠が1つの確定済格納枠と重なり合っている場合を説明したが、これに限らず、文字情報格納枠が複数の確定済格納枠と重なり合っている場合も同様にして処理することができる。その場合、例えば、1つの確定済格納枠に対して文字情報格納枠を分割し、分割後の複数の分割情報格納枠に対して、次の確定済格納枠がその分割情報格納枠と重なり合っているかどうかを判定し、重なり合っているときは、分割情報格納枠をさらに分割するという処理を繰り返し行うことにより実現することができる。   In the first and second embodiments, the case where the character information storage frame overlaps with one determined storage frame has been described. However, the present invention is not limited to this, and a plurality of character information storage frames are determined. The same process can be performed when the storage frame overlaps. In this case, for example, the character information storage frame is divided into one determined storage frame, and the next determined storage frame overlaps with the divided information storage frame for a plurality of divided information storage frames after the division. It can be realized by repeatedly performing the process of further dividing the division information storage frame.

また、上記第1および第2の実施の形態においては、文字情報格納枠の内部余白サイズを調整するように構成したが、これに限らず、文字情報格納枠の外部余白サイズを調整するように構成することもできる。   In the first and second embodiments, the inner margin size of the character information storage frame is adjusted. However, the present invention is not limited to this, and the outer margin size of the character information storage frame is adjusted. It can also be configured.

また、上記第1および第2の実施の形態においては、図6に示すような構造の文字情報格納枠を取り扱うように構成したが、これに限らず、図26に示すような構造(CSS2(Cascading Style Sheets level 2)のボックスモデル)の文字情報格納枠を取り扱うように構成することもできる。   In the first and second embodiments, the character information storage frame having the structure shown in FIG. 6 is handled. However, the present invention is not limited to this, and the structure (CSS2 ( Cascading Style Sheets level 2) box model) character information storage frame can also be handled.

図26は、情報格納枠およびその余白の構造を示す図である。   FIG. 26 is a diagram showing the structure of the information storage frame and its margin.

また、上記第1および第2の実施の形態においては、記事情報として文字情報および画像情報を採用したが、これに限らず、例えば、動画像情報、音声情報その他のマルチメディアデータを記事情報として採用することができる。   In the first and second embodiments, character information and image information are adopted as article information. However, the present invention is not limited to this, and for example, moving image information, audio information, and other multimedia data are used as article information. Can be adopted.

また、上記第1および第2の実施の形態においては、情報格納枠の形状および位置を動的に決定しながらレイアウトを行うように構成したが、これに限らず、レイアウト領域360内のすべての情報格納枠に一旦情報を格納してから、各情報格納枠の形状および位置を決定することによりレイアウトを行うように構成してもよい。   In the first and second embodiments described above, the layout is performed while dynamically determining the shape and position of the information storage frame. However, the present invention is not limited to this. The information storage frame may be configured to store information once and then determine the shape and position of each information storage frame to perform layout.

また、上記第1および第2の実施の形態においては、ユーザ情報に基づいて、ディジタルコンテンツの出力レイアウトを決定するように構成したが、これに限らず、ディジタルコンテンツに含まれる画像の数またはディジタルコンテンツに含まれる文字情報の量に基づいて、ディジタルコンテンツの出力レイアウトを決定するように構成してもよい。   In the first and second embodiments, the output layout of the digital content is determined based on the user information. However, the present invention is not limited to this, and the number of images included in the digital content or the digital content is determined. The output layout of the digital content may be determined based on the amount of character information included in the content.

これにより、ディジタルコンテンツに含まれる画像の数またはディジタルコンテンツに含まれる文字情報の量が多かったり、また逆に少なかったりしても、比較的見やすい出力レイアウトにすることができる。   Thereby, even if the number of images included in the digital content or the amount of character information included in the digital content is large or conversely small, an output layout that is relatively easy to view can be achieved.

また、上記第1および第2の実施の形態においては、ステップS212のレイアウト処理をコンテンツ配信端末100で実行するように構成したが、これに限らず、それらレイアウト処理をユーザ端末200で実行するように構成してもよい。これにより、コンテンツ配信端末100に処理負荷が集中するのを低減することができる。   In the first and second embodiments, the layout process in step S212 is executed by the content distribution terminal 100. However, the present invention is not limited to this, and the layout process is executed by the user terminal 200. You may comprise. As a result, the concentration of processing load on the content distribution terminal 100 can be reduced.

また、上記第1の実施の形態において、図11ないし図14のフローチャートに示す処理を実行するにあたってはいずれも、ROM32にあらかじめ格納されている制御プログラムを実行する場合について説明したが、これに限らず、これらの手順を示したプログラムが記憶された記憶媒体から、そのプログラムをRAM34に読み込んで実行するようにしてもよい。   Further, in the first embodiment, the case where the control program stored in advance in the ROM 32 is executed in the processes shown in the flowcharts of FIGS. 11 to 14 has been described. However, the present invention is not limited to this. Instead, the program may be read from the storage medium storing the program showing these procedures into the RAM 34 and executed.

また、上記第2の実施の形態において、図20のフローチャートに示す処理を実行するにあたっては、ROM32にあらかじめ格納されている制御プログラムを実行する場合について説明したが、これに限らず、これらの手順を示したプログラムが記憶された記憶媒体から、そのプログラムをRAM34に読み込んで実行するようにしてもよい。   In the second embodiment, the case where the control program stored in advance in the ROM 32 is executed when executing the processing shown in the flowchart of FIG. 20 has been described. It is also possible to read the program from the storage medium storing the program shown in FIG.

ここで、記憶媒体とは、RAM、ROM等の半導体記憶媒体、FD、HD等の磁気記憶型記憶媒体、CD、CDV、LD、DVD等の光学的読取方式記憶媒体、MO等の磁気記憶型/光学的読取方式記憶媒体であって、電子的、磁気的、光学的等の読み取り方法のいかんにかかわらず、コンピュータで読み取り可能な記憶媒体であれば、あらゆる記憶媒体を含むものである。   Here, the storage medium is a semiconductor storage medium such as RAM or ROM, a magnetic storage type storage medium such as FD or HD, an optical reading type storage medium such as CD, CDV, LD, or DVD, or a magnetic storage type such as MO. / Optical reading type storage media, including any storage media that can be read by a computer regardless of electronic, magnetic, optical, or other reading methods.

また、上記第1および第2の実施の形態においては、本発明に係るレイアウトシステムおよびレイアウトプログラム、並びにレイアウト方法を、インターネット199からなるネットワークシステムに適用した場合について説明したが、これに限らず、例えば、インターネット199と同一方式により通信を行ういわゆるイントラネットに適用してもよい。もちろん、インターネット199と同一方式により通信を行うネットワークに限らず、通常のネットワークに適用することもできる。   In the first and second embodiments, the case where the layout system, the layout program, and the layout method according to the present invention are applied to a network system including the Internet 199 has been described. For example, you may apply to what is called an intranet which communicates by the same system as the internet 199. Of course, the present invention is not limited to a network that performs communication in the same manner as the Internet 199, and can be applied to a normal network.

また、上記第1および第2の実施の形態においては、本発明に係るレイアウトシステムおよびレイアウトプログラム、並びにレイアウト方法を、図1に示すように、コンテンツ配信端末100において、ニュース等のディジタルコンテンツをユーザ端末200に配信する場合について適用したが、これに限らず、本発明の主旨を逸脱しない範囲で他の場合にも適用可能である。   In the first and second embodiments, the layout system, the layout program, and the layout method according to the present invention are as shown in FIG. Although the present invention is applied to the case of distributing to the terminal 200, the present invention is not limited to this, and can be applied to other cases without departing from the gist of the present invention.

本発明を適用するネットワークシステムの構成を示すブロック図である。It is a block diagram which shows the structure of the network system to which this invention is applied. コンテンツ配信端末100の機能概要を示す機能ブロック図である。3 is a functional block diagram showing an outline of functions of a content distribution terminal 100. FIG. コンテンツ配信端末100の構成を示すブロック図である。3 is a block diagram showing a configuration of a content distribution terminal 100. FIG. ユーザプロファイルテーブル300のデータ構造を示す図である。4 is a diagram showing a data structure of a user profile table 300. FIG. ページテンプレートが規定するレイアウト状態を示す図である。It is a figure which shows the layout state which a page template prescribes | regulates. 情報格納枠およびその余白の構造を示す図である。It is a figure which shows the structure of an information storage frame and its margin. テンプレート適用ルールのデータ構造を示す図である。It is a figure which shows the data structure of a template application rule. テンプレート適用ルールのデータ構造を示す図である。It is a figure which shows the data structure of a template application rule. レイアウトNo.対応テーブル330のデータ構造を示す図である。6 is a diagram showing a data structure of a layout number correspondence table 330. FIG. ディジタルコンテンツおよびカテゴリNo.対応テーブル340のデータ構造を示す図である。It is a figure which shows the data structure of digital content and the category number correspondence table 340. ユーザ登録処理を示すフローチャートである。It is a flowchart which shows a user registration process. コンテンツ配信処理を示すフローチャートである。It is a flowchart which shows a content delivery process. 自動レイアウト処理を示すフローチャートである。It is a flowchart which shows an automatic layout process. 情報格納枠への第1格納処理を示すフローチャートである。It is a flowchart which shows the 1st storage process to an information storage frame. 情報格納枠が重なり合って配置されているレイアウト状態を示す図である。It is a figure which shows the layout state by which the information storage frame is arrange | positioned overlapping. 文字情報格納枠Pを分割する場合のレイアウト状態を示す図である。It is a figure which shows the layout state in the case of dividing | segmenting the character information storage frame P. FIG. 行送り1hを算出する場合を示す図である。It is a figure which shows the case where line feed 1h is calculated. 文字情報格納枠P0,P1の配置位置を調整し、文字情報格納枠P3を挿入する場合を示す図である。It is a figure which shows the case where the arrangement position of character information storage frame P0, P1 is adjusted and the character information storage frame P3 is inserted. 文字情報格納枠P1,P2の配置位置を調整し、文字情報格納枠P4を挿入場合を示す図である。It is a figure which shows the case where the arrangement position of character information storage frame P1, P2 is adjusted and the character information storage frame P4 is inserted. 情報格納枠への第1格納処理を示すフローチャートである。It is a flowchart which shows the 1st storage process to an information storage frame. 情報格納枠が重なり合って配置されているレイアウト状態を示す図である。It is a figure which shows the layout state by which the information storage frame is arrange | positioned overlapping. 文字情報格納枠Pを分割する場合のレイアウト状態を示す図である。It is a figure which shows the layout state in the case of dividing | segmenting the character information storage frame P. FIG. 行送り1hを算出する場合を示す図である。It is a figure which shows the case where line feed 1h is calculated. 各文字情報格納枠P0〜P4の外周辺を描画した場合を示す図である。It is a figure which shows the case where the outer periphery of each character information storage frame P0-P4 is drawn. 文字情報格納枠P0〜P4からなる結合領域の外周辺を描画した場合を示す図である。It is a figure which shows the case where the outer periphery of the joining area | region which consists of character information storage frames P0-P4 is drawn. 情報格納枠およびその余白の構造を示す図である。It is a figure which shows the structure of an information storage frame and its margin.

符号の説明Explanation of symbols

10…コンテンツデータファイル,11,14,18…XMLパーサ,12…コンテンツデータファイル入力部,13…レイアウト定義ファイル,15…レイアウト定義ファイル入力部,16…レイアウティング部,17…描画指定ファイル,19…ラスタライズ部,100…コンテンツ配信端末,200…ユーザ端末,S1〜Sn…コンテンツ提供端末,30…CPU,32…ROM,34…RAM,38…I/F,40…ユーザ情報登録DB,42…テンプレート登録DB,44…コンテンツ登録DB,300…ユーザプロファイルテーブル,330…レイアウトNo.対応テーブル,340…カテゴリNo.対応テーブル,360…レイアウト領域,362…タイトル情報格納枠,364,370…文字情報格納枠,366,368…画像情報格納枠,P,P0,P1,P2,Pf…文字情報格納枠,C…内容領域,M,M0,M1,M2,Mf…外部余白,I…内部余白
DESCRIPTION OF SYMBOLS 10 ... Content data file 11, 14, 18 ... XML parser, 12 ... Content data file input part, 13 ... Layout definition file, 15 ... Layout definition file input part, 16 ... Layouting part, 17 ... Drawing designation file, 19 ... Rasterize unit, 100 ... Content distribution terminal, 200 ... User terminal, S1 to Sn ... Content providing terminal, 30 ... CPU, 32 ... ROM, 34 ... RAM, 38 ... I / F, 40 ... User information registration DB, 42 ... Template registration DB, 44 ... Content registration DB, 300 ... User profile table, 330 ... Layout number correspondence table, 340 ... Category number correspondence table, 360 ... Layout region, 362 ... Title information storage frame, 364, 370 ... Character information Storage frame, 366, 368 ... Image information Frame, P, P0, P1, P2, Pf ... character information storage frame, C ... content area, M, M0, M1, M2, Mf ... external margin, I ... inner margin

Claims (7)

文字情報からなる掲載情報を複数記憶するための掲載情報記憶手段と、前記掲載情報記憶手段のなかから前記掲載情報を選択する掲載情報選択手段と、前記掲載情報選択手段で選択した掲載情報をレイアウトするレイアウト手段とを備え、前記レイアウト手段は、所定のレイアウト領域に配置された文字情報格納枠に前記掲載情報を格納することによりレイアウトを行うシステムであって、
前記文字情報格納枠は、他の情報格納枠との間隔を確保するための余白が設定可能であり、
前記レイアウト手段は、前記掲載情報を、近接させて配置した複数の文字情報格納枠に連続して格納する場合に、前記複数の文字情報格納枠のうち近接部分で行が連続するもの同士の間隔及び前記各文字情報格納枠内の行間隔が同一又はほぼ同一となるように、前記複数の文字情報格納枠の配置位置を調整する配置位置調整手段ならびに前記複数の文字情報格納枠の間に新たに文字情報格納枠を挿入する文字情報格納枠挿入手段を備え、
前記レイアウト手段は、他の情報格納枠と重なり合っている文字情報格納枠をそれら情報格納枠が重なり合わないように分割する文字情報格納枠分割手段と、前記掲載情報選択手段で選択した掲載情報を前記文字情報格納枠分割手段で分割した文字情報格納枠に連続して格納する文字情報分割格納手段とを有し、
前記配置位置調整手段は、前記文字情報格納枠分割手段で分割した複数の文字情報格納枠の配置位置を調整し、前記文字情報格納枠挿入手段は前記文字情報格納枠分割手段で分割した複数の文字情報格納枠の間に新たに文字情報格納枠を挿入するようになっており、
前記文字情報格納枠は、文字情報を横書きの書式で格納する矩形状の情報格納枠であり、前記複数の文字情報格納枠のうち、前記レイアウト領域の上端から近い位置にある文字情報格納枠を第1文字情報格納枠、前記第1文字情報格納枠と近接する前記レイアウト領域の上端から遠い位置にある文字情報格納枠を第2文字情報格納枠として、
前記配置位置調整手段は、前記第1文字情報格納枠の前記余白を除いた文字流し込み領域の高さが、行送りの整数倍かつ前記第1文字情報格納枠の元の前記文字流し込み領域の高さ以下となるように前記第1文字情報格納枠の下辺位置を調整し、さらに前記第1文字情報格納枠の前記文字流し込み領域の上辺位置と前記第2文字情報格納枠の前記文字流し込み領域の上辺位置との間の高さが、前記行送りの整数倍かつ、前記第2文字情報格納枠の前記文字流し込み領域の高さが、前記第2文字情報格納枠の元の前記文字流し込み領域の高さ以下となるように前記第2文字情報格納枠の上辺位置を調整するようになっており、
前記文字情報格納枠挿入手段は、前記配置位置調整手段で調整した前記第1文字情報格納枠の前記文字流し込み領域の下辺位置を上辺位置とし、前記配置位置調整手段で調整した前記第2文字情報格納枠の前記文字流し込み領域の上辺位置を下辺位置とし、前記第1および第2文字情報格納枠の前記文字流し込み領域の左辺位置が、前記レイアウト領域の左端から遠い方の前記文字情報格納枠の左辺位置を左辺位置とし、前記第1および第2文字情報格納枠の前記文字流し込み領域の右辺位置が、前記レイアウト領域の右端から遠い方の前記文字情報格納枠の右辺位置を右辺位置とする第3文字情報格納枠を挿入するようになっており、
前記文字情報分割格納手段は、前記掲載情報選択手段で選択した掲載情報を第1文字情報格納枠に格納し、前記第1文字情報格納枠に格納した掲載情報の続きを前記第3文字情報格納枠に格納し、前記第3文字情報格納枠に格納した掲載情報の続きを前記第2文字情報格納枠に格納するようになっていること、
を特徴とするレイアウトシステム。
A posting information storage means for storing a plurality of posting information consisting of character information, a posting information selection means for selecting the posting information from the posting information storage means, and a layout of the posting information selected by the posting information selection means Layout means for performing layout by storing the posting information in a character information storage frame arranged in a predetermined layout area,
In the character information storage frame, a margin for securing an interval with another information storage frame can be set.
The layout means, when storing the posting information continuously in a plurality of character information storage frames arranged close to each other, an interval between adjacent ones of the plurality of character information storage frames in the adjacent portion And an arrangement position adjusting means for adjusting an arrangement position of the plurality of character information storage frames so that line intervals in the character information storage frames are the same or substantially the same, and a new space between the plurality of character information storage frames. A character information storage frame insertion means for inserting a character information storage frame into
The layout means includes character information storage frame dividing means for dividing a character information storage frame overlapping with other information storage frames so that the information storage frames do not overlap, and the posting information selected by the posting information selection means. Character information division storage means for continuously storing the character information storage frame divided by the character information storage frame division means;
The arrangement position adjusting means adjusts the arrangement positions of the plurality of character information storage frames divided by the character information storage frame dividing means, and the character information storage frame inserting means is a plurality of character information storage frame dividing means divided by the character information storage frame dividing means. A character information storage frame is newly inserted between the character information storage frames,
The character information storage frame is a rectangular information storage frame for storing character information in a horizontal writing format, and the character information storage frame located near the upper end of the layout area among the plurality of character information storage frames. A character information storage frame at a position far from the upper end of the layout area adjacent to the first character information storage frame and the first character information storage frame is used as a second character information storage frame.
The arrangement position adjusting unit is configured such that a height of the character insertion area excluding the margin of the first character information storage frame is an integral multiple of a line feed and a height of the original character insertion area of the first character information storage frame. The lower side position of the first character information storage frame is adjusted so that the upper side position of the character insertion region of the first character information storage frame and the character insertion region of the second character information storage frame The height between the upper side position is an integral multiple of the line feed, and the height of the character insertion area of the second character information storage frame is equal to the original character insertion area of the second character information storage frame. The upper side position of the second character information storage frame is adjusted to be equal to or less than the height,
The character information storage frame insertion means uses the lower side position of the character insertion area of the first character information storage frame adjusted by the arrangement position adjustment means as the upper side position, and the second character information adjusted by the arrangement position adjustment means The upper side position of the character insertion area of the storage frame is the lower side position, and the left side position of the character insertion area of the first and second character information storage frames is the farther from the left end of the layout area of the character information storage frame. A left side position is a left side position, and a right side position of the character insertion area of the first and second character information storage frames is a right side position of a right side position of the character information storage frame farther from the right end of the layout area. It is designed to insert a 3-character information storage frame,
The character information division storage means stores the posting information selected by the posting information selection means in the first character information storage frame, and stores the continuation of the posting information stored in the first character information storage frame in the third character information storage frame. A continuation of the posted information stored in the frame and stored in the third character information storage frame is stored in the second character information storage frame;
A layout system characterized by
文字情報からなる掲載情報を複数記憶するための掲載情報記憶手段と、前記掲載情報記憶手段のなかから前記掲載情報を選択する掲載情報選択手段と、前記掲載情報選択手段で選択した掲載情報をレイアウトするレイアウト手段とを備え、前記レイアウト手段は、所定のレイアウト領域に配置された文字情報格納枠に前記掲載情報を格納することによりレイアウトを行うシステムであって、
前記文字情報格納枠は、他の情報格納枠との間隔を確保するための余白が設定可能であり、
前記レイアウト手段は、前記掲載情報を、近接させて配置した複数の文字情報格納枠に連続して格納する場合に、前記複数の文字情報格納枠のうち近接部分で行が連続するもの同士の間隔及び前記各文字情報格納枠内の行間隔が同一又はほぼ同一となるように、前記複数の文字情報格納枠の配置位置を調整する配置位置調整手段ならびに前記複数の文字情報格納枠の間に新たに文字情報格納枠を挿入する文字情報格納枠挿入手段を備え、
前記レイアウト手段は、他の情報格納枠と重なり合っている文字情報格納枠をそれら情報格納枠が重なり合わないように分割する文字情報格納枠分割手段と、前記掲載情報選択手段で選択した掲載情報を前記文字情報格納枠分割手段で分割した文字情報格納枠に連続して格納する文字情報分割格納手段とを有し、
前記配置位置調整手段は、前記文字情報格納枠分割手段で分割した複数の文字情報格納枠の配置位置を調整し、前記文字情報格納枠挿入手段は前記文字情報格納枠分割手段で分割した複数の文字情報格納枠の間に新たに文字情報格納枠を挿入するようになっており、
前記文字情報格納枠は、文字情報を縦書きの書式で格納する矩形状の情報格納枠であり、 前記複数の文字情報格納枠のうち、前記レイアウト領域の右端から近い位置にある文字情報格納枠を第1文字情報格納枠、前記第1文字情報格納枠と近接する前記レイアウト領域の右端から遠い位置にある文字情報格納枠を第2文字情報格納枠として、
前記配置位置調整手段は、前記第1文字情報格納枠の前記余白を除いた文字流し込み領域の幅が、行送りの整数倍かつ前記第1文字情報格納枠の元の前記文字流し込み領域の幅以下となるように前記第1文字情報格納枠の左辺位置を調整し、さらに前記第1文字情報格納枠の前記文字流し込み領域の右辺位置と前記第2文字情報格納枠の前記文字流し込み領域の右辺位置との間の幅が、前記行送りの整数倍かつ、前記第2文字情報格納枠の前記文字流し込み領域の幅が、前記第2文字情報格納枠の元の前記文字流し込み領域の幅以下となるように前記第2文字情報格納枠の右辺位置を調整するようになっており、
前記文字情報格納枠挿入手段は、前記配置位置調整手段で調整した前記第1文字情報格納枠の前記文字流し込み領域の左辺位置を右辺位置とし、前記配置位置調整手段で調整した前記第2文字情報格納枠の前記文字流し込み領域の右辺位置を左辺位置とし、前記第1および第2文字情報格納枠の前記文字流し込み領域の上辺位置が、前記レイアウト領域の上端から遠い方の前記文字情報格納枠の上辺位置を上辺位置とし、前記第1および第2文字情報格納枠の前記文字流し込み領域の下辺位置が、前記レイアウト領域の下端から遠い方の前記文字情報格納枠の下辺位置を下辺位置とする第3文字情報格納枠を挿入するようになっており、
前記文字情報分割格納手段は、前記掲載情報選択手段で選択した掲載情報を第1文字情報格納枠に格納し、前記第1文字情報格納枠に格納した掲載情報の続きを前記第3文字情報格納枠に格納し、前記第3文字情報格納枠に格納した掲載情報の続きを前記第2文字情報格納枠に格納するようになっていること、
を特徴とするレイアウトシステム。
A posting information storage means for storing a plurality of posting information consisting of character information, a posting information selection means for selecting the posting information from the posting information storage means, and a layout of the posting information selected by the posting information selection means Layout means for performing layout by storing the posting information in a character information storage frame arranged in a predetermined layout area,
In the character information storage frame, a margin for securing an interval with another information storage frame can be set.
The layout means, when storing the posting information continuously in a plurality of character information storage frames arranged close to each other, an interval between adjacent ones of the plurality of character information storage frames in the adjacent portion And an arrangement position adjusting means for adjusting an arrangement position of the plurality of character information storage frames so that line intervals in the character information storage frames are the same or substantially the same, and a new space between the plurality of character information storage frames. A character information storage frame insertion means for inserting a character information storage frame into
The layout means includes character information storage frame dividing means for dividing a character information storage frame overlapping with other information storage frames so that the information storage frames do not overlap, and the posting information selected by the posting information selection means. Character information division storage means for continuously storing the character information storage frame divided by the character information storage frame division means;
The arrangement position adjusting means adjusts the arrangement positions of the plurality of character information storage frames divided by the character information storage frame dividing means, and the character information storage frame inserting means is a plurality of character information storage frame dividing means divided by the character information storage frame dividing means. A character information storage frame is newly inserted between the character information storage frames,
The character information storage frame is a rectangular information storage frame for storing character information in a vertical writing format, and the character information storage frame located near the right end of the layout area among the plurality of character information storage frames. As a first character information storage frame, a character information storage frame at a position far from the right end of the layout area adjacent to the first character information storage frame as a second character information storage frame,
The arrangement position adjusting means is configured such that the width of the character insertion area excluding the margin of the first character information storage frame is an integral multiple of line feed and equal to or less than the width of the original character insertion area of the first character information storage frame. The left side position of the first character information storage frame is adjusted such that the right side position of the character insertion area of the first character information storage frame and the right side position of the character insertion area of the second character information storage frame And the width of the character insertion area of the second character information storage frame is equal to or smaller than the width of the original character insertion area of the second character information storage frame. The right side position of the second character information storage frame is adjusted as follows,
The character information storage frame insertion means sets the left side position of the character insertion area of the first character information storage frame adjusted by the arrangement position adjustment means as a right side position, and the second character information adjusted by the arrangement position adjustment means The right side position of the character insertion area of the storage frame is set as the left side position, and the upper side position of the character insertion area of the first and second character information storage frames is farther from the upper end of the layout area. The upper side position is the upper side position, and the lower side position of the character insertion area of the first and second character information storage frames is the lower side position of the lower side of the character information storage frame farther from the lower end of the layout area. It is designed to insert a 3-character information storage frame,
The character information division storage means stores the posting information selected by the posting information selection means in the first character information storage frame, and stores the continuation of the posting information stored in the first character information storage frame in the third character information storage frame. A continuation of the posted information stored in the frame and stored in the third character information storage frame is stored in the second character information storage frame;
A layout system characterized by
請求項1又は2のいずれかにおいて、
さらに、前記文字情報格納枠分割手段で分割した複数の文字情報格納枠を結合してなる結合領域の外周辺を判定する外周辺判定手段と、前記外周辺判定手段の判定結果に基づいて前記結合領域の外周辺を描画する外周辺描画手段とを備えることを特徴とするレイアウトシステム。
In either claim 1 or 2 ,
Further, an outer periphery determination unit that determines an outer periphery of a combined area formed by combining a plurality of character information storage frames divided by the character information storage frame dividing unit, and the combination based on a determination result of the outer periphery determination unit A layout system comprising an outer periphery drawing means for drawing an outer periphery of an area.
請求項3において、
前記外周辺判定手段は、前記文字情報格納枠の外周辺のうち他の文字情報格納枠とその全部が重なり合っている辺については、その辺を前記結合領域の外周辺を形成する辺の候補から除外し、前記文字情報格納枠の外周辺のうち他の文字情報格納枠とその一部が重なり合っている辺については、その辺のうち該当部分を前記結合領域の外周辺を形成する辺の候補から除外し、前記文字情報格納枠の外周辺のうち他の文字情報格納枠と重なり合っていない辺については、その辺を前記結合領域の外周辺を形成する辺の候補とし、前記結合領域を構成する文字情報格納枠のすべての外周辺について求めた前記辺の候補に基づいて前記結合領域の外周辺を判定するようになっていることを特徴とするレイアウトシステム。
In claim 3 ,
The outer periphery determining means is configured to select a side of the outer periphery of the character information storage frame that overlaps with the other character information storage frame from a candidate for an edge that forms the outer periphery of the combined area. Excluded from the outer periphery of the character information storage frame, with respect to the side that partially overlaps with another character information storage frame, the corresponding part of the side is a candidate for the side that forms the outer periphery of the combined area For the sides that do not overlap with other character information storage frames in the outer periphery of the character information storage frame, the sides are candidates for sides that form the outer periphery of the connection region, and the combined region is configured The layout system is characterized in that the outer periphery of the combined area is determined based on the side candidates obtained for all the outer periphery of the character information storage frame to be performed.
請求項1乃至4のいずれかにおいて、
さらに、ユーザに関するユーザ情報を記憶するためのユーザ情報記憶手段を備え、
前記掲載情報選択手段は、前記ユーザ情報記憶手段のユーザ情報に基づいて、前記複数の掲載情報のなかから前記掲載情報を選択するようになっていることを特徴とするレイアウトシステム。
In any one of Claims 1 thru | or 4 ,
Furthermore, a user information storage means for storing user information about the user is provided,
The layout information selecting unit is configured to select the posted information from the plurality of posted information based on user information stored in the user information storage unit.
請求項1乃至4のいずれかにおいて、
さらに、ユーザに関するユーザ情報を記憶するためのユーザ情報記憶手段を備え、
前記レイアウト手段は、前記ユーザ情報記憶手段のユーザ情報に基づいて、前記掲載情報選択手段で選択した掲載情報をレイアウトするようになっていることを特徴とするレイアウトシステム。
In any one of Claims 1 thru | or 4 ,
Furthermore, a user information storage means for storing user information about the user is provided,
The layout system lays out the posting information selected by the posting information selection means based on the user information stored in the user information storage means.
コンピュータを請求項1乃至6記載のレイアウトシステムとして機能させるためのプログラム。A program for causing a computer to function as the layout system according to claim 1.
JP2003344453A 2003-10-02 2003-10-02 Layout system, program Expired - Fee Related JP4145765B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003344453A JP4145765B2 (en) 2003-10-02 2003-10-02 Layout system, program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003344453A JP4145765B2 (en) 2003-10-02 2003-10-02 Layout system, program

Publications (2)

Publication Number Publication Date
JP2005108160A JP2005108160A (en) 2005-04-21
JP4145765B2 true JP4145765B2 (en) 2008-09-03

Family

ID=34538081

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003344453A Expired - Fee Related JP4145765B2 (en) 2003-10-02 2003-10-02 Layout system, program

Country Status (1)

Country Link
JP (1) JP4145765B2 (en)

Also Published As

Publication number Publication date
JP2005108160A (en) 2005-04-21

Similar Documents

Publication Publication Date Title
JP4082351B2 (en) Layout system, layout program, and layout method
JP4154976B2 (en) Layout system, program
JP3835193B2 (en) Digital content creation system and digital content creation program
JP4127194B2 (en) Layout system, layout program, and layout method
JP4079087B2 (en) Layout system
JP4241325B2 (en) Layout system
JP4572669B2 (en) Layout rule generation system, layout system, layout rule generation method, and layout rule generation program
JP3835194B2 (en) Digital content creation system and digital content creation program
US8166386B2 (en) Method and system for producing patent specification
CN101876967B (en) Method for generating PDF text paragraphs
JP2002157238A (en) Browsing information preparing system, digital contents preparing system, digital contents distributing system and digital contents preparing program
JP2002297570A (en) System and program for creation of digital contents
JP2005276161A (en) Layout system, layout device, layout program, template selection program, storage medium storing layout program, storage medium storing template selection program, and layout method
JP4055494B2 (en) Layout system, layout program, and layout method
JP4146620B2 (en) Digital content creation system and digital content creation program
JP4145765B2 (en) Layout system, program
JP2003122738A (en) Digital contents creation system, digital contents creation program and digital contents creating method
JP4433741B2 (en) Similarity calculation system, similarity calculation program, and similarity calculation method
JP4013539B2 (en) Digital content creation system, digital content creation program, and digital content creation method
JP4063032B2 (en) Layout system, layout program, and layout method
JP2003122737A (en) Digital contents creation system, digital contents creation program and digital contents creating method
JP2006221505A (en) Layout system, layout program and layout method
JP2004118352A (en) Layout system, layout program and layout method
JP2004152152A (en) Layout system, layout program and layout method
JP2004102530A (en) Digital contents creation system, digital contents creation program, and digital contents creation method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060915

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080307

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080311

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080425

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080520

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080618

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4145765

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110627

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110627

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120627

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130627

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130627

Year of fee payment: 5

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees