JP2020144453A - Image editing device and image editing method - Google Patents

Image editing device and image editing method Download PDF

Info

Publication number
JP2020144453A
JP2020144453A JP2019038736A JP2019038736A JP2020144453A JP 2020144453 A JP2020144453 A JP 2020144453A JP 2019038736 A JP2019038736 A JP 2019038736A JP 2019038736 A JP2019038736 A JP 2019038736A JP 2020144453 A JP2020144453 A JP 2020144453A
Authority
JP
Japan
Prior art keywords
page
common object
display target
target page
common
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2019038736A
Other languages
Japanese (ja)
Inventor
達也 米森
Tatsuya Yonemori
達也 米森
程 張
Cheng Zhang
程 張
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.)
Canon Finetech Nisca Inc
Original Assignee
Canon Finetech Nisca Inc
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 Canon Finetech Nisca Inc filed Critical Canon Finetech Nisca Inc
Priority to JP2019038736A priority Critical patent/JP2020144453A/en
Publication of JP2020144453A publication Critical patent/JP2020144453A/en
Pending legal-status Critical Current

Links

Images

Abstract

To provide a technique for reducing time and labor to eliminate interference between an object disposed on a page and a common object disposed on each of a plurality of pages including the page.SOLUTION: It is determined whether a page object disposed according to user operation on a display target page among a plurality of pages is interfering on the display target page with a common object disposed in common on each of the plurality of pages. When it is determined that the page object is interfering on the display target page with the common object, arrangement of the common object on the display target page is changed so that the page object is not interfering on the display target page with the common object.SELECTED DRAWING: Figure 8

Description

本発明は、ページ上にオブジェクトを配置するための技術に関するものである。 The present invention relates to a technique for arranging objects on a page.

近年、情報処理装置の表示画面上で任意の文字列や図形、画像等のオブジェクトを配置し、ページ毎に異なるデザインのレイアウトデータを作成するデザインプログラムが多用されている。 In recent years, design programs for arranging objects such as arbitrary character strings, figures, and images on the display screen of an information processing device and creating layout data having a different design for each page have been widely used.

従来のデザインプログラムでは、レイアウトデータの各ページに対してページ番号の書体や位置、また印刷時の用紙の綴じ位置を指定することができ、その指定に基づいてレイアウトデータの各ページにページ番号を印刷し、綴じ処理を行うことができる。一方、ページ番号と綴じ位置が上下左右の同じ辺に指定された場合は、ページ番号とステイプル針が重なることによる、またはページを折り返した時にページ番号が見にくくなるなど視認性の悪化が懸念される。それを防ぐため、特許文献1に開示された文書作成装置では、ページ番号の位置を他の位置に配置しなおすことで視認性の悪化を防止することが可能となっている。 In the conventional design program, the typeface and position of the page number for each page of the layout data and the binding position of the paper at the time of printing can be specified, and the page number is assigned to each page of the layout data based on the specification. It can be printed and bound. On the other hand, if the page number and the binding position are specified on the same side of the top, bottom, left, and right, there is a concern that the page number and the staple needle may overlap, or the page number may be difficult to see when the page is folded, resulting in deterioration of visibility. .. In order to prevent this, in the document creation device disclosed in Patent Document 1, it is possible to prevent deterioration of visibility by rearranging the position of the page number at another position.

特開平7-168818号公報Japanese Unexamined Patent Publication No. 7-168818

特許文献1の方法では、視認性の悪化の対象としてページ番号と綴じ位置の情報しか考慮していないが、視認性が悪化するケースは他にもある。例えば、近年のデザインプログラムでは任意のオブジェクトを全てのページに同様に表示させる機能がある(一般的なワープロ系プログラムであれば、ヘッダー情報・フッター情報。パワーポイント(Microsoft社)であればスライドマスター機能が相当)。この機能を使用し、全てのページに同様に表示させるオブジェクトを以降、共通オブジェクトと記載する。共通オブジェクトを配置した際、ページ毎に配置しているオブジェクトと共通オブジェクトとの間で重なり等の干渉が起こることもある。この場合、干渉する互いのオブジェクトはページ番号や綴じ位置とは異なる情報となる。 In the method of Patent Document 1, only the information of the page number and the binding position is considered as the target of the deterioration of the visibility, but there are other cases where the visibility is deteriorated. For example, recent design programs have a function to display arbitrary objects on all pages in the same way (header information / footer information for general word processing programs. Slide master function for PowerPoint (Microsoft)). Is equivalent). Objects that use this function and are displayed on all pages in the same way are hereinafter referred to as common objects. When a common object is placed, interference such as overlap may occur between the object placed on each page and the common object. In this case, the interfering objects have different information from the page number and the binding position.

従って、ユーザは互いのオブジェクトが干渉しないようにするため、共通オブジェクトを配置または移動する際は全ページのデザインを確認しながらオブジェクトの配置位置を調整する必要があり、確認作業に手間がかかっていた。また、1ページ毎に干渉具合が異なる場合、確認・修正するのに手間がかかるという課題がある。 Therefore, in order to prevent the objects from interfering with each other, the user needs to adjust the placement position of the objects while checking the design of all pages when arranging or moving the common objects, which is troublesome. It was. Further, when the degree of interference differs for each page, there is a problem that it takes time and effort to confirm and correct it.

本発明では、ページ上に配置されているオブジェクトと、該ページを含む複数ページのそれぞれに配置されている共通オブジェクトと、の干渉を解消する手間を軽減させるための技術を提供する。 The present invention provides a technique for reducing the time and effort to eliminate interference between an object arranged on a page and a common object arranged on each of a plurality of pages including the page.

本発明の1つの様態は、複数ページのうち表示対象ページ上にユーザ操作に応じて配置されたページオブジェクトと、該複数ページのそれぞれに共通して配置されている共通オブジェクトと、が前記表示対象ページ上で干渉しているか否かを判断する判断手段と、前記判断手段により前記ページオブジェクトと前記共通オブジェクトとが前記表示対象ページ上で干渉していると判断される場合には、前記ページオブジェクトと前記共通オブジェクトとが前記表示対象ページ上で干渉しないように、前記表示対象ページ上における前記共通オブジェクトの配置を変更する変更手段とを備えることを特徴とする。 In one aspect of the present invention, a page object arranged on a display target page among a plurality of pages according to a user operation and a common object commonly arranged on each of the plurality of pages are displayed targets. When the determination means for determining whether or not there is interference on the page and the determination means determine that the page object and the common object are interfering with each other on the display target page, the page object It is characterized by providing a changing means for changing the arrangement of the common object on the display target page so that the common object and the common object do not interfere with each other on the display target page.

本発明の構成によれば、ページ上に配置されているオブジェクトと、該ページを含む複数ページのそれぞれに配置されている共通オブジェクトと、の干渉を解消する手間を軽減させることができる。 According to the configuration of the present invention, it is possible to reduce the time and effort to eliminate the interference between the object arranged on the page and the common object arranged on each of the plurality of pages including the page.

ページデザインプログラムを実行することで表示装置805の表示画面上に表示される画面の表示例を示す図。The figure which shows the display example of the screen which is displayed on the display screen of the display device 805 by executing a page design program. 共通オブジェクト用の編集画面の一例を示す図。The figure which shows an example of the edit screen for a common object. ページ301が表示されたページレイアウト編集画面の表示例を示す図。The figure which shows the display example of the page layout edit screen which displayed page 301. 画像編集装置が行う処理のフローチャート。A flowchart of processing performed by the image editing device. メニュー画面の一例を示す図。The figure which shows an example of a menu screen. ページ301を表示対象ページとして図4のフローチャートに従った処理を行った結果として得られるページを示す図。The figure which shows the page obtained as a result of performing the process according to the flowchart of FIG. 4 with page 301 as a display target page. ステップS406における処理の詳細を示すフローチャート。The flowchart which shows the detail of the process in step S406. 画像編集装置のハードウェア構成例を示すブロック図。The block diagram which shows the hardware configuration example of the image editing apparatus.

以下、添付図面を参照し、本発明の実施形態について説明する。 Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings.

[第1の実施形態]
先ず、本実施形態に係る画像編集装置のハードウェア構成例について、図8のブロック図を用いて説明する。画像編集装置は、PC(パーソナルコンピュータ)、タブレット型端末装置、スマートフォンなどのコンピュータ装置である。
[First Embodiment]
First, a hardware configuration example of the image editing device according to the present embodiment will be described with reference to the block diagram of FIG. The image editing device is a computer device such as a PC (personal computer), a tablet terminal device, or a smartphone.

CPU801は、RAM802やROM803に格納されているコンピュータプログラムやデータを用いて各種の処理を実行する。これによりCPU801は、画像編集装置全体の動作制御を行うと共に、画像編集装置が行うものとして後述する各処理を実行若しくは制御する。 The CPU 801 executes various processes using computer programs and data stored in the RAM 802 and the ROM 803. As a result, the CPU 801 controls the operation of the entire image editing device, and executes or controls each process described later as what the image editing device performs.

RAM802は、ROM803や外部記憶装置806からロードされたコンピュータプログラムやデータ、I/F(インターフェース)807を介して外部から受信したデータを格納するためのエリア、を有する。さらにRAM802は、CPU801が各種の処理を実行する際に用いるワークエリアを有する。このようにRAM802は各種のエリアを適宜提供することができる。ROM803には、画像編集装置の設定データや起動プログラムなどの書換不要の情報が格納されている。 The RAM 802 has a computer program and data loaded from the ROM 803 and the external storage device 806, and an area for storing data received from the outside via the I / F (interface) 807. Further, the RAM 802 has a work area used by the CPU 801 to execute various processes. As described above, the RAM 802 can appropriately provide various areas. The ROM 803 stores information that does not require rewriting, such as setting data of the image editing device and a startup program.

操作部804は、キーボード、マウス、タッチパネル画面などのユーザインターフェースであり、ユーザが操作することで各種の指示をCPU801に対して入力することができる。 The operation unit 804 is a user interface such as a keyboard, a mouse, and a touch panel screen, and various instructions can be input to the CPU 801 by the user operating the operation unit 804.

表示装置805は、液晶画面やタッチパネル画面などにより構成されており、CPU801による処理結果を画像や文字などでもって表示することができる。後述する各種の画面は表示装置805に表示される。なお、表示装置805は、画像や文字を投影するプロジェクタなどの投影装置であっても良い。 The display device 805 is composed of a liquid crystal screen, a touch panel screen, and the like, and can display the processing result by the CPU 801 with images, characters, and the like. Various screens described later are displayed on the display device 805. The display device 805 may be a projection device such as a projector that projects an image or characters.

外部記憶装置806は、ハードディスクドライブ装置などの大容量情報記憶装置である。外部記憶装置806には、OS(オペレーティングシステム)、画像編集装置が行うものとして後述する各処理をCPU801に実行若しくは制御させるためのコンピュータプログラムやデータが保存されている。外部記憶装置806に保存されているコンピュータプログラムやデータは、CPU801による制御に従って適宜RAM802にロードされ、CPU801による処理対象となる。つまり、以下に説明する各処理において使用される情報は外部記憶装置806に保存されており、必要に応じてRAM802にロードされて使用される。 The external storage device 806 is a large-capacity information storage device such as a hard disk drive device. The external storage device 806 stores computer programs and data for causing the CPU 801 to execute or control each process described later as performed by the OS (operating system) and the image editing device. The computer programs and data stored in the external storage device 806 are appropriately loaded into the RAM 802 according to the control by the CPU 801 and become the processing target by the CPU 801. That is, the information used in each process described below is stored in the external storage device 806, and is loaded and used in the RAM 802 as needed.

I/F807は、画像編集装置が外部機器との間のデータ通信を行うためのネットワークインターフェースとして機能するものである。CPU801、RAM802、ROM803、操作部804、表示装置805、外部記憶装置806、I/F807は何れもバス808に接続されている。 The I / F 807 functions as a network interface for the image editing device to perform data communication with an external device. The CPU 801 and RAM 802, ROM 803, operation unit 804, display device 805, external storage device 806, and I / F 807 are all connected to the bus 808.

図1は、ページ上のオブジェクトの配置(レイアウト)を編集するためのページデザインプログラムをCPU801が実行することで表示装置805の表示画面上に表示される画面の表示例を示す図である。図1では、この画面(ページレイアウト編集画面)にはページ101が表示されており、該ページ101上には、該ページ101に対してユーザが操作部804を操作(ユーザ操作)することで配置したオブジェクト111,112が配置されている。また、このページ101上には、該ページ101を含む複数ページ上に共通に配置される共通オブジェクト211も配置されている。図1に示す如く、オブジェクト111およびオブジェクト112は、ページ101上で互いに重なり等の干渉がない配置位置およびサイズのオブジェクトである。また、図1に示す如く、ページ101上では、オブジェクト111およびオブジェクト112は共通オブジェクト211との間で重なりなどの干渉がない。共通オブジェクト211の配置(位置、回転角度、サイズなど)の編集は、共通オブジェクト用の編集画面にて行われ、図1の画面では編集できない。 FIG. 1 is a diagram showing a display example of a screen displayed on the display screen of the display device 805 when the CPU 801 executes a page design program for editing the arrangement (layout) of objects on the page. In FIG. 1, a page 101 is displayed on this screen (page layout editing screen), and the page 101 is arranged on the page 101 by a user operating the operation unit 804 (user operation) on the page 101. The objects 111 and 112 are arranged. Further, on this page 101, a common object 211 that is commonly arranged on a plurality of pages including the page 101 is also arranged. As shown in FIG. 1, the object 111 and the object 112 are objects having an arrangement position and a size on the page 101 so as not to overlap each other or interfere with each other. Further, as shown in FIG. 1, on page 101, the object 111 and the object 112 do not interfere with the common object 211 such as overlapping. The arrangement (position, rotation angle, size, etc.) of the common object 211 is edited on the edit screen for the common object, and cannot be edited on the screen of FIG.

共通オブジェクト用の編集画面の一例を図2に示す。図2に示す如く、共通オブジェクト用の編集画面では、ページの枠201内に共通オブジェクト211のみが表示され、ユーザは操作部804を操作して枠201内で共通オブジェクト211の配置を設定する。共通オブジェクト用の編集画面にて設定された共通オブジェクト211の配置は、各ページにおける共通オブジェクト211の配置となる。 FIG. 2 shows an example of the editing screen for the common object. As shown in FIG. 2, on the edit screen for the common object, only the common object 211 is displayed in the frame 201 of the page, and the user operates the operation unit 804 to set the arrangement of the common object 211 in the frame 201. The arrangement of the common object 211 set on the edit screen for the common object is the arrangement of the common object 211 on each page.

図1のページ101とは異なるページ301が表示されたページレイアウト編集画面の表示例を図3に示す。ページ301上には、該ページ301に対してユーザが操作部804を操作することで配置したオブジェクト311,312,313が配置されている。また、このページ301上にも上記の共通オブジェクト211が配置されている。図3に示す如く、ページ301上では、オブジェクト313は共通オブジェクト211との間で重なりなどの干渉がある。本実施形態では、このようなページ301については、オブジェクト311,312,313と干渉しないように共通オブジェクト211の配置を変更する。 FIG. 3 shows a display example of a page layout edit screen in which a page 301 different from the page 101 of FIG. 1 is displayed. Objects 311, 312, and 313 arranged by the user operating the operation unit 804 with respect to the page 301 are arranged on the page 301. Further, the above-mentioned common object 211 is also arranged on this page 301. As shown in FIG. 3, on page 301, the object 313 has interference such as overlapping with the common object 211. In the present embodiment, for such page 301, the arrangement of the common object 211 is changed so as not to interfere with the objects 311, 312, 313.

複数ページのうち表示装置805に表示させるページとしてユーザが操作部804を操作することで指定した表示対象ページをページレイアウト編集画面に表示した場合に画像編集装置が行う処理について、図4のフローチャートに従って説明する。図4のフローチャートに従った処理は、ページレイアウト編集画面を表示している間繰り返し実行される。なお以下では、共通オブジェクトではないオブジェクトを共通オブジェクトと区別するために、非共通オブジェクトと称する。 According to the flowchart of FIG. 4, the process performed by the image editing device when the display target page specified by the user operating the operation unit 804 as the page to be displayed on the display device 805 among the plurality of pages is displayed on the page layout editing screen. explain. The process according to the flowchart of FIG. 4 is repeatedly executed while the page layout edit screen is displayed. In the following, in order to distinguish an object that is not a common object from a common object, it is referred to as a non-common object.

ステップS401では、CPU801は、表示対象ページの履歴を参照し、該表示対象ページにおいて過去に共通オブジェクトの配置を変更したか否かを判断する。この判断の結果、表示対象ページにおいて過去に共通オブジェクトの配置を変更していない場合には、処理はステップS402に進み、表示対象ページにおいて過去に共通オブジェクトの配置を変更した場合には、処理はステップS408に進む。 In step S401, the CPU 801 refers to the history of the display target page and determines whether or not the arrangement of the common objects has been changed in the past on the display target page. As a result of this determination, if the arrangement of the common objects has not been changed in the past on the display target page, the process proceeds to step S402, and if the arrangement of the common objects has been changed in the past on the display target page, the process proceeds. The process proceeds to step S408.

ステップS402では、CPU801は、表示対象ページ上における共通オブジェクトの領域を規定する共通オブジェクト領域情報を外部記憶装置806からRAM802に取得する。共通オブジェクト領域情報は、例えば、「表示対象ページにおける共通オブジェクトの領域の左上隅の位置」と「共通オブジェクトの領域の縦サイズおよび横サイズ」とのセットである。しかし共通オブジェクト領域情報は、例えば、表示対象ページにおける共通オブジェクトの領域の左上隅の位置と右下隅の位置のセットであっても良いし、四隅の位置のセットであっても良い。 In step S402, the CPU 801 acquires the common object area information defining the area of the common object on the display target page from the external storage device 806 to the RAM 802. The common object area information is, for example, a set of "the position of the upper left corner of the common object area on the display target page" and "the vertical size and the horizontal size of the common object area". However, the common object area information may be, for example, a set of the positions of the upper left corner and the position of the lower right corner of the area of the common object on the display target page, or may be a set of the positions of the four corners.

ステップS403では、CPU801は、表示対象ページ上における非共通オブジェクトの領域を規定する非共通オブジェクト領域情報を外部記憶装置806からRAM802に取得する。非共通オブジェクト領域情報は、例えば、「表示対象ページにおける非共通オブジェクトの領域の左上隅の位置」と「非共通オブジェクトの領域の縦サイズおよび横サイズ」とのセットである。しかし非共通オブジェクト領域情報は、例えば、表示対象ページにおける非共通オブジェクトの領域の左上隅の位置と右下隅の位置のセットであっても良いし、四隅の位置のセットであっても良い。 In step S403, the CPU 801 acquires the non-common object area information defining the non-common object area on the display target page from the external storage device 806 to the RAM 802. The non-common object area information is, for example, a set of "position of the upper left corner of the non-common object area on the display target page" and "vertical size and horizontal size of the non-common object area". However, the non-common object area information may be, for example, a set of the positions of the upper left corner and the position of the lower right corner of the non-common object area on the display target page, or may be a set of the positions of the four corners.

ステップS404では、CPU801は、共通オブジェクト領域情報と非共通オブジェクト領域情報とを用いて、共通オブジェクトと非共通オブジェクトとが表示対象ページ上で互いに干渉しているか否かを判断する。つまり、CPU801は、共通オブジェクト領域情報が表す共通オブジェクトの領域と非共通オブジェクト領域情報が示す非共通オブジェクトの領域とに重なりなどの干渉が生じているか否かを判断する。 In step S404, the CPU 801 uses the common object area information and the non-common object area information to determine whether or not the common object and the non-common object interfere with each other on the display target page. That is, the CPU 801 determines whether or not there is interference such as overlap between the area of the common object represented by the common object area information and the area of the non-common object indicated by the non-common object area information.

この判断の結果、共通オブジェクトと非共通オブジェクトとが表示対象ページ上で互いに干渉していない場合には、処理はステップS405に進む。一方、共通オブジェクトと非共通オブジェクトとが表示対象ページ上で互いに干渉している場合には、処理はステップS406に進む。 As a result of this determination, if the common object and the non-common object do not interfere with each other on the display target page, the process proceeds to step S405. On the other hand, when the common object and the non-common object interfere with each other on the display target page, the process proceeds to step S406.

ステップS405では、CPU801は、表示対象ページにおける共通オブジェクトの配置を変更することなく、非共通オブジェクトおよび共通オブジェクトが配置された該表示対象ページを表示装置805にて表示する。 In step S405, the CPU 801 displays the display target page on which the non-common objects and the common objects are arranged on the display device 805 without changing the arrangement of the common objects on the display target page.

一方、ステップS406では、CPU801は、表示対象ページ上で非共通オブジェクトと干渉しないような該表示対象ページ上における共通オブジェクトの配置を探索する。そしてこの探索の結果、表示対象ページ上で非共通オブジェクトと干渉しないような該表示対象ページ上における共通オブジェクトの配置が見つかれば、処理はステップS407に進む。一方、表示対象ページ上で非共通オブジェクトと干渉しないような該表示対象ページ上における共通オブジェクトの配置が見つからなかった場合には、処理はステップS405に進む。ステップS406における処理の詳細については、図7を用いて後述する。 On the other hand, in step S406, the CPU 801 searches for the arrangement of the common objects on the display target page so as not to interfere with the non-common objects on the display target page. Then, as a result of this search, if the arrangement of the common objects on the display target page that does not interfere with the non-common objects is found on the display target page, the process proceeds to step S407. On the other hand, if the arrangement of the common objects on the display target page that does not interfere with the non-common objects is not found on the display target page, the process proceeds to step S405. Details of the process in step S406 will be described later with reference to FIG. 7.

ステップS407では、CPU801は、共通オブジェクトの配置をステップS406において見つけた配置に変更する。そしてさらにCPU801は、共通オブジェクトの配置を変更したことを示すフラグ情報と、本ステップにて配置を変更する前の共通オブジェクトの共通オブジェクト領域情報と、を表示対象ページの履歴に格納する。上記のステップS401では、CPU801は、表示対象ページの履歴にフラグ情報が格納されている場合には、表示対象ページにおいて過去に共通オブジェクトの配置を変更したと判断し、表示対象ページの履歴にフラグ情報が格納されていない場合には、表示対象ページにおいて過去に共通オブジェクトの配置は変更していないと判断する。そしてCPU801は、非共通オブジェクトおよび配置が変更後の共通オブジェクトを含む表示対象ページを表示装置805にて表示する。 In step S407, the CPU 801 changes the arrangement of the common objects to the arrangement found in step S406. Further, the CPU 801 stores the flag information indicating that the arrangement of the common object has been changed and the common object area information of the common object before the arrangement is changed in this step in the history of the display target page. In step S401 described above, when the flag information is stored in the history of the display target page, the CPU 801 determines that the arrangement of the common objects has been changed in the past on the display target page, and flags the display target page history. If the information is not stored, it is determined that the arrangement of common objects has not been changed in the past on the display target page. Then, the CPU 801 displays the display target page including the non-common object and the common object whose arrangement has been changed on the display device 805.

一方、ステップS408では、CPU801は、表示対象ページの履歴から、変更前の配置の共通オブジェクトの共通オブジェクト領域情報を取得する。そしてステップS409では、CPU801は、表示対象ページ上における非共通オブジェクトの領域を規定する非共通オブジェクト領域情報を外部記憶装置806からRAM802に取得する。 On the other hand, in step S408, the CPU 801 acquires the common object area information of the common object of the arrangement before the change from the history of the display target page. Then, in step S409, the CPU 801 acquires the non-common object area information defining the non-common object area on the display target page from the external storage device 806 to the RAM 802.

ステップS410では、CPU801は、ステップS408で取得した共通オブジェクト領域情報が表す領域とステップS409で取得した非共通オブジェクト領域情報が表す領域と、が表示対象ページ上で互いに干渉しているか否かを判断する。 In step S410, the CPU 801 determines whether or not the area represented by the common object area information acquired in step S408 and the area represented by the non-common object area information acquired in step S409 interfere with each other on the display target page. To do.

この判断の結果、ステップS408で取得した共通オブジェクト領域情報が表す領域とステップS409で取得した非共通オブジェクト領域情報が表す領域と、が表示対象ページ上で互いに干渉していない場合には、処理はステップS411に進む。一方、ステップS408で取得した共通オブジェクト領域情報が表す領域とステップS409で取得した非共通オブジェクト領域情報が表す領域と、が表示対象ページ上で互いに干渉している場合には、処理はステップS412に進む。 As a result of this determination, if the area represented by the common object area information acquired in step S408 and the area represented by the non-common object area information acquired in step S409 do not interfere with each other on the display target page, the processing is performed. The process proceeds to step S411. On the other hand, when the area represented by the common object area information acquired in step S408 and the area represented by the non-common object area information acquired in step S409 interfere with each other on the display target page, the process proceeds to step S412. move on.

ステップS411では、CPU801は、表示対象ページにおける共通オブジェクトの配置を、変更前の配置(ステップS408で取得した共通オブジェクト領域情報が表す領域の配置)に戻し、非共通オブジェクトおよび変更前の配置に戻した共通オブジェクトを含む表示対象ページを表示装置805にて表示する。 In step S411, the CPU 801 returns the arrangement of the common objects on the display target page to the arrangement before the change (the arrangement of the area represented by the common object area information acquired in step S408), and returns to the non-common objects and the arrangement before the change. The display target page including the common object is displayed on the display device 805.

つまり、ステップS401において、共通オブジェクトを移動して表示したことがある場合には、変更前の配置に戻しても共通オブジェクトと非共通オブジェクトとが干渉しなくなっているか否かを監視し、干渉しなくなっていると判断される場合は、変更前の配置に戻すことで、配置の変更を最小限にすることができる。 That is, in step S401, when the common object has been moved and displayed, it is monitored whether or not the common object and the non-common object do not interfere with each other even if the arrangement is returned to the one before the change, and the common object interferes. If it is determined that the layout has disappeared, the layout change can be minimized by returning to the layout before the change.

ステップS412では、CPU801は、表示対象ページにおける共通オブジェクトの配置を変更することなく(前回変更された配置のまま)、非共通オブジェクトおよび共通オブジェクトが配置された該表示対象ページを表示装置805にて表示する。 In step S412, the CPU 801 displays the display target page on which the non-common objects and the common objects are arranged on the display device 805 without changing the arrangement of the common objects on the display target page (the arrangement is the same as the previously changed arrangement). indicate.

図2の共通オブジェクト用の編集画面にてユーザが操作部804を操作して共通オブジェクトに係る設定を行う指示を入力したことで表示装置805に表示されるメニュー画面の一例を図5に示す。図5のメニュー画面501は、共通オブジェクトに係る設定を行うための画面で、このメニュー画面501により共通オブジェクトごとの設定を行うことができる。 FIG. 5 shows an example of a menu screen displayed on the display device 805 when the user operates the operation unit 804 on the edit screen for the common object of FIG. 2 and inputs an instruction to set the common object. The menu screen 501 of FIG. 5 is a screen for setting the common object, and the setting for each common object can be made by the menu screen 501.

領域502は、共通オブジェクトの高さ(縦サイズ)を入力するための領域であり、ユーザが操作部804を操作して該領域502に入力した値が、共通オブジェクトの高さ(縦サイズ)として設定される。 The area 502 is an area for inputting the height (vertical size) of the common object, and the value input to the area 502 by the user operating the operation unit 804 is used as the height (vertical size) of the common object. Set.

領域503は、共通オブジェクトの幅(横サイズ)を入力するための領域であり、ユーザが操作部804を操作して該領域503に入力した値が、共通オブジェクトの幅(横サイズ)として設定される。 The area 503 is an area for inputting the width (horizontal size) of the common object, and the value input to the area 503 by the user operating the operation unit 804 is set as the width (horizontal size) of the common object. The object.

チェックボックス511は、図4のフローチャートに従った処理を行うか否かを選択するためのもので、ユーザが操作部804を操作してチェックボックス511を指示してチェックボックス511をONする(チェックマークを付ける)と、図4のフローチャートに従った処理が行われ、ユーザが操作部804を操作してチェックボックス511を指示してチェックボックス511をOFFする(チェックマークを外す)と、図4のフローチャートに従った処理は行われない。 The check box 511 is for selecting whether or not to perform the process according to the flowchart of FIG. 4, and the user operates the operation unit 804 to instruct the check box 511 to turn on the check box 511 (check). (Marking), processing is performed according to the flowchart of FIG. 4, and when the user operates the operation unit 804 to instruct the check box 511 and turns off the check box 511 (removes the check mark), FIG. 4 The processing according to the flowchart of is not performed.

図3のページ301を表示対象ページとして図4のフローチャートに従った処理を行った結果として得られるページを図6に示す。図6のページ601では、オブジェクト313と干渉しないように共通オブジェクト211の配置が変更されている。なお、図6のページ601の表示後、ユーザが操作部804を操作して共通オブジェクト211と干渉しないようにオブジェクト313の位置やサイズ等を変更した場合には、共通オブジェクト211が他の非共通オブジェクトと干渉しない場合には、上記のステップS408,S409,S410,S411の処理により、共通オブジェクト211の配置は図3の共通オブジェクト211の配置に戻る。 FIG. 6 shows a page obtained as a result of performing processing according to the flowchart of FIG. 4 with page 301 of FIG. 3 as a display target page. On page 601 of FIG. 6, the arrangement of the common object 211 is changed so as not to interfere with the object 313. After the display of page 601 of FIG. 6, when the user operates the operation unit 804 to change the position, size, etc. of the object 313 so as not to interfere with the common object 211, the common object 211 is not common to other objects. If it does not interfere with the object, the arrangement of the common object 211 returns to the arrangement of the common object 211 in FIG. 3 by the processing of steps S408, S409, S410, and S411 described above.

次に、上記のステップS406における処理の詳細について、図7のフローチャートに従って説明する。 Next, the details of the process in step S406 will be described with reference to the flowchart of FIG. 7.

ステップS701では、CPU801は、共通オブジェクト領域情報を参照し、「共通オブジェクトの縦サイズ<共通オブジェクトの横サイズ」という条件を満たしているか否か、つまり、共通オブジェクトが横長のオブジェクトであるのか否かを判断する。 In step S701, the CPU 801 refers to the common object area information and determines whether or not the condition "vertical size of common object <horizontal size of common object" is satisfied, that is, whether or not the common object is a horizontally long object. To judge.

この判断の結果、「共通オブジェクトの縦サイズ<共通オブジェクト横のサイズ」(共通オブジェクトが横長のオブジェクトである)という条件を満たしている場合には、処理はステップS702に進む。一方、「共通オブジェクトの縦サイズ>共通オブジェクトの横サイズ」(共通オブジェクトが縦長のオブジェクトである)という条件を満たしている場合には、処理はステップS703に進む。 As a result of this determination, if the condition "vertical size of common object <horizontal size of common object" (the common object is a horizontally long object) is satisfied, the process proceeds to step S702. On the other hand, if the condition "vertical size of common object> horizontal size of common object" (the common object is a vertically long object) is satisfied, the process proceeds to step S703.

ステップS702では、CPU801は、共通オブジェクトが表示対象ページの上端よりも表示対象ページの下端に近いのかを判断する。例えばCPU801は、共通オブジェクトの領域内の位置(該領域の四隅のいずれかの位置、中心位置など)と表示対象ページの上端との間の距離d1が、共通オブジェクトの領域内の位置と表示対象ページの下端との間の距離d2よりも大きいか否かを判断する。 In step S702, the CPU 801 determines whether the common object is closer to the lower end of the display target page than the upper end of the display target page. For example, in the CPU 801 the distance d1 between the position in the area of the common object (the position of any of the four corners of the area, the center position, etc.) and the upper end of the display target page is the position in the area of the common object and the display target. Determine if the distance to the bottom edge of the page is greater than d2.

この判断の結果、共通オブジェクトが表示対象ページの下端よりも表示対象ページの上端に近い(d1<d2)場合には、処理はステップS704に進む。一方、共通オブジェクトが表示対象ページの上端よりも表示対象ページの下端に近い(d1>d2)場合には、処理はステップS705に進む。 As a result of this determination, if the common object is closer to the upper end of the display target page than the lower end of the display target page (d1 <d2), the process proceeds to step S704. On the other hand, when the common object is closer to the lower end of the display target page than the upper end of the display target page (d1> d2), the process proceeds to step S705.

ステップS704では、CPU801は、表示対象ページ全域を探索範囲とし、共通オブジェクトを表示対象ページの左上隅の位置から右方向に移動させて、初めて非共通オブジェクトと干渉しなくなった該共通オブジェクトの配置を探索する。 In step S704, the CPU 801 sets the entire display target page as the search range, moves the common object to the right from the position of the upper left corner of the display target page, and arranges the common object that does not interfere with the non-common object for the first time. Explore.

ステップS705では、CPU801は、表示対象ページ全域を探索範囲とし、共通オブジェクトを表示対象ページの左下隅の位置から右方向に移動させて、初めて非共通オブジェクトと干渉しなくなった該共通オブジェクトの配置を探索する。 In step S705, the CPU 801 sets the entire display target page as the search range, moves the common object to the right from the position of the lower left corner of the display target page, and arranges the common object that does not interfere with the non-common object for the first time. Explore.

ステップS703では、CPU801は、共通オブジェクトが表示対象ページの右端よりも表示対象ページの左端に近いのかを判断する。例えばCPU801は、共通オブジェクトの領域内の位置と表示対象ページの右端との間の距離d3が、共通オブジェクトの領域内の位置と表示対象ページの左端との間の距離d4よりも大きいか否かを判断する。 In step S703, the CPU 801 determines whether the common object is closer to the left edge of the display target page than to the right edge of the display target page. For example, in the CPU801, whether or not the distance d3 between the position in the area of the common object and the right edge of the display target page is larger than the distance d4 between the position in the area of the common object and the left edge of the display target page. To judge.

この判断の結果、共通オブジェクトが表示対象ページの右端よりも表示対象ページの左端に近い(d4<d3)場合には、処理はステップS706に進む。一方、共通オブジェクトが表示対象ページの左端よりも表示対象ページの右端に近い(d3<d4)場合には、処理はステップS707に進む。 As a result of this determination, if the common object is closer to the left edge of the display target page than the right edge of the display target page (d4 <d3), the process proceeds to step S706. On the other hand, when the common object is closer to the right edge of the display target page than the left edge of the display target page (d3 <d4), the process proceeds to step S707.

ステップS706では、CPU801は、表示対象ページ全域を探索範囲とし、共通オブジェクトを表示対象ページの左下隅の位置から上方向に移動させて、初めて非共通オブジェクトと干渉しなくなった該共通オブジェクトの配置を探索する。 In step S706, the CPU 801 sets the entire display target page as the search range, moves the common object upward from the position of the lower left corner of the display target page, and arranges the common object that does not interfere with the non-common object for the first time. Explore.

ステップS707では、CPU801は、表示対象ページ全域を探索範囲とし、共通オブジェクトを表示対象ページの右下隅の位置から上方向に移動させて、初めて非共通オブジェクトと干渉しなくなった該共通オブジェクトの配置を探索する。 In step S707, the CPU 801 sets the entire display target page as the search range, moves the common object upward from the position of the lower right corner of the display target page, and arranges the common object that does not interfere with the non-common object for the first time. Explore.

なお、ステップS704,S705,S706,S707では、表示対象ページ全域を探索範囲としている。しかし、予め指定された範囲を探索範囲としても良い。また、ステップS704,S705,S706,S707のそれぞれにおける共通オブジェクトの移動の開始点及び移動方向は上記の例に限らない。 In steps S704, S705, S706, and S707, the entire display target page is set as the search range. However, a range specified in advance may be used as the search range. Further, the start point and the movement direction of the movement of the common object in each of steps S704, S705, S706, and S707 are not limited to the above examples.

ステップS708では、CPU801は、ステップS704,S705,S706,S707のうち実行した処理ステップにおいて「初めて非共通オブジェクトと干渉しなくなった共通オブジェクトの配置」が見つかったのか否かを判断する。この判断の結果、「初めて非共通オブジェクトと干渉しなくなった共通オブジェクトの配置」が見つかった場合には、「表示対象ページ上で非共通オブジェクトと干渉しないような該表示対象ページ上における共通オブジェクトの配置が見つかった」と判断する。一方、「初めて非共通オブジェクトと干渉しなくなった共通オブジェクトの配置」が見つからなかった場合には、「表示対象ページ上で非共通オブジェクトと干渉しないような該表示対象ページ上における共通オブジェクトの配置が見つからなかった」と判断する。 In step S708, the CPU 801 determines whether or not "arrangement of common objects that no longer interfere with non-common objects for the first time" is found in the processing step executed in steps S704, S705, S706, and S707. As a result of this judgment, when "arrangement of common objects that do not interfere with non-common objects for the first time" is found, "the common objects on the display target page that do not interfere with the non-common objects on the display target page" The placement was found. " On the other hand, if "arrangement of common objects that no longer interfere with non-common objects for the first time" is not found, "arrangement of common objects on the display target page that does not interfere with non-common objects on the display target page is performed. I couldn't find it. "

このように、本実施形態によれば、共通オブジェクトの配置を自動的に調整するため、同じページ内で共通オブジェクトと非共通オブジェクトとが干渉した場合の、ユーザの作業の手間を軽減させることができる。 As described above, according to the present embodiment, since the arrangement of the common objects is automatically adjusted, it is possible to reduce the labor of the user's work when the common objects and the non-common objects interfere with each other on the same page. it can.

なお、上記の「共通オブジェクト/非共通オブジェクトの配置」は、共通オブジェクト/非共通オブジェクトの位置、姿勢(回転角度)、サイズ等のうち1つ以上を含むものとしている。また、共通オブジェクト/非共通オブジェクトは、文字列に限らず、図形や画像等、他の種類のオブジェクトであっても良い。 The above-mentioned "arrangement of common objects / non-common objects" includes one or more of the positions, postures (rotation angles), sizes, etc. of common objects / non-common objects. Further, the common object / non-common object is not limited to a character string, and may be another type of object such as a figure or an image.

[第2の実施形態]
CPU801は、1つのページにおいて共通オブジェクトの配置変更を行った場合には、同様の配置変更を他のページについて行うようにしても良い。例えば、CPU801は、ページAにおいて共通オブジェクトの配置変更を行ったことを検知すると、他のページB、C,…における共通オブジェクトについても、ページAにおける共通オブジェクトの配置変更と同様の配置変更を行う。
[Second Embodiment]
When the arrangement of common objects is changed on one page, the CPU 801 may make the same arrangement change on other pages. For example, when the CPU 801 detects that the arrangement of the common objects has been changed on the page A, the CPU 801 also changes the arrangement of the common objects on the other pages B, C, ... In the same manner as the arrangement of the common objects on the page A. ..

[第3の実施形態]
外部記憶装置806に保存されているものとして説明した上記の情報(ページ、共通オブジェクト領域情報、非共通オブジェクト領域情報、履歴など)の一部若しくは全部を外部の装置に保存しておき、必要に応じてI/F807を介してRAM802にダウンロードして取得するようにしても良い。
[Third Embodiment]
Some or all of the above information (pages, common object area information, non-common object area information, history, etc.) described as being stored in the external storage device 806 is stored in the external device, and it is necessary. Accordingly, it may be downloaded to the RAM 802 via the I / F 807 and acquired.

また、CPU801は、上記のようにして作成された各ページのデータを外部記憶装置806等の記憶装置に保存しても良いし、該各ページのうち1つ以上のページのデータから印刷データを生成し、該生成した印刷データをI/F807に接続されている印刷装置に送出することで該1つ以上のページを紙などの記録媒体に印刷させても良い。 Further, the CPU 801 may save the data of each page created as described above in a storage device such as an external storage device 806, or print data from the data of one or more pages of the respective pages. The one or more pages may be printed on a recording medium such as paper by generating and sending the generated print data to a printing device connected to the I / F 807.

[第4の実施形態]
以上説明した画面の構成やその操作方法、具体的な数値は一例であり、以上説明した各実施形態は、上記の画面の構成やその操作方法、上記の具体的な数値に限定することを意図したものではない。また、以上説明した各実施形態の一部若しくは全部は適宜組み合わせて使用しても構わないし、選択的に使用しても構わない。
[Fourth Embodiment]
The screen configuration, its operation method, and specific numerical values described above are examples, and each embodiment described above is intended to be limited to the screen configuration, its operation method, and the specific numerical values described above. Not what I did. In addition, some or all of the above-described embodiments may be used in combination as appropriate, or may be selectively used.

801:CPU 802:RAM 803:ROM 804:操作部 805:表示装置 806:外部記憶装置 807:I/F 808:バス 801: CPU 802: RAM 803: ROM 804: Operation unit 805: Display device 806: External storage device 807: I / F 808: Bus

Claims (6)

複数ページのうち表示対象ページ上にユーザ操作に応じて配置されたページオブジェクトと、該複数ページのそれぞれに共通して配置されている共通オブジェクトと、が前記表示対象ページ上で干渉しているか否かを判断する判断手段と、
前記判断手段により前記ページオブジェクトと前記共通オブジェクトとが前記表示対象ページ上で干渉していると判断される場合には、前記ページオブジェクトと前記共通オブジェクトとが前記表示対象ページ上で干渉しないように、前記表示対象ページ上における前記共通オブジェクトの配置を変更する変更手段と
を備えることを特徴とする画像編集装置。
Whether or not the page object arranged on the display target page among the plurality of pages according to the user operation and the common object commonly arranged on each of the plurality of pages interfere with each other on the display target page. Judgment means to judge whether
When it is determined by the determination means that the page object and the common object interfere with each other on the display target page, the page object and the common object should not interfere with each other on the display target page. , An image editing device comprising a changing means for changing the arrangement of the common object on the display target page.
前記変更手段は、
前記ページオブジェクトと前記共通オブジェクトとが前記表示対象ページ上で干渉していると判断される場合には、前記ページオブジェクトと前記共通オブジェクトとが前記表示対象ページ上で干渉しないように、前記表示対象ページ上における前記共通オブジェクトの配置を探索する探索手段を備えることを特徴とする請求項1に記載の画像編集装置。
The changing means
When it is determined that the page object and the common object interfere with each other on the display target page, the display target is prevented so that the page object and the common object do not interfere with each other on the display target page. The image editing device according to claim 1, further comprising a search means for searching the arrangement of the common object on the page.
前記探索手段は、
前記共通オブジェクトが縦長のオブジェクトであるのか横長のオブジェクトであるのか、前記共通オブジェクトが前記表示対象ページの上端、下端、左端、右端の何れにより近いのか、に応じた前記表示対象ページ上の位置から前記探索を行うことを特徴とする請求項2に記載の画像編集装置。
The search means
From the position on the display target page according to whether the common object is a vertically long object or a horizontally long object, and whether the common object is closer to the upper end, the lower end, the left end, or the right end of the display target page. The image editing apparatus according to claim 2, wherein the search is performed.
前記判断手段は、
前記変更手段により配置が変更される前の共通オブジェクトと、前記ページオブジェクトと、が前記表示対象ページ上で干渉しなくなったか否かを監視し、該監視により干渉しなくなったと判断される場合には、前記変更手段は前記共通オブジェクトの配置を変更する前の配置に戻すことを特徴とする請求項1乃至3の何れか1項に記載の画像編集装置。
The judgment means is
It monitors whether or not the common object before the arrangement is changed by the changing means and the page object no longer interfere with each other on the display target page, and when it is determined by the monitoring that the common object no longer interferes. The image editing device according to any one of claims 1 to 3, wherein the changing means returns the arrangement of the common object to the arrangement before the change.
画像編集装置が行う画像編集方法であって、
前記画像編集装置の判断手段が、複数ページのうち表示対象ページ上にユーザ操作に応じて配置されたページオブジェクトと、該複数ページのそれぞれに共通して配置されている共通オブジェクトと、が前記表示対象ページ上で干渉しているか否かを判断する判断工程と、
前記判断工程において前記ページオブジェクトと前記共通オブジェクトとが前記表示対象ページ上で干渉していると判断される場合には、前記画像編集装置の変更手段が、前記ページオブジェクトと前記共通オブジェクトとが前記表示対象ページ上で干渉しないように、前記表示対象ページ上における前記共通オブジェクトの配置を変更する変更工程と
を備えることを特徴とする画像編集方法。
This is an image editing method performed by an image editing device.
Of the plurality of pages, the determination means of the image editing device includes a page object arranged on the display target page according to a user operation and a common object commonly arranged on each of the plurality of pages. Judgment process to judge whether or not there is interference on the target page,
When it is determined in the determination step that the page object and the common object interfere with each other on the display target page, the changing means of the image editing device is such that the page object and the common object are the same. An image editing method comprising a change step of changing the arrangement of the common object on the display target page so as not to interfere with the display target page.
コンピュータを、請求項1乃至4の何れか1項に記載の画像編集装置の各手段として機能させるためのコンピュータプログラム。 A computer program for causing a computer to function as each means of the image editing device according to any one of claims 1 to 4.
JP2019038736A 2019-03-04 2019-03-04 Image editing device and image editing method Pending JP2020144453A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019038736A JP2020144453A (en) 2019-03-04 2019-03-04 Image editing device and image editing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019038736A JP2020144453A (en) 2019-03-04 2019-03-04 Image editing device and image editing method

Publications (1)

Publication Number Publication Date
JP2020144453A true JP2020144453A (en) 2020-09-10

Family

ID=72353635

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019038736A Pending JP2020144453A (en) 2019-03-04 2019-03-04 Image editing device and image editing method

Country Status (1)

Country Link
JP (1) JP2020144453A (en)

Similar Documents

Publication Publication Date Title
JP6569415B2 (en) Display input device, image forming apparatus, electronic apparatus, display control method, and program
JP6333027B2 (en) Printing system, printing control apparatus, printing apparatus, program, and storage medium
JP4940656B2 (en) Dialog display change method, program, and electronic device
JP2000020213A (en) Apparatus and method for information processing and computer-readable recording medium where program for allowing computer to implement the same method is recorded
JP2014089597A (en) Information processing apparatus, information processing method, and program
JP2020144453A (en) Image editing device and image editing method
JP2020145508A (en) Image editing device and image editing method
JP2020144454A (en) Image editing device and image editing method
JPH05197470A (en) Keyboard device
JP2005142614A (en) Scanner driver program, information processing apparatus, and copy system
JP2021026705A (en) Information processing apparatus, control method, and program
JPS63302083A (en) Printer
JP2015203919A (en) information processing apparatus, information processing method, and program
JP6223114B2 (en) Drawing editor device and its program
JP6857277B1 (en) Information processing device, PDF file generation method, and PDF file generation program
JP2020145507A (en) Image editing device and image editing method
US11212400B2 (en) Information processing apparatus and non-transitory computer readable medium
JP6885243B2 (en) Computer program for terminal equipment
JP4347020B2 (en) Setting information registration device
JPH03282589A (en) Document preparing device
JP3608921B2 (en) Line drawing processing method and apparatus, and recording medium on which program for executing the processing is recorded
JP2003058138A (en) Display control method and display device
JPH0644251A (en) Menu display method
JPH06266706A (en) Word processor with character size changing function
JP2000001026A (en) Apparatus and method for processing information

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20210203