Object editing apparatus and method, and recording medium storing computer-readable program6922807
Abstract
A form for being overlaid with print data is edited through a simple method. Specifically, a tree is displayed on a screen for editing a composite form. When an icon included in the tree is moved, editing is carried in such a manner that composite-form data takes on a structure that corresponds to the editing operation, the editing being performed in dependence upon the type of icon moved and in conformity with the type of icon located at the destination of movement.
Claims
1. A composite form editing apparatus for editing form data, which is constituted of a plurality of parts forms, to be overlaid on print data, said apparatus comprising:
storage means for storing composite form setting data which describes objects and a dependency relationship among these objects, where the objects include a page which constitutes the form data and a parts form which constitutes the page;
display means for displaying, on a display in accordance with the composite form setting data, the objects and the dependency relationship thereof as a tree which connects image objects corresponding to the objects;
determination means for determining a position where the image objects is dropped on the tree in accordance with an operation by an operator; and
editing means for editing the description of the composite form setting data in accordance with the position where the image object is dropped determined by said determination means.
2. The apparatus according to claim 1, wherein the operation by the operator includes an operation for moving or copying the image objects; and
said editing means includes an operation for moving or copying, in conformity with the manipulation of an image object, the description of the object, which corresponds to the image object that has been manipulated, in the composite form setting data that has been stored in said storage means.
3. The apparatus according to claim 2, wherein a name of the parts from constituting a page composing the form data is described in the composite form setting data as well as a type of page indicating whether a page is subject of both side printing with respect to each page.
4. The apparatus according to claim 3, wherein in a case where an image object has been moved by the operator onto an image object indicating a page, said editing means edits the form data in such a manner that if the moved image object is a parts form, a parts form corresponding to the moved image object will be added onto the end of a page located at the destination of movement.
5. The apparatus according to claim 3, wherein in a case where an image object has been moved by the operator onto an image object indicating a page, said editing means edits the form data in such a manner that if the moved image object is a page, a page corresponding to the moved image object will be added on immediately ahead of a page located at the destination of movement.
6. The apparatus according to claim 3, wherein the form data further includes double sides which include the objects of two pages, and in a case where an image object has been moved by the operator onto an image object indicating a page, said editing means edits the form data in such a manner that if the moved image object is a page and a prescribed operation is being performed along with the move operation, a double-sided object is generated that includes a page corresponding to the moved image object and a page located at the destination of movement.
7. The apparatus according to claim 3, wherein in a case where an image object has been moved by the operator onto an image object indicating a part form, said editing means edits the form data in such a manner that if the moved image object is a parts form, a parts form corresponding to the moved image object will be added on immediately ahead of a parts form located at the destination of movement.
8. The apparatus according to claim 3, wherein in a case where an image object has been moved by the operator to a position other than that of an image object, said editing means edits the form data in such a manner that if the moved image object is a parts form, a new page will be inserted at the end of the form data and a parts form corresponding to the moved image object will be inserted as a parts form included on said page.
9. The apparatus according to claim 3, wherein in a case where an image object has been moved by the operator to a position other than that of an image object, said editing means edits the form data in such a manner that if the moved image object is a page, a page corresponding to the moved image object, inclusive of a parts form included on this page, will be added onto the end of the form data.
10. The apparatus according to claim 2, wherein the operation by an operator includes an operation for moving an image object from outside the tree, and said editing means, in conformity with the manipulation of the object, adds the description of an object, which corresponds to an image object that has been moved, onto the composite form setting data that has been stored in said storage means.
11. The apparatus according to claim 2, wherein in a case where a prescribed operation has been performed by the operator when an image object is moved, said editing means performs further editing, after the editing of the form data, in such a manner that an object corresponding to an image object that has been moved by the operator is deleted from the position occupied prior to movement.
12. A composite form editing method embodied on a computer readable medium for editing form data, which is constituted of a plurality of parts forms, to be overlaid on print data, said method comprising:
a storing step, of storing composite form setting data which describes objects and a dependency relationship among these objects, wherein the objects include a page which constitutes the form data and a parts form which constitutes the page;
a displaying, step of displaying, on a display in accordance with the composite form setting data, the objects and the dependence relationship thereof as a tree which connects image objects corresponding to the objects;
a determining step, of determining a position where the image objects is dropped on the tree in accordance with an operation by an operator; and
an editing step, of editing the description of the composite form setting data in accordance with the position where the image data is dropped determined in said determining step.
13. The method according to claim 12, wherein the operation by the operator includes an operation for moving or copying the image objects; and
said editing step includes moving or copying, in conformity with the manipulation of an image object, the description of the object, which corresponds to the image object that has been manipulated, in the composite form setting data that has been stored in said storage step.
14. The method according to claim 13, wherein a name of the parts from constituting a page composing the form data is described in the composite form setting data as well as a type of page indicating whether a page is subject of both side printing with respect to each page.
15. The method according to claim 14, wherein, in a case where an image object has been moved by the operator onto an image object indicating a page, said editing step includes editing the form data in such a manner that if the moved image object is a parts form, a parts form corresponding to the moved image object will be added onto the end of a page located at the destination of movement.
16. The method according to claim 14, wherein, in a case where an image object has been moved by the operator onto an image object indicating a page, said editing step includes editing the form data in such a manner that if the moved image object is a page, a page corresponding to the moved image object will be added on immediately ahead of a page located at the destination of movement.
17. The method according to claim 14, wherein the form data further includes double sides which include the objects of two pages, and in a case where an image object has been moved by the operator onto an image object indicating a page, said editing step includes editing the form data in such a manner that if the moved image object is a page and a prescribed operation is being performed along with the move operation, a double-sided object is generated that includes a page corresponding to the moved image object and a page located at the destination of movement.
18. The method according to claim 14, wherein, in a case where an image object has been moved by the operator onto an image object indicating a part form, said editing step includes editing the form data in such a manner that if the moved image object is a parts form, a parts form corresponding to the moved image object will be added on immediately ahead of a parts form located at the destination of movement.
19. The method according to claim 14, wherein, in a case where an image object has been moved by the operator to a position other than that of an image object, said editing step includes editing the form data in such a manner that if the moved image object is a parts form, a new page will be inserted at the end of the form data and a parts form corresponding to the moved image object will be inserted as a parts form included on said page.
20. The method according to claim 14, wherein, in a case where an image object has been moved by the operator to a position other than that of an image object, said editing step includes editing the form data in such a manner that if the moved image object is a page, a page corresponding to the moved image object, inclusive of a parts form included on this page,-will be added onto the end of the form data.
21. The method according to claim 14, wherein the operation by the operator includes an operation for moving an image object from outside the tree, and said editing step, in conformity with the manipulation of the object, includes adding the description of an object, which corresponds to an image object that has been moved, onto the composite form setting data that has been stored in said storage step.
22. The method according to claim 13, wherein, in a case where a prescribed operation has been performed by the operator when an image object is moved, said editing step includes performing further editing, after the editing of the form data, in such a manner that an object corresponding to an image object that has been moved by the operator is deleted from the position occupied prior to movement.
23. A computer-readable storage medium storing a control program of a composite form editing method for editing form data, which is constituted of a plurality of parts forms, to be overlaid on print data, said control program comprising:
storage means for storing composite form setting data which describes objects and a dependency relationship among these objects, wherein the objects include a page which constitutes the form data and a parts form which constitutes the page;
display means for displaying, on a display in accordance with the composite form setting data, the objects and the dependency relationship thereof as a tree which connects image objects corresponding to the objects;
determining means for determining a position where the image objects is dropped on the tree in accordance with an operation by an operator; and
editing means for editing the description of the composite form setting data in accordance with the position where the image object is dropped determined by said determination means.
24. The storage medium according to claim 23, wherein the operation by the operator includes an operation for moving or copying the image objects; and
said editing means moves or copies, in conformity with the manipulation of an image object, the description of the object, which corresponds to the image object that has been manipulated, in the composite form setting data that has been stored in said storage means.
25. The storage medium according to claim 24, wherein a name of the parts form constituting a page composing the form data is described in the composite form setting data as well as a type of page indicating whether a page is subject of both side printing with respect to each page.
26. A composite form editing apparatus for editing form data, which is constituted of a plurality of parts forms, to be overlaid on print data, said apparatus comprising:
storage means for storing composite form setting data which describes a dependency relationship among objects, wherein the objects include a page which constitutes the form data and a parts form which constitutes the page;
display means for displaying, on a display in accordance with the composite form setting data, the objects and the dependency relationship thereof as a tree which connects image objects corresponding to the objects;
determination means for determining a position where the image objects is dropped on the tree in accordance with an operation by an operator; and
editing means for editing the description of the composite form setting data in accordance with the position where the image object is dropped determined by said determination means.
27. A composite form editing method embodied on a computer readable medium for editing form data, which is constituted of a plurality of parts forms, to be overlaid on print data, said method comprising:
a storing step, of storing composite form setting data which describes a dependency relationship among objects, wherein the objects include a page which constitutes the form data and a parts form which constitutes the page;
a displaying step, of displaying, on a display in accordance with the composite form setting data, the objects and the dependency relationship thereof as a tree which connects image objects corresponding to the objects;
a determining step, of determining a position where the image objects is dropped on the tree in accordance with an operation by an operator; and
an editing step, of editing the description of the composite form setting data in accordance with the position where the image object is dropped determined in said determining step.
28. A computer-readable storage medium storing a control program of a composite form editing method for editing form data, which is constituted of a plurality of parts forms, to be overlaid on print data, said control program comprising:
storage means for storing composite form setting data which describes a dependency relationship among objects, wherein the objects include a page which constitutes the form data and a parts form which constitute the page;
display means for displaying, on a display in accordance with the composite form setting data, the objects and the dependency relationship thereof as a tree which connects image objects corresponding to the objects;
determination means for determining a position where the image objects is dropped on the tree in accordance with an operation by an operator; and
editing means for editing the description of the composite form setting data in accordance with the position where the image object is dropped determined by said determination means.
Description
BACKGROUND OF THE INVENTION
This invention relates to an object editing apparatus and method in which an object such as form data for printing can be edited by manipulating a structure displayed in the form of a tree, as well as a storage medium storing a computer-readable program for implementing the object editing method.
A technique referred to as "form overlay" is used to create printed matter produced by writing data on a fixed form such as a bill. Form overlay involves creating, in advance, form data that represents the form portion, overlaying data that is not fixed (such data will be referred to as "print data" below), such as numerical values and character strings, are overlaied at prescribed locations of the form data, and then printing or displaying the result.
In order to implement such form overlay, form creating software that runs on a computer has been developed. With conventional software of this kind, the usual practice is to gather the form data usually on a per-page-basis. Some of this software additionally includes a function, referred to as a composite-form function, in which multiple pages of form data are combined to form a single set of form data. The composite-form function superimposes a plurality of pages of form data on a single page or, as in the case of a multiple-part slip or form for double-sided printing, combines a plurality of pages of form data into one set of form data.
However, if a plurality of pages of form data is combined to form a single composite form, it is necessary to create the form data of each page and how the form data of each of the pages is to be combined must be specified.
For example, not only must the form data to be combined be specified but it is also necessary to enter instructions, by commands and selection of menu items, etc., whether the data is to be combination for double-sided printing or whether the data is to be superimposed and combined into constitutes one page. As a consequence, the procedure for creating a composite form is complicated and it is difficult to increase productivity.
SUMMARY OF THE INVENTION
Accordingly, an object of the present invention is to provide an object editing apparatus and method in which a composite form can be composed or edited with ease by expressing and displaying the composition of a composite form as a tree structure and allowing a user to manipulate the tree structure.
According to the present invention, the foregoing object is attained by providing an object editing apparatus comprising: storage means for storing data which describes objects and a dependency relationship among these objects; display means for displaying, in accordance with this data, the objects and the dependency relationship thereof as a tree which connects image objects corresponding to the objects; operating means for editing and manipulating the image objects of the tree; and editing means for editing the description of the data in accordance with the editing operation performed by the operating means.
Preferably, the operating means includes an operation for moving or copying the image objects, and the editing means includes an operation for moving or copying, in conformity with the manipulation of an image object, the description of the object, corresponding to the image object that has been manipulated, in the data that has been stored in the storage means.
Preferably, the data is form data that is overlaid on print data, and the objects include a page which constitutes form data and a parts form which constitutes the page.
Preferably, in a case where an image object has been moved by the operating means onto an image object of a page, the editing means edits the form data in such a manner that if the moved image object is a parts form, the parts form corresponding to the moved image object will be added onto the end of a page located at the destination of movement.
Preferably, when an image object has been moved by the operating means onto an image object of a page, the editing means edits the form data in such a manner that if the moved image object is a page, a page corresponding to the moved image object will be added immediately ahead of a page located at the destination of movement.
Preferably, the form data further includes double sides which include the objects of two pages, and where an image object has been moved by the operating means onto an image object of a page, the editing means edits the form data in such a manner that if the moved image object is a page and a prescribed operation is performed along with the move operation, a double-sided object is generated which includes a page corresponding to the moved image object and a page located at the destination of movement.
Preferably, in a case where an image object has been moved by the operating means onto an image object indicating a part form, the editing means edits the form data in such a manner that if the moved image object is a parts form, a parts form corresponding to the moved image object will be added on immediately ahead of a parts form located at the destination of movement.
Preferably, in a case where an image object has been moved by the operating means to a position other than that of an image object, the editing means edits the form data in such a manner that if the moved image object is a parts form, a new page will be inserted at the end of the form data and a parts form corresponding to the moved image object will be inserted as a parts form included on this page.
Preferably, in a case where an image object has been moved by the operating means to a position other than that of an image object, the editing means edits the form data in such a manner that if the moved image object is a page, a page corresponding to the moved image object, inclusive of a parts form included on this page, will be added onto the end of the form data.
Preferably, the operating means includes an operation for moving an image object from outside the tree, and the editing means, in conformity with the manipulation of the object, adds the description of an object, which corresponds to an image object that has been moved, onto data that has been stored in the storage means.
Preferably, in a case where a prescribed operation has been performed by the operating means when an image object is moved, the editing means performs further editing, after the editing of the form data, in such a manner that an object corresponding to an image object that has been moved by the operating means is deleted from the position occupied prior to movement.
Other features and advantages of the present invention will be apparent from the following description taken in conjunction with the accompanying drawings, in which like reference characters designate the same or similar parts throughout the figures thereof.
BRIEF DESCRIPTION OF THE DRAWINGS
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the specification, serve to explain the principles of the invention.
FIG. 1 is a block diagram illustrating the hardware configuration of an information processing system to which a printing scheme embodying the present invention is applied;
FIG. 2 is a diagram of a memory map which prevails at execution of a program of the printing scheme embodying the present invention;
FIG. 3 is a diagram illustrating the essentials of form overlay processing;
FIGS. 4A and 4B are diagrams illustrating examples of form data and print data, respectively, and FIG. 4C is a diagram showing a command sequence at the time of overlay printing;
FIG. 5 is a diagram showing an example of a form editor start-up screen;
FIG. 6 is a diagram showing an example of a parts form editing screen;
FIG. 7 is a diagram showing an example of a composite form editing screen;
FIG. 8 is a diagram showing an example of the details of a tree structure displayed at the time of composite form editing;
FIG. 9 is a flowchart showing composite form editing processing (1);
FIGS. 10A and 10B are diagrams illustrating a tree display and the content thereof in an example of composite-form data;
FIG. 11 is a flowchart showing composite form editing processing (2);
FIG. 12 is a flowchart showing composite form editing processing (3);
FIG. 13 is a flowchart showing composite form editing processing (4);
FIG. 14 is a flowchart showing composite form editing processing (5);
FIG. 15 is a diagram showing the content of a medium on which a form editor program and the like have been recorded;
FIG. 16 is a diagram showing a program and data supplied from the medium of FIG. 15 to a computer or system; and
FIG. 17 is a flowchart illustrating composite form editing processing according to a second embodiment of the present invention.
DESCRIPTION OF THE PREFERRED EMBODIMENTS
Preferred embodiments of the present invention will now be described in detail in accordance with the accompanying drawings.
FIG. 1 is a block diagram of a computer system having a form creating function according to an embodiment of the present invention. The form creating function operates by having a CPU 10 execute a basic input/output (I/O) program, an operating system (OS) and a form creating program. The basic I/O program is written in a ROM 11 and the operating system is written in a hard disk (HD) 15. When power is turned ON, the operating system is read into a RAM 12 from the hard disk 15 by an IPL (Initial Program Loading) function in the basic I/O program and the operating system starts. The processing procedure of the form creating program will be described later. The form creating program and related data are recorded on a floppy disk 14, the content of which is illustrated in FIG. 15.
The form creating program and related data that have been recorded on the floppy disk 14 can be loaded into this computer system through a floppy-disk drive 13, as shown in FIG. 16. When the floppy disk 14 is inserted into the floppy-disk drive 13, the form creating program and related data are read out of the floppy disk 14 and loaded in the RAM 12 under the control of the operating system and basic I/O program so that the program can be run. FIG. 2 illustrates a memory map which prevails when the form creating program has been loaded in the RAM 12 and is capable of being executed.
This embodiment illustrates an example in which the form creating program and related data are loaded directly from the floppy disk 14 to the RAM 12 and executed. However, an arrangement may be adopted in which the form creating program and related data are first stored (installed) in the hard disk 15 from the floppy disk 14, after which the form creating program and related data are loaded from the hard disk 15 to the RAM 12 when the form creating program is to be run. Further, the medium on which the form creating program is recorded is not limited to a floppy disk and may be a CD-ROM, an IC memory card, etc. Furthermore, a program for controlling the manipulation of an object on the tree is stored in the ROM 11, in advance, and the program is made part of the memory map. The program can also be executed directly by the CPU 10.
Form data that has been created by the form creating program is stored in the hard disk 15. This data is superimposed on print data by another application program for implementing overlay printing, and the result is output from a printer 32.
The gist of the overlay processing will be discussed before describing the details of the form creating function. FIG. 3 illustrates the flow of processing regarding overlay processing, inclusive of the form creating program. A form or a composite form that has been created by a form creating program (also referred to as a "form editor" below) 311 is stored in a form data storage area 312 of the hard disk 15 or the like. Each form (inclusive of a composite form) includes form data 312a representing a itself, and field attribute data 312b which, in regard to print data combined with a form, represents the position of the data and the type of characters. From this point onward, the composite-form data will also be referred to as "FCX data", and form data that is not combined and constitutes the smallest unit of this data will be referred to as "FCP data".
These items of form data are converted by a prescribed run-time library 315 to form print data 316a, which has a format that can be interpreted by printer 32, and is stored in a print data storage area 316 secured in the hard disk 15.
Print data to undergo form overlay printing is generated from an appropriate business file 313 and stored in a text data storage area 314. It will suffice if this data has a format that allows the partitioning of each field that is to be overlaid. For example, it is possible to use a commonly utilized format referred to as a CSV format. This print data also is converted by the run-time library 315 to printing print data 316b having a format that can be interpreted by the printer 32 and is stored in the print data storage area 316.
The form data and the print data thus created is output to the printer 32 by an operating system 317 and a printer driver 318. The printer 32 combines the data and prints the result.
FIGS. 4A and 4B illustrate examples of form data and print data, respectively, and FIG. 4C shows an example of a sequence of print command delivered to the printer 32. In FIG. 4C, a command sequence for starting a printing job is followed by a command 411 for starting the registration of form data. This is followed by form data 412 of the type depicted in FIG. 4A. In this example, the form data is for one page but the form data may represent a composite form that requires a plurality of pages. The form data 412 is followed by a command 413 to end the registration of form data. Next, between a command 414 for starting overlay printing and a command 417 for ending overlay printing, the printing of data 1 (415) and data 2 (416) are carried out in succession. An example of data 1 to be printed is shown in FIG. 4B. In the example of FIG. 4C, the print data is composed of two pages and therefore the form data also is a composite form of two pages.
When a command sequence of this kind is sent to the printer 32, the latter stores the form print data in a form cache 321 (FIG. 3), temporarily, rasterizes the print data and the form data and combines them in a page buffer 323. The resulting data is printed out by a print engine 324 to obtained the printed matter.
| «Previous |
Next» |
| Method and apparatus for improved information representation |
Method and system for participating locations in a multi-point video conference |
|
- Inventors
Miyata, Hiroki;
- Assignee
Canon Kabushiki Kaisha (Tokyo, JP)
- Published
Jul-26-2005
- Current US Classes:
345/854 715/505 715/506 715/507 715/508 715/526 717/108
- Application #
493110
- International Classes
G06K 009//36
- Field of Search
717/108 382/302 715/526 715/507 715/506 715/508 709/220 345/735 345/854 235/379 707/10 707/102
- Examiner
Shah; Sanjiv
- Agent
Fitzpatrick; Cella; Harper & Scinto;;
- US Patent References:
5579467 5640577 5940844 5953523 6034689 6115724 6226656 6282547 6557756 6594405 6600497 6618754
Consider this
| Apparatus and method for automatically forming work object and recording medium recording work object forming program and capable of being read by computer |
6074431 |
| Debug aid device, program compiler device, storage medium storing computer-readable debugger program, and storage medium storing program compiler program |
6141791 |
| Apparatus and method for installing software and recording medium storing program for realizing the method |
6145126 |
| Object conversion apparatus, object conversion method and program storing medium |
6256783 |
| Online program-updating system and computer-readable recording medium storing a program-updating program |
6289510 |
| Method and apparatus for programming by use of event-driven-type function blocks and program recording medium storing a program for executing the method |
6434737 |
| Method of, apparatus for, and recording medium storing a program for, parallelizing a program containing an array designated to undergo indirect and irregular division |
6460176 |
| Debugging system for computer program, method for checking target program and information storage medium for storing checking program |
6467083 |
| Debugging method and apparatus for multitask programs and recording medium storing a program realizing the debugging method and apparatus |
6718484 |
| Program verifying system, program verifying method, and storage medium for storing software of program verifying method |
6772410 |
|