THUMBNAIL DISPLAY METHOD AND IMAGE FORMING APPARATUS
A thumbnail display method is provided, which includes receiving a selection of an XML paper specification (XPS) file, receiving a preview command for the selected XPS file, analyzing a structure of the XPS file, and displaying thumbnail information regarding a plurality of thumbnails contained in the XPS file according to the analyzed structure. Therefore, it is possible for a user to preview various thumbnails contained in an XPS file.
Latest Samsung Electronics Patents:
This application claims priority under 35 U.S.C. §119 (a) from Korean Patent Application No. 10-2008-0098406, filed on Oct. 7, 2008, in the Korean Intellectual Property Office, the disclosure of which is incorporated herein by reference in its entirety.
BACKGROUND1. Field of the Invention
The present general inventive concept relates to a thumbnail display method and an image forming apparatus. More particularly, the present general inventive concept relates to a thumbnail display method to provide a user with information regarding thumbnails stored in an XML paper specification (XPS) file, and an image forming apparatus to use the same.
2. Description of the Related Art
Image forming apparatuses generally print print data generated by terminal devices, such as computers, onto recording media. Examples of such image forming apparatuses include copiers, printers, facsimile machines or multifunction peripherals (MFPs) which combine functions of copiers, printers and facsimile machines in a single system.
Image forming apparatuses which have been widely used in recent years support a direct printing function to print document data, such as Portable Document Format (PDF) data, Tagged Image File Format (TIFF) data or Joint Photographic Experts Group (JPEG) format data. Such a direct printing function enables direct printing by merely transmitting a file to an image forming apparatus without the need to launch an additional application program in a terminal device, such as a personal computer (PC), a personal digital assistant (PDA) or a digital camera.
The direct printing function is applicable to an XML paper specification (XPS) file. An XPS file has a fixed-layout electronic file format that preserves document formatting and can be shared, and is a zip-formatted file which includes all kinds of data and resources described by systematizing all resources required for documents or jobs in a directory structure and by writing the references therebetween in XML. Such an XPS file has a logical structure in the form of a tree having a plurality of levels, as illustrated in
Referring to
However, a conventional image forming apparatus does not support a function of previewing thumbnails contained in an XPS file. Additionally, users can only view a thumbnail set as a default view in the XPS file. Therefore, there is a need for methods for users to selectively preview thumbnails they desire to view.
SUMMARYThe present general inventive concept provides a thumbnail display method to analyze a structure of thumbnails contained in an XML paper specification (XPS) file and to provide a user with information regarding the thumbnails, and an image forming apparatus.
Additional features and utilities of the present general inventive concept will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the general inventive concept.
Exemplary embodiments of the present general inventive concept may be achieved by providing a method of displaying a thumbnail, the method including receiving a selection of an XML paper specification (XPS) file, receiving a preview command for the selected XPS file, analyzing a structure of the XPS file, and displaying thumbnail information regarding a plurality of thumbnails contained in the XPS file according to the analyzed structure.
The analyzing of the structure of the XPS file may include analyzing the structure of a document region and page region in the XPS file, and checking respectively the document region and the page region to determine whether the thumbnail information is contained in the document region and the page region.
The analyzing of the structure of the XPS file may include using a relationship information file contained in the XPS file to determine whether the thumbnail information is contained in the document region and the page region.
The relationship information file may be a REL file.
The thumbnail information may include at least one of a thumbnail image contained in the XPS file, information regarding a document region containing the thumbnail image, and information regarding a page region containing the thumbnail image.
The displaying of the thumbnail information may include displaying the thumbnail information in a list or tree form.
The displaying of the thumbnail information may include displaying the thumbnail information using a user interface window, which may include a first field to display the structure of the XPS file and a second field to display whether thumbnails exist for each document region and each page region in the XPS file.
The displaying of the thumbnail information may include displaying the thumbnail information using a user interface window, which may include a first field to display the structure of the XPS file and a second field to display a plurality of thumbnail images corresponding to each document region and each page region in the XPS file.
The method may further include receiving a selection of at least one of the plurality of displayed thumbnail images; and converting a display form of the selected thumbnail image and displaying the thumbnail image of which the display form is converted.
The method may further include receiving a selection of at least one of the plurality of displayed thumbnail images; and printing the at least one thumbnail image selected.
The printing of the at least one thumbnail image selected may include printing the at least one thumbnail image selected or a page image of the XPS file corresponding to the at least one thumbnail image selected.
The displaying of the thumbnail information may include, if there is no thumbnail in the XPS file, displaying a notification that there is no thumbnail.
Exemplary embodiments of the present general inventive concept may also be achieved by providing an image forming apparatus including a storage unit to store an XML paper specification (XPS) file, a user interface to receive a preview command for the selected XPS file, an analyzer to analyze a structure of the XPS file, and a controller to control the user interface to display thumbnail information regarding a plurality of thumbnails contained in the XPS file according to the analyzed structure.
The analyzer may analyze the structure of a document region and page region in the XPS file, and may check respectively the document region and the page region to determine whether the thumbnail information is contained in the document region and the page region, so as to analyze the structure of the XPS file.
The analyzer may determine whether the thumbnail information is contained in the document region and the page region, using a relationship information file contained in the XPS file.
The relationship information file may be a REL file.
The thumbnail information may include at least one of a thumbnail image contained in the XPS file, information regarding a document region containing the thumbnail image, and information regarding a page region containing the thumbnail image.
The user interface may display the thumbnail information in a list or tree form.
The user interface may display the thumbnail information using a user interface window, which includes a first field to display the structure of the XPS file and a second field to display whether thumbnails exist for each document region and each page region in the XPS file.
The user interface may display the thumbnail information using a user interface window, which includes a first field to display the structure of the XPS file and a second field to display a plurality of thumbnail images corresponding to each document region and each page region in the XPS file.
The user interface may receive a selection of at least one of the plurality of displayed thumbnail images, convert a display form of according to the analyzed structure and display the thumbnail image of which the display form is converted.
The user interface may receive a selection of at least one of the plurality of displayed thumbnail images, and the controller may print the at least one thumbnail image selected.
The controller may print the at least one thumbnail image selected or a page image of the XPS file corresponding to the at least one thumbnail image selected.
If there is no thumbnail in the XPS file, the user interface may display a notification that there is no thumbnail.
The storage unit may include at least one of a storage medium built in the image forming apparatus, a portable storage medium capable of being connected to the image forming apparatus, a storage medium in a terminal device, and a web server.
Exemplary embodiments of the present general inventive concept may also be achieved by providing a method of analyzing an XML paper specification (XPS) file, the method including analyzing data of a selected XPS file, and displaying thumbnail information of the analyzed data.
Analyzing data may include analyzing a structure of the selected XPS file.
Analyzing data may include analyzing a structure of the selected XPS file in response to a user command.
Analyzing data may include analyzing the structure using a thumbnail address in the XPS file.
Analyzing data may include analyzing the structure using a file name of a thumbnail image in the XPS file.
Analyzing data may include analyzing the structure using a folder name of a folder containing a thumbnail image in the XPS file.
Displaying thumbnail information may include displaying a thumbnail image of a selected thumbnail corresponding to the thumbnail information.
Displaying thumbnail information may include converting a display format of a selected thumbnail image and displaying the thumbnail image in the converted format.
The method may further include printing a thumbnail image corresponding to the thumbnail information.
Exemplary embodiments of the present general inventive concept may also be achieved by providing an image forming apparatus, including an analyzer to analyze data of a selected XML page specification (XPS) file, and a user interface to display thumbnail information of the analyzed data.
The data may include a structure of the selected XPS file.
The user interface may receive a command to display a preview of the selected XPS file and the analyzer may analyze the data in response to the received command.
The analyzer may analyze the structure using a file name of a thumbnail image in the XPS file.
The analyzer may analyze the structure using a folder name of a folder containing a thumbnail image in the XPS file.
The user interface may display a thumbnail image corresponding to the thumbnail information.
The user interface may convert a display format of a thumbnail image corresponding to the thumbnail information and displays the thumbnail image in the converted format.
The image forming apparatus may further include an image forming unit to print a thumbnail image corresponding to the thumbnail information.
These and/or other features and utilities of the present general inventive concept will become apparent and more readily appreciated from the following description of the exemplary embodiments, taken in conjunction with the accompanying drawings of which:
Reference will now be made in detail to exemplary embodiments of the present general inventive concept, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the like elements throughout. The exemplary embodiments are described below in order to explain the present general inventive concept by referring to the figures.
The storage unit 110 stores an XML paper specification (XPS) file. The storage unit 110 may be implemented as a storage medium built in the image forming apparatus 100, such as a hard disk or other internal memory, or as an external storage medium, for example a removable disk such as a universal serial bus (USB) memory, a storage medium connected to a host device, or a web server connected via a network.
Here, the XPS file, as described above, refers to print data to which print options are set, and which is represented in the form of a tree structure having a plurality of levels. Specifically, the XPS file has a plurality of levels, each of which has one or more nodes, and different print options may be set for each node of the plurality of levels. Additionally, the XPS file contains thumbnails representing each document and each page. For example, referring to
The user interface 120 includes a plurality of function keys through which a user is able to set or select various functions supported by the image forming apparatus 100. The user interface 120 can receive a preview command input by a user, or can display a variety of information provided by the image forming apparatus 100. The user interface 120 may be implemented, for example, as an apparatus such as a touch pad, which is able to simultaneously implement input and output, or, for example, as an apparatus combining a mouse and a monitor. A user may select an XPS file he or she desires to view in advance, using a user interface window provided by the user interface 120. Additionally, the user may access thumbnail information on various thumbnails contained in the selected XPS file, and may decide whether to print a page corresponding to a predetermined thumbnail.
The analyzer 130 can analyze a structure of an XPS file. Specifically, the analyzer 130 can determine whether thumbnail information is contained in each document region and each page region in the XPS file.
An XPS file, as described above, refers to a zip-formatted file which includes all kinds of data and resources described by systematizing all resources required for documents or jobs in a directory structure. Accordingly, to decompress the XPS file, thumbnails corresponding to each document region and each page region need to be stored in corresponding resource folders in a Portable Network Graphics (PNG) or Joint Photographic Experts Group (JPG) file format. Additionally, a relationship information file in which thumbnail information regarding the thumbnails is written needs to be stored in a corresponding directory in a REL file format.
The relationship information file contains thumbnail information associated with each document region and each page region, and is classified and stored in directories for each document region and each page region. The structure of the relationship information file will now be described with reference to
The analyzer 130 can determine whether thumbnail addresses are written in relationship information files associated with each document region and each page region of the XPS file, to check whether thumbnails exist in the corresponding document region or page region and to acquire thumbnail information such as a thumbnail address for the corresponding document region or page region. Additionally, the analyzer 130 can analyze a hierarchical branching structure of thumbnails in the XPS file using the acquired thumbnail information. The analyzed thumbnail structure may correspond to the XPS file structure as illustrated in
The controller 140 can control the user interface 120 to display thumbnail information based on the analyzed structure of the XPS file. In more detail, the controller 140 can control the user interface 120 to display a variety of thumbnail information, for example, a thumbnail image contained in an XPS file, information regarding a document region containing the thumbnail image, or information regarding a page region containing the thumbnail image, using the thumbnail structure analyzed by the analyzer 130, in various forms of user interface windows, so as to provide a user with the thumbnail information. The user interface windows will be described in detail below.
If a user selects one or more thumbnail images or thumbnail information regarding a document region and page region with thumbnail images from among the displayed thumbnail information, the controller 140 may also control the user interface 120 to display a thumbnail image corresponding to the selected thumbnail information, or to convert a display format of the selected one or more thumbnail images and display the one or more thumbnail images of which the display format is converted. In this situation, the converting of the display format refers to zooming in or out on the selected one or more thumbnail images, or rotating and displaying the selected one or more thumbnail images.
Additionally, if a user selects at least one thumbnail image or thumbnail information regarding a document region and page region with thumbnail images from among the displayed thumbnail information, the controller 140 may print the at least one thumbnail image selected or a page image of the XPS file corresponding to the at least one thumbnail image selected.
If there is no thumbnail in the XPS file, the controller 140 can control the user interface 120 to notify a user of the absence of a thumbnail.
Therefore, the image forming apparatus 100 may analyze the thumbnails contained in the XPS file, and can provide a user with the thumbnail information based on the analyzed thumbnails, so it is possible for the user to easily and conveniently check the thumbnails contained in the XPS file.
While the XPS file can be stored in the storage unit 110 in an exemplary embodiment as illustrated in
Furthermore, while the image forming apparatus 100 is used as a thumbnail display apparatus according to an exemplary embodiment, there is no limitation thereto. Accordingly, the present general inventive concept is also applicable to apparatuses capable of displaying thumbnails other than the image forming apparatus 100, for example, a terminal device such as a personal computer (PC), a personal digital assistant (PDA) or a digital camera, and an image forming apparatus such as a copier, an inkjet printer, a laser beam printer (LBP) or a multifunctional peripheral (MFP).
In
In
The command input field 520 can include a ‘Return to list’ box 521, a ‘Zoom in & out’ box 522 and a ‘Print’ box 523. For example, if the user selects the ‘Return to list’ box 521, the user interface window 400 of
In more detail, the user interface window illustrated in
In
If the structure of the XPS file has been completely analyzed, thumbnail information may be displayed based on the analyzed structure of the XPS file in operation S840. More specifically, the thumbnail information, for example a thumbnail image contained in an XPS file, information regarding a document region containing the thumbnail image or information regarding a page region containing the thumbnail image, may be displayed using the analyzed thumbnail structure in various user interface forms, for example a list or tree. This displaying operation is performed in the same manner as described above with reference to
Therefore, the thumbnail display method according to exemplary embodiments of the present general inventive concept may provide a user with thumbnail information by analyzing thumbnails contained in an XPS file, so it is possible for the user to easily and conveniently check thumbnails contained in the XPS file. The thumbnail display method of
Although several embodiments of the present general inventive concept have been illustrated and described, it will be appreciated by those skilled in the art that changes may be made in these exemplary embodiments without departing from the principles and spirit of the general inventive concept, the scope of which is defined in the appended claims and their equivalents.
Claims
1. A method of displaying a thumbnail, the method comprising:
- receiving a selection of an XML paper specification (XPS) file;
- receiving a preview command for the selected XPS file;
- analyzing a structure of the XPS file; and
- displaying thumbnail information regarding a plurality of thumbnails contained in the XPS file according to the analyzed structure.
2. The method of claim 1, wherein the analyzing of the structure of the XPS file comprises analyzing the structure of a document region and page region in the XPS file, and checking respectively the document region and the page region to determine whether the thumbnail information is contained in the document region and the page region.
3. The method of claim 2, wherein the analyzing of the structure of the XPS file comprises using a relationship information file contained in the XPS file to determine whether the thumbnail information is contained in the document region and the page region.
4. The method of claim 3, wherein the relationship information file is a REL file.
5. The method of claim 1, wherein the thumbnail information comprises at least one of a thumbnail image contained in the XPS file, information regarding a document region containing the thumbnail image, and information regarding a page region containing the thumbnail image.
6. The method of claim 5, wherein the displaying of the thumbnail information comprises displaying the thumbnail information in a list or tree form.
7. The method of claim 1, wherein the displaying of the thumbnail information comprises displaying the thumbnail information using a user interface window, which comprises a first field to display the structure of the XPS file and a second field to display whether thumbnails exist for each document region and each page region in the XPS file.
8. The method of claim 4, wherein the displaying of the thumbnail information comprises displaying the thumbnail information using a user interface window, which comprises a first field to display the structure of the XPS file and a second field to display a plurality of thumbnail images corresponding to each document region and each page region in the XPS file.
9. The method of claim 8, further comprising:
- receiving a selection of at least one of the plurality of displayed thumbnail images; and
- converting a display form of the selected thumbnail image and displaying the thumbnail image of which the display form is converted.
10. The method of claim 8, further comprising:
- receiving a selection of at least one of the plurality of displayed thumbnail images; and
- printing the at least one thumbnail image selected.
11. The method of claim 10, wherein the printing of the at least one thumbnail image selected comprises printing the at least one thumbnail image selected or a page image of the XPS file corresponding to the at least one thumbnail image selected.
12. The method of claim 1, wherein the displaying of the thumbnail information comprises, if there is no thumbnail in the XPS file, displaying a notification that there is no thumbnail.
13. An image forming apparatus, comprising:
- a storage unit to store an XML paper specification (XPS) file;
- a user interface to receive a preview command for the selected XPS file;
- an analyzer to analyze a structure of the XPS file; and
- a controller to control the user interface to display thumbnail information regarding a plurality of thumbnails contained in the XPS file according to the analyzed structure.
14. The image forming apparatus of claim 13, wherein the analyzer analyzes the structure of a document region and page region in the XPS file, and checks respectively the document region and the page region to determine whether the thumbnail information is contained in the document region and the page region, so as to analyze the structure of the XPS file.
15. The image forming apparatus of claim 14, wherein the analyzer determines whether the thumbnail information is contained in the document region and the page region, using a relationship information file contained in the XPS file.
16. The image forming apparatus of claim 15, wherein the relationship information file is a REL file.
17. The image forming apparatus of claim 13, wherein the thumbnail information comprises at least one of a thumbnail image contained in the XPS file, information regarding a document region containing the thumbnail image, and information regarding a page region containing the thumbnail image.
18. The image forming apparatus of claim 17, wherein the user interface displays the thumbnail information in a list or tree form.
19. The image forming apparatus of claim 17, wherein the user interface displays the thumbnail information using a user interface window, which comprises a first field to display the structure of the XPS file and a second field to display whether thumbnails exist for each document region and each page region in the XPS file.
20. The image forming apparatus of claim 17, wherein the user interface displays the thumbnail information using a user interface window, which comprises a first field to display the structure of the XPS file and a second field to display a plurality of thumbnail images corresponding to each document region and each page region in the XPS file.
21. The image forming apparatus of claim 20, wherein the user interface receives a selection of at least one of the plurality of displayed thumbnail images, converts a display form of according to the analyzed structure and displays the thumbnail image of which the display form is converted.
22. The image forming apparatus of claim 20, wherein the user interface receives a selection of at least one of the plurality of displayed thumbnail images, and the controller prints the at least one thumbnail image selected.
23. The image forming apparatus of claim 22, wherein the controller prints the at least one thumbnail image selected or a page image of the XPS file corresponding to the at least one thumbnail image selected.
24. The image forming apparatus of claim 13, wherein, if there is no thumbnail in the XPS file, the user interface displays a notification that there is no thumbnail.
25. The image forming apparatus of claim 13, wherein the storage unit comprises at least one of a storage medium built in the image forming apparatus, a portable storage medium capable of being connected to the image forming apparatus, a storage medium in a terminal device, and a web server.
Type: Application
Filed: May 27, 2009
Publication Date: Apr 8, 2010
Patent Grant number: 8875015
Applicant: Samsung Electronics Co., Ltd. (Suwon-si)
Inventors: Myoung-sim KIM (Yongin-si), Joo-duck KIM (Suwon-si)
Application Number: 12/472,429
International Classification: G06F 3/14 (20060101); G06F 3/12 (20060101); G06F 3/048 (20060101);