This application is based on and claims priority under 35 USC 119 from Japanese Patent Application No. 2019-229116 filed on Dec. 19, 2019.
The present invention relates to a document processing apparatus, a document processing system, and a non-transitory computer readable medium storing a program.
A configuration of a document related to sales promotion, such as a direct mail or a flyer, is basically fixed. Therefore, a document can be efficiently created by preparing several templates, selecting a template in a case where the document is created, and applying a predetermined posting item into a corresponding area of the template.
For example, JP2000-227914A discloses a technique in which a list of contents to be incorporated into a document is prepared in advance and contents to be associated with a layout frame is manually selected from the list of contents for the layout frame provided in the document.
JP5466357B is an example of the related art.
By the way, a document is usually created for some purpose. For example, in a case where the document is for opening a renovated store, contents may be incorporated into an interior photograph of the store such that a store atmosphere can be understood to attract customers.
However, in the related art, although a purpose of a document to be created is clear, a layout frame for embedding information required to be incorporated into a template prepared in advance may be not provided, or information required to be incorporated into the document may be forgotten to be assigned. As a result, a case may occur in which a document having insufficient content to achieve the purpose is created.
Aspects of non-limiting embodiments of the present disclosure relate to a document processing apparatus, a document processing system, and a non-transitory computer readable medium storing a program that support creation of a document fit for a purpose of the document to be created in a case where the document is created by disposing elements constituting the document, compared with a case where the document is created without considering the purpose of the document to be created.
Aspects of certain non-limiting embodiments of the present disclosure overcome the above disadvantages and/or other disadvantages not described above. However, aspects of the non-limiting embodiments are not required to overcome the disadvantages described above, and aspects of the non-limiting embodiments of the present disclosure may not overcome any of the disadvantages described above.
According to an aspect of the present disclosure, there is provided a document processing apparatus including a processor configured to receive purpose information indicating a purpose of creating a document, extract item definition information corresponding to the purpose indicated by the received purpose information from item definition information stored in a memory for the item definition information in which one or more items to be posted in the document are defined in correspondence with the purpose of creating the document, extract an item value corresponding to each item defined in the extracted item definition information from item information stored in a memory for the item information including the item value of each item, and assign the extracted item value in each predetermined area of the document to create the document.
Exemplary embodiment(s) of the present invention will be described in detail based on the following figures, wherein:
Hereinafter, an exemplary embodiment of the present invention will be described based on drawings.
The purpose information reception unit 11 receives purpose information indicating a purpose of creating a document designated by a user. The posting item setting unit 12 extracts item definition information corresponding to the purpose indicated by the received purpose information from the item definition information stored in the item definition information storage unit 21 to specify a posting item, fit for the purpose of creating the document, in the document. Although details will be described below, in the present exemplary embodiment, an item to be posted in the document may be referred to “posting item” other than “item” to clarify a difference from “information items” in which one or more items to be posted in the document are summarized. The content acquisition unit 13 selects a content set that matches a combination of the posting items defined by the extracted item definition information from the content sets stored in the content set storage unit 22 to acquire an item value of a posting item to be actually posted in the document, that is, the content data. In the present exemplary embodiment, the item value of the posting item, “content”, and “content data” are used in the same meaning.
The layout setting unit 14 acquires layout information corresponding to a combination of the specified information items from the layout information stored in the layout information storage unit 23 to set a layout of the document. The document creation unit 15 applies the content acquired by the content acquisition unit 13 into a predetermined area (hereinafter also referred to as “layout frame”) on the layout set by the layout setting unit 14 to create the document. The editing unit 16 allows the user to perform editing work such as adjusting a size of the layout frame for the content positioned by the document creation unit 15. The content set registration unit 17 allows the user to perform registration work of registering the content set in the content set storage unit 22.
The information item configuration information shown in
In the present exemplary embodiment, the case where the purpose is designated by four items is described as an example. However, the number and types of items indicating the purpose are not necessary to be limited thereto. Further, a plurality of pieces of information item information having different combinations of constituent information items may be set in correspondence with the same item values designated in the purpose information, that is, the same purpose. That is, a plurality of pieces of information item configuration information having an identical purpose may be defined. The number of variations of document to be completed increases as the number of pieces of information item configuration information defined for an identical purpose increases.
In the posting item configuration information shown in
In the present exemplary embodiment, as shown in
The information item layout information shown in
The posting item layout information shown in
The document processing apparatus according to the present exemplary embodiment can be formed by a hardware configuration of a general-purpose computer such as a personal computer (PC). That is, the document processing apparatus has a memory such as a CPU, a ROM, a RAM, or a hard disk drive (HDD), and a communicator such as a user interface or a network interface.
Each of the components 11 to 17 in the document processing apparatus 10 is formed by a cooperative operation of a computer forming the document processing apparatus 10 and a program operated by a CPU mounted on the computer. Each of the storage units 21 to 23 is formed by an HDD mounted on the document processing apparatus 10.
Alternatively, the document processing apparatus may be configured of cloud or a plurality of computers. For example, the components 11 to 17 and the storage units 21 to 23 may be assigned on different computers, and the computer equipped with the components 11 to 17 may use the external storage units 21 to 23 through a network.
The program used in the present exemplary embodiment can be provided not only by the communicator but also by being stored in a computer-readable recording medium such as a CD-ROM or a USB memory. The program provided from the communicator or the recording medium is installed in the computer, and the CPU of the computer sequentially executes the program to realize various pieces of processing.
Next, an operation in the present exemplary embodiment will be described. A feature of the present exemplary embodiment is to support the creation of the document fit for the purpose. However, in order to create the document fit for the purpose, there is a need to set in advance the information described above in the item definition information storage unit 21, the content set storage unit 22, and the layout information storage unit 23. The item definition information and the layout information are set in advance by a document creation service company side that owns the document processing apparatus 10. On the other hand, the information on at least the combination of the information item, the posting item, or the content data in the content set needs to be provided by the user side as described above. Therefore, the content set registration unit 17 generates a content set based on the information provided by the user and registers the generated content set in the content set storage unit 22. The document to be created in the present exemplary embodiment will be described assuming a document configured of one page, such as a flyer, a pop, a banner image, or a direct mail, for convenience of description.
Hereinafter, the document creation processing according to the present exemplary embodiment will be described with reference to a flowchart shown in
First, the user inputs a document creation purpose from a predetermined purpose designation screen. In the present exemplary embodiment, the industry type, the sales promotion purpose, the document type, and the target customer are exemplified as the items for designating the purpose. Therefore, an item value is designated for each item. For example, the user may manually input the item value of each item. However, in the present exemplary embodiment, a pull-down menu for displaying the item values in a list is prepared for each item, and the user selects an item value that matches the purpose from the pull-down menu. Basically, the user designates one item value for each item, but may not perform the designation for all items. Further, a plurality of item values may be designated for one item.
In the present exemplary embodiment, a case is assumed in which a service provided by the document creation service company that owns the document processing apparatus 10 is used by an external user. Therefore, an employee of the document creation service company may find out the purpose from the user and input the purpose to the document processing apparatus 10. Alternatively, the user may access the document processing apparatus 10 from a terminal such as a PC used by the user through a network such as the Internet. In the case, the user performs a predetermined operation to cause the browser to display the purpose designation screen transmitted from the document processing apparatus 10 on the PC and designates the item value of each item indicating the purpose. The purpose information reception unit 11 receives the purpose information including the item value of each item indicating the purpose designated as described above (step S101).
Subsequently, the posting item setting unit 12 extracts information item information corresponding to a combination of the item values of respective items included in the purpose information from the information item configuration information shown in
By the way, the user does not always designate all items indicating the purpose from the purpose designation screen as described above. In the case, the item definition information corresponding to the designated item value for the purpose is retrieved and acquired. Therefore, a plurality of pieces of item definition information may be used. For example, in a case where the user designates “apparel shop” as the industry type, “renovated store opening announcement” as the sales promotion purpose, and “direct mail” as the document type, but does not designate the target customer, the posting item setting unit 12 acquires records of record numbers 1 and 2 that match the designated items. A plurality of pieces of information item configuration information having the same purpose may be registered in the item definition information storage unit 21. In the case, the posting item setting unit 12 also acquires the plurality of pieces of information item information. As described above, in the case where the plurality of pieces of information item information corresponding to the purpose indicated by the received purpose information is stored in the information item configuration information of the item definition information storage unit 21, the posting item setting unit 12 may present the plurality of pieces of information item configuration information corresponding to the purpose to the user and allow the user to select one record, that is, one piece of information item information from the presented pieces of information item configuration information. Alternatively, for example, the posting item setting unit 12 may automatically perform the selection in accordance with a predetermined selection criterion such as information item information having a smaller record number, information item information having a larger number of selections in the past, or weighting of respective items constituting the purpose to calculate a degree of purpose matching. The information item information corresponding to the designated purpose is extracted from the information item configuration information set in the item definition information storage unit 21, similar to the case where the plurality of item values are selected for one item.
Subsequently, the posting item setting unit 12 extracts a posting item corresponding to the information item determined in step S102 from the posting item configuration information shown in
Subsequently, the content acquisition unit 13 acquires content to be incorporated in correspondence with each of the determined posting items (step S104). In step S103, the posting item setting unit 12 determines the posting item to be incorporated in each information item determined in step S102. For example, in a case where determination is made that the posting item for the information item “theme” is configured of a combination of “main copy”, “sub copy”, and “image photograph”, the content acquisition unit 13 extracts a content set in which the information item is “theme” and the posting item is configured of the combination of “main copy”, “sub copy”, and “image photograph” from the content sets stored in the content set storage unit 22 to acquire the content included in the content set. According to the setting example shown in
As described above, in a case where the content acquisition unit 13 determines the content corresponding to the item to be posted in the document, the layout setting unit 14 first sets a layout of the information items (step S105). The information item layout information shown in
In a case where the layout of the information items is set as described above, next, the layout setting unit 14 sets a layout of respective posting items constituting the information item (step S106). That is, the document creation unit 15 assigns the contents of the posting items in the layout frame for the information items laid out in the document, and the layout setting unit 14 selects the posting item layout information to be used for the disposition. In a case where only one piece of posting item layout information having the same constituent posting items is set for one information item, the layout setting unit 14 can automatically specify the information item as the one piece of posting item layout information. As shown in the posting item layout information 36 and 37 shown in
As described above, in a case where the disposition of the information items in the document and the disposition of the posting items in the layout frame for the information items are set, the document creation unit 15 applies and assigns each content acquired by the content acquisition unit 13 into an area, set by the layout setting unit 14, where the corresponding posting items are posted (hereinafter referred to as a “posting frame”) to create the document (step S107).
The document can be created as described above. However, there may be an imbalance between a size of the content and a size of the posting frame for the corresponding posting item. The content may be expanded or reduced to cope with the imbalance, of course. However, the content may be difficult to visually recognize in a case where the content is reduced too much, for example. There is a need to consider a balance of contents in the entire document. In the present exemplary embodiment, the editing unit 16 is provided. The editing unit 16 displays the document created by the document creation unit 15 on the PC used by the user. The sizes of the layout frame for the information item and the posting frame for the posting item included in each information item are adjusted. As described above, the user may adjust the balance of the contents in the document to complete the document. Alternatively, instead of always causing the user to make adjustments, the editing unit 16 may compare the size of the content with the size of the posting frame for the corresponding posting item, and automatically adjust the content in a case where a difference therebetween is within a predetermined threshold value and allow the user to adjust the content as described above in a case where the difference exceeds the threshold value.
As described above, according to the present exemplary embodiment, the user is allowed to designate the purpose of creating a document and the document can be created without omitting the item fit for the purpose of creating the document. For example, in a case where one piece of information item configuration information corresponding to the purpose, one piece of posting item configuration information corresponding to each information item constituting the information item information included in the information item configuration information, one piece of information item layout information corresponding to the information item information, and one piece of posting item layout information corresponding to each information item included in the information item layout information are set in each of the storage units 21 to 23, the document processing apparatus 10 can automatically create the document in a case where the purpose of the document is designated. However, in the case, a document having the same layout is created for the same purpose. Therefore, as described above, the plurality of pieces of information item configuration information are set for the same purpose, the plurality of pieces of posting item configuration information are set for the same information item, the plurality of pieces of information item layout information are set for the same information item information, and the plurality of pieces of posting item layout information are set for the same information item, and thus various variations of documents, in other words, documents having different layouts can be created for the same purpose.
In the embodiments above, the term “processor” refers to hardware in a broad sense. Examples of the processor includes general processors (e.g., CPU: Central Processing Unit), dedicated processors (e.g., GPU: Graphics Processing Unit, ASIC: Application Specific Integrated Circuit, FPGA: Field Programmable Gate Array, and programmable logic device).
In the embodiments above, the term “processor” is broad enough to encompass one processor or plural processors in collaboration which are located physically apart from each other but may work cooperatively. The order of operations of the processor is not limited to one described in the embodiments above, and may be changed.
The foregoing description of the exemplary embodiments of the present invention has been provided for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise forms disclosed. Obviously, many modifications and variations will be apparent to practitioners skilled in the art. The embodiments were chosen and described in order to best explain the principles of the invention and its practical applications, thereby enabling others skilled in the art to understand the invention for various embodiments and with the various modifications as are suited to the particular use contemplated. It is intended that the scope of the invention be defined by the following claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
2019-229116 | Dec 2019 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
7581176 | Wilson | Aug 2009 | B2 |
9189469 | Kanzaki et al. | Nov 2015 | B2 |
10922473 | Cogan | Feb 2021 | B1 |
20050076295 | Simske | Apr 2005 | A1 |
20050144075 | Magowan | Jun 2005 | A1 |
20070038929 | Miyazawa | Feb 2007 | A1 |
20080005667 | Dias | Jan 2008 | A1 |
20090094508 | Kanzaki | Apr 2009 | A1 |
20090150765 | Nagayama | Jun 2009 | A1 |
20090276695 | Hodges | Nov 2009 | A1 |
20130311309 | Napchi | Nov 2013 | A1 |
20140298218 | Gera | Oct 2014 | A1 |
20150046791 | Isaacson | Feb 2015 | A1 |
20150106691 | Arzuffi | Apr 2015 | A1 |
20200133642 | Payne | Apr 2020 | A1 |
20200151242 | Cohen | May 2020 | A1 |
Number | Date | Country |
---|---|---|
H0785044 | Mar 1995 | JP |
2000227914 | Aug 2000 | JP |
5466357 | Apr 2014 | JP |
Entry |
---|
Schriver, Karen, J. Johnson-Eilola, and S. A. Selber. “What do technical communicators need to know about information design.” Solving problems in technical communication (2013): 386-427 (Year: 2013). |
Ali, Kamran, et al. “Adaptive layout for interactive documents.” Smart Graphics: 9th International Symposium, SG 2008, Rennes, France, Aug. 27-29, 2008. Proceedings 9. Springer Berlin Heidelberg, 2008 (Year: 2008). |
Goldenberg, Eldan. “Automatic layout of variable-content print data.” MCs Dissertation, School of Cognitive & Computing Sciences, Univeristy of Sussex, Brighton, UK (2002): 1-41 (Year: 2002). |
“Office Action of Japan Counterpart Application”, dated Sep. 26, 2023, with English translation thereof, pp. 1-6. |
“Decision of Refusal of Japan Counterpart Application”, dated Feb. 6, 2024, with English translation thereof, p. 1-p. 3. |
Number | Date | Country | |
---|---|---|---|
20210192130 A1 | Jun 2021 | US |