JP4532995B2 - Printing apparatus, printing method, and program - Google Patents
Printing apparatus, printing method, and program Download PDFInfo
- Publication number
- JP4532995B2 JP4532995B2 JP2004163349A JP2004163349A JP4532995B2 JP 4532995 B2 JP4532995 B2 JP 4532995B2 JP 2004163349 A JP2004163349 A JP 2004163349A JP 2004163349 A JP2004163349 A JP 2004163349A JP 4532995 B2 JP4532995 B2 JP 4532995B2
- Authority
- JP
- Japan
- Prior art keywords
- elements
- float
- designation
- arrangement
- block corresponding
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K15/00—Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
- G06K15/02—Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K15/00—Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
- G06K15/02—Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
- G06K15/18—Conditioning data for presenting it to the physical printing elements
- G06K15/1848—Generation of the printable image
- G06K15/1849—Generation of the printable image using an intermediate representation, e.g. a list of graphical primitives
- G06K15/1851—Generation of the printable image using an intermediate representation, e.g. a list of graphical primitives parted in a plurality of segments per page
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Document Processing Apparatus (AREA)
- Record Information Processing For Printing (AREA)
Description
本発明は印刷装置、印刷方法、及びプログラムに関し、特に、デジタルデータ放送や、インターネットを始めとするデータ通信において配信されたコンテンツを処理するために用いて好適な技術に関するものである。
The present invention relates to a printing apparatus, a printing method, and a program, and more particularly, to a technique suitable for use in processing contents distributed in digital data broadcasting and data communication including the Internet.
従来、XHTMLなどのマークアップ言語で記述されたコンテンツの解釈実行、及び印刷処理は大規模な資源を駆使できるコンピュータ等を用いて行っていた。また、前記ケースでは表示系を想定しているため、限られた注目領域についてのみ処理すればよいため、仮描画を繰り返す方式で行われていた。 Conventionally, interpretation and execution of content written in a markup language such as XHTML and printing processing have been performed using a computer or the like that can make use of large-scale resources. In the case described above, since a display system is assumed, only a limited attention area needs to be processed, and therefore, temporary drawing is repeated.
また、特許文献1においては、フォーマッタがスタイルデータに従って構造化文書をフォーマットするときに、その位置情報を付加情報作成部に伝え、付加情報作成部は、その位置情報と文書構造とを対応付け、その情報及び文書型を付加情報として付加情報重畳部で文書イメージに重畳して印刷部で印刷するようにした技術が提案されている。
Further, in
前記のコンテンツを表示する系のケースとは違い、印刷する系においては、一旦、コンテンツ全体を解釈実行して、それらを各ページに配分していくバッチ型処理を適用した方が全体の処理効率が高くなる。 Unlike the case where the content is displayed, in the printing system, it is better to apply batch type processing that interprets and executes the entire content and distributes it to each page. Becomes higher.
一方、デジタルテレビ、携帯電話やデジタルカメラ等も、マークアップ言語で記述したコンテンツを取り扱うことが多くなってきている。ところが、このような機器では資源が限られているため、コンテンツを印刷データに変換する過程で生じるレイアウトのやり直しを回避することが求められていた。 On the other hand, digital TVs, mobile phones, digital cameras, and the like are increasingly handling content written in a markup language. However, since the resources of such devices are limited, it has been required to avoid redoing the layout that occurs in the process of converting content into print data.
本発明は前述の問題点に鑑み、複数の要素ブロックからなる構造化文書を処理する際に、レイアウト処理自体を大幅に簡略化して、データ処理効率を向上できるようにすることを目的とする。 In view of the above-described problems, an object of the present invention is to greatly simplify the layout processing itself and improve the data processing efficiency when processing a structured document including a plurality of element blocks.
本発明の印刷装置は、複数の要素を含む構造化文書を処理する印刷装置であって、前記構造化文書中の複数の要素を出現順に解析することにより、フロート指定のある要素に対応する要素ブロックを出現順に配置し、フロート指定のある要素以外の要素に対応する要素ブロックの配置をクリア指定がある要素が出現するまで保留する第1の配置手段と、前記クリア指定がある要素が出現した場合に、前記第1の配置手段により配置が保留されているフロート指定のある要素以外の要素に対応する要素ブロックを、前記第1の配置手段により配置されているフロート指定のある要素に対応する要素ブロックが配置されていない領域に配置する第2の配置手段と、前記第1の配置手段で配置されたフロート指定のある要素に対応する要素ブロックと、前記第2の配置手段で配置されたフロート指定のある要素以外の要素に対応する要素ブロックとに基づいて画像を生成する画像生成手段と、を有することを特徴とする。
Printing apparatus of the present invention is a printing apparatus for processing a structured document comprising a plurality of elements, by analyzing a plurality of elements of the structured document in order of appearance, corresponding to a float designated Element The first placement means that places the blocks in the order of appearance and holds the placement of the element blocks corresponding to the elements other than the elements with the float designation until an element with the clear designation appears, and the element with the clear designation has appeared If, corresponding to the arrangement of the elements blocks corresponding to the elements other than an element of the float designation being held by the first positioning means, a float specifying disposed by the first arrangement means element the the second placement means, element block corresponding to certain elements of the first deployed float specified in the arrangement means for arranging in a region where the element block is not placed to , And having and an image generating means for generating an image based on the element blocks corresponding to the second of elements other than elements of deployed float specified by positioning means.
本発明の印刷方法は、複数の要素を含む構造化文書を処理する印刷方法であって、前記構造化文書中の複数の要素を出現順に解析することにより、フロート指定のある要素に対応する要素ブロックを出現順に配置し、フロート指定のある要素以外の要素に対応する要素ブロックの配置をクリア指定がある要素が出現するまで保留する第1の配置ステップと、前記クリア指定がある要素が出現した場合に、前記第1の配置ステップにより配置が保留されているフロート指定のある要素以外の要素に対応する要素ブロックを、前記第1の配置ステップにより配置されたフロート指定のある要素に対応する要素ブロックが配置されていない領域に配置する第2の配置ステップと、前記第1の配置ステップで配置されたフロート指定のある要素に対応する要素ブロックと、前記第2の配置ステップで配置されたフロート指定のある要素以外の要素に対応する要素ブロックとに基づいて画像を生成する画像生成ステップと、を有することを特徴とする。
Printing method of the present invention is a printing method for processing a structured document comprising a plurality of elements, by analyzing a plurality of elements of the structured document in order of appearance, corresponding to a float designated Element A first placement step in which blocks are arranged in the order of appearance, and an element block corresponding to an element other than an element with a float designation is suspended until an element with a clear designation appears, and an element with the clear designation has appeared If, corresponding to the first element block arranged by the placement step corresponds to the elements other than an element of the float specification are pending, a deployed float designated by the first placement step elements a second placement step of placing a region where the element block is not placed, corresponding to an element of the first deployed float specified in the arrangement step And element block that is characterized by having a an image generating step of generating an image based on the element blocks corresponding to the second of elements other than elements of deployed float specified in the arrangement step .
本発明のプログラムは、複数の要素を含む構造化文書の処理をコンピュータに実行させるプログラムであって、前記構造化文書中の複数の要素を出現順に解析することにより、フロート指定のある要素に対応する要素ブロックを出現順に配置し、フロート指定のある要素以外の要素に対応する要素ブロックの配置をクリア指定がある要素が出現するまで保留する第1の配置ステップと、前記クリア指定がある要素が出現した場合に、前記第1の配置ステップにより配置が保留されているフロート指定のある要素以外の要素に対応する要素ブロックを、前記第1の配置ステップにより配置されたフロート指定のある要素に対応する要素ブロックが配置されていない領域に配置する第2の配置ステップと、前記第1の配置ステップで配置されたフロート指定のある要素に対応する要素ブロックと、前記第2の配置ステップで配置されたフロート指定のある要素以外の要素に対応する要素ブロックとに基づいて画像を生成する画像生成ステップと、をコンピュータに実行させることを特徴とする。
The program according to the present invention is a program for causing a computer to execute processing of a structured document including a plurality of elements, and by analyzing the plurality of elements in the structured document in the order of appearance, it supports elements having a float designation. A first placement step of placing element blocks corresponding to elements other than elements having a float designation until an element having a clear designation appears, and an element having the clear designation If they appear, the element blocks corresponding to the elements other than the elements arranged by the first placement step is a float specification are pending, the first placement step by a deployed float specified element a second placement step of placing a region corresponding element block is not placed, it is arranged in the first arrangement step off And element blocks corresponding to certain elements of the over specifiers, an image generating step of generating an image based on the element blocks corresponding to the second of elements other than elements of deployed float specified in the arrangement step and characterized by causing a computer to execute the.
本発明によれば、複数の要素ブロックからなる構造化文書を処理する際に、レイアウト処理自体を大幅に簡略化することができ、データ処理効率を向上させることができる。 According to the present invention, when a structured document including a plurality of element blocks is processed, the layout processing itself can be greatly simplified, and the data processing efficiency can be improved.
以下、本発明の印刷装置、印刷方法、及びプログラムの実施の形態を説明する。なお、本実施の形態は、W3C(World Wide Web Consortium)が定めているXHTML1.1TM(eXtensible Hyper Text Markup Language)及びCSS2.0TM(Cascading Style Sheet 2.0)で定める仕様書に基づいて記載されている。そして、「ノード・リンク構造」とは、ノードとリンクに区別できる項目を含み、各リンクが2つ以上のノードに関係している構造を言う。さらに、ノード・リンク関係とは、ノードのパス及び要素間のリンクに基づく要素間の関係である。 Embodiments of a printing apparatus, a printing method, and a program according to the present invention will be described below. This embodiment is described based on the specifications defined by XHTML1.1TM (eXtensible Hyper Text Markup Language) and CSS2.0TM (Cascading Style Sheet 2.0) defined by W3C (World Wide Web Consortium). . The “node / link structure” refers to a structure including items that can be distinguished into nodes and links, and each link is related to two or more nodes. Further, the node-link relationship is a relationship between elements based on a node path and a link between elements.
先ず、始めに、一般的に行われている要素ブロック配置例を、図5を参照しながら説明する。
図5に示したように、要素ブロックの出現順により配置する通常のレイアウト処理では、フロート指定が設定されたタグが出現すると、レイアウトのやり直しを行う必要がある。すなわち、重なりを解決するための再配置するので効率が悪い問題があった。
First, an example of element block arrangement generally performed will be described with reference to FIG.
As shown in FIG. 5, in a normal layout process in which elements are arranged in the order of appearance of elements, if a tag with a float designation appears, the layout needs to be redone. That is, there is a problem that efficiency is poor because rearrangement is performed to solve the overlap.
以下に、ステップ毎の処理を説明する。
(1)「ノード1」を指定に従い配置する処理を行う。
(2)「ノード2」を左隅に配置するためにノード1を右にずらしてブロックの形を変更する処理を行う。
(3)「ノード2」を配置する処理を行う。
(4)「ノード3」を右隅に配置するためにノード1のブロックの形を変更する処理を行う。
(5)「ノード3」を配置する処理を行う。
以下の配置については、図示及び説明を省略するが、通常の配置処理を行った場合には、「フロート指定」の要素ブロックが出現する毎に再配置処理を行わなければならなかったので、従来は、レイアウト処理を効率的に行うことができなかった。
The process for each step will be described below.
(1) A process of arranging “
(2) In order to arrange “
(3) The process of arranging “Node 2” is performed.
(4) A process of changing the block shape of
(5) The process of arranging “Node 3” is performed.
For the following arrangements, illustration and description are omitted, but when normal arrangement processing is performed, relocation processing must be performed every time an element block of “float designation” appears. The layout process could not be performed efficiently.
図1は、本実施の形態の印刷システム全体の概要構成を示す図である。
本実施の形態の印刷装置30は、PC(パーソナルコンピュータ)11や、PDA(personal digital assistant:個人向け携帯情報機器の総称)12や、デジタル放送機器13等を総称したホスト(コンピュータ)10より、有線または無線の接続形態で入力するコンテンツ(構造化文書)20を解析し、要素をノードとした木構造に変換した後、レイアウトを決定し、印刷データ33に変換するコントローラ31、前記印刷データ33に基づきメディア40上に印刷34を行って画像を形成するプリントエンジン32を有している。なお、ここで言うコントローラの31の実態は、CPU、記憶装置及びインターフェースを含む、シングルボードコンピュータで構成している。
FIG. 1 is a diagram illustrating a schematic configuration of the entire printing system according to the present embodiment.
A
図2は、本実施の形態における要素の出現順とレイアウト処理の関係を示す図である。
ここでは、要素の配置を出現順に拠らないで、float:スタイルのタグ(tag)を優先して先に配置を決定し、通常のタグをその余白に配置することにより、レイアウト処理が簡単になることを説明している。
FIG. 2 is a diagram showing the relationship between the appearance order of elements and layout processing in the present embodiment.
Here, the layout of elements is not dependent on the order of appearance, but the layout is easily determined by placing the normal tags in the margins by deciding the layout first, giving priority to the float: style tag (tag). Explain that
なお、前記「タグ」とは、テキストファイルの中で、文字の表示方法などを指定するための特別な文字列のこと。表示すべき文字そのものと区別するために、特定の文字や記号などで前後を囲んで表現する。Webページを記述するのに利用されるHTMLでは、タグを使って文書の構造やレイアウト、リンクを表現するためのものである。 The “tag” is a special character string for designating a character display method in a text file. In order to distinguish from the characters to be displayed, they are expressed by surrounding them with specific characters or symbols. HTML used to describe Web pages is for expressing document structure, layout, and links using tags.
先ず、図2は構造化文書を字句解析及び構文解析した結果から得たノードとリンクで表した図であり、特に、あるルート下のレイヤーにおけるノード(要素)の配置を決める様子を表している。この例では、「ノード1」から「ノード7」は、構造化文書の入力記述順に対応している。「ノード2」、「ノード3」、「ノード7」は浮動体指定(float)があり、「ノード5」には浮動体解除指定(clear)がある。ここで、実施の形態の配置手順としては、以下のようになる。ただし、ここでは仮に「ノード2」、「ノード3」、「ノード7」の実体は画像からなる要素ブロックでその他のノードはテキストからなる要素ブロックであるとする。
First, FIG. 2 is a diagram showing nodes and links obtained from the result of lexical analysis and syntax analysis of a structured document. In particular, FIG. 2 shows how the arrangement of nodes (elements) in a layer below a certain route is determined. . In this example, “
(1)「ノード2」を指定に従い左隅に配置する(float:left)。
(2)「ノード3」を指定に従い右隅に配置する(float:right)。
(3)「ノード1」を先に配置したブロックの間に流す形で配置する。
(4)「ノード4」を同様にノード1の下に配置する。
(5)「ノード5」をノード2と干渉しない新たなブロックとして配置する(clear:both)。
(6)「ノード7」を指定に従い左隅に配置する(float:left)。
(7)「ノード6」を先に配置したブロックの間に流す形で配置する。
(1) “
(2) “
(3) “
(4) “
(5) “
(6) “
(7) “
図3は、本実施の形態の処理手順を説明するフローチャートである。
最初のステップS1では、注目要素がフロート指定であるかを判定する。この判定の結果、フロート指定ではない場合にはステップS2に進み、クリア指定であるか否かを判定する。また、ステップS1の判定の結果、フロート指定ではなかった場合にはステップS3に進んで、フロート指定がある要素を通常どおり配置して、図示しない配置済みマーカーを付す。
FIG. 3 is a flowchart for explaining the processing procedure of the present embodiment.
In the first step S1, it is determined whether the element of interest is float designation. If the result of this determination is that float is not specified, the process proceeds to step S2 to determine whether or not clear is specified. On the other hand, if the result of determination in step S1 is that the float is not designated, the process proceeds to step S3, where the element with the float designation is arranged as usual, and a placed marker (not shown) is attached.
ステップS2の判定の結果、クリア指定であった場合にはステップS4に進み、クリア指定が出現した場合の処理を行う。この場合、前記配置済みマーカーの無いもの、すなわち、配置保留となっていた要素を出現順に配置する。 If the result of determination in step S <b> 2 is clear designation, the process proceeds to step S <b> 4, and processing is performed when clear designation appears. In this case, elements without the arranged marker, that is, elements that have been placed on hold are placed in the order of appearance.
次に、ステップS5においては、注目階層の要素の全てが配置済みであるか否かを判定する。この判定の結果、全ての要素が済んでいない場合にはステップS6に進み、要素のスキャンをするために、次の注目要素を決定し、その後ステップ1に遷移する。また、ステップS5の判定の結果、全要素が済んでいる場合には処理を終了する。以上のプロセスにより、注目階層の要素ブロックの配置を決定している。
Next, in step S5, it is determined whether all the elements of the target hierarchy have been arranged. As a result of the determination, if all the elements are not completed, the process proceeds to step S6, the next element of interest is determined to scan the element, and then the process proceeds to
次に、図4のフローチャートを参照しながら他の実施の形態を説明する。
処理が開始されると、最初のステップS11において、注目要素がフロート指定であるか否かを判定する。この判定の結果、フロート指定ではない場合にはステップS12に進み、フロート指定である場合にはステップS13に進む。
Next, another embodiment will be described with reference to the flowchart of FIG.
When the process is started, in the first step S11, it is determined whether or not the element of interest is float designation. As a result of the determination, if the float is not designated, the process proceeds to step S12. If the float is designated, the process proceeds to step S13.
ステップS12においては、クリア指定があるか否かを判定する。この判定の結果、クリア指定である場合にはステップS14に進み、クリア指定が出現した場合の処理を行う。この場合には、前記配置待ち行列の要素をリンク順に配置する処理を行う。 In step S12, it is determined whether or not there is a clear designation. If the result of this determination is clear designation, the process proceeds to step S14, and processing is performed when clear designation appears. In this case, processing for arranging the elements of the arrangement queue in the order of links is performed.
また、ステップS11の判定の結果、フロート指定であることによりステップS13に進んだ場合には、フロート指定がある要素を、図示しない配置待ち行列の最後尾にリンクして、図示しない処理済みマーカーを付す処理を行う。 Further, if the result of determination in step S11 is that the float designation is made and the process proceeds to step S13, the element having the float designation is linked to the end of the arrangement queue (not shown), and a processed marker (not shown) is added. The process to attach is performed.
次に、ステップS5において、注目階層の要素全てが配置済みであるか否かを判定する。この判定の結果、要素全てが配置済みではない場合にはステップS16に進み、要素のスキャンをするために、次の注目要素を決定する処理を行い、その後、ステップ1に遷移する。また、ステップS15の判定の結果、要素全てが配置済みであった場合には処理を終了する。以上のプロセスにより、注目階層の要素ブロックの配置を決定している。 Next, in step S5, it is determined whether all elements of the target hierarchy have been arranged. As a result of the determination, if all the elements have not been arranged, the process proceeds to step S16 to perform a process of determining the next element of interest in order to scan the element, and then the process proceeds to step 1. If all elements have been arranged as a result of the determination in step S15, the process ends. With the above process, the arrangement of element blocks in the target hierarchy is determined.
(本発明の他の実施の形態)
前述した実施の形態の機能を実現するべく各種のデバイスを動作させるように、前記各種デバイスと接続された装置あるいはシステム内のコンピュータに対し、前記実施の形態の機能を実現するためのソフトウェアのプログラムコードを供給し、そのシステムあるいは装置のコンピュータ(CPUあるいはMPU)に格納されたプログラムに従って前記各種デバイスを動作させることによって実施したものも、本発明の範疇に含まれる。
(Another embodiment of the present invention)
A software program for realizing the functions of the above-described embodiment for an apparatus or a computer in the system connected to the various devices so as to operate the various devices to realize the functions of the above-described embodiments. What was implemented by supplying the code and operating the various devices in accordance with a program stored in a computer (CPU or MPU) of the system or apparatus is also included in the scope of the present invention.
また、この場合、前記ソフトウェアのプログラムコード自体が前述した実施の形態の機能を実現することになり、そのプログラムコード自体、及びそのプログラムコードをコンピュータに供給するための手段、例えば、かかるプログラムコードを格納した記録媒体は本発明を構成する。かかるプログラムコードを記録する記録媒体としては、例えばフレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、磁気テープ、不揮発性のメモリカード、ROM等を用いることができる。 In this case, the program code of the software itself realizes the functions of the above-described embodiments, and the program code itself and means for supplying the program code to the computer, for example, the program code The stored recording medium constitutes the present invention. As a recording medium for recording the program code, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.
また、コンピュータが供給されたプログラムコードを実行することにより、前述の実施の形態の機能が実現されるだけでなく、そのプログラムコードがコンピュータにおいて稼働しているOS(オペレーティングシステム)あるいは他のアプリケーションソフト等と共同して前述の実施の形態の機能が実現される場合にもかかるプログラムコードは本発明の実施の形態に含まれる。 Further, by executing the program code supplied by the computer, not only the functions of the above-described embodiments are realized, but also the OS (operating system) or other application software in which the program code is running on the computer. The program code is also included in the embodiment of the present invention even when the functions of the above-described embodiment are realized in cooperation with the above.
さらに、供給されたプログラムコードがコンピュータの機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに格納された後、そのプログラムコードの指示に基づいてその機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって前述した実施の形態の機能が実現される場合にも本発明に含まれる。 Further, after the supplied program code is stored in the memory provided in the function expansion board of the computer or the function expansion unit connected to the computer, the CPU provided in the function expansion board or function expansion unit based on the instruction of the program code The present invention also includes the case where the functions of the above-described embodiment are realized by performing part or all of the actual processing.
10 ホスト
11 パーソナルコンピュータ、
12 PDA
13 デジタル放送機器
20 コンテンツ
30 印刷装置
31 コントローラ
32 プリントエンジン
33 印刷データ
34 印刷
40 メディア
10
12 PDA
13
Claims (4)
前記構造化文書中の複数の要素を出現順に解析することにより、フロート指定のある要素に対応する要素ブロックを出現順に配置し、フロート指定のある要素以外の要素に対応する要素ブロックの配置をクリア指定がある要素が出現するまで保留する第1の配置手段と、
前記クリア指定がある要素が出現した場合に、前記第1の配置手段により配置が保留されているフロート指定のある要素以外の要素に対応する要素ブロックを、前記第1の配置手段により配置されているフロート指定のある要素に対応する要素ブロックが配置されていない領域に配置する第2の配置手段と、
前記第1の配置手段で配置されたフロート指定のある要素に対応する要素ブロックと、前記第2の配置手段で配置されたフロート指定のある要素以外の要素に対応する要素ブロックとに基づいて画像を生成する画像生成手段と、
を有することを特徴とする印刷装置。 A printing apparatus for processing a structured document comprising a plurality of elements,
By analyzing a plurality of elements in the structured document in the order of appearance, element blocks corresponding to elements having a float specification are arranged in the order of appearance, and the arrangement of element blocks corresponding to elements other than elements having a float specification is cleared. A first arrangement means for holding until a specified element appears ;
When an element with the clear designation appears, an element block corresponding to an element other than the element with the float designation that is suspended by the first placement means is placed by the first placement means. a second arrangement means element block corresponding to certain elements of the float specification there are disposed in areas that are not disposed,
And element blocks corresponding to certain elements of the first deployed float specified in the arrangement means, on the element block corresponding to said second element of the elements except with deployed float specified by arrangement unit Image generating means for generating an image based on the image;
A printing apparatus comprising:
前記構造化文書中の複数の要素を出現順に解析することにより、フロート指定のある要素に対応する要素ブロックを出現順に配置し、フロート指定のある要素以外の要素に対応する要素ブロックの配置をクリア指定がある要素が出現するまで保留する第1の配置ステップと、By analyzing a plurality of elements in the structured document in the order of appearance, element blocks corresponding to elements having a float specification are arranged in the order of appearance, and the arrangement of element blocks corresponding to elements other than elements having a float specification is cleared. A first placement step that holds until an element with a designation appears;
前記クリア指定がある要素が出現した場合に、前記第1の配置ステップにより配置が保留されているフロート指定のある要素以外の要素に対応する要素ブロックを、前記第1の配置ステップにより配置されたフロート指定のある要素に対応する要素ブロックが配置されていない領域に配置する第2の配置ステップと、When an element with the clear designation appears, an element block corresponding to an element other than the element with the float designation whose placement is suspended by the first placement step is placed by the first placement step. A second arrangement step of arranging in an area where an element block corresponding to an element having a float designation is not arranged;
前記第1の配置ステップで配置されたフロート指定のある要素に対応する要素ブロックと、前記第2の配置ステップで配置されたフロート指定のある要素以外の要素に対応する要素ブロックとに基づいて画像を生成する画像生成ステップと、An image based on an element block corresponding to an element having a float designation arranged in the first arrangement step and an element block corresponding to an element other than the element having a float designation arranged in the second arrangement step An image generation step for generating
を有することを特徴とする印刷方法。A printing method characterized by comprising:
前記構造化文書中の複数の要素を出現順に解析することにより、フロート指定のある要素に対応する要素ブロックを出現順に配置し、フロート指定のある要素以外の要素に対応する要素ブロックの配置をクリア指定がある要素が出現するまで保留する第1の配置ステップと、By analyzing a plurality of elements in the structured document in the order of appearance, element blocks corresponding to elements having a float specification are arranged in the order of appearance, and the arrangement of element blocks corresponding to elements other than elements having a float specification is cleared. A first placement step that holds until an element with a designation appears;
前記クリア指定がある要素が出現した場合に、前記第1の配置ステップにより配置が保留されているフロート指定のある要素以外の要素に対応する要素ブロックを、前記第1の配置ステップにより配置されたフロート指定のある要素に対応する要素ブロックが配置されていない領域に配置する第2の配置ステップと、When an element with the clear designation appears, an element block corresponding to an element other than the element with the float designation whose placement is suspended by the first placement step is placed by the first placement step. A second arrangement step of arranging in an area where an element block corresponding to an element having a float designation is not arranged;
前記第1の配置ステップで配置されたフロート指定のある要素に対応する要素ブロックと、前記第2の配置ステップで配置されたフロート指定のある要素以外の要素に対応する要素ブロックとに基づいて画像を生成する画像生成ステップと、An image based on an element block corresponding to an element having a float designation arranged in the first arrangement step and an element block corresponding to an element other than the element having a float designation arranged in the second arrangement step An image generation step for generating
をコンピュータに実行させることを特徴とするプログラム。A program that causes a computer to execute.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004163349A JP4532995B2 (en) | 2004-06-01 | 2004-06-01 | Printing apparatus, printing method, and program |
US11/139,290 US8056002B2 (en) | 2004-06-01 | 2005-05-27 | Image forming apparatus, image forming method, computer program, and computer-readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004163349A JP4532995B2 (en) | 2004-06-01 | 2004-06-01 | Printing apparatus, printing method, and program |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2005346256A JP2005346256A (en) | 2005-12-15 |
JP2005346256A5 JP2005346256A5 (en) | 2007-06-28 |
JP4532995B2 true JP4532995B2 (en) | 2010-08-25 |
Family
ID=35424843
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004163349A Expired - Fee Related JP4532995B2 (en) | 2004-06-01 | 2004-06-01 | Printing apparatus, printing method, and program |
Country Status (2)
Country | Link |
---|---|
US (1) | US8056002B2 (en) |
JP (1) | JP4532995B2 (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8265736B2 (en) | 2007-08-07 | 2012-09-11 | Cardiac Pacemakers, Inc. | Method and apparatus to perform electrode combination selection |
US9037239B2 (en) | 2007-08-07 | 2015-05-19 | Cardiac Pacemakers, Inc. | Method and apparatus to perform electrode combination selection |
JP4420125B1 (en) * | 2008-09-30 | 2010-02-24 | コニカミノルタビジネステクノロジーズ株式会社 | Image processing system, image processing apparatus, image processing method, and image processing program |
US8949711B2 (en) * | 2010-03-25 | 2015-02-03 | Microsoft Corporation | Sequential layout builder |
US8977955B2 (en) * | 2010-03-25 | 2015-03-10 | Microsoft Technology Licensing, Llc | Sequential layout builder architecture |
US8881002B2 (en) | 2011-09-15 | 2014-11-04 | Microsoft Corporation | Trial based multi-column balancing |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10171809A (en) * | 1996-10-11 | 1998-06-26 | Fuji Xerox Co Ltd | Document processing method and its device |
JPH10207895A (en) * | 1997-01-17 | 1998-08-07 | Matsushita Electric Ind Co Ltd | Network information receiving terminal device |
JP2001290811A (en) * | 2000-04-10 | 2001-10-19 | Just Syst Corp | Method and device for document processing and recording medium |
JP2001290805A (en) * | 2000-04-07 | 2001-10-19 | Just Syst Corp | Method and device for document processing and recording medium |
JP2002032364A (en) * | 2000-07-14 | 2002-01-31 | Ricoh Co Ltd | Document information processing method, document information processor and recording medium |
JP2002297571A (en) * | 2001-03-30 | 2002-10-11 | Seiko Epson Corp | System and program for creation of digital contents |
JP2004062600A (en) * | 2002-07-30 | 2004-02-26 | Fujitsu Ltd | Conversion method, restoration method, conversion and restoration method and program for structured document |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE3838740A1 (en) * | 1987-11-16 | 1989-06-01 | Canon Kk | Documentation processing system |
US7340676B2 (en) * | 2000-12-29 | 2008-03-04 | Eastman Kodak Company | System and method for automatic layout of images in digital albums |
GB2392595A (en) * | 2002-08-30 | 2004-03-03 | Hewlett Packard Co | Page composition |
GB2407676A (en) * | 2003-10-31 | 2005-05-04 | Hewlett Packard Development Co | Flexible layout when flowing XSL-FO content into PPML copy holes |
-
2004
- 2004-06-01 JP JP2004163349A patent/JP4532995B2/en not_active Expired - Fee Related
-
2005
- 2005-05-27 US US11/139,290 patent/US8056002B2/en not_active Expired - Fee Related
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10171809A (en) * | 1996-10-11 | 1998-06-26 | Fuji Xerox Co Ltd | Document processing method and its device |
JPH10207895A (en) * | 1997-01-17 | 1998-08-07 | Matsushita Electric Ind Co Ltd | Network information receiving terminal device |
JP2001290805A (en) * | 2000-04-07 | 2001-10-19 | Just Syst Corp | Method and device for document processing and recording medium |
JP2001290811A (en) * | 2000-04-10 | 2001-10-19 | Just Syst Corp | Method and device for document processing and recording medium |
JP2002032364A (en) * | 2000-07-14 | 2002-01-31 | Ricoh Co Ltd | Document information processing method, document information processor and recording medium |
JP2002297571A (en) * | 2001-03-30 | 2002-10-11 | Seiko Epson Corp | System and program for creation of digital contents |
JP2004062600A (en) * | 2002-07-30 | 2004-02-26 | Fujitsu Ltd | Conversion method, restoration method, conversion and restoration method and program for structured document |
Also Published As
Publication number | Publication date |
---|---|
JP2005346256A (en) | 2005-12-15 |
US8056002B2 (en) | 2011-11-08 |
US20050264847A1 (en) | 2005-12-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4385770B2 (en) | Electronic sticky note management device | |
US8056002B2 (en) | Image forming apparatus, image forming method, computer program, and computer-readable storage medium | |
US7973964B2 (en) | Printing program that adjusts annotation location and size | |
US7451390B2 (en) | Structured document processing system, method, program and recording medium | |
BRPI1107156A2 (en) | information processing apparatus and method | |
JP4756907B2 (en) | Image forming apparatus, processing method of image forming apparatus, computer program, and computer-readable recording medium | |
JP2006235756A (en) | Image processor and its method | |
US20050120120A1 (en) | Client terminal for creating environment information thereof for receiving service from Web server, method for controlling same, and program for making computer perform controlling method | |
JP2007018172A (en) | Information processor and information processing method | |
JP2008299845A (en) | Rendering system and rendering method for transparent object | |
JP4914318B2 (en) | Image processing apparatus, image processing system, image processing method, program, and recording medium | |
JP2004145736A (en) | Character recognition device, character recognition data output method, program and recording medium | |
JP4350343B2 (en) | PRINT CONTROL DEVICE, PRINT CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM | |
JP2004240754A (en) | Printing system and output control system | |
JP4118885B2 (en) | Data processing method, data processing apparatus, data processing program, and recording medium on which data processing program is recorded | |
JP2010128527A (en) | Document display system, document display method, and program | |
JP5142773B2 (en) | Message generation processing method and message generation processing device | |
KR100782823B1 (en) | Method and apparatus of managing image stored in a plural of storage included in or connected to image forming device | |
JP4640983B2 (en) | Document processing device, document display device, document processing method, document processing program, and recording medium on which document processing program is recorded | |
JP2007328741A (en) | Method for editing electronic document, program and storage medium | |
JPH09282115A (en) | Printer and printing method | |
JP2006091956A (en) | Processor and processing method | |
JP2002335393A (en) | Print data generating method and its print system | |
JP2002358183A (en) | Printing controller and printing control method and storage medium | |
JP3822211B2 (en) | Data processing method, data processing apparatus, data processing program, and recording medium on which data processing program is recorded |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070515 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070515 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20090827 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090901 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20091030 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100302 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100506 |
|
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: 20100525 |
|
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: 20100611 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130618 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |