WO2011001488A1 - 情報処理装置、制御方法、プログラム - Google Patents

情報処理装置、制御方法、プログラム Download PDF

Info

Publication number
WO2011001488A1
WO2011001488A1 PCT/JP2009/061825 JP2009061825W WO2011001488A1 WO 2011001488 A1 WO2011001488 A1 WO 2011001488A1 JP 2009061825 W JP2009061825 W JP 2009061825W WO 2011001488 A1 WO2011001488 A1 WO 2011001488A1
Authority
WO
WIPO (PCT)
Prior art keywords
area
content data
container
finishing process
finishing
Prior art date
Application number
PCT/JP2009/061825
Other languages
English (en)
French (fr)
Inventor
秀和 師岡
Original Assignee
キヤノン株式会社
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 キヤノン株式会社 filed Critical キヤノン株式会社
Priority to JP2011520682A priority Critical patent/JP5419979B2/ja
Priority to PCT/JP2009/061825 priority patent/WO2011001488A1/ja
Priority to US12/850,448 priority patent/US8564826B2/en
Publication of WO2011001488A1 publication Critical patent/WO2011001488A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents

Definitions

  • the present invention relates to an apparatus / medium and a printing method in an automatic layout system.
  • One-to-one marketing is a type of database marketing that makes proposals that meet customer needs based on personal attribute information such as customer age, gender, hobbies, preferences, and purchase history.
  • a typical example is variable printing. Recently, a technique for automatically laying out different contents for each customer in variable printing has been known.
  • Japanese Patent Application Laid-Open No. 2004-151867 discloses a technique for detecting a binding position with respect to a sheet and moving the entire image when an image exists at the binding position.
  • the present invention provides a setting unit that sets a finishing process applied to a sheet, a position where the finishing process set by the setting unit is executed, and an area where content data is arranged. A position of the area where the content data is arranged when the determination means determines whether or not the position where the finishing process is executed and the area where the content data is arranged are determined to overlap. And an arrangement unit that arranges an avoidance area where printing is not applied at a position where the position where the finishing process is executed and the area where the content data is arranged overlaps without changing the size.
  • An example of the schematic diagram of a computer module is shown.
  • An example of the template of this invention is shown.
  • 3 shows a flow for creating a link of the present invention.
  • the UI figure example at the time of link creation is shown.
  • 2 shows an overall flow of layout calculation in the present invention.
  • the detailed flow of the layout calculation in this invention is shown.
  • An example for explaining a set of containers of the present invention is shown.
  • 2 illustrates an example UI in the present invention.
  • the whole flow in Example 1 of the present invention is shown.
  • the subflow in Example 1 of this invention is shown.
  • An example of the finishing movement amount in Example 1 of this invention is shown.
  • Example 3 of the present invention An example of the result of having arranged the avoidance container in Example 1 of the present invention is shown.
  • the flow in Example 3 of the present invention is shown.
  • the finish possible position in Example 3 of the present invention is shown.
  • the example of a finishing pattern change in Example 3 of this invention is shown.
  • the container size change determination flow in Example 3 of the present invention is shown.
  • An example of the overlap of a container and a finishing position in Example 3 of the present invention is shown.
  • the flow in Example 2 of the present invention An example of the overlap of a container and finishing position in Example 2 of the present invention is shown.
  • An example of the change result to the column in Example 2 of the present invention is shown.
  • An example of the change result to the column in Example 2 of the present invention is shown.
  • a computer (information processing apparatus) 101 can communicate with an input device such as a pointing device such as a keyboard 132 and a mouse 133, an output device including a display device 144 and a printer 145.
  • an input device such as a pointing device such as a keyboard 132 and a mouse 133
  • an output device including a display device 144 and a printer 145.
  • the input / output interface 138 is an interface for connecting the computer 101 to another computer device via the network connection 107.
  • a typical network connection 107 is a local area network (LAN) or a wide area network (WAN).
  • the computer 101 includes at least one processor unit 135, for example, a memory unit 136 composed of a semiconductor random access memory (RAM) or a read only memory (ROM).
  • the computer 101 also includes an INPUT / OUTPUT (I / O) interface including a video interface 137 and an I / O interface 143 for connecting to a keyboard 132 and a mouse 133.
  • the storage device 139 typically includes a hard disk drive 140 and a floppy (registered trademark) disk drive 141. Although not shown in the figure, a magnetic tape drive may also be used.
  • the CD-ROM drive 142 is provided as a non-volatile data source.
  • the computer 101 includes an operation system such as GNU / LINUX or Microsoft Windows (registered trademark).
  • each module described above can communicate via the interconnection bus 134.
  • the layout editing application resides on the hard disk drive 140 and is executed by the processor 135.
  • the layout editing application may be read via the network connection 107.
  • FIG. 2 is an example of a window 301 that displays a template generated by the user.
  • the toolbar area 303 has at least “buttons” that can be selected by the next user.
  • the selection tool button 403 is used to select, move, resize, resize, and lock / unlock the sides of the container.
  • a text container tool button 404 is used to create a container (area) to which text data is assigned.
  • the image container tool button 405 is used to create a container (area) to which image data is allocated.
  • the link tool button 406 is used to control the distance between containers.
  • a container refers to an area to which content data is allocated. That is, the image container is an area to which image data is assigned as content data, and the text container is an area to which text data is assigned as content data.
  • FIG. 2 shows an example of objects that can be displayed on a one-page document template 309. They have containers 407, 408, an optional anchor icon 409, an unfixed side 410, a link 412 and a slider 413.
  • the new text container and the image container are created by clicking the text container tool 404 or the image container tool 405 with the mouse 133 and dragging a rectangle to the template 309. It may also be created simply by clicking on the document template 309 after activating the appropriate tools 404, 405.
  • the size of the container can be variable or fixed depending on the user's specification.
  • FIG. 3 is a flowchart showing a link setting method.
  • 4A to 4C show UI examples. A method for setting a link in a container using them will be described. Note that the flowchart of the present application is realized by the processor 135 reading and executing a layout editing application program for realizing the present application from the memory.
  • the layout editing application creates containers (at least two) for setting links according to user instructions (0601).
  • the layout editing application selects the above-described link tool according to the user's instruction (0602).
  • 4A to 4C show an operation of creating a container and setting a link from a state in which the link tool is selected. 4A to 4C will be described in order.
  • 0701 and 0702 are containers.
  • Reference numerals 0703 and 0704 denote anchors, and indicate that the side where the anchor is set is fixed.
  • 0705 indicates a mouse pointer.
  • the layout editing application selects one container for setting a link according to the user's instruction (0603).
  • the layout editing application selects the other container in accordance with the user's instruction (0604).
  • Reference numeral 0706 in FIG. 4B indicates a line connecting the clicked position in FIG. 4A and the moved mouse pointer, and is a UI indicating to the user where the link is set.
  • the layout editing application displays a link UI 0707 at the set location (0605).
  • the container is in the state shown in FIG. 4C.
  • the UI of the container is automatically changed by setting the link (0606).
  • Reference numeral 0708 denotes a side indicated by a dotted line and indicates a variable side. The state of the side of the container has changed as shown in FIG.
  • Reference numeral 0709 is a mark that visually indicates to the user the direction in which the container can be changed by setting a link.
  • the right side of the left container and the left side of the right container are variably changed, but this is an example.
  • FIG. 5 shows a flow of layout calculation.
  • the layout editing application selects the preview mode according to the user instruction (0801).
  • the layout editing application includes a container creation mode for creating a template and a preview mode for previewing a layout result by inserting record content data into the created template.
  • the layout editing application calculates the layout by inserting the content data of the actual record into each container of the template.
  • the preview mode is a layout calculation on the display. Even in actual printing, a record is inserted to calculate the layout. The calculation method at that time is the same.
  • the layout editing application selects and inserts a record to be previewed (0802), performs a calculation to lay out the record (0803), and displays the layout result calculated in process 0803 ( 0804).
  • the layout editing application determines whether or not to preview other records (0805). If it is determined in process 0805 that there is no need to preview another record, the preview mode is terminated (0807). If a preview is to be performed for another record, the layout editing application selects another record, performs layout calculation again, and performs a preview (0806). When printing not in the preview mode, the layout is calculated in order for all the records to be printed. Therefore, the processes 0805 and 0807 do not exist. The process ends when printing is completed for all records.
  • FIG. 6 is a flowchart showing details of layout calculation.
  • FIG. 7 is a diagram showing a UI display example at that time.
  • the layout editing application obtains a set of containers for calculating the layout (0901).
  • the containers associated by the links are calculated as one set. For example, referring to FIG. 8, four containers are laid out on the page, and each container is associated. In this case, container A and container B, and container C and container D are associated by a link. Accordingly, containers A and B are set 1 and containers C and D are set 2.
  • 1101 is an anchor
  • 1102 is a fixed side
  • 1103 is a controller
  • 1104 is an arrow indicating a change direction of a variable side
  • 1105 is a variable side
  • 1106 is a link
  • 1107 is a slider.
  • the layout editing application selects one set for calculating the layout from the set of containers obtained in 0901 (0902). Then, the layout editing application calculates a layout for the selected set of containers.
  • the layout editing application optimizes the layout so that the size of the container to be laid out is as small as possible with the actual content size (0903).
  • the layout editing application calculates the size of each container so that the amount of change in the size of the content data inserted into each container associated by the link becomes the same.
  • the layout editing application calculates again so as not to violate the rule (0904).
  • the rules described here are restrictions set by the user when creating a layout, such as the size and position of a container, the length of a link, and the like. Once the layout is calculated so that it does not violate the rules, the set layout is completed. Then, steps 0902 to 0904 are applied to all the sets on the page, and the layout of the entire page is calculated (0905).
  • FIG. 7A shows a state in which the content data of a certain record is inserted and the layout is determined.
  • 1001 and 1002 are anchors, 1003 and 1004 are fixed sides, 1005 is a variable side, 1006 is an arrow indicating the change direction of the variable side, and 1008 is a link.
  • FIG. 7B shows the size of new content data superimposed on FIG. 7A.
  • Reference numeral 1009 denotes the size of the content data inserted into each container.
  • layout calculation is performed.
  • FIG. 7C shows the result of layout calculation.
  • each container after calculation is calculated so that there is a difference equivalent to the size of the content data actually inserted, and is calculated so as not to violate the rules described above. That is, the layout calculation is executed so that the amount of change of the containers associated by the link is the same.
  • the inserted content size (1009) and the calculated content size (1010) shown in FIG. 7B have the same difference in both.
  • the layout editing application transitions to the container creation mode (1401). Then, according to the user's instruction, the layout editing application creates a container (1307-1310).
  • the layout editing application associates the content data 1306 with the container (1402). Needless to say, the association may be performed by designating each field information of the data and each container, or by designating the data file and sequentially associating it from there.
  • the layout editing application selects finishing processing when the content is laid out and printed in accordance with an instruction 1305.
  • the finishing process refers to a post process performed after printing.
  • a case where a “fold” (two-fold, three-fold, four-fold, etc.) setting is applied as the finishing process is described (1403).
  • the layout editing application sets the finishing avoidance attribute for the selected container (1404).
  • the finishing avoidance attribute is an attribute indicating that when the container and the finishing process overlap, a process for avoiding the overlap is executed.
  • the layout editing application executes layout calculation in accordance with the execution button 1311 being pressed (1405). Since the subsequent processes are internal processes, they will be described without a UI contrast.
  • step 1406 the layout editing application executes the processing described above with reference to FIGS. 5 to 6 to calculate the size of each container and the position of the container based on the content data associated in step 1402.
  • the layout editing application specifies the finishing position and the adjustment range where the finishing process selected in step 1403 is executed.
  • the layout editing application inquires of the printer about the capability corresponding to the finishing process, so that the process of S1407 is realized.
  • the adjustment range refers to a range in which the printer can move the finishing position, and is also referred to as a movement amount.
  • the printer capability may be acquired via an API (SDK) prepared by the printer driver of the output destination or from a device, or may be read from a database that manages the printer capability. .
  • SDK API
  • step 1408 the layout editing application determines whether the finishing process overlaps the container based on the calculation result in step 1406 and the finishing position specified in step 1407. As an example, the layout editing application executes the processing of S1408 by comparing the coordinate information indicating the size and position of the container calculated in S1406 with the coordinate information indicating the position to which finishing is applied.
  • step S1408 If it is determined in step S1408 that the finishing process overlaps the container, the process advances to step 1409.
  • step 1409 the layout editing application refers to the container attribute of the container determined to have the finishing process overlapped in S1408, and determines whether the finishing avoidance attribute is set in the read container attribute (S1410). If the avoidance attribute is ON, the process proceeds to step 1411. If the avoidance attribute is OFF, the avoidance process is not performed, and the process proceeds to step 1412 for displaying the layout result.
  • FIG. 11 is a flowchart for explaining details of step 1411.
  • step 1501 the layout editing application calculates the movement amount of the finishing process necessary for eliminating the overlap between the position of the container and the finishing process.
  • the processing of S1501 will be specifically described with reference to FIG. FIG. 12 is an example showing the amount of movement by which the position of the finishing process is moved out of the container.
  • the amount of movement to be moved so that the current finishing position does not overlap the container is Y1 in the upward direction and Y2 in the downward direction.
  • the layout editing application calculates Y1 by calculating the difference between the coordinates at which the current finishing process is executed and the coordinates of the upper end of the container where the finishing processes overlap.
  • the layout editing application calculates Y2 by calculating the difference between the coordinates at which the current finishing process is executed and the coordinates of the lower end of the container where the finishing processes overlap.
  • S1501 is implement
  • step 1502 the layout editing application determines whether the finishing movement amount calculated in step 1501 is within the range of the finishing movement amount of the printer. Specifically, using FIG. 12, the range of the moving amount of the finishing position centering on the position of Y0 is ⁇ Y3. In this case, the layout editing application determines that the finishing position can be changed because Y2 falls within the range of the moving amount of the finishing position.
  • the layout editing application inserts a avoidance container (avoidance area) at the finishing position.
  • the avoidance container is used to define an area where the content cannot be printed so that the content is not printed at the finishing position.
  • the avoidance container is not limited to content, and may be an area where all data is not printed.
  • the layout editing application arranges the avoidance container without changing the position and size of the container in which the avoidance container is arranged. For example, FIG. 13 shows that the size of the container 1702 is not changed before and after the avoidance container 1706 is arranged.
  • the height 1706 of the size of the avoidance container is determined based on the thickness of the paper. Note that the avoidance container 1706 is inserted as a separate container from the container 1702, so the print attribute for the container 1702 is not applied to the avoidance container 1706. For example, even when it is set to place transparent toner on the entire container 1702, the transparent toner attribute is not applied to the avoidance container 1706.
  • step 1503 the layout editing application determines the number of pages generated by inserting the content into the template. If the number of pages is 1, the process proceeds to step 1504.
  • step S1503 If it is determined in step S1503 that a plurality of pages are generated, if all the pages have the same finishing movement amount, the process proceeds to step 1504. If one page has a different movement amount, step 1505 is performed. Proceed to
  • the effect of the first embodiment will be described with reference to FIG.
  • the transparent toner when the transparent toner is placed on the entire container 1702, the transparent toner may be peeled off when the printed matter of the layout result 1701 in FIG. 13 is folded at the folding position 1703. Further, even when the transparent toner is not placed, there is a possibility that characters arranged at the folding position may be faint.
  • the avoidance container 1705 is arranged in the container 1702. Therefore, it is possible to avoid the possibility that the transparent toner as described above is peeled off or characters are faded. Further, since the above problem is solved by using the avoidance container, the position and size of the container 1702, which is the area where the content data is arranged, are not changed, so that the layout result desired by the user can be obtained.
  • a horizontal arrow in the container 1702 in FIG. 13 indicates that text data is arranged in the horizontal direction.
  • the layout editing application reduces the size if the content is image data. On the other hand, if the overflowing content is text data, the layout editing application reduces the font size, character spacing, and line spacing.
  • Example 2 In the first embodiment, the overlap between the finishing process and the content data is avoided by inserting the avoidance container. However, inserting the avoidance container may reduce the readability of the characters. In the second embodiment, a method for solving this problem will be described.
  • Example 2 will be described with reference to FIG. FIG. 19 is executed when the processing of S1505 described above with reference to FIG. 11 is executed.
  • step 2101 the layout editing application inserts a avoidance container at a position where the finishing process is executed.
  • step 2102 the layout editing application determines whether the container into which the avoidance container is inserted is a container to which text data is allocated. Note that the determination in S2101 is realized by the layout editing application referring to the attribute of the container stored in the memory.
  • step 2101 If it is determined in step 2101 that the text is text, in step 2103, the layout editing application compares the text layout direction with the folding direction. If the text layout direction is different from the finishing direction (folding direction), the process advances to step 2104. If the text layout direction is the same as the folding direction, the process advances to step 2109, and the layout editing application performs content pouring processing.
  • step 2104 the layout editing application calculates the number of characters that can be arranged in the subsequent area from the height and character size of the subsequent area divided by the finishing position of the container. This process will be specifically described with reference to FIG.
  • FIG. 20 shows a layout result in which the container 2501 and the finishing process 2504 overlap.
  • the container 2501 is divided into a front area 2502 and a rear area 2503 by folding processing.
  • the number of characters arranged per column can be calculated.
  • the area 2503 in the subsequent stage is obtained.
  • the number of characters to be arranged can be calculated. For example, in FIG. 20, if it is calculated that the number of characters that can be arranged per column of the subsequent area is one character, the text is arranged in seven columns in FIG. 20, so the layout editing application calculates seven characters. .
  • the layout editing application determines that the direction is different in S2103.
  • step 2105 the layout editing application compares the number of characters calculated in S2104 with a predefined number of characters (threshold). If the number of characters calculated in S2104 is greater than the threshold, the layout editing application edits the text data so that it is lined up at the folding position in S2109. As a result, a result as shown in FIG. 21 is obtained.
  • the layout editing application advances the process to step 2106.
  • the layout editing application calculates the size of the column container that is changed when the height of the subsequent area is short.
  • the layout editing application calculates the column width after the change by dividing the result of multiplying the “number of characters” calculated in S2104 by the character size in the vertical direction by the height from the folding position 2504 to the folding position 2505. . For example, if the number of characters calculated in S2104 is 7 (character size is 1 cm ⁇ 1 cm) and the height from the folding position 2504 to the folding position 2505 is 7 cm, the width is calculated as 1 cm, and the height is 7 cm ⁇ horizontal. 1 cm is determined as the size of the subsequent column container. If the result of multiplying the number of characters by the vertical character size divided by the height from the folding position 2504 to the folding position 2505 does not become an integer, the number after the decimal point is raised.
  • the layout editing application places the text data overflowing from the previous area in the container of the column container size determined in S2106. The result is shown in FIG.
  • text data is edited into a columnar format with the avoidance container 2601 as a boundary, thereby preventing a decrease in readability of characters caused by inserting the avoidance container.
  • the layout result that does not impair the readability can be output by performing the processing of S2106 and changing the size of the subsequent column area.
  • the avoidance process is executed by inserting the avoidance container.
  • the third embodiment avoids overlapping of the finishing process and the container in the container by changing the finishing pattern with respect to the process of step 1411 of the first embodiment.
  • FIG. 14 is a flowchart of the third embodiment.
  • step 1411 of FIG. 10 the avoidance process in step 1411 of FIG. 10 will be described in detail.
  • step 1701 the layout editing application specifies a finishing possible position. Specifically, the layout editing application determines the space portion between the containers as the finishing possible position in the layout results in FIGS.
  • FIG. 15 shows an example in which a portion other than the container is determined as a finishing possible position, and the area is displayed with diagonal lines.
  • the layout editing application reads the number of finishing patterns.
  • the number of folding patterns registered as the capability of the printer is read. For example, if the registered pattern is “two-fold”, “three-fold”, or “four-fold”, the layout editing application reads 3 as the number of patterns.
  • the layout editing application reads 4 as the number of patterns.
  • step 1703 the layout editing application performs a counter process for repeating the process for the number of patterns read in S1702.
  • step 1704 the layout editing application reads the finishing position by each finishing process read in S1701.
  • the finishing position referred to here is information indicating where the folding process is executed with respect to the sheet, and FIG. 16 shows an example thereof.
  • step 1705 the layout editing application determines whether or not the finishing position read in step S1704 overlaps the container, and stores the determination result in the memory. For example, if the position where “three folds” is executed is the finishing position, and if the position where “four folds” is executed is not the finishing position, “three folds” is stored in S1705.
  • step 1706 if there is a finishing pattern that matches the finishing position based on the determination result in step S1705, the layout editing application proceeds to step 1707.
  • step 1707 the layout editing application changes the finishing method to the finishing pattern that matches the finishing possible position in S1705. If it is determined in step S1705 that a plurality of finishing patterns match the finishing position, the finishing process is selected according to a processing mode such as cost priority and performance priority set in advance using the UI of FIG. For example, when cost priority is set using the UI of FIG. 9, the finishing process with the largest number of folds is selected so that the content can be processed with a small envelope at the time of delivery. On the other hand, if the performance is prioritized, a finishing process that minimizes the number of folds is selected.
  • a processing mode such as cost priority and performance priority set in advance using the UI of FIG. For example, when cost priority is set using the UI of FIG. 9, the finishing process with the largest number of folds is selected so that the content can be processed with a small envelope at the time of delivery.
  • the performance is prioritized, a finishing process that minimizes the number of folds is selected.
  • Step 1708 is processing when a matching pattern is not found, and will be described in detail with reference to FIG.
  • step 1901 the layout editing application detects a container corresponding to the finishing area.
  • step 1902 the layout editing application calculates a container size for avoiding finishing for a container corresponding to the finishing area.
  • FIG. 18A is an example in which the finishing overlaps with the original container.
  • FIG. 18B shows the result of changing the size of the container by the amount of finishing overlap so that the finishing does not overlap with the original container.
  • step 1903 the layout editing application calculates finishing avoidance container size / original container size as the enlargement / reduction ratio of the container size.
  • step 1904 the layout editing application determines the type of content in the container. If the content type is text, the layout editing application proceeds to step 1905 and changes the character size based on the enlargement / reduction ratio calculated in step 1903. In step 1906, the layout editing application scales the image size according to the scaling ratio.
  • the present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiment is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, etc.) of the system or apparatus reads the program. It is a process to be executed. In this case, the program and the storage medium storing the program constitute the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Document Processing Apparatus (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Processing Or Creating Images (AREA)

Abstract

 フィニッシング処理の重なり避けるために画像を移動する場合、その重なりを避けるための移動量が大きくなり所望とするレイアウト結果を得ることができなくなるおそれがある。また、所望とするレイアウト結果を得るために画像を移動しない場合、当該画像とフィニッシング処理が重なることによりトナーの剥離等が生じるおそれがあった。 フィニッシング処理が実行される位置とコンテンツデータが配置される領域とが重なると判定された場合、コンテンツデータが配置される領域の位置と大きさを変更することなくフィニッシング処理が実行される位置とコンテンツデータが配置される領域とが重なる位置に印刷が適用されない回避領域を配置する。

Description

情報処理装置、制御方法、プログラム
  本発明は、自動レイアウトシステムにおける装置/媒体、および印刷手法に関するものである。
 One-to-Oneマーケティングはデータベース・マーケティングの一種で、顧客の年齢、性別、趣味、嗜好、購買履歴等の個人属性情報に基づいて、顧客のニーズに合った提案を行うものである。その代表的な手法としてバリアブルプリントが挙げられる。ここ最近、バリアブルプリントにおいて顧客毎に異なるコンテンツを最適に自動レイアウトする技術が知られている。
 本技術をダイレクトメールなどに活用する際には、折りなどのフィニッシング処理と組み合わせて印刷物を作成し、郵便物として送付するといったユースケースがある。しかし、フィニッシング位置と印刷物のコンテンツが重なるとドキュメントの可読性が低下するなどの問題が発生するおそれがあった。それを解決するための技術として、用紙に対する綴じ位置を検出し、綴じ位置に画像が存在する場合に画像全体を移動する技術が特許文献1に開示されている。
特開平06-219629号公報
 しかしながら、従来技術のようにフィニッシング位置とコンテンツとの重なり避けるために画像を移動する場合、その重なりを避けるための移動量が大きくなり所望とするレイアウト結果を得ることができなくなるおそれがある。
 また、所望とするレイアウト結果を得るためにコンテンツを移動しない場合、当該コンテンツとフィニッシング処理が重なることによりトナーの剥離等が生じるおそれがあった。
 上記課題を解決するため、本発明は、用紙に適用されるフィニッシング処理を設定する設定手段と、前記設定手段により設定されたフィニッシング処理が実行される位置と、コンテンツデータが配置される領域とが重なるか否かを判定する判定手段と、前記判定手段により前記フィニッシング処理が実行される位置とコンテンツデータが配置される領域とが重なると判定された場合、前記コンテンツデータが配置される領域の位置と大きさを変更することなく前記フィニッシング処理が実行される位置とコンテンツデータが配置される領域とが重なる位置に印刷が適用されない回避領域を配置する配置手段を備えることを特徴とする。
 フィニッシング位置とコンテンツとの重なりを回避し、かつ、所望とする印刷物を得ることが可能となる。
コンピュータモジュールの概略図の一例を示す。 本発明のテンプレートの一例を示す。 本発明のリンクを作成するフローを示している。 リンク作成時のUI図例を示している。 本発明におけるレイアウト計算の全体フローを示している。 本発明におけるレイアウト計算の、詳細フローを示している。 本発明における図6のフローに対応するUI例である。 本発明のコンテナの集合を説明するための一例を示す。 本発明におけるUI例を示している。 本発明の実施例1における全体フローを示している。 本発明の実施例1におけるサブフローを示している。 本発明の実施例1におけるフィニッシング移動量の一例を示す。 本発明の実施例1における回避用コンテナを配置した結果の一例を示す。 本発明の実施例3におけるフローを示している。 本発明の実施例3におけるフィニッシング可能位置を示している。 本発明の実施例3におけるフィニッシングパターンの変更例を示している。 本発明の実施例3におけるコンテナサイズ変更判定フローを示している。 本発明の実施例3におけるコンテナとフィニッシング位置の重なりの一例を示す。 本発明の実施例2におけるフローを示している。 本発明の実施例2におけるコンテナとフィニッシング位置の重なりの一例を示す。 本発明の実施例2における段組みへの変更結果の一例を示す。 本発明の実施例2における段組みへの変更結果の一例を示す。
 本発明の実施例を適用するのに好適である実施例について説明を行う。
 本発明の実施例を説明する前に、本発明を適用可能なシステム構成、およびアプリケーション構成について説明する。
 <システム構成図>
 図1においてコンピュータ(情報処理装置)101はキーボード132やマウス133のようなポインティングデバイスなどの入力装置、ディスプレイ装置144、プリンタ145を含む出力装置と通信できる。
 入力/出力インターフェース138は、コンピュータ101をネットワーク接続107を介して他のコンピュータ装置に接続するためのインターフェースである。そのネットワーク接続107の典型はローカルエリアネットワーク(LAN)、あるいはワイドエリアネットワーク(WAN)である。
 コンピュータ101は少なくとも1つのプロセッサーユニット135、例えば半導体のランダムアクセスメモリ(RAM)やリードオンリーメモリ(ROM)から構成されるメモリユニット136を備える。また、コンピュータ101は、ビデオインタフェース137を含むINPUT/OUTPUT(I/O)インターフェース、キーボード132やマウス133と接続するためのI/Oインターフェース143を含んでいる。
 記憶装置139は典型的にハードディスクドライブ140やフロッピー(登録商標)ディスクドライブ141を含んでいる。図には示されていないが磁気テープドライブもまた使用される可能性がある。CD-ROMドライブ142は不揮発性のデータソースとして提供される。
 コンピュータ101はGNU/LINUXやマイクロソフトウィンドウズ(登録商標)のようなオペレーションシステムを備える。
 また、上述した各モジュールは、相互接続バス134を介して通信できる。レイアウト編集アプリケーションはハードディスクドライブ140に常駐し、プロセッサ135により実行される。
 あるいは、レイアウト編集アプリケーションはネットワーク接続107を介して読みこまれても良い。
 図2は、ユーザによって生成されたテンプレートを表示するウィンドウ301の一例である。ツールバーエリア303は少なくとも、次のユーザにより選択可能な『ボタン』を持つ。
 選択ツールボタン403は、コンテナの辺を選択、移動、サイズ変更、リサイズそしてロック・ロック解除するために使われる。テキストコンテナツールボタン404は、テキストデータが割り当てられるコンテナ(領域)を作成するために使われる。
 イメージコンテナツールボタン405は、イメージデータが割り当てられるコンテナ(領域)を作成するために使われる。
 リンクツールボタン406は、コンテナ間の距離を制御するために使われる。
 なお、コンテナとはコンテンツデータが割り当てられる領域を指す。つまり、イメージコンテナは、コンテンツデータとしてイメージデータが割り当てられる領域であり、テキストコンテナは、コンテンツデータとしてテキストデータが割り当てられる領域である。
 また、図2は1ページのドキュメントテンプレート309上に表示することが可能なオブジェクトの例である。それらは、コンテナ407、408と、任意に適用するアンカーアイコン409と固定されていない辺410、リンク412そしてスライダー413を持つ。
 新規テキストコンテナとイメージコンテナは、テキストコンテナツール404、あるいはイメージコンテナツール405をマウス133でクリックし、テンプレート309に四角形をドラッグすることによって作成される。また、適切なツール404、405をアクティブにした後に、ドキュメントテンプレート309上でクリックすることによって単純に作成されても良い。
 なお、コンテナのサイズはユーザの指定により可変にすることも固定にすることもできる。
 [リンクの設定方法]
 図3はリンクの設定方法を示したフロー図である。また図4A-CはUI例を示している。それらを用いてコンテナにリンクを設定する方法について説明をする。なお、本願のフローチャートは、プロセッサ135が本願を実現するレイアウト編集アプリケーションプログラムをメモリから読み出して実行することにより実現される。
 まず、レイアウト編集アプリケーションは、ユーザの指示に従いリンクを設定するためのコンテナ(最低2つ)を作成する(0601)。
 次にレイアウト編集アプリケーションは、ユーザの指示に従い前述したリンクツールを選択した状態にする(0602)。図4A-Cは、コンテナを作成し、リンクツールが選択されていた状態から、リンクを設定する動作を示している。図4A-Cを順に説明していく。
 図4Aの0701と0702はコンテナである。また、0703と0704は、アンカーを意味し、アンカーが設定されている辺が固定であることを示す。0705はマウスポインタを意味している。
 レイアウト編集アプリケーションは、ユーザの指示に従いリンクを設定する片方のコンテナを選択する(0603)。
 次に図4Bで示されるように、レイアウト編集アプリケーションは、ユーザの指示に従い他方のコンテナを選択する(0604)。図4Bの0706は図4Aでクリックをした位置と移動したマウスポインタを結んだ線を示しており、どの位置にリンクが設定されるのかをユーザに示すUIである。処理0604が終わった後、レイアウト編集アプリケーションは設定した場所にリンクUI0707を表示する(0605)。その結果、コンテナは図4Cの状態になる。また、リンクが設定されたことにより、コンテナのUIも自動的に変更される(0606)。0708は、点線で示されている辺であり、可変の辺を示している。図4Cのようにコンテナの辺の状態が変化したのは、リンクを設定したことにより、コンテナの辺を可変にする必要があるためである。リンクを設定したにもかかわらず、全ての辺が固定という矛盾を引き起こすことを防ぐために、自動的に行われる処理である。また、0709は、リンクを設定したことによりコンテナが変化できる方向をユーザに視覚的に示すマークである。図4Cの例では、左のコンテナの右辺と右のコンテナの左辺が可変に変化したが、これは一例である。
 [レイアウト計算方法(全体フロー)]
 図5はレイアウト計算のフローを示している。
 レイアウト編集アプリケーションは、ユーザの指示に従いプレビューモードを選択する(0801)。レイアウト編集アプリケーションは、テンプレートを作成するコンテナ作成モードと、作成したテンプレートにレコードのコンテンツデータを挿入してレイアウト結果をプレビューするプレビューモードを備える。このプレビューモードにおいて、レイアウト編集アプリケーションは、実際のレコードのコンテンツデータをテンプレートの各コンテナに挿入してレイアウトを計算する。ただし、プレビューモードは、表示上でのレイアウト計算である。実際に印刷する場合においても、レコードを挿入してレイアウトを計算する。その際の計算方法も同じである。
 プレビューモードになったら、レイアウト編集アプリケーションは、プレビューするレコードを選択して挿入し(0802)、そのレコードをレイアウトするために計算を行い(0803)、処理0803で計算されたレイアウト結果を表示する(0804)。
 レイアウト編集アプリケーションは、他のレコードについてもプレビューを行うかどうかを判断する(0805)。処理0805で、他のレコードについてプレビューを行う必要がないと判断した場合は、プレビューモードを終了する(0807)。他のレコードについてプレビューを行うのであれば、レイアウト編集アプリケーションは、他のレコードを選択して再度レイアウト計算を行い、プレビューを行う(0806)。プレビューモードでなく印刷時においては、印刷するレコード全てについて順にレイアウトの計算を行う。したがって、処理0805、0807は存在しない。全てのレコードについて印刷が終了した時点で終了する。
 [レイアウト計算方法]
 図6はレイアウト計算の詳細を示したフロー図である。また、図7はそのときのUI表示例を示した図である。
 レイアウト編集アプリケーションは、レイアウトを計算するコンテナの集合を求める(0901)。レイアウト計算は、リンクにより関連付けられたコンテナを1つの集合として計算を行う。例えば図8を参照すると、ページ上に4つのコンテナがレイアウトされており、各コンテナが関連付けられている。この場合、コンテナAとコンテナB、そしてコンテナCとコンテナDがリンクによって関連付けされている。したがって、コンテナA・Bが集合1、コンテナC・Dが集合2となる。1101はアンカー、1102は固定された辺、1103はコントローラー、1104は可変の辺の変化方向を示している矢印、1105は可変の辺、1106はリンク、そして1107はスライダーを示している。
 次に、レイアウト編集アプリケーションは、0901で求めたコンテナの集合から、レイアウトを計算するために一つの集合を選択する(0902)。そして、レイアウト編集アプリケーションは選択したコンテナの集合について、レイアウトの計算を行う。ここでは、レイアウトされるコンテナのサイズが、実際のコンテンツのサイズとできる限り差が少なくなるように、レイアウト編集アプリケーションはレイアウトの最適化を行う(0903)。レイアウトの最適化をするためにレイアウト編集アプリケーションは、リンクにより関連付けられた各コンテナに挿入されるコンテンツデータのサイズの変化量が同じになるように各コンテナのサイズを計算する。レイアウトの最適化を行いルールに違反していた場合、レイアウト編集アプリケーションは、再度ルールを違反しないように計算をする(0904)。ここで記述したルールとは、レイアウト作成時にユーザによって設定される制限であり、コンテナのサイズと位置、リンクの長さなどである。ルールを違反しないようにレイアウトが計算されたら、その集合のレイアウトは完成される。そして、0902~0904のステップをページ上のすべての集合について施し、ページ全体のレイアウトを計算する(0905)。
 図7のA~Cはレイアウト計算時のUI例である。
 図7Aは、あるレコードのコンテンツデータが挿入されレイアウトが決定されている状態を表している。1001と1002はアンカー、1003と1004は固定された辺、1005は可変の辺、1006は可変の辺の変化方向を示している矢印、1008はリンクをそれぞれ示している。この状態において、レコードを変更し、異なったサイズのコンテンツデータを挿入する。図7Bは図7Aに新しいコンテンツデータのサイズを重ねて示している。1009はそれぞれのコンテナに挿入されるコンテンツデータのサイズを表している。そして、レイアウト計算が行われる。図7Cはレイアウト計算された結果を示している。計算後の各コンテナのサイズは、実際挿入されるコンテンツデータのサイズと同等に差異があるように計算され、且つ前述したルールを違反しないように計算される。つまりリンクにより関連付けられたコンテナの変化量は同じとなるようにレイアウト計算が実行される。図7-Cで示されるように、図7Bで示した挿入されるコンテンツサイズ(1009)と計算後のコンテンツサイズ(1010)は、双方において同等な差異がある。
 [実施例1]
 本発明の実施例について説明する。
 [全体フロー]
 図9、10は本発明の全体フローとその説明UIを示している。
 図10のフローの各ステップを図9のUI1301と合わせながら説明する。
 まず、図9の1303で示すアイコンが押下されることによって、レイアウト編集アプリケーションは、コンテナ作成モードへと遷移する(1401)。そして、ユーザの指示に従い、レイアウト編集アプリケーションはコンテナを作成する(1307-1310)。
 レイアウト編集アプリケーションは、コンテンツデータ1306とコンテナとを関連付ける(1402)。なお、関連付けは、データの各フィールド情報と各コンテナを指定して関連付けるようにしても、データファイルを指定し、そこからシーケンシャルに関連付けるようにしても良いのは言うまでもない。
 レイアウト編集アプリケーションは、1305の指示に従い本コンテンツをレイアウトして印刷する際のフィニッシング処理の選択を行う。フィニッシング処理とは印刷後に行なわれる後処理を指す。本実施例では、フィニッシング処理として、“折り”(2つ折り、3つ折り、4つ折りなど)設定を適用するケースについて説明を行っている(1403)。
 レイアウト編集アプリケーションは、選択されたコンテナにフィニッシング回避属性を設定する(1404)。フィニッシング回避属性とはコンテナとフィニッシング処理とが重なる場合に、その重なりを回避するための処理を実行することを示す属性である。ここまでの設定を行った後に、1311の実行ボタンが押下されることに従い、レイアウト編集アプリケーションはレイアウト計算を実行する(1405)。以降の処理は、内部処理であるためUIの対比なく説明を行う。
 ステップ1406において、レイアウト編集アプリケーションが、図5~図6にて上述した処理を実行することで、ステップ1402で関連付けたコンテンツデータに基づいて各コンテナのサイズとそのコンテナの位置を算出する。
 ステップ1407において、レイアウト編集アプリケーションは、ステップ1403で選択したフィニッシング処理が実行されるフィニッシング位置とアジャスト範囲を特定する。ここでは、レイアウト編集アプリケーションが、フィニッシング処理に対応する能力をプリンタに問い合わせることでS1407の処理が実現される。なお、アジャスト範囲とはプリンタがフィニッシング位置を移動できる範囲を指し、移動量とも呼ばれる。また、プリンタの能力取得は、出力先のプリンタドライバが用意しているAPI(SDK)経由で取得してもデバイスから取得しても、プリンタの能力を管理しているデータベースから読みこむようにしても良い。
 下記は、読み込んだプリンタの能力の一例である。
     用紙サイズ  折り位置(用紙端からの距離) アジャスト範囲
 2つ折り  A4縦       148.5mm          ±10(Y)
 3つ折り  A4縦       99、198mm         ±5(Y)
 ステップ1408において、レイアウト編集アプリケーションは、ステップ1406の算出結果とステップ1407により特定されたフィニッシング位置とに基づいて、コンテナ上にフィニッシング処理が重なるか判断する。一例として、レイアウト編集アプリケーションは、S1406にて算出されたコンテナのサイズと位置を示す座標情報とフィニッシングが適用される位置を示す座標情報とを比較することでS1408の処理を実行する。
 S1408の判定の結果、コンテナ上にフィニッシング処理が重なると判断された場合、ステップ1409へ進む。
 ステップ1409において、レイアウト編集アプリケーションは、S1408にてフィニッシング処理が重なると判定されたコンテナのコンテナ属性を参照し、読み込んだコンテナ属性にフィニッシング回避属性が設定されているか否かを判定する(S1410)。回避属性がONの場合には、ステップ1411へ進む。また、回避属性がOFFであれば、回避処理を行わないため、レイアウト結果を表示するステップ1412へ進む。
 図11は、ステップ1411の詳細を説明するためのフローチャートである。
 ステップ1501において、レイアウト編集アプリケーションは、コンテナとフィニッシング処理の位置の重なりを解消するために必要なフィニッシング処理の移動量を算出する。ここで、S1501の処理を図12を使って具体的に説明する。図12は、フィニッシング処理の位置をコンテナ外に移動する移動量を示す例である。Y0の位置が 移動量=0の現状のフィニッシング位置である。現状のフィニッシング位置がコンテナに重ならないように移動すべき移動量は、上方向がY1と下方向がY2となる。図12の例では、レイアウト編集アプリケーションが、現状のフィニッシング処理が実行される座標とそのフィニッシング処理が重なるコンテナの上端の座標との差分を計算することによりY1を算出する。さらに、レイアウト編集アプリケーションが、現状のフィニッシング処理が実行される座標とそのフィニッシング処理が重なるコンテナの下端の座標との差分を計算することによりY2を算出する。以上の処理によりS1501が実現される。
 ステップ1502において、レイアウト編集アプリケーションは、ステップ1501で算出されたフィニッシング移動量が、プリンタのフィニッシング移動量の範囲内に収まっているか判定する。図12を用いて具体的に説明すると、Y0の位置を中心にフィニッシング位置の移動量の範囲は±Y3である。この場合、レイアウト編集アプリケーションは、Y2がフィニッシング位置の移動量の範囲に収まるので、フィニッシングの位置を変更可能と判定する。
 S1502において、フィニッシングの位置を変更可能と判定されなかった場合、S1505へと処理が進む。
 ステップ1505において、レイアウト編集アプリケーションは、フィニッシング位置に回避用コンテナ(回避領域)を挿入する。回避用コンテナとは、フィニッシング位置に対してコンテンツが印刷されないように、コンテンツを印刷できないエリアを定義するために使用される。なお、回避用コンテナは、コンテンツに限らず全てのデータが印刷されない領域であっても良い。また、レイアウト編集アプリケーションは、回避用コンテナが配置されるコンテナの位置およびサイズを変更せずに、回避用コンテナを配置する。例えば、図13では、回避用コンテナ1706が配置される前後においてコンテナ1702のサイズが変更されていないことが示されている。
 図13の1705はコンテナ1702にフィニッシング1703が重なる場合に挿入された回避用コンテナである。なお、フィニッシング処理が折りである場合、回避用コンテナのサイズの高さ1706は、用紙の厚みに基づいて決定される。なお、回避用コンテナ1706はコンテナ1702とは別コンテナとして挿入されるため、コンテナ1702に対する印刷属性は回避用コンテナ1706に適用されない。例えば、コンテナ1702の全体に透明トナーを載せることが設定されていた場合であっても、回避用コンテナ1706には透明トナー属性は適用されない。
 ステップ1503において、レイアウト編集アプリケーションは、コンテンツをテンプレートに挿入することで生成されるページ数を判定し、ページ数が1ページであれば、ステップ1504に進む。
 また、S1503において複数ページが生成されると判定された場合、全てのページのフィニッシング移動量が同じ場合には、ステップ1504へ進み、1ページでも移動量が異なるページがある場合には、ステップ1505へ進む。
 ここで図13を用いて本実施例1の効果について説明する。例えばコンテナ1702の全体に透明トナーが載せられていた場合、図13のレイアウト結果1701の印刷物を折り位置1703で折ると、透明トナーが剥離するおそれがあった。また、透明トナーが載らない場合であっても、折り位置に配置された文字がかすれるおそれがあった。これに対し、本実施例を適用することで得られるレイアウト結果1704では、コンテナ1702の中に回避用コンテナ1705が配置される。そのため、上述したような透明トナーが剥離されたり、文字がかすれるおそれを回避することが可能となる。さらに、回避用コンテナを使って上記課題を解決するため、コンテンツデータが配置される領域であるコンテナ1702の位置と大きさも変更されないので、ユーザが所望とするレイアウト結果を得ることができる。
 なお、図13のコンテナ1702内における水平方向の矢印は、テキストデータが水平方向に配置されることを示す。
 なお、回避用コンテナを配置することでコンテンツがコンテナ1702から溢れる場合、レイアウト編集アプリケーションは、当該コンテンツがイメージデータであればサイズを縮小する。一方、溢れるコンテンツがテキストデータであれば、レイアウト編集アプリケーションは、フォントサイズ、文字間、行間を縮小する。
 [実施例2]
 実施例1では、回避用コンテナを挿入することでフィニッシング処理とコンテンツデータとの重なりを回避しているが、回避用コンテナを挿入することで文字の可読性が低下するおそれがある。本実施例2ではこの課題を解決する方法について説明する。
 本実施例2について図19を使って説明する。なお、図19は図11にて上述したS1505の処理を実行する際に実行される。
 ステップ2101において、レイアウト編集アプリケーションは、フィニッシング処理が実行される位置に回避用コンテナを挿入する。
 ステップ2102において、レイアウト編集アプリケーションは回避用コンテナを挿入するコンテナがテキストデータが割り当てられるコンテナか否かを判定する。なお、S2101の判定は、レイアウト編集アプリケーションが、メモリに記憶されているコンテナの属性を参照することで実現される。
 ステップ2101においてテキストであると判定された場合、ステップ2103において、レイアウト編集アプリケーションは、テキストのレイアウト方向と折り方向とを比較する。ここで、テキストのレイアウト方向がフィニッシング方向(折り方向)と異なる場合、ステップ2104へ進む。また、テキストのレイアウト方向が折り方向と同じであればステップ2109へ進み、レイアウト編集アプリケーションがコンテンツの流し込み処理を行う。
 ステップ2104において、レイアウト編集アプリケーションは、コンテナのフィニッシング位置により分断される後段の領域の高さと文字サイズから、後段の領域に配置できる文字数を算出する。この処理を図20を用いて具体的に説明する。
 図20はコンテナ2501とフィニッシング処理2504が重なるレイアウト結果を図示したものであり、コンテナ2501が折り処理により前段の領域2502と、後段の領域2503に分けられる。ここで後段の領域の高さを文字サイズの縦方向の長さで除算することにより、1列当たりに配置される文字数を算出でき、この文字数を列数で乗算することで後段の領域2503に配置される文字数を算出できる。例えば、図20において、後段の領域1列当たりに配置できる文字数が1文字であると算出された場合、図20ではテキストが7列に渡って配置されるのでレイアウト編集アプリケーションは7文字を算出する。なお、図20では、テキストのレイアウト方向が垂直方向であり、折り方向を示す折り線は水平方向であるため、レイアウト編集アプリケーションはS2103で方向が異なると判定する。
 ステップ2105においてレイアウト編集アプリケーションは、S2104にて算出した文字数とあらかじめ定義されている文字数(閾値)とを比較する。ここで、S2104にて算出された文字数が閾値より大きい場合、S2109においてレイアウト編集アプリケーションは、折り位置で段組みされるようにテキストデータを編集する。その結果、図21のような結果が得られる。
 一方、S2105の判定の結果、文字数が閾値よりも小さい場合、レイアウト編集アプリケーションは、ステップ2106へと処理を進める。
 ステップ2106において、レイアウト編集アプリケーションは、後段の領域の高さが短い場合に変更される段組みコンテナのサイズを算出する。ここで算出方法の具体例を図20を使って説明する。なお、図20では3つ折りが想定されている。レイアウト編集アプリケーションは、S2104により算出された「文字数」と縦方向の文字サイズとの乗算の結果を折り位置2504から折り位置2505の高さで除算することで変更後の段組みの幅を算出する。例えば、S2104により算出された文字数が7文字であり(文字サイズは1cm×1cm)、折り位置2504から折り位置2505の高さが7cmであれば、幅は1cmと算出され、高さ7cm×横1cmを後段の段組みコンテナのサイズとして決定する。なお、「文字数」と縦方向の文字サイズとの乗算の結果を折り位置2504から折り位置2505の高さで除算した結果が整数にならない場合は、小数点以下を繰り上げる。
 S2107において、レイアウト編集アプリケーションはS2106において決定された段組みコンテナサイズのコンテナに、前段の領域から溢れたテキストデータを配置する。その結果が図22である。
 以上、本実施例では、例えば図21のように回避用コンテナ2601を境にテキストデータを段組みの形式に編集することで、回避用コンテナを挿入するにより生じる文字の可読の低下を防ぐ。
 また、後段の領域に配置される文字数が少ない場合に、S2106の処理を行い後段の段組み領域のサイズを変更することで可読性が損なわれないレイアウト結果を出力できる。
 なお、図20~図22におけるコンテナ内の縦方向の矢印はテキストデータのレイアウトを示しており、図22の2701は回避用コンテナを示す。
 [実施例3]
 実施例1では回避用コンテナを挿入することで回避処理を実行していたが、回避用コンテナを挿入することでコンテンツが入りきらなくなるおそれもある。この課題を解決するために本実施例3では、実施例1のステップ1411の処理に対してフィニッシングパターンを変更する事でコンテナにおけるフィニッシング処理とコンテナの重なりを回避する。なお、図14は、本実施例3のフローチャートである。
 本実施例3では、図10のステップ1411の回避処理について詳細に説明する。
 ステップ1701において、レイアウト編集アプリケーションは、フィニッシング可能位置を特定する。具体的には、レイアウト編集アプリケーションが、図5、図6におけるレイアウト結果において各コンテナ間のスペース部分をフィニッシング可能位置として判断する。
 図15は、コンテナ以外の部分をフィニッシング可能位置として判断し、当該エリアを斜線で表示した例である。
 ステップ1702において、レイアウト編集アプリケーションは、フィニッシングパターン数の読み込みを行うステップである。本ステップでは、フィニッシングとして折りが指定されていた場合、プリンタの能力として登録されている折りパターン数を読み込むものである。たとえば、登録されているパターンが、「2つ折り」、「3つ折り」、「4つ折り」であった場合、レイアウト編集アプリケーションは、パターン数として3を読み込む。また、ステイプル処理であれば、例えばプリンタが「左上」、「左下」、「右上」、「右下」にステイプル処理を適用できるのであれば、レイアウト編集アプリケーションは、パターン数として4を読み込む。
 ステップ1703において、レイアウト編集アプリケーションは、S1702で読み込まれたパターン数分処理を繰り返すためのカウンタ処理を行う。
 ステップ1704において、レイアウト編集アプリケーションは、S1701にて読み込まれた各フィニッシング処理によるフィニッシング位置の読み込を行う。ここで言う、フィニッシング位置とは、用紙に対してどの位置に折り処理が実行されるかを示す情報であり、図16はその一例である。
 ステップ1705において、レイアウト編集アプリケーションは、S1704において読み込まれたフィニッシング位置がコンテナに重なるか否かを判断し、判断結果をメモリに記憶する。例えば、「3つ折り」が実行される位置がフィニッシング可能位置であり、「4つ折り」が実行される位置がフィニッシング可能位置でなければ、「3つ折り」がS1705にて記憶される。
 ステップ1702に読み込んだ全てのパターンに対してS1705の判定が終わった場合、ステップ1706に進む。
 ステップ1706において、レイアウト編集アプリケーションは、S1705の判定結果に基づいてフィニッシング可能位置に合致するフィニッシングパターンがあった場合、ステップ1707に処理を進める。
 ステップ1707において、レイアウト編集アプリケーションは、S1705においてフィニッシング可能位置に合致するフィニッシングパターンにフィニッシング方法を変更する。なお、S1705において複数のフィニッシングパターンがフィニッシング可能位置に合致すると判定された場合、図9のUI等を用いてあらかじめ設定されたコスト優先、パフォーマンス優先といった処理モードに従ってフィニッシング処理を選択する。図9のUIを用いて、たとえばコスト優先が設定されていた場合、コンテンツを送付時に小さな封筒で処理できるよう、折り数が最も多いフィニッシング処理を選択する。一方、パフォーマンス優先であれば、折り数の数が最小になるフィニッシング処理を選択する。
 ステップ1708は、合致パターンが見つからなかった場合の処理であり、図17を使って詳細に説明する。
 ステップ1901において、レイアウト編集アプリケーションは、フィニッシング領域に該当するコンテナの検出する。ステップ1902において、レイアウト編集アプリケーションは、フィニッシング領域に該当したコンテナに対してフィニッシングを回避するためのコンテナサイズを算出する。
 図18(A)は、オリジナルコンテナに対してフィニッシングが重なっている一例である。このオリジナルコンテナに対してフィニッシングが重ならないように、フィニッシング重なり量分、コンテナのサイズを変更した結果が図18(B)である。
 ステップ1903において、レイアウト編集アプリケーションは、コンテナサイズの拡縮率としてフィニッシング回避用コンテナサイズ/オリジナルコンテナサイズを算出する。
 ステップ1904において、レイアウト編集アプリケーションは、コンテナ内のコンテンツの種類を判定する。コンテンツの種類がテキストの場合、レイアウト編集アプリケーションは、ステップ1905に進み、ステップ1903で算出した拡縮率に基づき、文字サイズを変更する。また、ステップ1906において、レイアウト編集アプリケーションは、画像サイズを拡縮率にしたがい拡縮する。
 なお、拡縮率が大きすぎるとドキュメントの構成が適切でなくなるケースもあるため、あらかじめ拡縮率の上限値を決めておき、上限値を超える場合には処理を適用しないといった方法を取っても本特許は有効である。
 また、本発明は、以下の処理を実行することによっても実現される。即ち、上述の実施形態の機能を実現するソフトウェア(プログラム)を、ネットワークまたは各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。この場合、そのプログラム、及び該プログラムを記憶した記憶媒体は本発明を構成することになる。
 101 コンピュータ
 132 キーボード
 133 マウス

Claims (6)

  1.  用紙に適用されるフィニッシング処理を設定する設定手段と、
     前記設定手段により設定されたフィニッシング処理が実行される位置と、コンテンツデータが配置される領域とが重なるか否かを判定する判定手段と、
     前記判定手段により前記フィニッシング処理が実行される位置とコンテンツデータが配置される領域とが重なると判定された場合、前記コンテンツデータが配置される領域の位置と大きさを変更することなく前記フィニッシング処理が実行される位置とコンテンツデータが配置される領域とが重なる位置に印刷が適用されない回避領域を配置する配置手段を備えることを特徴とする情報処理装置。
  2.  前記配置手段により前記回避領域が、前記コンテンツデータが配置される領域に配置されることにより前記コンテンツデータが配置される領域から前記領域に配置すべきコンテンツデータが溢れる場合、前記コンテンツデータが前記コンテンツデータが配置される領域に収まるように縮小する縮小手段を更に備えることを特徴とする請求項1に記載の情報処理装置。
  3.  前記フィニッシング処理が前記印刷された用紙における水平方向を折り線として折る折り処理であり、前記コンテンツデータが配置される領域において垂直方向にテキストデータが配置される場合、前記配置手段により配置された回避領域を境に前記テキストデータを段組み形式に編集する編集手段を更に備えることを特徴とする請求項1に記載の情報処理装置。
  4.  前記コンテンツデータが配置される領域が前記水平方向の折り線により分けられることで生じる前記コンテンツデータが配置される領域の後段の領域に配置されるテキストデータの文字数が閾値よりも少ない場合、前記後段の領域を変更する変更手段を更に備えることを特徴とする請求項3に記載の情報処理装置。
  5.  用紙に適用されるフィニッシング処理を設定する設定工程と、
     前記設定工程により設定されたフィニッシング処理が実行される位置と、コンテンツデータが配置される領域とが重なるか否かを判定する判定工程と、
     前記判定工程により前記フィニッシング処理が実行される位置とコンテンツデータが配置される領域とが重なると判定された場合、前記コンテンツデータが配置される領域の位置と大きさを変更することなく前記フィニッシング処理が実行される位置とコンテンツデータが配置される領域とが重なる位置に印刷が適用されない回避領域を配置する配置工程を備えることを特徴とする制御方法。
  6.  用紙に適用されるフィニッシング処理を設定する設定工程と、
     前記設定工程により設定されたフィニッシング処理が実行される位置と、コンテンツデータが配置される領域とが重なるか否かを判定する判定工程と、
     前記判定工程により前記フィニッシング処理が実行される位置とコンテンツデータが配置される領域とが重なると判定された場合、前記コンテンツデータが配置される領域の位置と大きさを変更することなく前記フィニッシング処理が実行される位置とコンテンツデータが配置される領域とが重なる位置に印刷が適用されない回避領域を配置する配置工程をコンピュータに実行させるための前記コンピュータが読み取り可能なプログラム。
PCT/JP2009/061825 2009-06-29 2009-06-29 情報処理装置、制御方法、プログラム WO2011001488A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2011520682A JP5419979B2 (ja) 2009-06-29 2009-06-29 情報処理装置、制御方法、プログラム
PCT/JP2009/061825 WO2011001488A1 (ja) 2009-06-29 2009-06-29 情報処理装置、制御方法、プログラム
US12/850,448 US8564826B2 (en) 2009-06-29 2010-08-04 Information processing apparatus, control method, and storage medium utilized in an automatic layout system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2009/061825 WO2011001488A1 (ja) 2009-06-29 2009-06-29 情報処理装置、制御方法、プログラム

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US12/850,448 Continuation US8564826B2 (en) 2009-06-29 2010-08-04 Information processing apparatus, control method, and storage medium utilized in an automatic layout system

Publications (1)

Publication Number Publication Date
WO2011001488A1 true WO2011001488A1 (ja) 2011-01-06

Family

ID=43380374

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2009/061825 WO2011001488A1 (ja) 2009-06-29 2009-06-29 情報処理装置、制御方法、プログラム

Country Status (3)

Country Link
US (1) US8564826B2 (ja)
JP (1) JP5419979B2 (ja)
WO (1) WO2011001488A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014012511A1 (en) 2012-07-19 2014-01-23 Impact Therapeutics, Inc. N-(3-heteroarylaryl)-4-arylarylcarboxamtdes and analogs as hedgehog pathway inhibitors and use thereof

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5717456B2 (ja) * 2011-01-31 2015-05-13 理想科学工業株式会社 画像処理装置およびプログラム
US9727544B2 (en) 2013-05-06 2017-08-08 Dropbox, Inc. Animating edits to documents
JP2017228096A (ja) * 2016-06-22 2017-12-28 ブラザー工業株式会社 作成プログラム、及び、作成装置
JP6742850B2 (ja) * 2016-07-29 2020-08-19 キヤノン株式会社 レイアウト編集装置、レイアウト編集方法、およびプログラム
EP3956803A4 (en) * 2019-04-15 2022-12-28 Canva Pty Ltd. SYSTEMS AND METHODS FOR GENERATING A DESIGN BASED ON A DESIGN MODEL AND ANOTHER DESIGN

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0675948A (ja) * 1991-12-09 1994-03-18 Sanyo Electric Co Ltd 文書処理装置
JP2006209427A (ja) * 2005-01-27 2006-08-10 Konica Minolta Medical & Graphic Inc 画像出力制御装置及び画像出力システム
JP2006211114A (ja) * 2005-01-26 2006-08-10 Toshiba Corp 組版システム及びプログラム
JP2006352486A (ja) * 2005-06-15 2006-12-28 Konica Minolta Business Technologies Inc 画像処理装置、画像処理方法、および画像処理プログラム
JP2007041944A (ja) * 2005-08-04 2007-02-15 Canon Inc 画像処理装置、画像処理方法、コンピュータプログラム、コンピュータ読み取り可能な記録媒体、及び画像形成システム

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06219629A (ja) 1992-02-26 1994-08-09 Ricoh Co Ltd 綴じ位置対応の画像形成装置
DE4491655C2 (de) * 1993-03-17 2000-06-29 Ricoh Kk Bildaufzeichnungseinrichtung
US20030092551A1 (en) * 2001-11-14 2003-05-15 Roland Boss Methods and apparatus for scoring and trimming imaged sheet media
JP2007034444A (ja) * 2005-07-25 2007-02-08 Konica Minolta Business Technologies Inc 画像形成装置、後処理警告方法および後処理設定方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0675948A (ja) * 1991-12-09 1994-03-18 Sanyo Electric Co Ltd 文書処理装置
JP2006211114A (ja) * 2005-01-26 2006-08-10 Toshiba Corp 組版システム及びプログラム
JP2006209427A (ja) * 2005-01-27 2006-08-10 Konica Minolta Medical & Graphic Inc 画像出力制御装置及び画像出力システム
JP2006352486A (ja) * 2005-06-15 2006-12-28 Konica Minolta Business Technologies Inc 画像処理装置、画像処理方法、および画像処理プログラム
JP2007041944A (ja) * 2005-08-04 2007-02-15 Canon Inc 画像処理装置、画像処理方法、コンピュータプログラム、コンピュータ読み取り可能な記録媒体、及び画像形成システム

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014012511A1 (en) 2012-07-19 2014-01-23 Impact Therapeutics, Inc. N-(3-heteroarylaryl)-4-arylarylcarboxamtdes and analogs as hedgehog pathway inhibitors and use thereof

Also Published As

Publication number Publication date
JPWO2011001488A1 (ja) 2012-12-10
US20100328692A1 (en) 2010-12-30
US8564826B2 (en) 2013-10-22
JP5419979B2 (ja) 2014-02-19

Similar Documents

Publication Publication Date Title
JP4110105B2 (ja) 文書処理装置及び文書処理方法及び文書処理プログラム
US8954843B2 (en) Layout apparatus, layout method, and layout program
JP4332477B2 (ja) レイアウト調整方法及び装置並びにプログラム
KR100725889B1 (ko) 가변 데이터 문서들의 생성 및 편집을 위한 사용자인터페이스
US8327262B2 (en) Layout editing apparatus and layout editing method
US7373593B2 (en) Apparatus and method for automatically setting constraints within a document layout
US7761791B2 (en) Layout processing using a template having data areas and contents data to be inserted into each data area
US7800776B2 (en) Methods and apparatus for mixed page imposition
JP4298642B2 (ja) レイアウト処理方法およびレイアウト処理装置およびレイアウト処理プログラム
JP4095558B2 (ja) 文書処理装置及び文書処理方法及びコンピュータプログラム
JP4059504B2 (ja) 文書処理装置及び文書処理方法及び文書処理プログラム
JP5419979B2 (ja) 情報処理装置、制御方法、プログラム
EP1624384A2 (en) Template document layout
JP2006318090A (ja) レイアウト処理方法およびレイアウト処理装置およびレイアウト処理プログラム
WO2010143621A1 (ja) 画像処理装置、画像処理方法及び記憶媒体
US7586630B2 (en) Print preview apparatus and method
JP2007110392A (ja) 画像処理装置
JP4250577B2 (ja) 情報処理装置、情報処理方法、ならびにプログラム
US20240249380A1 (en) Object resizing method, computer readable strage medium, and information processing apparatus
JP2007122486A (ja) Web文書処理方法、プログラム、記憶媒体
JP4241551B2 (ja) 情報処理装置、情報処理方法、ならびにプログラム
JP2010176366A (ja) バリアブルプリントシステム
JP2014092928A (ja) 情報処理装置、情報処理方法及びプログラム
JP2021063863A (ja) 情報処理装置、プログラム及び情報処理方法
JP2007094756A (ja) 情報処理装置、レイアウト処理方法、記憶媒体およびプログラム

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09846781

Country of ref document: EP

Kind code of ref document: A1

DPE1 Request for preliminary examination filed after expiration of 19th month from priority date (pct application filed from 20040101)
ENP Entry into the national phase

Ref document number: 2011520682

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 09846781

Country of ref document: EP

Kind code of ref document: A1