Method, system, and apparatus for providing a document preview
First Claim
1. A method for providing a document preview, the method comprising:
- providing a preview handler callable by one or more host applications, the preview handler operative to identify and load a previewer for generating a visual preview of a document identified by the host application;
receiving a request at the preview handler from a host application to generate a visual preview of a document;
in response to receiving the request, identifying a previewer capable of generating the preview of the document; and
transmitting a request from the preview handler to the previewer instructing the previewer to load the document and to generate the visual preview of the document.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and apparatus are provided for generating a document preview. According to the method, a preview handler provides an interface to one or more previewers. The previewers are software components capable of generating a visual preview for one or more document types. In response to a request from a host application to generate a preview for a document, the preview handler is operative to identify the appropriate previewer for generating a preview for the document. The preview handler may then call the previewer and instruct the previewer to load the document and to show the preview in a sub-window of a window provided by the calling host application.
106 Citations
24 Claims
-
1. A method for providing a document preview, the method comprising:
-
providing a preview handler callable by one or more host applications, the preview handler operative to identify and load a previewer for generating a visual preview of a document identified by the host application;
receiving a request at the preview handler from a host application to generate a visual preview of a document;
in response to receiving the request, identifying a previewer capable of generating the preview of the document; and
transmitting a request from the preview handler to the previewer instructing the previewer to load the document and to generate the visual preview of the document. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
- 11. A computer-readable medium having computer-executable instructions stored thereon which, when executed by a computer, will cause the computer to expose a preview handler interface to one or more host applications, the preview handler interface operative to expose one or more methods for identifying and loading a previewer for generating a preview of a document.
- 19. A method for providing a document preview, the method comprising exposing a preview host interface at a host application, the preview host interface comprising a get previewer method through which a preview handler may obtain the identity of a previewer for a document type, a get previewer class identifier method, through which the preview handler may obtain a class identifier for a previewer for a document type, a get interface method through which the preview handler may obtain pointers to other interfaces provided by the host application, and a done loading method through which the preview handler may inform the host application that a document to be previewed has been loaded.
Specification