1) Field of the Invention
The present invention relates to a technology for copying a display mode in a selected part into another window, in response to a copy operation, by which display object data and display-mode designation data used for creating display modes are copied so that a display mode can be changed and the display object data can be reused at a copy destination.
2) Description of the Related Art
Recently, when a computer system displays information, a display mode designation for designating a display mode for the information and the information itself are handled separately. For example, in “Extensible Stylesheet Language (XSL) 1.0”, W3C Recommendation, REC-xsl-20011015, Oct. 15, 2001, XML stylesheet language (XSL) for designating the display mode of the information described in extensible markup language (XML) is explained. The XSL can display the same information described in the XML in various display modes, by changing the description content by the XSL, that is, the designation of the display mode.
However, when a display mode created from the information described in the XML is designated by using the display mode designation described in the XSL to copy the information, there is a problem in that only the display mode is copied, and the information described in the XML and the display mode designation described in the XSL are not copied, and as such, the information cannot be reused or the display mode cannot be changed at the copy destination.
It is an object of the present invention to solve at least the above problems in the conventional technology.
An information copying apparatus according to one aspect of the present invention includes a display processing unit that creates display mode data based on display object data and display-mode designation data stored in a first memory area, and displays a display mode corresponding to the display mode data on a first window; and a data copying unit that selects, when a copy operation for copying the display mode into a second window is performed, a part of or a whole of the display mode displayed on the window, and copies the display-mode designation data and the display object data into a second memory area corresponding to the second window.
An information copying method according to another aspect of the present invention includes creating display mode data based on display object data and display-mode designation data stored in a first memory area; displaying a display mode corresponding to the display mode data on a first window; selecting, when a copy operation for copying the display mode into a second window is performed, a part of or a whole of the display mode displayed on the window; and copying the display-mode designation data and the display object data into a second memory area corresponding to the second window.
An information copying program according to still another aspect of the present invention realizes the information copying method according to the above aspect on a computer.
A computer-readable recording medium according to still another aspect of the present invention stores the information copying program according to the above aspect.
The other objects, features, and advantages of the present invention are specifically set forth in or will become apparent from the following detailed description of the invention when read in conjunction with the accompanying drawings.
Exemplary embodiments of a method and an apparatus for copying information, and a computer product according to the present invention will be explained in detail with reference to the accompanying drawings.
On the other hand, as shown in
According to the first embodiment, when the display mode displayed on the window is designated to make a copy, the display object data and the display-mode designation data are copied, without copying the display mode displayed on the window, thereby enabling change of the display mode and edit of the display object data at the copy destination.
The display 10 is a display unit that can display a plurality of windows, and it is used herein for displaying a copy source window and a copy destination window, when information is copied.
The mouse 20 is an input unit for designating an optional position on the display screen of the display 10, and it is used herein for designating the display mode displayed on the copy source window or the copy destination window.
The computer 200 is an apparatus that creates a display mode or duplicates information, and includes a storage unit 210, a copy source display processing unit 220, a copy destination display processing unit 230, and a controller 240.
The storage unit 210 is for storing the display object data, being an object to be copied or the display-mode designation data, and includes an NVML data storage unit 211, and an XSL data storage unit 212.
The NVML data storage unit 211 is a storage unit for storing the display object data and stores NVML data created by using the navigation markup language (NVML). Here, the NVML is a language in the XML specification for describing a position and a route of a mobile object, such as a person and a vehicle.
The XSL data storage unit 212 is a storage unit that stores the display-mode designation data, and stores the XSL data described by using the XSL.
The copy source display processing unit 220 is a processor that displays a copy source window, and for example, displays the display mode shown in
The copy destination display processing unit 230 is a processor that displays a copy destination window, receives the NVML data and the XSL data corresponding to the display mode of the object to be copied specified on the copy destination window, and displays the display mode created from these data on the window.
The copy source display processing unit 220 and the copy destination display processing unit 230 are an application process, and a user specifies the display mode to be displayed on the window by the copy source display processing unit 220 to make a copy on the window displayed by the copy destination display processing unit 230.
The controller 240 is a processor that controls the whole computer 200, and includes a copying unit 241. The copying unit 241 is a processor that receives data to be copied from the copy source display processing unit 220 and transmits the received data to be copied into the copy destination display processing unit 230. Specifically, the controller 240 is an operating system for the computer 200 and the copying unit 241 operates as a part of the operating system.
The NVML data 610 is display object data to be copied and is data read out from the NVML data storage unit 211. The XSL data 620 is display-mode designation data to be copied together with the NVML data 610, and is data read out from the XSL data storage unit 212.
The display mode data creating unit 630 is a processor that creates the display mode data 640 from the NVML data 610 by using the XSL data 620, and creates the display related data 650 together with the display mode data 640.
The display mode data 640 is display data created from the NVML data 610 by using the XSL data 620, and the display mode data is displayed on the window as the display mode.
The display related data 650 depicts the relation of the NVML data 610, the XSL data 620, and the display mode data 640.
For example, it is shown that the display mode data 640 in the name of disp1.dsp is created from the NVML data 610 in the name of nvml1.nvml by using the XSL data 620 in the name of xsl1.xsl. Further, it is shown that the display mode data 640 in the name of disp2.dsp is created from the NVML data 610 in the name of nvml2.nvml by using the XSL data in the name of xsl2.xsl.
Since the display related data 650 controls the NVML data 610 and the XSL data 620 used for creating the display mode for each of the display mode data 640, the NVML data 610 and the XSL data 620 can be obtained from the display mode, whereby copy instruction with respect to the display mode can be connected to the duplication of the NVML data 610 and the XSL data 620.
The display controller 660 is a processor that performs control for displaying the display mode on the window, using the display mode data 640. The display controller 660 responds to an enquiry from the copying unit 241 and hands over the NVML data 610 and the XSL data 620 to the copying unit 241.
The display-mode determining unit 810 is a processor that determines whether the display mode designated as the copy object has a display mode designation by the XSL data 620. Specifically, the display-mode determining unit 810 performs this determination by referring the presence of the display mode designation to the copy source display processing unit 220.
The copy object determining unit 820 is a processor that checks whether the copy destination display processing unit 230 has a display mode designation function using the XSL, to determine data to be copied based on the checked result. Specifically, the copy object determining unit 820 makes an investigation by referring the presence of the display mode designation function using the XSL to the copy destination display processing unit 230 to determine the data to be copied.
The copy controller 830 is a processor that copies data from the copy source display processing unit 220 into the copy destination display processing unit 230, and copies the data to be copied based on the determination result of the display-mode determining unit 810 and the determination by the copy object determining unit 820. In other words, when the display mode designated as an copy object has the display mode designation by the XSL data 620, the copy controller 830 copies not the display mode but the NVML data 610 and the XSL data 620 corresponding to the display mode from the copy source display processing unit 220 into the copy destination display processing unit 230. On the other hand, when the display mode designated as the copy object does not have the display mode designation by the XSL data 620, the copy controller 830 copies the display mode data 640 from the copy source display processing unit 220 into the copy destination display processing unit 230.
The data buffer 840 is a storage unit that temporarily stores data received from the copy source display processing unit 220, when the copy controller 830 copies data, and is used by the copy controller 830.
When the user specifies the window of the copy destination display processing unit 230, using the mouse 20, the copying unit 241 receives the identifier for the copy destination display processing unit 230 from the process controlling the mouse 20 (step S902).
The identifier for the copy source display processing unit 220, the display mode identifier designated as the copy object, and the identifier for the copy destination display processing unit 230 are used for an inquiry to the copy source display processing unit 220 and the copy destination display processing unit 230, and transfer of data.
The display-mode determining unit 810 determines whether the display mode designated as the copy object has the display mode designation by referring to the copy source display processing unit 220 (step S903), and when the display mode does not have the display mode designation, the copy controller 830 copies the display mode and finishes the processing (step S909).
On the other hand, when the display mode has the display mode designation, the copy object determining unit 820 checks whether the copy destination display processing unit 230 has the display mode designation function by the XSL by referring to the copy destination display processing unit 230 (step S904), and when the copy destination display processing unit 230 does not have the display mode designation function by the XSL, control proceeds to step S908 to copy only the NVML data 610.
On the other hand, when the copy destination display processing unit 230 has the display mode designation function by the XSL, the copy object determining unit 820 checks whether the copy destination display processing unit 230 has other XSL data by referring to the copy destination display processing unit 230 (step S905). When the copy destination display processing unit 230 does not have other XSL data, the copy controller 830 copies the NVML data 610 and the XSL data 620 (step S906). That is, the copy controller 830 receives the XSL data 620 and the NVML data corresponding to the display mode from the copy source display processing unit 220 and transmits the data to the copy destination display processing unit 230.
On the other hand, when the copy destination display processing unit 230 has other XSL data, the copy object determining unit 820 refers whether to copy the XSL data to the user (step S907), and when the user selects copy of the XSL data 620, the copy controller 830 copies the NVML data 610 and the XSL data 620 (step S906). On the other hand, when the user does not select copy of the XSL data, the copy controller 830 copies only the NVML data 610 (step S908). In other words, the copy controller 830 receives the NVML data 610 corresponding to the display mode from the copy source display processing unit 220 and transmits the data to the copy destination display processing unit 230.
When having received the NVML data 610 and the XSL data 620, the copy destination display processing unit 230 creates the display mode data and the display related data from the NVML data, using the received XSL data 620, and displays the display mode on the window by using the created display mode data. When the copy destination display processing unit 230 already has other XSL data and has received only the NVML data 610, the copy destination display processing unit 230 creates the display mode data and the display related data from the NVML data, using the XSL data, and displays the display mode on the window by using the created display mode data.
According to the first embodiment, the copying unit 241 does not copy the display mode of the object to be copied specified by a user by using the mouse 20, but copies the NVML data 610 and the XSL data 620 used for the creation of the display mode from the copy source display processing unit 220 into the copy destination display processing unit 230. As a result, the copy destination display processing unit 230 can display the same NVML data 610 by using other XSL data, or an application can process the NVML data 610 and display it in another display mode.
In the first embodiment, an example in which when the copy destination display processing unit 230 does not have the display mode designation function by the XSL, the application processes and displays the NVML data 610 has been explained. However, when the data format handled by the application has been known already, the NVML data 610 can be converted into the data format and copied. Accordingly, in a second embodiment of the present invention, an information copying apparatus that automatically converts the data format and copies the NVML data 610 will be explained.
In the information duplication according to the second embodiment, since data format that can be displayed on the copy destination window is determined and the NVML data 610 is automatically converted into the data format in the copy destination, on the copy destination window, it is not necessary to perform conversion processing for displaying the duplicated display object data, and direct display on the window is possible.
In the configuration of the information copying apparatus according to the second embodiment, only the configuration of the copying unit is different from that of the information copying apparatus explained in the first embodiment. Therefore, the configuration of the copying unit will be explained.
As shown in
The converter 1411 is a processor that converts the NVML data 610 into the data format that can be displayed by the copy destination display processing unit 230, when the NVML data 610 is copied from the copy source display processing unit 220 into the copy destination display processing unit 230. Since the converter 1411 converts the data format of the data to be copied, the copying unit 1410 can convert the NVML data 610 into the data format that can be displayed by the copy destination display processing unit 230 to copy the NVML data 610.
According to the second embodiment, when the copying unit 1410 copies the NVML data 610, the NVML data is automatically converted to the data in the SVG format and copied. As a result, the copy destination display processing unit 230 can use the copied data directly for display.
According to the present invention, when the display mode data is created based on the display object data stored in the predetermined memory area and the display-mode designation data, the display mode corresponding to the display mode data is displayed on the window, and a part or the whole displayed display mode is selected on the window to perform copy operation to another window, the display-mode designation data and the display object data are copied in the memory area corresponding to the other window. As a result, there is an effect that the display mode can be changed and the display object data can be reused at the copy destination.
Furthermore, according to the present invention, when the copy destination does not have the display-mode designation data and the function for creating the display mode based on the display object data, the display object data is automatically converted into data format that can be displayed at the copy destination and copied. As a result, there is an effect that the copy destination can use the copied data directly for display.
Although the invention has been described with respect to a specific embodiment for a complete and clear disclosure, the appended claims are not to be thus limited but are to be construed as embodying all modifications and alternative constructions that may occur to one skilled in the art which fairly fall within the basic teaching herein set forth.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/JP02/07962 | Aug 2002 | US |
Child | 11018233 | Dec 2004 | US |